feat(claude-code): add crit-tui, an early review pane mod for Claude Code - #1015
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1015 +/- ##
==========================================
+ Coverage 75.61% 77.64% +2.02%
==========================================
Files 161 168 +7
Lines 23474 23616 +142
==========================================
+ Hits 17750 18336 +586
+ Misses 4314 3872 -442
+ Partials 1410 1408 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…Code A second plugin in the crit marketplace (`/plugin install crit-tui@crit`) that brings the crit review loop into Claude Code as a mod (Claude Code 2.1.287+): - `/crit-tui` opens a pane over the conversation, the git diff, or a file - click and drag to select exact text, comment inline, reply, resolve - `s` sends new comments and replies to Claude as one prompt; Claude answers each in its thread through the mcp__crit-tui__reply tool - code comments go to the repo's review file with `crit comment --json`, carrying `quote` / `quote_offset` for partial selections - chat comments go to a crit plan saved with `crit plan --no-wait`, with `crit comment --plan`; with an older crit they stay in the session It is opt-in and versioned on its own (0.1.0), so the main crit plugin is unchanged. Integration hashes regenerated for the new files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tomasz-tomczyk
force-pushed
the
feat/claude-code-tui-mod
branch
from
October 2, 2026 15:24
a577f3f to
82268dc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A second plugin in the crit marketplace: crit-tui, a mod that brings the crit review loop into Claude Code (Claude Code 2.1.287+). It's opt-in and versioned on its own (0.1.0), so the main
critplugin doesn't change.How it works
/crit-tuiopens a pane next to the transcript: the conversation, the git diff, or a file (/crit-tui chat|diff|file <path>).ccomment,rreply,xresolve,ssend,?for the rest.ssends new comments and replies to Claude as one prompt. Claude answers each item in its thread with themcp__crit-tui__replytool. You resolve.Where comments live
Everything goes through the crit CLI, so
crit commentsand the browser UI see the same review:crit comment --json, withquote/quote_offsetfor partial selections (feat(cli): accept quote and quote_offset in crit comment --json #1013).claude-chat-<session id>), saved withcrit plan --no-wait(feat(plan): add --no-wait to save a plan version without a review #1014) and commented withcrit comment --plan. With an older crit, chat comments stay in the session.Files
integrations/claude-code-tui/: the plugin (hooks module, the pane'sClientmodule, model, state types, tests, README).claude-plugin/marketplace.json: the new plugin entrycmd/crit/integration_hashes_gen.go: regeneratedTesting
claude plugin validate integrations/claude-code-tuiandclaude plugin validate .: passclaude plugin test integrations/claude-code-tui: 24 tests (documents, review prompt, the pane driven by keys and mouse, crit CLI calls for code and chat comments)go test ./cmd/crit/: pass🤖 Generated with Claude Code