cli-design
SolidUse 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 164 stars
28 forks Updated yesterday MIT
Install
Quality Score: 92/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
- yesterday
- Language
- MDX
- License
- MIT
Related Skills
Web & Frontend Featured
antigravity-design-expert
Core UI/UX engineering skill for building highly interactive, spatial, weightless, and glassmorphism-based web interfaces using GSAP and 3D CSS.
38,979 Updated today
sickn33 Web & Frontend Featured
frontend-design
You are a frontend designer-engineer, not a layout generator.
38,979 Updated today
sickn33 Web & Frontend Featured
ui-component
Generate a new UI component that follows StyleSeed Toss conventions for structure, tokens, accessibility, and component ergonomics.
38,979 Updated today
sickn33