Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:07:35 +08:00
commit 29ef279a84
13 changed files with 607 additions and 0 deletions

27
commands/analyze-code.md Normal file
View 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.