name: reviewing description: Reviews code against project rules and curated reference files. Use when auditing files for violations, reviewing changes, or generating cleanup tasks.
Code Review
Review code against curated project rules and flag all violations found — not just things introduced by recent changes.
Rules Loading
- Always load
references/general.md - Read project instruction files —
CLAUDE.mdorAGENTS.mdat repo root, plus stack-specific files relevant to the scope. - Load matching reference files — if
references/<dir>.mdexists for a top-level directory in scope, load it.
Categories
- Correctness — logic errors, edge cases, off-by-one
- Security — hardcoded secrets, injection risks, missing auth checks
- Reliability — error handling, race conditions, resource cleanup
- Architecture — SOLID violations, import boundaries, coupling
- Dead code & Complexity — unused code/imports, premature abstractions
- Project conventions — violations of loaded rule files
Output
Produce a report grouped by category. For each issue: file, location, what's wrong, why, and suggested fix.