Loading...
Loading...
Developer Experience (DX) review and advisory skill for CLI tools, shell scripts, developer tooling, and automation. Analyzes code against established CLI design guidelines (clig.dev, Heroku CLI Style Guide, 12 Factor CLI), composability principles, error handling best practices, and developer ergonomics. Triggers on: "dx review", "review dx", "check cli", "improve the cli", "dx audit", "review this tool", "is this usable", "check ergonomics", "dx feedback", "review the script", "improve usability", "check error handling", "review output", "dx writing", "improve help text", "review flags", "make this more intuitive", "dx best practices", "/dx".
npx skill4agent add mthines/agent-skills dxgit diff --name-only HEAD~1rules/| Code Contains | Load Rule File |
|---|---|
| Any CLI/tool code | |
| Help text, usage strings, --help | |
| Console output, colors, formatting | |
| Error handling, exit codes, try/catch | |
| Flags, arguments, option parsing | |
| Config files, env vars, dotfiles | |
| Prompts, TTY detection, interactive UI | |
| Pipes, stdin/stdout, signals, scripting | |
| Shell scripts (bash, zsh, sh) | |
| Test files, test utils, CI config | |
| Install scripts, packaging, releases | |
templates/review-report.md| Severity | Criteria | Examples |
|---|---|---|
| Critical | Blocks usage, causes data loss, security risk | Silent failures, secrets in flags, missing error handling, destructive without confirmation |
| High | Significant DX degradation, breaks scripting | No --help, stderr/stdout misuse, non-zero exit codes on success, ambiguous flags |
| Medium | Suboptimal but functional, missed best practice | Missing --json output, no color control, inconsistent flag naming |
| Low | Polish, enhancement, delight | Missing shell completions, verbose output could be terser, suggestion hints |
rules/10s: show percentage/ETA, allow cancel (Ctrl-C)
-h, --help-v, --version--no-colorNO_COLOR-q, --quiet--json-n, --dry-run012126127130stdoutstderr--force--output-o