Create cli

From mouadja02/skills · View interactive version

Create cli is an AI agent skill from the GitHub repository mouadja02/skills. Designs a command-line interface's surface: argument syntax, flags, help text, output formats, error messages, config handling, and dry-run behavior, following clig.dev. Use when creating a new CLI or reviewing one for human-friendliness and script compatibility.

How to use this skill

Skill file

Create CLI

Attribution: Sourced from steipete/agent-scripts by Peter Steinberger.

When to Use

Design CLI surface area (syntax + behavior), human-first, script-friendly.

Reference: https://clig.dev/

Clarify (fast)

Ask, then proceed with best-guess defaults if user is unsure:

Deliverables

When designing a CLI, produce a compact spec the user can implement:

Default Conventions

CLI Spec Skeleton

Fill these sections, drop anything irrelevant:

  1. Name: mycmd
  2. One-liner: ...
  3. USAGE:
  1. Subcommands:
  1. Global flags:
  1. I/O contract:
  1. Exit codes:
  1. Env/config:
  1. Examples:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.