diff-review

by Stefan O'Shea · ★ 0 · updated 3 days ago

PanesGuardsCommandsTools & agentsvalidates

0

Code review inside Claude Code: the branch diff in a pane, draft comments from you or Claude on any line, sent as a pending GitHub pull-request review. Needs Claude Code 2.1.287 or later, git and gh.

install diff-review

Install

/plugin marketplace add stefanoshea/diff-review
/plugin install diff-review@diff-review

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runui.renderui.closeui.scrollui.focusturn.startturn.completetool.call
API calls
$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.process.run$.prompt.submit$.session.id$.store.delete$.store.get$.store.set$.tool.register$.ui.close$.ui.focus$.ui.invalidate$.ui.open$.ui.resolve$.ui.toast
Draws
Pane
Can see
Edit|Write|NotebookEdit|Bash callsmcp__diff-review__add_comment callsmcp__diff-review__set_risk callsmcp__diff-review__get_diff callsmcp__diff-review__list_comments calls
Reach
level 2 of 3 runs processesdrives Claudepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/stefanoshea/diff-review
Path in repo
repository root
Author
Stefan O'Shea @stefanoshea
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.