What problem does it solve?
This Skill helps you design and implement command-line interfaces (CLIs) that are user-friendly, provide clear feedback, and are easy to debug, ensuring a smooth experience for both human users and automated agents.
Core Features & Use Cases
- Actionable Output: Ensures CLIs provide clear next steps on success or detailed diagnostics and recovery options on failure.
- Command Contract: Defines standards for deterministic output, conventional stream usage (stdout/stderr), meaningful exit codes, and automation support (e.g.,
--json mode).
- Help and Error Patterns: Provides structured templates for help messages and error reporting to improve usability and diagnosability.
- Use Case: When developing a new CLI tool, use this Skill to ensure its commands are well-documented, its errors are informative, and its output is predictable and machine-readable.
Quick Start
Use the cli-development skill to design a help message for a new subcommand that publishes a release.