Review Assist
Turns an AI coding agent's session into a reviewable Intent Document: the problem, the assumptions, the rejected alternatives, and an anchored walkthrough of the diff.
Documentation
Review Assist
Review AI-written code as fast as agents write it.
Turn a coding agent's session into a guided, verifiable pull-request review.
Install · How it works · Developing · Contributing
AI agents write code faster than anyone can read diffs — and the context that makes review fast (what was asked, what was assumed, what was tried and abandoned, what was tested) is thrown away the moment the PR opens. Review Assist captures it at the source: an agent's session becomes an Intent Document, a validator proves it actually covers the diff, and a GitHub App renders it as a guided review on top of the pull request.
Fully open source, self-hostable, and stores none of your code — validation runs against the diff on GitHub's side of the fence, and the viewer renders live in the reviewer's browser.
Install
Two one-time installs — the MCP server on the developer's side, the GitHub App on the repo's.
1. Register the MCP server with your agent (so it can author Intent Documents).
Claude Code:
claude mcp add -s user review-assist -- npx -y review-assist-mcp
Codex:
codex mcp add review-assist -- npx -y review-assist-mcp
Both write the same entry to the agent's own config — for Codex that's
~/.codex/config.toml, shared with the IDE extension. Check it landed with
codex mcp list (or claude mcp list).
Claude desktop app — one-click, no terminal:
download the .mcpb
and open it.
One click. Read-only code + PR comments, no workflow files — it adds the automatic check on every PR, the summary comment, and the guided-review viewer.
How it works
Full diagram and internals: docs/ARCHITECTURE.md.
Developing
| Path | Component |
|---|---|
packages/schema | The format — JSON Schema (draft 2020-12) + TypeScript types |
packages/validator | review-assist CLI + library: the five checks and the Markdown renderer |
packages/mcp-server | MCP server that drives distillation and gatekeeps submissions |
apps/github-app/worker | Stateless Cloudflare Worker: OAuth broker + thin GitHub proxy |
apps/github-app/viewer | Client-side guided-review viewer |
SPEC.md | The frozen design: the document's six sections and the five checks |
npm install
npm run build
# Validate and render the example Intent Document
node packages/validator/dist/cli.js validate packages/schema/src/example.json
node packages/validator/dist/cli.js render packages/schema/src/example.json
# Preview the guided viewer with mock data → http://localhost:8787/#acme/checkout-service/pull/42
node scripts/mockserver.mjs
# Tests
npx vitest run
Architecture and internals: docs/ARCHITECTURE.md.
Contributing
Issues and pull requests are welcome. If the guided review reads wrong on one of your
pull requests, open an issue with the
Intent Document and the diff that produced it — that pair is usually enough to reproduce.
Proposals to change the format itself are worth raising as an issue first, since
SPEC.md is deliberately frozen and any change ripples through the validator,
the viewer, and every document already committed.
Before opening a pull request, run the checks under Developing; CI runs the same build, typecheck, tests, and example validation.