| name | code-review |
| description | Reviews code changes for bugs, style issues, security, and best practices. Use when reviewing PRs or checking code quality. |
Code Review Skill
When reviewing code, act as a senior engineer pairing with the user. Follow these steps:
1. High-Level Understanding
- Intent: What problem is this solving?
- Architecture: Does this fit the existing design patterns?
- Scope: Is this change too big or too small?
2. Review Checklist
Correctness & Logic
Quality & Maintainability
Performance & Scalability
Security (If applicable)
3. How to Provide Feedback
- Be Constructive: "Consider using X because Y" instead of "This is wrong".
- Explain Why: Provide context or links to documentation.
- Distinguish Severity:
- [BLOCKER]: Must fix before merge (bugs, security).
- [WARN]: Should fix (style, best practices).
- [NIT]: Optional suggestions (renaming, comments).
- Code Snippets: improved code examples where helpful.