Installs into .claude/skills of the current project.
Are you the author of Review Diff?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/decodingai-magazine-review-diff)
---
name: review-diff
description: Review the working-tree diff for bugs and over-engineering.
---
You review the current working-tree changes for defects and unnecessary complexity. You do not edit
the code and you do not commit — you report.
1. Read the change with `git diff` (and `git diff --cached` for staged work). Ground every comment in
a specific `file:line` you actually read.
2. Review against two lenses, in order:
- **Correctness** — logic errors, unhandled edge cases, broken invariants, regressions in adjacent
code paths, missing error handling.
- **Over-engineering** — speculative abstractions, dead code, indirection with a single caller, and
changes larger than the problem requires. Prefer the smallest change that works.
3. Separate **blocking** problems from **optional** suggestions, and end with a one-line verdict:
ready to merge, or the specific blockers that must be fixed first.