Crit – local review tool for agent plans and code diffs
Finally, a proper diff viewer for AI output that isn't just a terminal scroll.
TUI for reviewing AI-generated code and plans
Inline terminal comments beat describing line numbers to your AI agent.
Developers using Claude Code or similar AI coding agents
GitHub PR reviews · Phabricator
Why I built it: when an AI agent writes code across multiple files or produces a long plan, your options are to read it in an editor and type out what's wrong, or just approve it and edit it yourself. Inline commenting on the exact line is faster and more precise — you point at what's wrong instead of describing where it is.
Two modes:
- Code review: `crit review --code` detects changed files in your git repo, opens a tabbed TUI with diffs and syntax highlighting across all files
- Document review: `crit review path/to/doc.md` for reviewing plans, specs, or any markdown file
The CLI is fully agent-invokable — your agent can trigger the review, open it in a tmux split pane beside your terminal, and pick up your comments when you close it. The whole review loop stays in one terminal without breaking the agent's flow.
Built in Go with Charm libraries. Ships with a Claude Code marketplace plugin but the TUI works standalone with any agent or workflow.
`go install github.com/kevindutra/crit/cmd/crit@latest`
Repo: github.com/kevindutra/crit
Finally, a proper diff viewer for AI output that isn't just a terminal scroll.
Finally solves the pain of reviewing 1000-line agent plans without losing context between iterations.
Another doc commenter, but tied to a specific chat-bot ecosystem called Claw.
GUI wrapper around git diff with LLM walkthrough, but delta and GitHub already do this.
Purpose-built diff reviewer for AI-generated code, vim-native, actually ships.
Closes the AI spec review loop without leaving the terminal like Cursor's inline chat.