Documentation

Map of diffing docs for humans and AI agents.

diffing is a local-first CLI for reviewing git diffs with humans and AI agents. It runs a loopback web UI (or an experimental native TUI), stores review state under ~/.diffing/, and exposes CLI + MCP tools for agent handoff and plan review.

If you are an agent

  1. Read Agent handoff — async park is the default.
  2. Install MCP / skills via Setup & MCP.
  3. Prefer MCP tools when available; otherwise CLI from CLI reference.
  4. For design sign-off before coding: Plan review.
  5. Bulk ingest: /llms.txt and /llms-full.txt.
Verdict / signalAction
Plan approvedImplement the reviewed plan
Plan changes-requestedRevise plan, resubmit same id — do not implement
Plan rejectedStop
Await timeout + disposition=parkEnd turn; resume when human is ready
Comment severity blockingMust fix before resolve
Comment severity questionReply; usually leave open

If you are a human

  1. Getting started — install and first review.
  2. Code review — web UI workflow.
  3. Keyboard shortcuts — vim-style navigation.
  4. Themes & Gridline — visual system.

Sections

SectionWhat it covers
StartInstall, setup, first review
ConceptsArchitecture, sessions, storage
GuidesReview loops, agents, PR, TUI, search
ReferenceCLI, MCP, HTTP API, XML, settings, exit codes
DesignGridline design system, themes

Quick commands

npm install -g diffing
diffing setup
diffing                    # preferred interactive UI
diffing --staged
diffing view               # read-only native viewer
diffing mode tui           # make full TUI the default
diffing await-review       # sync handoff only
diffing plan submit PLAN.md --model "your-model"
diffing mcp

Facts agents should not invent

Do not assumeCorrect
Fixed default portRandom free port on 127.0.0.1
App uses localStorageServer-side under ~/.diffing/ + ~/.config/diffing/
t cycles themest = tab size; themes = g t
~10 MCP tools37 tools (see MCP reference)
~42 themes52 themes; default rose-pine