python-cli-patterns - Design production-friendly Python command-line tools
Provides patterns for designing, building, refactoring, and reviewing ergonomic, composable, testable Python command-line tools.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Design CLI commands and options
- Choose suitable CLI frameworks
- Separate command and core logic
- Define stable output modes
- Handle errors and exit codes
- Add packaging and entry points
- Verify CLI behavior
- Review maintainability and UX
Inputs
- Python project repository
- CLI requirements
- Deployment constraints
- Existing project conventions
Outputs
- Python CLI code
- CLI tests
- Packaging configuration
- Help and output behavior
- Review findings
