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.
From solution-auditnpx claudepluginhub nsalvacao/nsalvacao-claude-code-plugins --plugin solution-auditThis skill uses the workspace's default tool permissions.
references/ergonomics-patterns.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
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.