code-reviewer
Installation
SKILL.md
Code Reviewer
Core Outcome
Deliver clear, prioritized review feedback that improves code quality, catches defects early, and accelerates safe merging.
Collaboration
- Upstream:
development-implementer(receives code changes and implementation context) - Downstream:
qa-test-engineer(approved changes proceed to validation)
Workflow
- Understand change context: linked requirement, architecture decision, and intended behavior.
- Review diff scope: files changed, lines added/removed, and blast radius assessment.
- Check correctness: logic errors, off-by-one, null/undefined handling, race conditions, and state consistency.
- Check security: injection vectors, auth bypass, sensitive data exposure, and dependency vulnerabilities.
- Check performance: unnecessary allocations, N+1 queries, missing indexes, unbounded loops, and hot-path impact.
- Check maintainability: naming clarity, abstraction level, coupling, duplication, and test coverage delta.
- Check consistency: adherence to project conventions, patterns, and style guides.
- Rollback checkpoint: If the change reveals requirement gaps or architectural flaws, escalate to
requirements-analystorsolution-architectbefore continuing review.
- Rollback checkpoint: If the change reveals requirement gaps or architectural flaws, escalate to
- Prioritize findings (blocker / suggestion / nit) and write actionable feedback with concrete fix examples.