A solid framework for building production CLIs across Node, Python, and Go. The workflow is sensible: analyze UX first, design your command structure, implement with the right framework (commander, click/typer, cobra), then polish with completions and proper error handling. The constraints section is the real value here, calling out common mistakes like blocking on sync I/O, printing colors to non-TTY outputs, and breaking command signatures. The 50ms startup target is aggressive but correct. References are organized by language and topic, which beats dumping everything in one file. If you're wiring up argument parsing or adding interactive prompts, this gets you to working code faster than reading framework docs from scratch.

skills.sh installs
5.1K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill cli-developer --agent claude-code

Installs into .claude/skills of the current project.

Files

CLI Developer

Core Workflow

  1. Analyze UX — Identify user workflows, command hierarchy, common tasks. Validate by listing all commands and their expected --help output before writing code.
  2. Design commands — Plan subcommands, flags, arguments, configuration. Confirm flag naming is consistent and no existing signatures are broken.
  3. Implement — Build with the appropriate CLI framework for the language (see Reference Guide below). After wiring up commands, run <cli> --help to verify help text renders correctly and <cli> --version to confirm version output.
  4. Polish — Add completions, help text, error messages, progress indicators. Verify TTY detection for color output and graceful SIGINT handling.
  5. Test — Run cross-platform smoke tests; benchmark startup time (target: <50ms).

Reference Guide

Load detailed guidance based on context:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Go, Design & UI/UX, CLI & Terminal

More from jeffallan/claude-skills

All 66

Recommended

More Go
1freshtechbro avatarblender-web-pipelinefreshtechbro/claudedesignskillsBlender to web export workflows for 3D models and animations. Use this skill when exporting Blender models to glTF for web, optimizing 3D assets for Three.js or3.9Kskills.sh installs
2enzed avatarr3f-interactionenzed/r3f-skillsReact Three Fiber interaction - pointer events, controls, gestures, selection. Use when handling user input, implementing click detection, adding camera control3.4Kskills.sh installs
3freshtechbro avatarweb3d-integration-patternsfreshtechbro/claudedesignskillsMeta-skill for combining Three.js, GSAP ScrollTrigger, React Three Fiber, Motion, and React Spring for complex 3D web experiences. Use when building application3.4Kskills.sh installs
4phuryn avatargtm-strategyphuryn/pm-skillsCreate a go-to-market strategy covering marketing channels, messaging, success metrics, and launch timeline. Use when planning a product launch, creating a GTM 3.3Kskills.sh installs
5dpearson2699 avatarswift-architecturedpearson2699/swift-ios-skillsSelects, reviews, and migrates Apple-platform app architectures across MV with Observation, MVVM, MVI, TCA, Clean Architecture, Coordinator, and legacy VIPER. U3.3Kskills.sh installs
6phuryn avataridentify-assumptions-newphuryn/pm-skillsIdentify risky assumptions for a new product idea across 8 risk categories including Go-to-Market, Strategy, and Team. Use when evaluating startup risks, assess3.1Kskills.sh installs