create-cli

Design CLI tools with consistent UX patterns.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "create-cli" with this command: npx skills add michalvavra/agents/michalvavra-agents-create-cli

Create CLI

Design CLI surface area: syntax, flags, output, error handling.

Conventions

  • Long options preferred (--from not -f)
  • stdout for data, stderr for progress/errors
  • Exit codes: 0=success, 1=runtime error, 2=usage error
  • Include --help, --json, --quiet
  • Validate early, fail fast

Output

  • Default: human-readable tables
  • --json: JSON output (implies quiet)
  • --quiet: suppress progress
  • Respect NO_COLOR env

Errors

<name>: <message>
Try '<name> --help'

Destructive Operations

  • Confirm when stdin is TTY
  • --force to skip confirmation
  • --dry-run to preview

Help Format

<name> - <one-line description>

USAGE
    <name> [OPTIONS] <ARGS>

OPTIONS
    --option <VALUE>    Description [default: X]
    --help              Show this help

EXAMPLES
    <name> arg1 arg2

See references/node-js.md - Node.js with parseArgs See references/python-uv.md - Python with uv

See clig.dev for comprehensive guidelines.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

gogcli

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

brave-search

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

write-docs

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

agent-browser

No summary provided by upstream source.

Repository SourceNeeds Review