Code Review
Quick start
Read the diff or code snippet. Produce findings grouped by severity (critical, major, minor). Each finding: location, issue, suggested fix.
Workflow
- Scan for security issues first (injection, auth, secrets, unsafe defaults).
- Check correctness and error handling paths.
- Assess maintainability (naming, duplication, missing tests).
- Output structured review — not a rewrite unless asked.
Output format
## Critical
- [file:line] Issue — suggested fix
## Major
...
## Minor
...
Error handling
If code context is missing, ask for the diff or file. If outside review scope, say so and suggest the right skill.