cli-design

Solid

Use this skill when building command-line interfaces, designing CLI argument parsers, writing help text, adding interactive prompts, managing config files, or distributing CLI tools. Triggers on argument parsing, subcommands, flags, positional arguments, stdin/stdout piping, shell completions, interactive menus, dotfile configuration, and packaging CLIs as npm/pip/cargo/go binaries.

Web & Frontend 167 stars 29 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
74
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

When this skill is activated, always start your first response with the ๐Ÿงข emoji. # CLI Design CLI design is the practice of building command-line tools that are intuitive, composable, and self-documenting. A well-designed CLI follows the principle of least surprise - flags behave like users expect, help text answers questions before they are asked, and errors guide toward resolution rather than dead ends. This skill covers argument parsing, help text conventions, interactive prompts, configuration file hierarchies, and distribution strategies across Node.js, Python, Go, and Rust ecosystems. --- ## When to use this skill Trigger this skill when the user: - Wants to build a new CLI tool or add subcommands to an existing one - Needs to parse arguments, flags, options, or positional parameters - Asks about help text formatting, usage strings, or man pages - Wants to add interactive prompts, confirmations, or selection menus - Needs to manage config files (dotfiles, rc files, XDG directories) - Asks about distributing a CLI via npm, pip, cargo, brew, or standalone binary - Wants to add shell completions (bash, zsh, fish) - Needs to handle stdin/stdout piping and exit codes correctly Do NOT trigger this skill for: - GUI application design or web UI - use frontend or absolute-ui skills - Shell scripting syntax questions unrelated to building a distributable CLI tool --- ## Key principles 1. **Predictability over cleverness** - Follow POSIX conventions: single-dash short...

Details

Author
AbsolutelySkilled
Repository
AbsolutelySkilled/AbsolutelySkilled
Created
2 months ago
Last Updated
today
Language
MDX
License
MIT

Similar Skills

Semantically similar based on skill content โ€” not just same category

Web & Frontend Listed

cli-design

Use this skill when building command-line interfaces, designing CLI argument parsers, writing help text, adding interactive prompts, managing config files, or distributing CLI tools. Triggers on argument parsing, subcommands, flags, positional arguments, stdin/stdout piping, shell completions, interactive menus, dotfile configuration, and packaging CLIs as npm/pip/cargo/go binaries.

3 Updated today
Samuelca6399
Web & Frontend Listed

cli-design-expert

Expert CLI/TUI designer for building intuitive, user-friendly, and professional command-line interfaces. Focuses on UX patterns, help systems, progressive disclosure, and developer ergonomics.

335 Updated today
aiskillstore
AI & Automation Listed

cli-developer

Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for CLI design, argument parsing, interactive prompts, progress indicators, shell completions.

2 Updated today
zacklecon
Web & Frontend Listed

designing-clis

Use when building, improving, or reviewing command-line interfaces for better user experience - before implementing commands/output/errors, when users report confusion or frustration, or when CLI feels hard to use - provides UX principles, visual design techniques, and practical patterns for creating discoverable, delightful CLIs

10 Updated 2 days ago
technicalpickles
AI & Automation Listed

cli-design

Design patterns and conventions for the vm0 CLI user experience

1,116 Updated today
vm0-ai