| name | code-review |
| description | Review code for project standards, design system, security, and best practices |
Code Review Skill
When to use this skill
Use when reviewing code changes, PRs, or auditing existing code for quality.
Review Checklist
1. Design System Compliance
Spacing (8-point grid)
- Only uses p-0, p-1, p-2, p-4, p-6, p-8, p-10, p-12
- No p-3, p-5, p-7, gap-3, gap-5, m-3, m-5
Colors
Typography
Radius
2. Component Patterns
Imports
Props
3. File Organization
Size Limits
4. Security (OWASP Top 10)
Review Output Format
## CODE REVIEW SUMMARY
**Files Reviewed**: X
**Issues Found**: Y (Critical: A, Warning: B, Info: C)
### Critical Issues
- [SECURITY] file.tsx:42 - SQL injection vulnerability
- [DESIGN] component.tsx:15 - Hardcoded color breaks theming
### Warnings
- [PERF] hook.ts:28 - Missing dependency in useEffect
- [SIZE] page.tsx - 250 lines, exceeds 200 limit
### Approved Patterns
- Good use of design tokens
- Proper error handling