CLI Developer
A skill for designing and building command-line tools with commander, click, typer, or cobra — covering flags, prompts, progress bars, and shell completions.
Dev & CodingIntermediate★ 12,513⑂ 1,209AI score 9/10Last updated: Nov 23, 2026
What it does
- Plans the command hierarchy (subcommands, flags, arguments) and drafts the expected
--helpoutput before any code is written. - Implements the CLI with the right framework per language: Node.js (commander, yargs, inquirer), Python (click, typer, rich), Go (cobra, viper, bubbletea).
- Adds polish: progress bars, TTY-aware colors, bash/zsh/fish completion scripts, graceful SIGINT handling, and non-interactive fallbacks for CI.
- Enforces hard rules — startup under 50ms, diagnostics to stderr, no hardcoded platform paths, never break existing command signatures.
Who it's for
- Backend/DevOps engineers shipping internal CLI tooling or productivity scripts.
- Open-source maintainers adding subcommands or shell completions to an existing CLI.
- Developers building their first cross-platform terminal app for Windows, macOS, and Linux.
Example uses
- "Turn this deploy script into a
deployCLI" → get a subcommand layout, a commander entrypoint, and help text. - "Add zsh completion to my typer-based CLI" → framework-native completion generation plus install instructions.
- "My CLI hangs in CI waiting for input" → flag/env-var fallbacks and TTY-detection snippets to fix it.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/Jeffallan/claude-skills/HEAD/plugin/skills/cli-developer/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the plugin/skills/cli-developer folder from the GitHub repo Jeffallan/claude-skills into my ~/.claude/skills/jeffallan-cli-developer/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/Jeffallan/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/plugin/skills/cli-developer ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/Jeffallan/claude-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the whole skill folder (including
references/):cp -r claude-skills/plugin/skills/cli-developer ~/.claude/skills/ - Verify that
~/.claude/skills/cli-developer/SKILL.mdexists. - Restart Claude Code and ask something like "help me build a CLI tool" — the skill triggers automatically.
View source on GitHub ↗License: MIT