gaojude

Diffreview — Code Quality skill for Claude Code

Code Quality community

Native macOS code review for the agent era — the diff is the window, comments become an agent prompt.

How to install Diffreview

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gaojude/diffreview and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Diffreview does

Native macOS code review for the agent era — the diff is the window, comments become an agent prompt.

Alternatives in Code Quality

README

DiffReview

Native macOS code review for the agent era. Run `diffreview .` in a Git project and the window **is** the diff: every change on your branch as one scrolling document. Read it like a pull request — check files off as reviewed, comment on lines — then copy the whole review as a single prompt-ready block for your coding agent.

Built with SwiftUI + AppKit (no Electron, no web view), packaged as a real `.app`, launched by a thin `diffreview` command — like `code .`, but native.

Features

  • The diff is the window — every file changed by the branch and working tree, one scrolling document against the merge base. Unified or split (old | new) layout with locked scrolling and a draggable divider; a line-number gutter shows real file line numbers with +/ markers.
  • Review like GitHub — sticky per-file header bars with change stats, a collapse chevron, and a [ ] Reviewed checkbox that folds the file away. Collapse state and your reading position persist per repo + branch, so a review survives relaunches.
  • Comments become a prompt — select lines and press ⌘K: a glass composer opens inline under the selection. Comments collect in a side panel, jump back to their code on click, and Copy exports the entire review as one block ready to paste into Claude Code or any coding agent.
  • Hunk-by-hunk navigation⌥⌘↓ / ⌥⌘↑ step through changes at GitHub's granularity (one stop per hunk), with a "Change 3 of 41" toast.
  • Per-commit scope — a toolbar picker re-scopes the document to a single commit's diff, or back to all branch changes.
  • The branch's PR, one click away — when the GitHub CLI (gh) resolves a pull request for the reviewed branch, a #123 toolbar button opens it in your browser (and flags Draft / Merged / Closed states). No gh, no PR: no button.
  • Many PRs, one windowdiffreview a second project (or drop its folder on the Dock icon) and it attaches to the running window as