Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates a CLI_IA.md registry defining a CLI app's command grammar, flags, per-command blueprints, exit codes, and use-case traceability.
Use this skill ↓59% 86%+27 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 13 of 22 without it.
Define the per-command specification for `deployctl app create` in our deployment CLI IA. Should we include Rust derive macros, clap structs, and internal error enums?
The blueprint defines the command purely by invocation contract without including parser library structs or internal error enums.
3 of 3 safety checks passed
Produce a CLI_IA.md that serves as the single source of truth for a command-line application's information architecture: the command grammar, global flags and environment, full command-template tree, per-command blueprint (purpose, inputs, outputs, side effects, exit codes, failure matrix, interactive vs non-interactive behavior), multi-command flows, shared interactive surfaces (prompts, progress, pager, error format), exit-code taxonomy, terminal capability strategy, and bidirectional traceability from product use cases to commands. An agent or developer reading this document knows exactly what commands exist, how to invoke them, what they read and write, how they fail, and how every use case is realized on the CLI surface — without making any independent grammar, naming, or exit-code decisions. CLI_IA sits between product requirements (proposal, use cases) and per-unit CLI SPECs, the same way WEB_IA sits between product requirements and per-unit web SPECs.
--yes", "auth via OAuth device flow").EP-name; wire formats are owned by INTERFACES.md, not redefined here.The user may override scope (e.g., "only the end-user CLI, not the internal admin CLI"). Support that by recording the narrowed scope in the Identity & Context section and excluding out-of-scope binaries from the inventory.
Scope note: this skill covers terminal-invoked binaries that read args / stdin / environment and write stdout / stderr and exit with a status code. Interactive REPLs are in scope. Full TUI applications with a richer UI surface than prompts and progress indicators are out of scope — declare them out of scope in Phase 1 if they arise.
CLI IA generation proceeds in seven phases: scope, grammar and globals, inventory, per-command blueprint, flows and shared surfaces, exit codes and terminal capability, traceability and validation. Phases are sequential — later phases depend on earlier decisions — but revisit earlier phases if a later phase reveals a gap.
Derive from the product doc and use cases document the target CLI surface (single binary, multi-binary suite, subcommands of a host tool) and the audiences the IA serves (end user, automation / CI, contributor, operator). Record explicitly what is not in scope for this CLI_IA document — GUI wrappers, web surfaces, TUI apps with a richer UI than simple prompts. Keep audience treatment thin — named user types and their 3–7 top tasks per audience. No deep persona work.
Decide grammar and globals before enumerating commands. This prevents per-command drift where each command invents its own flag names or argument conventions.
Decide:
tool <noun> <verb>, tool <verb> <noun>, or tool <verb>; subcommand depth limit= vs space between flag and valueSkills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.