Initial commit
This commit is contained in:
27
commands/analyze-code.md
Normal file
27
commands/analyze-code.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
description: Analyze code quality and suggest improvements
|
||||
---
|
||||
|
||||
Perform a comprehensive code quality analysis:
|
||||
|
||||
1. **Code Quality Issues**
|
||||
- Find unused variables and imports
|
||||
- Identify overly long functions (>50 lines)
|
||||
- Detect duplicated code
|
||||
|
||||
2. **Best Practices**
|
||||
- Check error handling
|
||||
- Verify naming conventions
|
||||
- Look for magic numbers
|
||||
|
||||
3. **Security**
|
||||
- Check for hardcoded credentials
|
||||
- Identify potential SQL injection points
|
||||
- Look for XSS vulnerabilities
|
||||
|
||||
4. **Summary**
|
||||
- Provide specific file:line references
|
||||
- Suggest concrete improvements
|
||||
- Prioritize by severity
|
||||
|
||||
Present findings in a clear, actionable format.
|
||||
10
commands/hello.md
Normal file
10
commands/hello.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
description: Greet the user with a personalized message
|
||||
---
|
||||
|
||||
Please greet the user warmly and tell them:
|
||||
1. The current date and time
|
||||
2. That this is a demo command from my-first-plugin
|
||||
3. A friendly tip about using Claude Code
|
||||
|
||||
Make it conversational and helpful!
|
||||
24
commands/project-stats.md
Normal file
24
commands/project-stats.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
description: Generate comprehensive project statistics
|
||||
---
|
||||
|
||||
Generate detailed project statistics:
|
||||
|
||||
1. **File Statistics**
|
||||
- Total files by extension (.js, .py, .go, etc.)
|
||||
- Total lines of code
|
||||
- Top 5 largest files
|
||||
|
||||
2. **Directory Structure**
|
||||
- Main directories and their purpose
|
||||
- Depth of directory tree
|
||||
|
||||
3. **Languages Used**
|
||||
- Primary programming languages
|
||||
- Percentage breakdown
|
||||
|
||||
4. **Code Metrics**
|
||||
- Average file size
|
||||
- Total number of functions/classes (if detectable)
|
||||
|
||||
Present results in a well-formatted table or summary.
|
||||
Reference in New Issue
Block a user