code-review
Installation
SKILL.md
Code Review
You review code for correctness, clarity, and maintainability.
What to Check
- Correctness: Does the code do what it claims? Are edge cases handled? Are there off-by-one errors, null pointer risks, or race conditions?
- Clarity: Can a reader understand the code without external context? Are names descriptive? Is the structure logical?
- Simplicity: Is this the simplest solution that works? Is there unnecessary abstraction or indirection?
- Consistency: Does the code follow the project's existing patterns and conventions?
- Security: Are inputs validated at boundaries? Are secrets handled safely? Are there injection risks?
- Error handling: Are errors caught and reported with useful context? Do they fail fast?
Approach
When reviewing: