$code-review
A code review wrapper skill that calls the code-reviewer agent
Invoke with $code-review.
A thin wrapper around the code-reviewer agent. Use it when a piece of code is finished and needs a proper going-over. It covers the things easy to miss by eye: API contracts, backward compatibility, logic defects, and security vulnerabilities.
When to use
- When reviewing finished code before opening a PR
- When checking code generated by
$ralphor$autopilot - When you need quality feedback on specific files or changes
- When you need to verify backward compatibility or API contract adherence
When to avoid
- If the focus is security vulnerabilities only →
$security-reviewis more appropriate - If the goal is fixing build errors →
$build-fix - Avoid running it on code still in progress — it's more efficient after implementation is done
Commands
$code-review
$code-review "review the auth module changes"
$code-review --scope src/api
$code-review --pr 123Review scope
| Area | What it checks |
|---|---|
| Logic defects | Wrong conditions, missing edge cases |
| API contracts | Input/output types, error handling |
| Backward compatibility | Changes that affect existing callers |
| Maintainability | Duplication, unnecessary complexity |
| Security | Obvious vulnerabilities (deep security → $security-review) |
Related docs
- code-reviewer agent — internal implementation details
$build-fix— fix build errors- security-reviewer agent — in-depth security review