Cli creator

From archibate/dotfiles-opencode · View interactive version

Cli creator is an AI agent skill from the GitHub repository archibate/dotfiles-opencode. Spec CLI surface area before implementation - command tree, flags, exit codes, I/O contract. Use when designing or planning a CLI interface.

How to use this skill

Skill file

Create CLI

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

Do This First

Clarify (fast)

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

Deliverables (what to output)

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

Default Conventions (unless user says otherwise)

Templates (copy into your answer)

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.