Guides RESTful API design with resource naming, HTTP methods, status codes, and response formats.
- What it does
- This skill provides conventions for designing RESTful APIs, covering resource naming with nouns and hierarchy, HTTP method semantics, and status code selection. It also specifies JSON response and collection formats, including pagination and links, plus query parameters for filtering, sorting, pagination, and field selection. It ends with a short list of best practices such as URL versioning and OpenAPI documentation.
- When to use it
- Use it when building a new API, establishing team-wide API conventions, or designing developer-friendly interfaces. It suits early design decisions about endpoints, payloads, and error responses rather than runtime implementation.
- Requirements
- No tools, packages, runtimes, credentials, or network access are required; it is instructions only and ships no scripts.