skills/engineering/cli-design/SKILL.md
Design a CLI interface: args, flags, help, output, errors, exit codes, config.
npx skillsauth add notque/claude-code-toolkit cli-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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).
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-inputGate: every flag used in the examples appears in the flags table, and every failure mode shown maps to an exit code.
Cause: user says "design and build." Solution: deliver the spec first, get confirmation, then implement against it.
Cause: subcommand sprawl or speculative flags. Solution: cut flags that lack a named user need; defaults should serve most users without aliases.
data-ai
Extract video transcripts: yt-dlp subtitles to clean paragraphs.
tools
Collect, filter, and freshness-qualify news items.
development
Convert PDF, Office, HTML, data, media, ZIP to Markdown.
testing
Verify factual claims against sources before publish.