What problem does it solve?
Many projects need consistent, discoverable, and well-behaved command-line tools but lack best-practice scaffolding for argument parsing, interactive prompts, configuration, completions, and cross-platform distribution. This Skill reduces developer friction by providing concrete architecture, UX rules, and distribution strategies so CLIs are testable, automatable, and pleasant for end users.
Core Features & Use Cases
- Language-specific scaffolds for Node.js/TypeScript, Rust, Go, and Python with recommended file layouts and parser choices.
- Argument parsing & UX guidance for commands, flags, subcommands, boolean semantics, and machine-readable --json output.
- Interactive prompts & TUI patterns including prompt validation, multi-selects, progress indicators, and TTY-safe behavior.
- Configuration & XDG compliance with format recommendations (TOML/YAML/JSON) and per-platform path handling.
- Shell completion & distribution instructions for bash, zsh, fish, PowerShell, npm/Homebrew/pip/cargo packaging and release steps.
- Auto-detection & testing recommendations for CI-friendly non-interactive modes, --yes flags, and integration tests for CLI behavior.
- Use case: scaffold a TypeScript CLI using Commander, add completions and --json output, and publish via npm and Homebrew.
Quick Start
Scaffold a TypeScript CLI with Commander, add interactive prompts, generate bash and zsh completions, and run integration tests.