terminal-ui
Terminal User Interface (TUI) performance and UX guidelines for TypeScript applications using Ink and Clack.
Skill by pproenca
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pproenca-terminal-ui
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/terminal-ui
What's inside
- Skill name
terminal-ui- Description
- 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.
- License
- MIT
- Instructions
- 108 lines in SKILL.md · view on GitHub
Files (48)
- AGENTS.md
- README.md
- SKILL.md
- _template.md · assets/templates/
- metadata.json
- _sections.md · references/
- input-escape-routes.md · references/
- input-immediate-feedback.md · references/
- input-isactive-focus.md · references/
- input-modifier-keys.md · references/
- input-useinput-hook.md · references/
- prompt-cancellation.md · references/
- prompt-custom-render.md · references/
- prompt-group-flow.md · references/
- prompt-spinner-tasks.md · references/
- prompt-validation.md · references/
- render-60fps-baseline.md · references/
- render-escape-sequence-batching.md · references/
- render-overwrite-dont-clear.md · references/
- render-partial-updates.md · references/
- render-single-write.md · references/
- render-synchronized-output.md · references/
- robust-exit-codes.md · references/
- robust-graceful-degradation.md · references/
- robust-signal-handling.md · references/
- robust-terminal-restore.md · references/
- robust-tty-detection.md · references/
- tuicfg-env-vars.md · references/
- tuicfg-flags-over-args.md · references/
- tuicfg-help-system.md · references/
- tuicfg-json-output.md · references/
- tuicfg-sensible-defaults.md · references/
- tuicomp-border-styles.md · references/
- tuicomp-box-flexbox.md · references/
- tuicomp-measure-element.md · references/
- tuicomp-percentage-widths.md · references/
- tuicomp-static-for-logs.md · references/
- tuicomp-text-styling.md · references/
- tuistate-cleanup-effects.md · references/
- tuistate-functional-updates.md · references/
- tuistate-useapp-exit.md · references/
- tuistate-usecallback-stable.md · references/
- tuistate-usememo-expensive.md · references/
- ux-color-semantics.md · references/
- ux-error-messages.md · references/
- ux-intro-outro.md · references/
- ux-next-steps.md · references/
- ux-progress-indicators.md · references/
SKILL.md (first lines)
# 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 | Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Rendering & Output | CRITICAL | `render-` | | 2 | Input & Keyboard | CRITICAL | `input-` | | 3 | Component Patterns | HIGH | `tuicomp-` | | 4 | State & Lifecycle | HIGH | `tuistate-` | | 5 | Prompt Design | MEDIUM-HIGH | `prompt-` | | 6 | UX & Feedback | MEDIUM | `ux-` | | 7 | Configuration & CLI | MEDIUM | `tuicfg-` | | 8 | Robustness & Compatibility | LOW-MEDIUM | `robust-` | ## Quick Reference ### 1. Rendering & Output (CRITICAL) - `render-single-write` - Batch Terminal Output in Single Write - `render-overwrite-dont-clear` - Overwrite Content Instead of Clear and Redraw - `render-synchronized-output` - Use Synchronized Output Protocol for Animations - `render-60fps-baseline` - Target 60fps for Smooth Animation - `render-partial-updates` - Update Only Changed Regions - `render-escape-sequence-batching` - Defer ANSI Escape Code Generation to Final Output ### 2. Input & Keyboard (CRITICAL) - `input-useinput-hook` - Use useInput Hook for Keyboard Handling - `input-immediate-feedback` - Provide Immediate Visual Feedback for Input - `input-modifier-keys` - Handle Modifier Keys Correctly - `input-isactive-focus` - Use isActive Option for Focus Management - `input-escape-routes` - Always Provide Escape Routes ### 3. Component Patterns (HIGH) - `tuicomp-box-flexbox` - Use Box Component with Flexbox for Layouts - `tuicomp-text-styling` - Use Text Component for All Visible Content - `tuicomp-measure-element` - Use measureElement for Dynamic Sizing - `tuicomp-static-for-logs` - Use Static Component for Log Output - `tuicomp-percentage-widths` - Use Percentage Widths for Responsive Layouts - `tuicomp-border-styles` - Use Border Styles for Visual Structure ### 4. State & Lifecycle (HIGH) - `tuistate-useapp-exit` - Use useApp Hook for Application Lifecycle - `tuistate-cleanup-effects` - Always Clean Up Effects on Unmount - `tuistate-functional-updates` - Use Functional State Updates to Avoid Stale Closures - `tuistate-usecallback-stable` - Stabilize Callbacks with useCallback - `tuistate-usememo-expensive` - Memoize Expensive Computations with useMemo ### 5. Prompt Design (MEDIUM-HIGH) - `prompt-group-flow` - Use Clack group() for Multi-Step Prompts - `prompt-validation` - Validate Input Early with Descriptive Messages - `prompt-cancellation` - Handle Cancellation Gracefully with isCancel - `prompt-spinner-tasks` - Use Spinner and Tasks for Long Operations - `prompt-custom-render` - Build Custom Prompts with @clack/core ### 6. UX & Feedback (MEDIUM) - `ux-progress-indicators` - Show Progress for Operations Over 1 Second - `ux-color-semantics` - Use Colors Semantically and Consistently - `ux-error-messages` - Write Actionable Error Messages - `ux-next-steps` - Show Next Steps After Completion - `ux-intro-outro` - Use Intro and Outro for Session Framing ### 7. Configuration & CLI (MEDIUM) - `tuicfg-sensible-defaults` - Provide Sensible Defaults for All Options - `tuicfg-env-vars` - Support Standard Environment Variables - `tuicfg-flags-over-args` - Prefer Flags Over Positional Arguments - `tuicfg-help-system` - Implement Comprehensive Help System - `tuicfg-json-output` - Support Machine-Readable Output Format ### 8. Robustness & Compatibility (LOW-MEDIUM) - `robust-tty-detection` - Detect TTY and Adjust Behavior Accordingly - `robust-signal-handling` - Handle Process Signals Gracefully - `robust-exit-codes` - Use Meaningful Exit Codes - `robust-terminal-restore` - Always Restore Terminal State on Exit - `robust-graceful-degradation` - Degrade Gracefully for Limited Terminals ## How to Use Read individual reference files for detailed explanations and code examples: - [Section definitions](references/_sections.md) - Category structure and impact levels - [Rule template](assets/templates/_template.md) - Template for adding new rules - [render-single-write](references/render-single-write.md) - Example rule file - [input-useinput-hook](references/input-useinput-hook.md) - Example rule file ## Full Compiled Document For the complete guide with all rules expanded: `AGENTS.md`
From pproenca/dot-skills, MIT.
More from pproenca/dot-skills
- 0.694score
tanstack-query
community
TanStack Query v5 performance optimization for data fetching, caching, mutations, and query patterns.
SkillCFreshness: C★ 218Claude Code +9 - 0.596score
mlflow-3
pproenca
MLflow 3 (open-source, pinned to 3.15) for classic-ML MLOps — logging and registering models, promoting versions across dev/staging/prod, standing up a…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
ray
pproenca
Production Ray (open-source, pinned to 2.57) for classic-ML workloads from training to serving — Ray Train, Tune, Data, Serve, Core, and cluster deployment on…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
mlflow-mlops-migration
pproenca
Guided workflow for taking any ML codebase — including one with no experiment tracking at all, or one full of MLflow 2-era idioms — to a production-grade…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
ray-llm
pproenca
LLM workloads on open-source Ray (pinned to 2.57) — OpenAI-compatible serving with ray.serve.llm (vLLM-backed LLMConfig + build_openai_app) and batch…
SkillBFreshness: B★ 218Claude Code +9 - 0.550score
expo-ui
pproenca
Library reference for @expo/ui SwiftUI components on iOS — covers Host boundaries, modifier composition, iOS 26 Liquid Glass and Human Interface Guidelines…
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
debug
pproenca
Comprehensive debugging methodology for finding and fixing bugs (formerly debugging).
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
bug-review
pproenca
Use this skill when a user asks to review a pull request for bugs, wants AI code review focused on correctness issues, or runs /bug-review.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
ios-taste
pproenca
Designs iOS 18+ SwiftUI experiences with real taste — starting from user goals, not pixels.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
implementation-functional-patterns
pproenca
TypeScript's functional answers to the 22 Gang of Four classes — factory functions (Factory Method, Abstract Factory, Prototype, Memento), module-scope…
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
expo
pproenca
Expo React Native performance optimization guidelines.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
deterministic-metric-design
pproenca
Inventing deterministic metrics — turning a fuzzy property like 'maintainability', 'risk', or 'how reducible this code is' into a deterministic, computable…
SkillCFreshness: C★ 218Claude Code +9
Signals
- Stars
- 218
- Forks
- 19
- Open issues
- 3
- Last commit (this folder)
- May 14, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pproenca/dot-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pproenca
- 0.596score
ray-llm
pproenca
LLM workloads on open-source Ray (pinned to 2.57) — OpenAI-compatible serving with ray.serve.llm (vLLM-backed LLMConfig + build_openai_app) and batch…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
mlflow-mlops-migration
pproenca
Guided workflow for taking any ML codebase — including one with no experiment tracking at all, or one full of MLflow 2-era idioms — to a production-grade…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
mlflow-3
pproenca
MLflow 3 (open-source, pinned to 3.15) for classic-ML MLOps — logging and registering models, promoting versions across dev/staging/prod, standing up a…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
ray
pproenca
Production Ray (open-source, pinned to 2.57) for classic-ML workloads from training to serving — Ray Train, Tune, Data, Serve, Core, and cluster deployment on…
SkillBFreshness: B★ 218Claude Code +9 - 0.550score
expo
pproenca
Expo React Native performance optimization guidelines.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
debug
pproenca
Comprehensive debugging methodology for finding and fixing bugs (formerly debugging).
SkillCFreshness: C★ 218Claude Code +9
Cite this page
terminal-ui skill. Agent Mart. https://agentmart.dev/skills/pproenca-terminal-ui (last updated 2026-10-24)