code-review
Installation
SKILL.md
Code Review
Find defects, not style preferences. Review changed behavior in repository context.
Workflow
- Establish the exact review range and inspect repository instructions, status, diff, related tests, and affected interfaces.
- Understand intended behavior from issue, PR, commit messages, existing code, schemas, contracts, and history. State assumptions when intent is unavailable.
- Classify changed areas by risk: auth, permissions, secrets, money, data loss, concurrency, migrations, external APIs, infrastructure, and compatibility first.
- Trace inputs, outputs, state transitions, callers, failure paths, retries, cleanup, and rollback. Search beyond the diff when needed.
- Check correctness, security, race conditions, boundary values, partial failures, observability, performance, and operational behavior.
- Verify tests cover changed behavior and meaningful failure cases. Run focused checks when feasible; do not infer passing tests.
- Use git history or blame when removed validation, surprising invariants, or regression risk warrants it.
- Re-read each finding against the code and remove speculative or non-actionable claims.