| name | code-review |
| description | Use when reviewing code for security, performance, or quality issues. Provides checklists and patterns for thorough code review. |
| version | 1.0.0 |
Code Review Skill
Comprehensive knowledge for reviewing code. Use the checklists below and reference detailed guides for specific domains.
Review Process
- Understand context - What does this code do? What problem does it solve?
- Check correctness - Does it work? Are there logic errors?
- Check security - Any vulnerabilities? See security checklist
- Check performance - Any bottlenecks? See performance patterns
- Check maintainability - Is it readable? Testable? Well-organized?
Quick Security Checklist
Quick Performance Checklist
Quick Quality Checklist
Severity Levels
| Level | Criteria | Action |
|---|
| CRITICAL | Security vulnerability, data loss risk, crash | Must fix before merge |
| HIGH | Bug, significant performance issue, bad UX | Should fix before merge |
| MEDIUM | Code quality, maintainability concern | Fix soon |
| LOW | Style, minor improvement | Optional |
Output Format
## Code Review: [file/feature]
### Summary
One paragraph overall assessment.
### Critical Issues
- **[SEVERITY]** file:line - Description
- Why it's a problem
- Suggested fix
### Recommendations
- Improvement suggestions
### What's Good
- Positive observations
Detailed References