Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

CLI design for an API: commands, output and exit codes v1.0.0

Use this resource to design the public command-line interface that wraps an API

New

  • 317 downloads
  • 243 likes
  • 190 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install cli-design-for-api

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent defines the core commands, a raw API escape hatch, the flag grammar and configuration precedence. It freezes an output contract, JSON and exit codes, and covers login, CI tokens, pagination and error messages. You get a CLI specification ready to implement.

Mostly picked by

Updated November 2, 2026

Card for the “CLI design for an API: commands, output and exit codes” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: interview, eight-step method and validation gates
  • references/output-and-exit-code-contract.md: output contract and exit codes
  • references/auth-and-credentials.md: login and credential storage

Good fit for

  • You want a CLI that scripts and coding agents can use
  • Your current CLI is a plain mirror of the REST API

Not for

    Tags

    • cli
    • api
    • json
    • exit codes

    About

    You say

    “Design the CLI for our billing API: core commands, --json output and exit codes for CI.”

    Card for the “CLI design for an API: commands, output and exit codes” skill

    Skill published by samber under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design the public command-line interface that wraps an API
    3. Review and adjust the result

    Content preview

    Files

    • evals/evals.json38.1 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/agent-readiness-and-incidents.md3.5 KB
    • references/auth-and-credentials.md3.3 KB
    • references/cli-design-spec-template.md2.8 KB
    • references/command-layer-patterns.md3.9 KB
    • references/output-and-exit-code-contract.md5.6 KB
    • SKILL.md23.5 KB

    Origin and licence

    Listed unmodified

    Author
    samber
    Source
    github.com/samber/developer-platform-skills/tree/e262cfeabab5f38710334540f8ca5d67b24753c2/skills/cli-interface-design
    Licence
    MIT

    Notice

    « cli-interface-design » (samber, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.