Tooluck logoTooluck
SKILL.md

cli-developer

Agent skill fromJeffallan/claude-skills

Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.

How to install cli-developer

install cli-developer
# install the claude-skills pack with the skills CLI
npx skills add Jeffallan/claude-skills

# or add only this skill to Claude Code: copy the folder

skills/cli-developer/

# into

~/.claude/skills/cli-developer/ (all projects)

.claude/skills/cli-developer/ (one project)

skills/cli-developer/SKILL.md

MITFull file
1# CLI Developer
2
3## Core Workflow
4
51. **Analyze UX** — Identify user workflows, command hierarchy, common tasks. Validate by listing all commands and their expected `--help` output before writing code.
62. **Design commands** — Plan subcommands, flags, arguments, configuration. Confirm flag naming is consistent and no existing signatures are broken.
73. **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.
84. **Polish** — Add completions, help text, error messages, progress indicators. Verify TTY detection for color output and graceful SIGINT handling.
95. **Test** — Run cross-platform smoke tests; benchmark startup time (target: <50ms).
10
11## Reference Guide
12
13Load detailed guidance based on context:
14
15| Topic | Reference | Load When |
16|-------|-----------|-----------|
17| Design Patterns | `references/design-patterns.md` | Subcommands, flags, config, architecture |
18| Node.js CLIs | `references/node-cli.md` | commander, yargs, inquirer, chalk |
19| Python CLIs | `references/python-cli.md` | click, typer, argparse, rich |
20| Go CLIs | `references/go-cli.md` | cobra, viper, bubbletea |
21| UX Patterns | `references/ux-patterns.md` | Progress bars, colors, help text |
22
23## Quick-Start Example
24
25### Node.js (commander)
26
27```js
28#!/usr/bin/env node
29// npm install commander
30const { program } = require('commander');
31…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates