Coding
Create cli
Agent skill for create-cli
0 views
Jan 8, 2026
Sign in to like and favorite skills
Agent skill for create-cli
Sign in to like and favorite skills
Design CLI surface area (syntax + behavior), human-first, script-friendly.
agent-scripts/skills/create-cli/references/cli-guidelines.md and apply it as the default rubric.Ask, then proceed with best-guess defaults if user is unsure:
--json, --plain, exit codes.--no-input? confirmations for destructive ops?When designing a CLI, produce a compact spec the user can implement:
--json/--plain; --quiet/--verbose.--dry-run, confirmations, --force, --no-input.-h/--help always shows help and ignores other args.--version prints version to stdout.--json for machine output; consider --plain for stable line-based text.--no-input disables prompts.--force or explicit --confirm=....NO_COLOR, TERM=dumb; provide --no-color.Fill these sections, drop anything irrelevant:
mycmd...mycmd [global flags] <subcommand> [args]mycmd init ...mycmd run ...-h, --help--version-q, --quiet / -v, --verbose (define exactly)--json / --plain (if applicable)0 success1 generic failure2 invalid usage (parse/validation)