Terminal ui

From pproenca/dot-skills · View interactive version

Terminal ui is an AI agent skill from the GitHub repository pproenca/dot-skills. 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 re

How to use this skill

Skill file

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:

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)

2. Input & Keyboard (CRITICAL)

3. Component Patterns (HIGH)

4. State & Lifecycle (HIGH)

5. Prompt Design (MEDIUM-HIGH)

6. UX & Feedback (MEDIUM)

7. Configuration & CLI (MEDIUM)

8. Robustness & Compatibility (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.