diff-review is a Claude Code review mod by nicolas-codemate.
Opens a review pane for your uncommitted changes, the pull request, or one commit, where you click a line to ask Claude and the answer streams in under it.
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
Version
0.4.0
License
MIT
Repo stars
6
Last change
2026-10-13
What it can reach
Draws in the session
Reads this turn's file edits
Runs a command when you press
Reaches the network or an outside service
Calls another program on this machine
Type /diff-review. It needs git, and the GitHub CLI logged in with gh auth login for the pull request features; xdg-open on Linux or open on macOS opens GitHub pages. Claude Code with mods support, in the terminal; the author tested 2.1.294. The desktop app, VS Code, and mobile show a notice instead of the pane. The author calls it a personal tool, mostly tested on Linux. Claude Code does not update the marketplace on its own: turn on auto-update under Marketplaces in /plugin, or run /plugin marketplace update codemate-mods now and then. From a Full HD screen it fits with the file list collapsed. Over SSH, export FORCE_HYPERLINK=1 before claude keeps links clickable.
The marketplace name is codemate-mods, and it lists this one plugin. Reading a diff and asking about its lines is why this page files it under review. crit-tui opens a pane where you comment on lines of the conversation, the diff, or a file, and sends the review in one go. replay-theater steps through the files Claude edited last turn, one diff at a time. This one is a whole review in the pane: uncommitted changes with staging, the pull request with its GitHub review comments, and each commit, with a thread under the line for each question. ✓ commit hands the commit to Claude, a push takes a second press and never runs from main or master, and Address with Claude has Claude settle a review comment. On GitHub it changes only what you change: viewed boxes, a thread's resolved state, and a push.
Demo
From the author's repo.
What it hooks into
session.startWhen a session starts
config.setA Claude Code event
command.runWhen you run its slash command/diff-review
tool.callAround a tool call, where it can hold one
ui.scrollA Claude Code eventPane
ui.focusA Claude Code eventPane
ui.closeWhen its pane closes
prompt.submitWhen you send a prompt
ui.messageAdds a message to the session
session.endWhen a session ends
turn.startWhen Claude starts a turn
turn.stepAt each step of a turn
turn.completeWhen a turn ends
ui.renderDraws into the sessionPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/diff-reviewOpen the review explorer: uncommitted changes, the PR, or commit by commit
Files
The author's README and source, 4 files. They load when you open them.