Install any skill in seconds. Free to start, no credit card required.
Get Started Free →bartsoj/CLI_IA.md
Generate a command-line information architecture registry — command inventory, grammar, global flags and environment, per-command blueprints, flows, exit-code taxonomy, terminal capability strategy, and use-case traceability.
Passed 19 of 22 test cases with the skill, and 13 of 22 without it.
and 5 more in the full report
7 fixed12 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our team is releasing a developer platform CLI alongside our web dashboard. I need you to write the CLI Information Architecture specification (`CLI_IA.md`) using our product brief, use cases, and web IA document. Please construct a formal architecture registry containing audience task mappings, command grammar rules, universal flags and env vars, command blueprints with complete input/output/failure contracts, multi-command flows, shared prompt and indicator surfaces, an exit code taxonomy, scriptability and terminal capability strategies, and use-case alignment matrices cross-referencing web and CLI surfaces.
| Checked | Without skill | With skill |
|---|---|---|
| Command error contracts describe stderr outputs by semantic role rather than exact literal copy. | Missed | Passed |
| Each per-command blueprint includes a single primary outcome. | Missed | Passed |
The instructions your model reads when the skill loads.
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 valuetest cases passed, vs 13 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.