| name | code-review |
| description | Guidelines for reviewing code changes and providing constructive feedback Use when this capability is needed. |
| metadata | {"author":"a7garden"} |
Code Review Skill
Overview
When reviewing code, systematically evaluate the changes across multiple dimensions. Be thorough but constructive — your goal is to improve the code while respecting the author's intent.
Review Checklist
Correctness
Security
Performance
Style & Readability
Testing
Feedback Guidelines
-
Distinguish blocking from non-blocking issues:
- Blocking: Must be fixed before merge (bugs, security issues, broken tests)
- Non-blocking: Suggestions for improvement (style, minor optimizations)
-
Be specific:
- Point to exact lines or functions
- Explain the concern clearly
- Provide a concrete suggestion when possible
-
Be kind:
- Acknowledge good work
- Focus on the code, not the person
- Suggest alternatives, don't dictate
Example Feedback
## Review: PR #42 — Add user authentication
### ✅ What's Good
- Clean separation of concerns in auth service
- Good use of bcrypt for password hashing
- Comprehensive test coverage
### ⚠️ Non-blocking Suggestions
- Consider extracting magic strings into constants
- The refresh token logic could use a comment explaining the strategy
### 🔴 Blocking Issues
- Line 47: SQL injection vulnerability — user input not sanitized
- Missing test coverage for expired token handling
### Recommendation
Please address the blocking issue before merging. Happy to re-review after the fix!
Source: a7garden/oxios — distributed by TomeVault.