⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

tui-design

@diegomarino⭐ 13 stars

Design, mock up, build and review terminal UIs — full-screen TUIs, interactive CLIs and pickers, and plugin panels or popups inside a host (herdr, tmux, Neovim, k9s, lazygit). Use when designing, reviewing (from code, a live capture or a screenshot) or redesigning a TUI's layout, keybindings, states or colors, including requests that name a known TUI (lazygit, k9s, btop, yazi, helix, fzf); writing terminal mockups; building or fixing one in Ink, Textual, Bubble Tea, Ratatui or gum; mapping a color scheme (Catppuccin, Dracula, Nord, Gruvbox, Tokyo Night, Rosé Pine…) onto a TUI's theme; fixing misaligned glyphs, flicker, NO_COLOR, exit codes, signals, pipes or a broken terminal after exit; suspend or $EDITOR handoff; or profiling a slow TUI. Not for web or native GUIs, terminal-emulator, editor or shell-prompt themes.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 13 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

tui-design

An agent skill that designs, mocks, builds and audits terminal UIs with evidence instead of taste: full-screen apps, interactive CLIs and pickers, and plugin panels or popups inside a host (tmux, Neovim, k9s, lazygit, …).

Every sketch is a .mock frame on the real cell grid — linted at a declared size and rendered to PNG before anyone sees it. Not for web or native GUIs, terminal-emulator themes, editor themes, or shell prompts.

Approvals screen of a deploy console: a queue of release requests on the left, the selected request's approvals, checks and diff on the right, rendered at 120x30 in 256 colors

Concept C of the worked example: a linted .mock at 120×30 and 256 colors, built with mockkit.py and scored on the visual-craft rubric.

Every design comes back as a self-contained HTML gallery: each frame in every state, size and theme, with keyboard navigation, side by side, and TXT / ANSI / SVG / PNG export. The reference frames are published at https://diegomarino.github.io/tui-design/.

The gallery page the skill builds: selectors for design, variant, state, size, theme and scale above a rendered frame, with its lint summary and export buttons

What you get

You ask forYou get
opinions on a TUI or screenshotfindings ordered by user harm, each with evidence and what it needs
a new screen or redesignthree concepts → linted frames × state × size → HTML gallery
code, a prototype, or a theme in a stacka starter (Ink, Textual, Bubble Tea, Ratatui, gum) plus cell-level compare
a measured auditlive capture or screenshot → description → 135-check report
only colors44 tokens, contrast at truecolor and 16 colors, exporters

Try it

  • "Sketch a log viewer for our job runner at 80×24 and at a 60-column split."
  • "Review this screenshot of my TUI. What would you change first?"
  • "Map Gruvbox onto my Textual app's theme and check contrast at 16 colors."

Install

npx skills add diegomarino/tui-design                # into the current project
npx skills add diegomarino/tui-design -g             # for your user, all projects
npx skills add diegomarino/tui-design#v0.1.0         # pinned to a release

Or copy only skills/tui-design/ into .claude/skills/ or .agents/skills/ (~2.1 MB of references, scripts, themes and starters). Scripts need Python 3.11+; PNG rendering needs rsvg-convert (librsvg). Full requirements and more prompts: Getting started.

What it does

  • Terminal-honest frames. Every sketch is a .mock on the cell grid at a declared size, linted and rendered to PNG before review. Mockups →
  • A gallery to judge it. One HTML page per design, every frame in every chosen theme. Gallery →
  • Host capability profiles. A plugin's design starts from what the host can draw: a test card (attributes, 16/256/24-bit color, glyph widths), a key probe, and a #! caps: line on every frame. Host verification →
  • Audits that separate perception from judgment. A live capture or a screenshot pipeline (colors sampled from pixels, never guessed) produces a description, redraws it, diffs it against the source, then runs a 135-check list. Audit →
  • Themes and contrast. 25 variants of 10 schemes on 44 semantic tokens, contrast checked at truecolor and 16 colors; exporters for Textual, Ink, Lip Gloss, Ratatui, gum and CSS. Themes →
  • Five framework starters. Ink, Textual, Bubble Tea, Ratatui and gum render the same demo from a theme JSON, with a headless frame mode to compare a build with its mockup cell by cell. Starters →
  • Design guidance with sources. Archetypes, keys and navigation, lifecycle (cleanup, suspend, editor handoff), the shell contract (exit codes, signals, pipes) and accessibility — drawn from k9s, lazygit, btop, yazi, helix and the frameworks' own docs.

Evidence

A/B on 24 cases × 4 models (skill vs baseline, same prompt and fixtures): +25 to +37 pass-rate points, at 2.5–4× cost per run (one repetition). Roughly half the gain is the skill's checked artifacts; the rest is behavior a baseline could have shown. What each run does, and the limits of that number: Evals.

Documentation

DocCovers
Getting startedinstall, first prompts, branches
Conceptsframes, the cell grid, caps, perception vs judgment, tokens
Showcase: deploy consoleworked example, three concepts
Featuresmockups · gallery · host verification · audit · themes · starters
Evalswhat was measured, the published scores, how to repeat a run
Architecture · CHANGELOGscripts, tests, recipes for contributors

Repository layout

skills/tui-design/   the skill (the only folder `npx skills add` installs)
docs/                documentation, generated images, the worked example
evals/               behavior and trigger evals, results and ledger
tests/               unit tests for the skill's scripts, the eval harness and the gallery page
tools/               check_public.sh, check_links.py, make_screenshots.py
.github/workflows/   pages.yml publishes the reference gallery

Contributing

See CONTRIBUTING.md and docs/contributing/architecture.md. Every commit under skills/tui-design/ reaches users on their next npx skills update, so changes there land finished.

Credits and license

Ideas adopted from gfargo/tui-design-skill, color values from each scheme's upstream project, and the rest of the third-party material are listed in CREDITS.md.

MIT © @diegomarino

// HOW IT'S BUILT

KEY FILES

skills/tui-design/SKILL.mdREADME.md

// REPO STATS

13 stars