review The diff-review gate
works with:
Claude Code · Cursor · Copilot · OpenCode · Aider
review · copy & try it
Before I accept anything, review your own diff as if you were a skeptical
reviewer:
1. List every file you changed and one line on why.
2. Flag anything you changed that I did not ask for.
3. Flag any dead code, commented-out blocks, or TODOs you added.
4. Point out the riskiest change and what could break.
Then give me a 5-line summary: what changed, why, and what to watch.
Agents rarely announce scope creep — they just “fix” an adjacent thing while they’re in the file. This prompt turns the review step into the agent’s job, and it’s remarkably good at catching its own drift when explicitly asked. The question that earns its keep is number two: “flag anything I did not ask for.” That single line surfaces most silent edits.
You still read the diff. This prompt doesn’t replace review; it gives you a map so you read the parts that matter.