ClaudeCodeMod

All shelves / Mods / Review

diff-review

By nicolas-codemate

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.

Draws

Install

The marketplace name is codemate-mods.

In Claude Code
/plugin marketplace add nicolas-codemate/claude-code-mods
/plugin install diff-review@codemate-mods
Open the repo

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

The author's recording of diff-review: /diff-review opens a review pane on the Pull Request tab with PR #1, Let customers apply a discount code at checkout, its description and what changes; then the diff of src/Entity/DiscountCode.php, a click on line 27, and a box under it where a question starting Why compar is typed. The pull request is the author's sample.
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.

Facts

Author
nicolas-codemate
Category
Review
Marketplace
codemate-mods
Repo
nicolas-codemate/claude-code-mods
Folder
plugins/diff-review
Version
0.4.0
License
MIT
Repo stars
6
Last change
2026-10-13
Language
TypeScript
Files
72

Other mods in Review

rippleNealMaps what a code change reaches: a background agent traces the code that uses what you changed, and a pane draws the files, which break, and which to review.testivai-reportTestivAIDraws a pane of a TestivAI visual report's snapshots, changed first, toasts what a run found, and opens the full report with its screenshots in the side panel.owner-repmacollins27Draws a row above the prompt with the result you asked for and what the agent is doing, warns when work is dropped, and checks the agent's claims on a press.editlensmymotomaker-aiShows each change Claude makes to your website in your browser as it happens, with the chat and the code beside the page, and draws a line above the prompt.bilingual-viewagainest1Translates a Chinese prompt into English before it is sent, and draws Claude's English reply in Chinese, with buttons to see the sent text or the original.mermaid-drawgalElmalahDraws each mermaid block Claude writes as colored box art in the reply, where the fence was: flowcharts, state, sequence, class, and ER diagrams, and xy charts.crayonjonpojonpoRedraws every reply in themed color, with gradient headings, boxed tables, and callouts, and teaches Claude tags for badges, colors, and panels. Six themes.for-your-eyeskeshavatearthDraws a rounded border around each turn's final answer, so it stands out from the progress notes and tool calls above it. /for-your-eyes turns it off.desk-lookKyongSik-YoonRedraws the terminal like the desktop app's Code tab: prompt bubbles, folded tool calls, cards, a band of branch, PR checks, and context, and seven side panes.coral-skinpromptadvisersRestyles Claude Code's message and tool rows in coral, ink, and cream, with colored chips that mark reads, edits, and commands, and a risk mode, under /skin.repo-heatmappromptadvisersOpens a map of the project's files, each area sized by the file, that lights up as Claude reads, searches, and edits them, and marks failed operations.flight-recorderpromptadvisersOpens a timeline of each turn: model requests, tool calls, and helper agents as lanes over time, so you see what ran alongside what, with an estimated cost.
All 145 in Review