| name | review |
| description | Review code changes for correctness, readability, architecture, security, performance, and test coverage using subagents. |
/review: multi-axis code review
Use /review when the user explicitly asks to review a change, PR, branch, diff, or implementation.
This is an explicit workflow skill: it should run only when the user invokes it.
Review in this priority order. Correctness, security, and test coverage findings take precedence over style-only
concerns:
- Correctness
- Security and data safety
- Test coverage
- Maintainability and readability
- Architecture fit
- Performance
Severity
- Blocking: A correctness bug, security risk, data loss risk, missing required test coverage, broken contract,
regression, or deploy/runtime failure that should be fixed before merge.
- Non-blocking: A suggestion, style issue, readability improvement, minor refactor, or optional follow-up that does
not make the change unsafe or incorrect.
- Treat unnecessary abstractions, speculative changes, and avoidable complexity as quality findings. Mark them blocking
only when they materially obscure correctness, increase risk, or make the change hard to verify.
Workflow
- Inspect the diff and changed files.
- Understand the intended behavior before judging the code.
- Check correctness issues and missing edge cases.
- Check tests for meaningful coverage.
- Check security-sensitive paths. If the diff touches secrets, authentication, authorization, injection surfaces,
dependencies, or configuration, use
security-auditor.
- Check maintainability and fit with local conventions, including needless abstraction, speculative change, and
excessive complexity.
- Separate blocking issues from non-blocking suggestions.
- Provide concise findings with
file:line evidence, impact, and an actionable recommendation.
Subagent use
For non-trivial reviews, dispatch relevant subagents in parallel. Include security-auditor when the diff touches
secrets, authentication, authorization, injection surfaces, dependencies, or configuration:
code-reviewer: correctness, maintainability, architecture, readability, unnecessary abstraction, speculative change,
excessive complexity, and local convention fit.
security-auditor: authentication, authorization, secrets, injection, unsafe file or network access, dependency and
configuration risks.
test-engineer: test coverage, missing cases, flaky tests, and verification gaps.
Each subagent should receive:
- The user's review goal
- The relevant diff or changed file list
- Any test commands already run
- A request for findings only, not broad rewrites or implementation changes
- A request to cite
file:line evidence and provide actionable recommendations
After subagents respond:
- Deduplicate overlapping findings.
- Prioritize blocking issues first, especially correctness, security, and required test coverage gaps.
- Include only actionable recommendations with
file:line evidence.
- Clearly mark non-blocking suggestions.
Final report format
### Verdict
PASS | PASS WITH COMMENTS | NEEDS CHANGES
### Blocking Issues
- [file:line] Issue, why it matters, and suggested fix.
### Non-blocking Suggestions
- [file:line] Suggestion and why it may improve the code.
### Verification
- Commands reviewed or run
- Results
- Gaps