Skip to content

Practical TUI performance and UX rules for TypeScript CLIs built with Ink and Clack, covering rendering, input, and prompts.

CCM score
51 of 100
skills.sh installs
879
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 42 rules across eight categories, ordered by impact: rendering, input, components, state, prompts, UX, configuration, and robustness
  • Includes rules for batched single-write output, overwrite-based updates, 60fps animation targets, and synchronized output for animations
  • Guides keyboard handling with useInput, isActive focus management, modifier keys, and always-available escape routes
  • Covers Clack multi-step group() flows, early validation, isCancel handling, spinners, and custom prompts built on @clack/core
  • Designed for developers building CLI tools, interactive terminal prompts, and developer tooling with React-based terminal UIs

Install

$ npx -y skills add pproenca/dot-skills --skill terminal-ui -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

PriorityCategoryImpactPrefix
1Rendering & OutputCRITICALrender-
2Input & KeyboardCRITICALinput-
3Component PatternsHIGHtuicomp-
4State & LifecycleHIGHtuistate-
5Prompt DesignMEDIUM-HIGHprompt-
6UX & FeedbackMEDIUMux-
7Configuration & CLIMEDIUMtuicfg-
8Robustness & CompatibilityLOW-MEDIUMrobust-

Quick Reference

1. Rendering & Output (CRITICAL)

Details

Repository
github.com/pproenca/dot-skills
Categories
CLI & Terminal, Frontend & UI Code
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100

Similar to Terminal Ui

More CLI & Terminal