CLI Tool Builder

中级development最低上下文:16K

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.

使用场景

  • 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

示例提示词

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]

推荐模型

兼容工具

claude-codecursorkiroany

模态

输入: text, code
输出: text, code

相关 Skills

作者

OpenModels Community

@openmodelsrun