CLI Tool Builder
intermediatedevelopmentMin 16K context
Designs and scaffolds ergonomic command-line tools with subcommands, flags, config files, shell completions, and helpful error output. Covers argument parsing conventions, exit codes, stdin/stdout piping, colored output, progress indicators, and cross-platform packaging. Produces maintainable CLIs that follow POSIX conventions and feel great to use.
Use Cases
- Scaffolding a CLI with subcommands and flags
- Adding shell completion for bash/zsh/fish
- Designing consistent exit codes and error messages
- Supporting config files with env var overrides
- Packaging a CLI for npm, Homebrew, or a single binary
Example Prompt
Build a CLI tool named "deploykit" that supports: 1. Subcommands: init, build, deploy, status 2. Global flags: --config, --verbose, --json 3. Config file resolution with env var overrides 4. Helpful error messages and POSIX exit codes 5. Shell completion generation Language: [describe your language/framework]
Recommended Models
Compatible Tools
claude-codecursorkiroany
Modalities
Input: text, code
→Output: text, code
Related Skills
Author
OpenModels Community