Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

diff-review

Skill by ClickHouse

Lets an assistant open pending code changes in a browser diff review before a commit or pull request. It collects the user's line comments and returns them as JSON for the assistant to address.

  • Score 89
  • 51k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install diff-review

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ClickHouse/ClickHouse /tmp/ClickHouse && mkdir -p ~/.claude/skills && cp -r /tmp/ClickHouse/.claude/skills/diff-review ~/.claude/skills/diff-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install diff-review in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The diff-review skill lets a user read and review code changes in a browser before anything is committed or pushed. It starts a local server on localhost:3000 that renders the working-tree diff with @pierre/diffs CodeView and opens the user's browser. The UI is vendored, so it needs no network access and no third-party CDN sees the diff.

The server waits for the user's line comments and an overall verdict, then writes them to a JSON file. The assistant must read and address every comment before committing. The skill suits users who want a browser review of pending or committed branch changes, including through an SSH-forwarded port. If nobody opens the page within 120 seconds, the server exits on its own.

Written from the project's SKILL.md and checked against it.

What it can do

  • Browser diff reviewRenders the working-tree diff in a local browser UI on localhost:3000.
  • Line commentsCollects comments on new or old file lines plus an overall verdict as JSON.
  • SSH port forwardingPrints an ssh -L command so the user can review from their own machine.
  • Base selectionThe --base option sets the ref to diff against, and --committed reviews branch work only.
  • Automatic exitExits after 120 seconds if no browser opens the review page.

What you need

  • Node.js
  • A git repository
  • A browser on the same machine or access through an SSH-forwarded port

Try asking

  • Open a browser review of my pending changes before I commit.
  • Review my committed branch work in the browser before I open a PR.
  • Address the line comments I left in the browser review.

Good to know

  • Exits with code 4 after 120 seconds if no one opens the page, unless --force is used.
  • Exits with code 3 when there is nothing to review against the chosen base.
  • Uses port 3000 by default, and a stale server may need to be stopped first.
  • Meant for sessions where a user is present to open a browser.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/diff-review/SKILL.md, .claude/skills/diff-review/server.mjs, .claude/skills/diff-review/vendor/node_async_hooks.mjs, .claude/skills/diff-review/vendor/node_buffer.mjs, .claude/skills/diff-review/vendor/node_events.mjs, .claude/skills/diff-review/vendor/node_process.mjs, .claude/skills/diff-review/vendor/node_tty.mjs. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • server.mjs17 KB
  • ui.html16 KB
  • vendor/README.md2 KB
  • vendor/node_async_hooks.mjs3 KB
Show all 10 files
  • vendor/node_buffer.mjs28 KB
  • vendor/node_events.mjs12 KB
  • vendor/node_process.mjs8 KB
  • vendor/node_tty.mjs685 B
  • vendor/pierre-diffs-1.2.12.mjs.gz1753 KB

Alternatives to diff-review

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

diff-review: common questions

Does my diff go to a third-party service?

No. The UI is self-contained and vendors @pierre/diffs, so no third-party CDN sees the diff.

Can I review changes from my own machine over SSH?

Yes. When the machine looks remote, the server prints the ssh -L port-forwarding command to run on your machine.

What does the --committed option do?

It diffs base..HEAD and ignores the working tree, so uncommitted or untracked edits stay out of the review.

How do I install diff-review?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is diff-review free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is diff-review safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to diff-review?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

diff-review Install

Add to stack

Loading.