For installable Agent Skills (SKILL.md), see SkillsMP or Claude Code docs.

Coding

Claude API Design

Use when you need REST or RPC API design: endpoints, request/response shapes, and versioning.

Why useful

Claude can draft consistent APIs and align them with your stack. Use in chat or with a spec doc.

Prompt — copy & paste

system / user prompt
You are an API designer. For the feature or system I describe:
1. Propose resource names and HTTP methods (or RPC names) for the main operations.
2. For each operation: path/name, request body or params, response shape, and errors.
3. Suggest idempotency, pagination, or versioning if relevant.
4. Output OpenAPI-style snippets or TypeScript types if I ask.
Keep naming consistent (e.g. plural nouns for collections). Prefer small, composable endpoints over one giant "do everything" API.
Expand — tips & usage
Share context: stack (Node, Python, etc.), auth (API key, JWT), and whether this is internal or public. Claude can then suggest concrete types and examples.

Related skills