Help us improve
Share bugs, ideas, or general feedback.
From devops
Builds CLI tools with subcommands, flags, prompts, progress bars, shell completions using commander (Node.js), click/typer (Python), cobra (Go). Ensures fast startup, error handling, cross-platform support.
npx claudepluginhub wesleyegberto/software-engineering-skills --plugin devopsHow this skill is triggered — by the user, by Claude, or both
Slash command
/devops:cli-developerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Analyze UX** — Identify user workflows, command hierarchy, common tasks. Validate by listing all commands and their expected `--help` output before writing code.
Builds CLI tools with argument parsing, subcommands, interactive prompts, progress bars, spinners, shell completions using commander (Node.js), click/typer (Python), cobra (Go).
Build CLI tools with argument parsing, interactive prompts, progress bars, and shell completions across Node.js, Python, and Go using frameworks like commander, click, typer, or cobra.
Share bugs, ideas, or general feedback.
--help output before writing code.<cli> --help to verify help text renders correctly and <cli> --version to confirm version output.Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Design Patterns | references/design-patterns.md | Subcommands, flags, config, architecture |
| Node.js CLIs | references/node-cli.md | commander, yargs, inquirer, chalk |
| Python CLIs | references/python-cli.md | click, typer, argparse, rich |
| Go CLIs | references/go-cli.md | cobra, viper, bubbletea |
| UX Patterns | references/ux-patterns.md | Progress bars, colors, help text |
#!/usr/bin/env node
// npm install commander
const { program } = require('commander');
program
.name('mytool')
.description('Example CLI')
.version('1.0.0');
program
.command('greet <name>')
.description('Greet a user')
.option('-l, --loud', 'uppercase the greeting')
.action((name, opts) => {
const msg = `Hello, ${name}!`;
console.log(opts.loud ? msg.toUpperCase() : msg);
});
program.parse();
For Python (click/typer) and Go (cobra) quick-start examples, see references/python-cli.md and references/go-cli.md.
--help and --version flags// Node.js
const useColor = process.stdout.isTTY;
# Python
import sys
use_color = sys.stdout.isatty()
// Go
import "golang.org/x/term"
useColor := term.IsTerminal(int(os.Stdout.Fd()))
os.homedir() / os.UserHomeDir() / Path.home() instead.When implementing CLI features, provide:
CLI frameworks (commander, yargs, oclif, click, typer, argparse, cobra, viper), terminal UI (chalk, inquirer, rich, bubbletea), testing (snapshot testing, E2E), distribution (npm, pip, homebrew, releases), performance optimization