cli-tool-architect - Cross-language standards for designing command-line tools
Provides standards and recipes for CLI subcommand structures, configuration precedence, output formatting, exit codes, and shell completions.
Tags
Updated: 2026-09-24Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Design CLI subcommand hierarchy
- Apply configuration precedence rules
- Separate stdout data and stderr logs
- Format output into JSON or YAML
- Manage CLI exit codes and errors
- Configure color and TTY behavior
- Generate shell completion scripts
Inputs
- CLI flags and positional arguments
- Environment variables
- TOML configuration files
Outputs
- Stdout data in text, JSON, or YAML
- Stderr logs and error messages
- TOML configuration file
- Shell completion scripts
Requirements
- Go environment with cobra, pflag, and viper
- Python environment with typer
