Command Palette

Search for a command to run...

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

TUI Design

БесплатноБез исполняемых скриптовНе проверен

Design, build, refactor, or review terminal interfaces—full-screen TUIs, interactive prompts, and command-line tools. Use for terminal-app layout and UX, CLI…

gfargoот gfargo194 установки в других каталогах

Об этом скилле

TUI & CLI Design

Design terminal software that is calm, predictable, fast, and honest about the medium. Treat this file as the workflow and cross-cutting contract. Load detailed guidance from the one reference that owns it instead of reconstructing or repeating it here.

Route before answering

Need Authoritative reference
Go, Bubble Tea, Lipgloss, Bubbles, tview, gocui references/ecosystem-go.md
Rust, Ratatui, crossterm, Cursive references/ecosystem-rust.md
Python, Textual, Rich, prompt_toolkit, urwid references/ecosystem-python.md
TypeScript/JavaScript, Ink, OpenTUI, Clack, Inquirer references/ecosystem-typescript.md
One-shot commands, arguments, streams, exit codes, --json and errors, completions, paging, config, Windows, CLI testing, automation references/cli-basics.md
Layouts and wireframes, inline vs alternate screen, borders, hierarchy, color, density, responsive behavior and the floor size, states (empty, loading, partial, error, stale), tables, diff views, modals, status bars and messages, progress and spinners, themes, icons and Nerd Fonts, localization and Unicode width, accessibility (screen readers, plain mode, motion) references/visual-patterns.md
Keys, the Esc/q/Ctrl+C quit order, keys that tmux or the key encoding steal, focus, navigation, search and filter, multi-select, help and the command palette, scrolling, live-data selection, log follow mode, trees, text input, forms, mouse, confirmation, undo references/interaction-patterns.md
Flicker or tearing, escape sequences and terminal modes (bracketed paste, keyboard protocol and a Shift+Enter that doesn't arrive, mouse, focus, synchronized output, cursor, title, progress), tmux, screen, Zellij, SSH, and Windows behavior, clipboard, links, notifications, color depth and theme detection references/terminal-protocols.md
Case studies: lazygit, k9s, fzf, btop, helix, yazi, atuin references/exemplar-apps.md
Screenshots or demo recordings The vhs-cli-demos skill when installed; otherwise references/cli-basics.md → Demo recordings

Load only the references the task needs. When the prompt names a framework or ecosystem, always load its ecosystem reference before making API, lifecycle, implementation, or testing claims. Ecosystem references own those specifics. The visual and interaction references own their domains for every ecosystem. Exemplar apps are evidence and inspiration, not substitutes for the pattern references.

If no language is named, ask only when ecosystem choice would materially change the answer or implementation. Otherwise state a reasonable recommendation and proceed: Go for polished single binaries, Rust for control and reliability, Python for rapid product work, and TypeScript when React or npm distribution is already an advantage.

Classify the product first

Choose the output contract before choosing a framework or layout:

Product shape Default contract
One-shot CLI No live full-screen UI. Stable stdout for results, stderr for diagnostics, meaningful exit codes. Load cli-basics.md.
Summon–choose–exit tool Prefer inline when shell context matters. Put interactive chrome on stderr or /dev/tty and the selected result on stdout. Use full-screen only when a large preview or working set needs stable space.
Full-screen session Use the alternate screen and a stable spatial model. Treat terminal restoration, resize, suspend, and redraw behavior as product requirements.

Then name the workflow shape—persistent panels, Miller columns, drill-down stack, dashboard, IDE-style panes, overlay, or tabs—and verify it against visual-patterns.md. Sketch the states and layout before writing code: initial, loading, empty, partial, success, error, disconnected, and too-small (visual-patterns.md → States). In a design answer, include an ASCII sketch of the layout at the floor size (60 columns) next to the wide one.

Work the task

  1. Classify the product shape and its stdout/stderr contract.
  2. Identify the dominant user loop and the 5–8 most common actions.
  3. Select the ecosystem and load its reference plus any relevant pattern reference.
  4. Sketch the layout and state transitions at wide, standard, narrow, and minimum sizes.
  5. Implement in the ecosystem's native architecture; keep state/update/event work separate from rendering where the framework permits.
  6. Verify lifecycle cleanup, input discoverability, output behavior, width handling, and async work.
  7. Test the cheapest stable layer first, then rendered frames, then a small PTY smoke path only if its integration risk justifies it.

For design questions, make the recommendation before explaining it. For implementation, inspect the existing architecture and dependencies before introducing a new framework or abstraction. For reviews, cite concrete observations and prioritize changes by user harm.

Preserve these cross-cutting contracts

Полный SKILL.md на ClawHub

Установить TUI Design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл TUI Design?

Design, build, refactor, or review terminal interfaces—full-screen TUIs, interactive prompts, and command-line tools. Use for terminal-app layout and UX, CLI behavior, ncurses-style tools, dashboards, REPLs, fzf-like pickers, and libraries such as Bubble Tea, Ratatui, Textual, or Ink, including requests that name a known TUI such as lazygit, k9s, btop, helix, or yazi instead of saying “TUI.” Do not use for browser or web UI, native GUI, editor or font configuration, or backend and shell work that has no terminal interface.

Как установить скилл TUI Design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл TUI Design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить TUI Design с