What problem does it solve?
This Skill addresses the challenges of designing, implementing, and reviewing command-line interface (CLI) tools to ensure they are user-friendly, composable, and adhere to best practices.
Core Features & Use Cases
- CLI Contract Design: Defines commands, flags, input/output behavior, exit codes, and configuration.
- Implementation Guidance: Provides patterns for safe defaults, error handling, and scripting-friendliness.
- Compliance Auditing: Includes a script (
cli_audit.py) to automatically check CLI adherence to conventions.
- Use Case: When designing a new CLI tool, use this Skill to ensure it follows established conventions for help messages, argument parsing, and output streams, making it intuitive for users and easy to integrate into automated workflows.
Quick Start
Use the cli-craft skill to design a new CLI tool for managing user profiles.