tuicr
БесплатноЗапускает вложенные скриптыНе проверенReview a GitHub/GitLab PR, commit range, working tree, or file in the tuicr TUI — and read the user's annotations back out of the session — or answer…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
tuicr — TUI Code Review
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Review a PR (or the working tree, a commit range, or a file) with inline annotations in the tuicr
TUI, then read the annotations back and address them. tuicr auto-detects the VCS. Unlike a one-way
capture tool, tuicr persists the review session to disk and exposes it to agents both ways:
Claude reads your notes with tuicr review comments and can write replies back into the same
session — that you see live in the TUI — with tuicr review add.
Activation Triggers
- "tuicr", "review PR with tuicr", "tuicr pr 70", "review PR #123", "review this PR"
- "review the working tree", "review changes with tuicr", "tuicr working tree"
- "review commit range", "tuicr -r main..HEAD"
- "tuicr all files", "browse all files"
- "tuicr README.md", "tuicr docs/plan.md", "review this file with tuicr" — single-file review (
--file) - "address my tuicr annotations", "read my tuicr review", "what did I annotate in tuicr" — process an existing session
- "tuicr config", "tuicr keybindings", "how do tuicr sessions work" — informational
Answering Questions
If the user asks about tuicr (config, sessions, keybindings, install) rather than requesting a review, consult the reference files and answer directly — do not launch the TUI.
references/install.md— how tuicr is installed (nixpkgs) and the launcherreferences/config.md— config file, themes, session storagereferences/usage.md— commands, keybindings, the agent read/write JSON contract
Using an Existing Session
If the user says "read my tuicr review", "address the annotations I just made", "what did I flag" — they ran tuicr outside this flow and want the stored annotations processed. Skip the launch: resolve the session slug (Step 3) and go straight to Step 3.5 classification.
How It Works
- Launch tuicr in its own herdr tab (it needs a real TTY), revealed once the diff has painted.
- The user navigates the diff and adds inline annotations (
c), then quits (q). - On quit, the launcher unblocks. Annotations live in the persisted session on disk — NOT on stdout.
- Claude reads them with
tuicr review comments --session <slug>, classifies, and addresses each. - Optionally Claude replies into the session with
tuicr review add(stamped as the agent). - Loop: re-launch so the user can see fixes and add more; done when there are no new annotations.
Workflow
Step 0: Verify Installation
command -v tuicr && tuicr --version
herdr tab list # the launcher hosts the TUI in a herdr tab; this confirms a live server
If missing, tuicr is in nixpkgs — add tuicr to ~/nix/modules/shared/packages.nix and rebuild
(cd ~/nix && nix run .#build-switch), or for a one-off run set
TUICR=$(nix build --no-link --print-out-paths nixpkgs#tuicr)/bin/tuicr. See references/install.md.
Step 1: Determine the Review Target
Map $ARGUMENTS to tuicr's flags (always append --no-update-check):
| User intent | tuicr args |
|---|---|
PR number 70 / PR or MR URL |
pr 70 (run from inside the repo, or pass the URL) |
| "working tree" / uncommitted | -w |
| commit range / revset | -r <revset> (e.g. -r main..HEAD) |
| "all files" | -A |
a file/dir path (docs/plan.md) |
--file docs/plan.md |
| a PR, narrowed to one path | pr 70 --path src/app.rs |
If nothing is specified and the repo has uncommitted changes, default to -w; on a clean feature
branch, offer -r <main>..HEAD. Ask only when genuinely ambiguous.
Step 2: Launch the Review
The launcher opens tuicr in a new herdr tab (labeled tuicr), and blocks until the user quits.
The tab is created unfocused and revealed only once tuicr has painted, so it appears already
loaded rather than as a blank shell. Run it in the repo directory:
"${CLAUDE_SKILL_DIR}/scripts/launch-tuicr.sh" pr 70 --no-update-check
IMPORTANT — long-running command: it blocks for the whole review. Set the Bash tool timeout
to the maximum your harness allows (e.g. 1800000). Do not use run_in_background. On a clean
quit the launcher prints TUICR_RC=0.
- tuicr needs a real TTY, so the launcher runs it in a fresh herdr pane (
herdr tab create+herdr pane run) — running tuicr inline or with the!prefix fails withNo such device or address (os error 6). Always go through the launcher. - The review lands in its own tab, so it never takes over the tab Claude is in. When the user quits
tuicr (
q), the launcher returns and closes the review tab. - ghostty is only a fallback, used when no
Установить tuicr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadEditWriteGrepGlobВложенные файлы
FAQ
Что делает скилл tuicr?
Review a GitHub/GitLab PR, commit range, working tree, or file in the tuicr TUI — and read the user's annotations back out of the session — or answer questions about tuicr usage and config. Use when the user says "tuicr", "tuicr pr <N>", "review this PR", "review PR #N", "review with tuicr", "code review TUI", "review the working tree", "tuicr all files", "tuicr <file>", "address my tuicr annotations", "read my tuicr review", "what did I annotate in tuicr", "tuicr config", "tuicr keybindings". Use proactively when a finished change needs the user's eyes before it ships, even if they never say "tuicr". NEGATIVE ROUTING: inside a running /work, /dev, /writing or /workshop loop, human review is that workflow's own phase — follow it rather than starting a bare tuicr session; and when the user wants CLAUDE to find the problems rather than annotate them themselves, that is /code-review or /security-review, not this skill.
Как установить скилл tuicr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tuicr запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic