Review your code changes for bugs before you commit
For developers who want a second pair of eyes before they commit or open a pull request: review your diff for real bugs and risky changes, not style. Ranks the changed files by risk, flags removed auth checks, SQL built from strings, raw HTML, swallowed errors, focused or deleted tests, and leftover debug code, then reads each change in context and reports only findings it can back up, with file, line, why it breaks, and a fix. Never changes your code unless you ask.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
How this works
- It is a skill: written instructions Claude reads when your request matches what the skill is for. You do not call it by name; just ask for the task.
- While it works, it reads and changes files in the places it lists, nowhere else.
- It runs these commands on your computer: node scripts/diff-risk.mjs, git diff, git log, git show, git status, git merge-base.
- Nothing runs until you choose to use it, and you can remove it any time.
What it can access
What this kit declares, in the same words the CLI shows before you install. On Claude Code the CLI turns these into permission rules, so the agent stops anything undeclared.
Command
Runs the command: node scripts/diff-risk.mjs (with any arguments, without asking)
Command
Runs the command: git diff (with any arguments, without asking)

