name: code-review description: Use this skill when reviewing code, checking for bugs, or analyzing code quality. Provides structured code review methodology.
Code Review Skill
This skill provides structured guidance for code review tasks.
Review Checklist
1. Code Logic
- Check for logical errors
- Verify edge cases are handled
- Ensure proper error handling
2. Code Style
- Consistent naming conventions
- Proper indentation
- Clear comments where needed
3. Performance
- Check for unnecessary loops
- Look for potential memory leaks
- Identify optimization opportunities
4. Security
- Input validation
- SQL injection prevention
- XSS protection
Output Format
Provide review results in this format:
- Issues Found: List of problems with severity (High/Medium/Low)
- Suggestions: Improvement recommendations
- Summary: Overall code quality assessment