Code Review
Quick start
Read the diff or snippet. Output findings in three buckets: Critical, Major, Minor. Each item: location, issue, suggested fix.
Workflow
- Security first — injection, auth, secrets, unsafe defaults.
- Correctness — logic, null/edge cases, error paths.
- Maintainability — naming, duplication, tests, fit with codebase patterns.
- Performance — only when the change suggests a real concern.
Output template
## Critical
- [file:line] Issue — fix
## Major
...
## Minor
...
Error handling
Missing diff? Ask for git diff output or the file. Out of scope? Say so and stop.