cli-tool-design
Installation
SKILL.md
CLI Tool Design
Build command-line tools that are discoverable, composable, and pleasant to use.
Design Principles
The UNIX Philosophy Applied
- Do one thing well — Each command has a clear, singular purpose
- Compose through pipes — Support stdin/stdout for chaining
- Fail loudly — Non-zero exit codes and stderr for errors
- Be predictable — Consistent flags, consistent output format
Command Structure
program [global-options] command [command-options] [arguments]