Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs a command-line tool's interface before implementation, covering args, flags, help, output, errors, exit codes, and config.
55% 73%+18 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 12 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Design a command-line tool's interface before implementation: human-first, script-friendly, Linux-only. Output is a compact spec the user or an agent can implement directly. Rubric source: clig.dev (rebuilt as references/clig-checklist.md).
| When | Load | Content |
|---|---|---|
| Phase 2: applying design rubric | references/clig-checklist.md | CLI design checklist condensed from clig.dev |
Lock the interface with the minimum questions. Proceed with the conventions in Phase 2 when the user is unsure.
ps and shell history.--json, --plain, exit codes.--no-input needed? confirmation for destructive ops?Gate: name, purpose, and I/O contract are known. Proceed only when gate passes.
Load references/clig-checklist.md and apply it as the default rubric. For each section, pick the convention and record it in the spec. Diverge from a convention only deliberately, and document the divergence in the spec — interfaces are contracts, and surprising contracts break scripts.
Produce the spec from this skeleton. Drop a section only when it genuinely has no content; fill every other section.
--help will print it, global flags and subcommand slot included0, failure 1, bad usage 2; mint extra codes only for cases scripts must distinguish--dry-run, confirmation rules, --force, --no-inputSkills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.