claudemods

All Claude Code modsyash-gadodia/claude-mods

diff-review

A Claude Code mod in yash-gadodia/claude-mods

After every Edit, Write, NotebookEdit or sed -i, a docked pane shows that file's uncommitted hunk with [keep] and [revert] buttons; a press dismisses or runs git checkout with no model turn.

diff-review reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install diff-review --marketplace yash-gadodia/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, reads files, reads env vars, persists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, Edit|Write|NotebookEdit|Bash calls
Hooks
session.start, command.run {command=diff-review}, ui.render {component=PromptHint}, prompt.submit, turn.start, ui.close {id=diff-review}, tool.call {tool=Edit|Write|NotebookEdit|Bash}, ui.press {plugin=diff-review}, ui.render {component=Pane}
API calls
$.clock.after, $.command.register, $.env.get, $.fs.exists, $.fs.read, $.process.run, $.store.get, $.store.set, $.ui.close, $.ui.invalidate, $.ui.log, $.ui.open, $.ui.resolve, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
f4c1c751f679
Marketplace warnings
claude-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from yash-gadodia/claude-mods

Badge for your README

Reach badge for diff-review Validation badge for diff-review

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/yash-gadodia--claude-mods--diff-review-reach.svg)](https://mods.aidojo.si/mods/yash-gadodia--claude-mods--diff-review/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/yash-gadodia--claude-mods--diff-review-validates.svg)](https://mods.aidojo.si/mods/yash-gadodia--claude-mods--diff-review/)