From solution-audit
This skill should be used when the user asks to "audit CLI UX", "check command ergonomics", "review CLI help output", "evaluate command-line interface", "check flag consistency", "audit CLI discoverability", or needs to assess the usability, ergonomics, and consistency of a command-line interface.
How this skill is triggered — by the user, by Claude, or both
Slash command
/solution-audit:cli-uxThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit the command-line interface user experience — discoverability, ergonomics, consistency, and overall usability. A CLI is a user interface; it deserves the same design rigor as any GUI.
Audit the command-line interface user experience — discoverability, ergonomics, consistency, and overall usability. A CLI is a user interface; it deserves the same design rigor as any GUI.
CLI UX measures how intuitively users can discover, learn, and use commands without constantly referencing documentation. Good CLI UX means predictable patterns, helpful errors, sensible defaults, and minimal friction.
This audit applies to any project with a CLI component: standalone CLI tools, CLI wrappers around libraries, development tools, or any solution invoked from the terminal. Skip this dimension for pure libraries or APIs with no CLI surface.
Inventory all available commands and subcommands:
Flag issues:
For each command's --help output, check:
Flag help outputs that are:
Evaluate how arguments and flags are designed:
Flag anti-patterns:
Evaluate default values and zero-config behavior:
Check for naming patterns across all commands:
Invoke commands with invalid input and evaluate error responses:
Flag errors that:
Evaluate command output formatting:
Evaluate how well the CLI works in scripts and pipelines:
| Severity | Criteria | Example |
|---|---|---|
| Critical | CLI is broken or severely unusable | --help crashes, common commands fail silently |
| Warning | UX friction or inconsistency | Inconsistent flag names, missing error suggestions |
| Info | Minor ergonomic improvements | Could add short flag aliases, better examples |
For each finding, report:
[SEVERITY] Category: Brief description
Command: which command or global
Issue: What the UX problem is
Example: Demonstration of the issue
Fix: Specific improvement action
Start at 100, subtract per finding:
Score reflects how productive a user can be with the CLI without external help.
npx claudepluginhub nsalvacao/nsalvacao-claude-code-plugins --plugin solution-auditDesigns CLI surfaces including args/flags/subcommands/help/output/errors/config for new tools. Audits existing CLIs for consistency, composability, and agent ergonomics.
Guides the design, implementation, review, and testing of CLI tools including flags, config precedence, terminal UX, error handling, and documentation.
Designs CLIs for both human users and LLM agents, covering subcommand structure, output streams, exit codes, JSON modes, TTY-aware color, and structured errors. Use when building or refactoring a CLI, adding machine-readable output, or making a tool agent-friendly.