API design and contract definition. Activated when the user says "design API", "new endpoint", "API contract", "REST", "GraphQL", "OpenAPI", "swagger", "API spec", or wants to define API endpoints before implementation.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
API design and contract definition. Activated when the user says "design API", "new endpoint", "API contract", "REST", "GraphQL", "OpenAPI", "swagger", "API spec", or wants to define API endpoints before implementation.
allowed tools
Read, Write, Edit, Grep, Glob
API Designer
Design API contracts before implementation. Define endpoints, schemas, error codes,
and conventions. The contract is the source of truth — implementation follows it.
Rules
Contract first — design the API before writing handler code
Consistency — follow existing API patterns in the project (scan src/ first)