REST API Design
Design HTTP/JSON APIs that stay evolvable — resource modelling, method and status semantics, RFC 9457 errors, cursor pagination, idempotency, conditional requests, versioning and OpenAPI contracts.
What it does
Design HTTP/JSON APIs that stay evolvable — resource modelling, method and status semantics, RFC 9457 errors, cursor pagination, idempotency, conditional requests, versioning and OpenAPI contracts.
- Category
- backendapiarchitecture
- Platforms
- backendweb
- Frameworks and tools
- openapiexpressfastifyfastapigin
- Capabilities
- architecturecode-generationreview
Example tasks
- “Design the REST endpoints, error format and pagination for an invoicing API.”
- “Review our OpenAPI spec for breaking changes and inconsistent status codes.”
- “Add safe retries to a payment-creation endpoint with idempotency keys.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (79 lines in total).
- 01REST API Design
- 021. Resources and URLs
- 032. Methods and status codes
- 043. Error format (RFC 9457 problem details)
- 054. Collections: pagination, filtering, sorting
- 065. Safe retries, idempotency, concurrency
- 076. Versioning and evolution
- 087. Contract and docs
- 098. Cross-cutting
- 10Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — REST API Design
1.0.0
- Initial release.