/qadri-build:tui-designfrom qadri-build
Design, build, refactor, or review terminal interfaces including full-screen TUIs, interactive prompts, and command-line tools. Covers layout, UX, CLI behavior, ncurses-style tools, dashboards, REPLs, pickers, and libraries like Bubble Tea, Ratatui, Textual, or Ink.
Ships in qadri-build. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
| 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.
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.
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.
len(), or JavaScript string length. Test CJK, combining marks, and emoji.NO_COLOR in automatic color mode and preserve meaning in monochrome.Ctrl+C cancels or quits, and Ctrl+Z suspends through the framework. Which other keys are reserved, and why raw mode frees Ctrl+S, is in interaction-patterns.md → Reserved keys.--no-tui or equivalent mode when automation or serious accessibility needs require linear output; visual-patterns.md → Accessibility defines what it must contain.These catch the failures users rarely name. Apply both to every layout you design or review, even when the question is about something else.
Make “busy” countable. Report:
[PASS], green, a checkmark, and a row marker is four;Name the exact borders, markers, labels, or repeated fields to remove. Do not stop at “simplify it.” Use the full method in visual-patterns.md → The clutter audit.
State what happens at 80×24 and in a 60-column tmux split: which pane wins, what hides, what truncates, what becomes drill-down, and when the truthful “terminal too small” state appears. Every multi-column design needs a single-pane fallback. Use the breakpoint ladder and minimum-size method in visual-patterns.md → Responsive design.
Keep business state independent enough to test without a terminal. In MVU or immediate-mode systems, feed synthetic events into update logic and assert state. In retained/widget systems, drive the smallest widget or app harness that owns the behavior.
Use a bottom-heavy test pyramid:
Verify at least:
NO_COLOR, 16-color or monochrome, ASCII fallback, and non-TTY output;NO_COLOR (cli-basics.md → Testing one-shot CLIs).Use the ecosystem reference's exact testing and debugging APIs. Never print diagnostics into an active raw-mode or alternate-screen UI.
Report evidence in priority order:
NO_COLOR, and plain mode support scripts and accessibility?Avoid generic verdicts. Tie each recommendation to a user-visible failure, an implementation risk, or a measurable reduction in noise.
Be decisive where practice has converged: semantic colors, clean terminal restoration, responsive fallback, non-blocking work, width-aware rendering, and honest stream contracts. Explain real tradeoffs for inline versus full-screen, modal versus modeless input, mouse support, and destructive-action confirmation.
Use the chosen ecosystem's idioms rather than translating another framework's architecture literally. When a design choice remains abstract, point to the relevant case study in exemplar-apps.md and explain which part of its solution transfers.
agents/openai.yaml (opens in a new tab)references/cli-basics.md (opens in a new tab)references/ecosystem-go.md (opens in a new tab)references/ecosystem-python.md (opens in a new tab)references/ecosystem-rust.md (opens in a new tab)references/ecosystem-typescript.md (opens in a new tab)references/exemplar-apps.md (opens in a new tab)references/interaction-patterns.md (opens in a new tab)references/terminal-protocols.md (opens in a new tab)references/visual-patterns.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub qadri-uk/claude-skills --plugin qadri-build135 skills in this plugin
/a-b-test-designDesign an A/B experiment — hypothesis, variants, primary metric, and sample size. Use when a change can be measured quantitatively at scale. For observing behaviour qualitatively, use `test-scenario`./addyosmani-qualityWeb quality skills from Google Chrome's Addy Osmani: a measurement-first
web quality audit (Lighthouse-style), accessibility (WCAG 2.2), Core Web
Vitals (LCP/INP/CLS), performance, SEO, and security/modern-web best practices.
/agent-harness-reviewReviews an agent harness or agent design against Anthropic's agent and Claude Opus 5.5 guidance, Cognition's context principles and 2026 research on skill routing and skill-induced failures. Covers when subagents or parallel agents pay off, how to brief them, how many skills, plugins, MCP servers and hooks load every session, tool design and proportionate verification. Use when auditing a Claude Code or Codex setup, deciding whether to add subagents or a multi-agent workflow, trimming a skill library, or designing an agent loop in an app. For writing or evaluating a single skill, use skill-creator.2 plugins ship this exact skill · first indexed Oct 30, 2026
Other plugins' skills for the same job