Individual skill
terminal-ui
Terminal User Interface (TUI) performance and UX guidelines for TypeScript applications using Ink and Clack. This skill should be used when building CLI tools, interactive terminal prompts, or developer tooling with TUI components. Triggers on tasks involving TUI components, CLI prompts, terminal rendering, keyboard input handling, or developer tooling.
skills/.curated/terminal-ui/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 221
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: codex
- design Derived category
- engineering Derived category
- design-interface Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
AGENTS.mddoc · 8,539 bytesREADME.mddoc · 4,386 bytesSKILL.mdcore · 5,184 bytesassets/templates/_template.mddoc · 618 bytesmetadata.jsonasset · 943 bytesreferences/_sections.mddoc · 1,658 bytesreferences/input-escape-routes.mddoc · 1,873 bytesreferences/input-immediate-feedback.mddoc · 2,192 bytesreferences/input-isactive-focus.mddoc · 2,122 bytesreferences/input-modifier-keys.mddoc · 1,701 bytesreferences/input-useinput-hook.mddoc · 1,658 bytesreferences/prompt-cancellation.mddoc · 1,932 bytesreferences/prompt-custom-render.mddoc · 2,086 bytesreferences/prompt-group-flow.mddoc · 2,565 bytesreferences/prompt-spinner-tasks.mddoc · 1,989 bytesreferences/prompt-validation.mddoc · 2,158 bytesreferences/render-60fps-baseline.mddoc · 1,688 bytesreferences/render-escape-sequence-batching.mddoc · 1,859 bytesreferences/render-overwrite-dont-clear.mddoc · 1,402 bytesreferences/render-partial-updates.mddoc · 1,926 bytesreferences/render-single-write.mddoc · 1,294 bytesreferences/render-synchronized-output.mddoc · 1,476 bytesreferences/robust-exit-codes.mddoc · 2,466 bytesreferences/robust-graceful-degradation.mddoc · 2,815 bytesreferences/robust-signal-handling.mddoc · 2,506 bytesreferences/robust-terminal-restore.mddoc · 2,340 bytesreferences/robust-tty-detection.mddoc · 2,241 bytesreferences/tuicfg-env-vars.mddoc · 2,128 bytesreferences/tuicfg-flags-over-args.mddoc · 2,229 bytesreferences/tuicfg-help-system.mddoc · 2,635 bytesreferences/tuicfg-json-output.mddoc · 2,464 bytesreferences/tuicfg-sensible-defaults.mddoc · 2,140 bytesreferences/tuicomp-border-styles.mddoc · 2,057 bytesreferences/tuicomp-box-flexbox.mddoc · 1,613 bytesreferences/tuicomp-measure-element.mddoc · 2,017 bytesreferences/tuicomp-percentage-widths.mddoc · 1,977 bytesreferences/tuicomp-static-for-logs.mddoc · 1,898 bytesreferences/tuicomp-text-styling.mddoc · 1,583 bytesreferences/tuistate-cleanup-effects.mddoc · 1,880 bytesreferences/tuistate-functional-updates.mddoc · 2,080 bytesreferences/tuistate-useapp-exit.mddoc · 1,847 bytesreferences/tuistate-usecallback-stable.mddoc · 1,967 bytesreferences/tuistate-usememo-expensive.mddoc · 2,469 bytesreferences/ux-color-semantics.mddoc · 2,068 bytesreferences/ux-error-messages.mddoc · 2,216 bytesreferences/ux-intro-outro.mddoc · 2,013 bytesreferences/ux-next-steps.mddoc · 2,040 bytesreferences/ux-progress-indicators.mddoc · 2,218 bytes
Read excerpt
# DevEx Developer Experience TUI Best Practices
Comprehensive developer experience guide for building TypeScript terminal user interfaces using Ink (React for CLIs) and Clack prompts. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
## When to Apply
Reference these guidelines when:
- Building CLI tools with interactive prompts using @clack/prompts
- Creating React-based terminal UIs with Ink
- Handling keyboard input and user interactions
- Optimizing terminal rendering and preventing flicker
- Designing developer-friendly CLI experiences
## Rule Categories by Priority