# API design

> For settling the contract of an API you expose, before implementation.

- Page: https://youraiskill.com/skill/ericrisco-api-design
- What it does: Use when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL, versioning, one RFC 9457 error envelope, pagination, idempotency — emitted as OpenAPI 3.1. NOT implementing the endpoints (that is `fastapi`/`nestjs`/`go`/`nodejs`), NOT auth hardening (that is `security-audit`), NOT consuming a third-party API (that is `api-connector-builder`).
- Niches: apis, backend
- Licence: MIT
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions plus scripts

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
