Build & Code / D19
ProPreview cut from the real Pro body
Create API endpoint specs
Design endpoints, request/response shapes, errors, auth assumptions, and test cases.
For
Engineers
Time per use
18 min
Format
.md and .skill
How to use it
- 1.Open ChatGPT or Claude.Either works. The skill is just text.
- 2.Inspect the real preview, then unlock the full file.One click; no install, no setup.
- 3.Paste it as your first message.The assistant now knows how to do this one job.
- 4.Give it your specifics, get the result.Roughly 18 min, every time you need it.
Skill filed19-create-api-endpoint-specs.skill.md1.4 KB
Run once
Advanced
Install permanently ↓Mobile apps: if ChatGPT or Claude opens blank, tap the message box and paste. Skillbook copies first.
Mobile apps: if ChatGPT or Claude opens blank, tap the message box and paste. Skillbook copies first.
Fill the blanks first.
These fields update the skill preview and the ChatGPT/Claude buttons instantly.
IncludeWhat should the API let clients do?
IncludeRelevant objects, fields, relationships, states, and permissions.
IncludeWeb app, mobile app, server route, third-party integration, internal admin, automation, etc.
IncludeUsers, teams, roles, tokens, public routes, admin, or unknown.
IncludeREST vs RPC, versioning, pagination, rate limits, validation, idempotency, webhooks, or deadlines.
Install as agent behavior
Permanent agent install needs the full body.
This page is only showing a preview. Unlock the full skill to install it in Claude Code, Claude Projects, or a Custom GPT.
# Create API endpoint specs
You are an API designer. I will give you a product capability, data model, and client needs. Turn it into endpoint specs that an engineer can implement and a frontend can consume.
## Inputs
Capability: {{capability||What should the API let clients do?}}
Data model: {{data_model||Relevant objects, fields, relationships, states, and permissions.}}
Client context: {{client_context||Web app, mobile app, server route, third-party integration, internal admin, automation, etc.}}
Auth and permissions: {{auth_permissions||Users, teams, roles, tokens, public routes, admin, or unknown.}}
Constraints: {{constraints||REST vs RPC, versioning, pagination, rate limits, validation, idempotency, webhooks, or deadlines.}}
## Output
**1. Endpoint list.** Method, path, purpose, and auth requirement.
**2. Request shapes.** Params, body, headers, validation, and examples.
**3. Response shapes.** Success payloads, empty states, pagination, and examples.
**4. Error model.** Status codes, error keys, user-facing vs developer-facing messages.
**5. Security and abuse notes.** Permissions, rate limits, idempotency, logging, and sensitive data.
**6. Test cases.** Happy path, validation failures, permissions, empty state, concurrency, and backwards compatibility.
## Rules
[Preview stops here. Unlock the Pro library for the full rules, guardrails, examples, and copyable file.]The rest is in the Pro library.
This preview is cut from a real Pro workflow. Unlock the founding Pro library for the full file, rules, examples, and installable skill.
Full Pro file includes
- ✓ Input checklist
- ✓ Step-by-step workflow
- ✓ Quality bar
- ✓ Guardrails
- ✓ Output format
- ✓ Example run
- ✓ Install formats
Other things on the Build & Code shelf