Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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.KeyMsg in v1; tea.KeyPressMsg in v2)
  • View is pure function (no side effects; returns string in v1 or tea.View in v2)
  • tea.Quit used correctly for exit

Lipgloss Styling

  • Styles defined once at package level (or inside tea.BackgroundColorMsg / ThemeFunc handler, not every View call)
  • Styles not recreated on every View call
  • Colors adapt to light/dark themes (lipgloss.AdaptiveColor in Lip Gloss v1; tea.RequestBackgroundColor + lipgloss.LightDark or compat.AdaptiveColor in Lip Gloss v2)
  • Layout responds to WindowSizeMsg

Component Composition

  • Sub-component updates propagated
  • WindowSizeMsg passed 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):

  1. Load applicable skills
  2. Review Go code quality
  3. Review BubbleTea patterns (Model/Update/View)
  4. Review Lipgloss styling
  5. Review component composition
  6. Review SSH server (if applicable)
  7. Consolidate findings

Parallel (--parallel, only if the agent supports subagents):

  1. Detect all technologies upfront
  2. Dispatch one subagent each for: Go quality, BubbleTea, SSH
  3. Wait for all subagents
  4. Conso
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить review-tui с