Files
2025-11-30 09:07:35 +08:00

28 lines
670 B
Markdown

---
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.