Provides best practices and library guidance for building CLI and TUI applications. Use when the user is building, designing, or iterating on a terminal tool, interactive CLI, TUI interface, or any app that runs in the terminal. Also use when the user asks about prompts, signals, exit codes, TTY detection, output formatting, terminal UX, project structure, or which libraries to use for a terminal app.
This skill provides implementation guidance for CLI and TUI apps with deterministic stack selection and terminal UX rules.
Use this skill when the user asks to:
references/cli-tui-stack.md.stdout for data, stderr for diagnostics).stdin vs stdout).Best practices → references/cli-tui-best-practices.md
Use for terminal behavior, UX contracts, output/error handling, signals, config conventions, and architecture boundaries.
Library stack → references/cli-tui-stack.md
Use for stack selection by interface complexity, library tradeoffs, and native Node API alternatives for Node 20+ environments.
stdout data, stderr diagnostics).--help support.