designing-clis
/designing-clis
Use when building, improving, or reviewing command-line interfaces for better user experience - before implementing commands/output/errors, when users report confusion or frustration, or when CLI feels hard to use - provides UX principles, visual design techniques, and practical patterns for creating discoverable, delightful CLIs
- Author
- technicalpickles ↗
- Repository
- pickled-claude-plugins ↗
- Licence
- MIT
- Last repository change
- 19.10.2026
Assessment and security
- Files in this package
- 27
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 19.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when building, improving, or reviewing command-line interfaces for better user experience - before implementing commands/output/errors, when users report confusion or frustration, or when CLI feels hard to use - provides UX principles, visual design techniques, and practical patterns for creating discoverable, delightful CLIs
Original author description
Use when building, improving, or reviewing command-line interfaces for better user experience - before implementing commands/output/errors, when users report confusion or frustration, or when CLI feels hard to use - provides UX principles, visual design techniques, and practical patterns for creating discoverable, delightful CLIs
How it works
- Overview
- When to Use
- Quick Decision Framework
- The Six UX Principles
- The Five Visual Techniques
- Common Mistakes
- Priority Under Time Pressure
- Cross-References
SKILL.md preview
--- name: designing-clis description: Use when building, improving, or reviewing command-line interfaces for better user experience - before implementing commands/output/errors, when users report confusion or frustration, or when CLI feels hard to use - provides UX principles, visual design techniques, and practical patterns for creating discoverable, delightful CLIs --- # Designing CLIs ## Overview Modern CLIs are conversations between human and machine. Great CLIs feel discoverable, responsive, and forgiving. Poor CLIs leave users guessing, waiting, and frustrated. **Core principle:** Every CLI interaction should answer: "What happened? What can I do? What's next?" ## When to Use **Building:** - Creating new CLI commands or tools - Designing output format, error messages, progress indicators - Planning CLI architecture (flags, subcommands, interaction model) **Improving:** - Enhancing existing CLI user experience - Adding features to existing commands - Making CLI "less confusing" or "easier to use" **Reviewing:** - Auditing CLI code for UX issues - Responding to user complaints about difficulty - Troubleshooting discoverability problems ## Quick Decision Framework | Working On | Read This | |------------|-----------| | New CLI under time pressure | practical-patterns.md (Priority Checklist) | | Adding to existing CLI | practical-patterns.md (Working with Existing CLIs) | | Fixing "confusing" CLI | practical-patterns.md (CLI UX Audit Checklist) | | Command structure, flags | ux-principles.md (Familiarity, Discoverability) | | Output formatting | visual-techniques.md (Layout, Spacing, Color) | | Error messages, help text | practical-patterns.md (Error Message Patterns) | | Overall architecture | ux-principles.md (complete overview) | ## The Six UX Principles 1. **Familiarity** - Use known conventions (--help, --version, verb-noun) 2. **Discoverability** - Guide users (help text, prompts, examples) 3. **Feedback** - Show what's happening (progress, confirmations, state) 4. **Clarity** - Structure output (spacing, alignment, hierarchy) 5. **Flow** - Minimize friction (shortcuts, defaults, scriptability) 6. **Forgiveness** - Handle errors gracefully (clear messages, suggestions, safety) See ux-principles.md for detailed guidance and examples. ## The Five Visual Techniques 1. **Color** - Semantic meaning (green=success, red=error, yellow=warning) 2. **Spacing** - Visual grouping (blank lines, indentation, alignment) 3. **Layout** - Structured regions (panels, blocks, persistent areas) 4. **Symbols** - Fast signifiers (✓ ✗ ⚠ →, checkboxes, progress indicators) 5. **Structured Feedback** - Narrative output (phases, lists, visible progress) See visual-techniques.md for implementation patterns. ## Common Mistakes ❌ **Silent operations** - No feedback during slow operations ✅ Show progress, confirmations, or at minimum "Working..." ❌ **Cryptic errors without guidance** - "Error: invalid input" ✅ Explain what's wrong, what's valid, how to fix: "Error: Invalid environment 'production'. Valid: dev, staging, prod" ❌ **No --help text** - Forces users to read docs or source ✅ Every command supports --help with usage and examples ❌ **Wrong exit codes** - Always returns 0, breaks scripting ✅ 0 for success, 1 for errors ❌ **Color-only information** - Inaccessible without color support ✅ Always pair color with text/symbols, support --no-color ❌ **Walls of unstructured text** - Dense output hard to scan ✅ Use spacing, alignment, hierarchy to structure information ## Priority Under Time Pressure When building CLI urgently, include these first (high impact, low effort): 1. **--help flag** (2 minutes) - Include usage, examples, common flags 2. **Exit codes** (1 minute) - 0=success, 1=error, enables CI/CD 3. **Clear errors** (5 minutes) - What happened + what's valid + how to fix 4. **Progress feedback** (3 minutes) - Show activity during slow operations Skip initially (lower priority): - Color schemes (polish, not function) - Advanced formatting (tables, columns) - Multiple output formats (JSON, YAML, etc.) ## Cross-References **Detailed guidance:** - practical-patterns.md - Checklists, templates, decision trees - ux-principles.md - Principles with real-world examples - visual-techniques.md - Implementation patterns for terminal output - reading-list.md - Sources and deeper learning **Research materials:** - research/ - Original blog-style documentation and analysis
Files in this package (27)
- CLAUDE.md 3 KB
- SKILL.md 4 KB
- TESTING.md 5 KB
- practical-patterns.md 6 KB
- reading-list.md 4 KB
- ux-principles.md 7 KB
- visual-techniques.md 8 KB
- research/cli_feedback_blog.md 6 KB
- research/ux/01-ux-principles.md 8 KB
- research/ux/02-ux-design-guide.md 6 KB
- research/ux/02.5-crafting-delightful-command-line-experiences.md 7 KB
- research/ux/03-readling-list.md 7 KB
- research/ux/04-manifest.md 3 KB
- research/ux/cli_ux_heuristics_checklist.md 3 KB
- research/ux/cli_ux_research_master_prompt.md 3 KB
- research/visual/00-research-prompt.md 5 KB
- research/visual/01-visual-design-principles.md 5 KB
- research/visual/02-playbook.md 7 KB
- research/visual/03-reading-list.md 3 KB
- tests/README.md 4 KB
- tests/scenarios.md 6 KB
- tests/baseline/scenario-1-time-pressure.md 3 KB
- tests/baseline/scenario-2-existing-codebase.md 3 KB
- tests/baseline/scenario-3-troubleshooting.md 4 KB
- tests/templates/analysis-template.md 4 KB
- tests/templates/loophole-checklist.md 5 KB
- tests/templates/scenario-prompt-template.md 5 KB
Versions
The database has no other skills named designing-clis.
Database snapshot: 13.11.2026 · package version 18a34e92884a (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 95building-python-clis
Builds command-line interfaces for Python libraries using Click or Typer. Includes command groups, argument handling, progress bars, shell completion, and CLI testing with CliRunner. Use when adding CLI functionality to a library or building standalone command-line tools. - 100create-cli
This skill should be used when the user asks to "design a CLI", "create command-line interface", "design CLI parameters", "plan CLI UX", or needs help structuring command-line tool interfaces with proper arguments, flags, subcommands, and user experience patterns. - 100cli
Use when building, changing, or reviewing a command-line application in any language, including its arguments, help, output, errors, interactivity, configuration, testing, and distribution. - 90cli-design
Create distinctive, user-respecting command-line interfaces with exceptional UX. Use this skill when the user asks to build CLI tools, scripts, or terminal applications. Generates well-crafted CLIs that follow platform conventions and treat users as humans, not machines. - 100cli-design
Design and review command-line interfaces for usability, automation, safety, accessibility, and long-term compatibility. Use when adding or changing commands, flags, help, output, prompts, configuration, or exit behavior. - 100creating-ai-clis
Create or harden CLIs intended primarily for AI or system consumption and secondarily for humans. Use when designing or implementing a JSON-first CLI with an MCP-ready contract seam, where every command supports machine output, errors are typed and actionable, mutating commands…