review-tui
БесплатноБез исполняемых скриптовНе проверенComprehensive BubbleTea TUI code review for terminal applications. Use when reviewing Bubble Tea, Lip Gloss, Bubbles (charmbracelet or charm.land v2), or Wish…
от existential-birds★ 92 звезды на GitHubОб этом скилле
TUI Code Review
Arguments
--parallel: Review each technology area concurrently if the agent supports it (see Step 6)- Path: Target directory (default: current working directory)
Gates (sequence)
Advance only when each pass condition is true (reduces scope drift and unsubstantiated blocking claims):
| Gate | Pass condition |
|---|---|
| G1 — Scope | Step 1 produced a concrete list of target .go paths (from the git command or an explicit user path). If the list is empty, you stopped for scope clarification or recorded an agreed non-git scope (e.g. single file/dir) before reviewing. |
| G2 — Skills before review | review-verification-protocol, go-code-review, and bubbletea-code-review are loaded; Step 4 conditionals (tests → go-testing-code-review, Wish → wish-ssh-code-review) are loaded before Step 5. |
| G3 — Evidence for Critical/Major | Each Critical/Major finding cites file path + line (or a short quoted snippet) from the opened source—not from diff hunks alone. |
| G4 — Pre-output hygiene | Each retained finding was checked against Step 7 and the loaded review-verification-protocol before writing the Issues section. |
Do not start Step 5 until G2 passes. Do not publish Critical/Major until G3 and G4 pass.
Step 1: Identify Changed Files
git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.go$'
Step 2: Detect Technologies
# Detect BubbleTea (v1 charmbracelet or v2 charm.land)
grep -rE "charmbracelet/bubbletea|charm\.land/bubbletea/v2" --include="*.go" -l | head -3
# Detect Lipgloss styling (v1 or v2)
grep -rE "charmbracelet/lipgloss|charm\.land/lipgloss/v2|lipgloss\.Style" --include="*.go" -l | head -3
# Detect Bubbles components (v1 or v2)
grep -rE "charmbracelet/bubbles|charm\.land/bubbles/v2|list\.Model|textinput\.Model|viewport\.Model" --include="*.go" -l | head -3
# Detect Wish SSH server (v1 or v2)
grep -rE "charmbracelet/wish|charm\.land/wish/v2|ssh\.Session" --include="*.go" -l | head -3
# Check for test files
git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '_test\.go$'
Step 3: Load Verification Protocol
Load the review-verification-protocol skill and keep its checklist in mind throughout the review.
Step 4: Load Skills
Load each applicable skill below (open its SKILL.md and follow it).
Always load:
Conditionally load based on detection:
| Condition | Skill |
|---|---|
| Test files changed | go-testing-code-review |
| Wish SSH detected | wish-ssh-code-review |
Step 5: Review Focus Areas
Model/Update/View (Elm Architecture)
- Model is immutable (Update returns new model)
- Init returns proper initial command
- Update handles all message types (
tea.KeyMsgin v1;tea.KeyPressMsgin v2) - View is pure function (no side effects; returns
stringin v1 ortea.Viewin v2) -
tea.Quitused correctly for exit
Lipgloss Styling
- Styles defined once at package level (or inside
tea.BackgroundColorMsg/ThemeFunchandler, not everyViewcall) - Styles not recreated on every
Viewcall - Colors adapt to light/dark themes (
lipgloss.AdaptiveColorin Lip Gloss v1;tea.RequestBackgroundColor+lipgloss.LightDarkorcompat.AdaptiveColorin Lip Gloss v2) - Layout responds to
WindowSizeMsg
Component Composition
- Sub-component updates propagated
-
WindowSizeMsgpassed to resizable components - Focus management for multiple components
- Clear state machine for view transitions
SSH Server (if applicable)
- Host keys persisted
- Graceful shutdown implemented
- PTY window size passed to TUI
- Per-session rendering configured (
bubbletea.MakeRenderer(s)in Wish v1;bubbletea.MakeOptions(s)+ automatic color profile in Wish v2)
Step 6: Review
If the agent supports subagents, dispatch one per technology area in parallel; otherwise run the areas sequentially. Either path produces identical output.
Sequential (default, and the fallback when subagents are unavailable):
- Load applicable skills
- Review Go code quality
- Review BubbleTea patterns (Model/Update/View)
- Review Lipgloss styling
- Review component composition
- Review SSH server (if applicable)
- Consolidate findings
Parallel (--parallel, only if the agent supports subagents):
- Detect all technologies upfront
- Dispatch one subagent each for: Go quality, BubbleTea, SSH
- Wait for all subagents
- Conso
Установить review-tui в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-tui?
Comprehensive BubbleTea TUI code review for terminal applications. Use when reviewing Bubble Tea, Lip Gloss, Bubbles (charmbracelet or charm.land v2), or Wish SSH code; optionally reviews each area concurrently.
Как установить скилл review-tui?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-tui запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic