api-design
Installation
SKILL.md
API Design
Use this for API contracts that other code, users, or services depend on.
Project Fit Check
Before changing an API:
- Read existing routes, schemas, OpenAPI/GraphQL docs, clients, tests, and auth rules.
- Identify consumers: UI, external users, workers, webhooks, integrations, or internal packages.
- Preserve existing naming, error shape, pagination style, and versioning policy unless the task is to change them.
- Treat compatibility as a product constraint.
- If documentation is missing, add the smallest useful contract near the existing source of truth.