rest-api-design
Design consistent REST APIs: resource modeling, status codes, pagination, versioning, error contracts, and documentation. Use for any API design task.
Target: Design & content creation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- REST API Design
- Quick Start
- When to Use
- Best Practices
- Resources
- Methods & Status
- Pagination & Filtering
- Versioning & Evolution
Designing consistent, evolvable REST APIs. Public or internal HTTP APIs Designing before implementation Versioning and evolving existing APIs SDKs and clients that consume the API Model nouns as resources, actions as sub-resources Use plural names: /users, not /user Nest only for genuine ownership: /users/{id}/orders Represent relations with IDs, not nested objects Use HTTP methods for intent (GET/POST/PUT/PATCH/DELETE) Return 201 with Location on create, 204 on delete Use 422 for validation, 409 for conflicts Map errors consistently: code, message, details Paginate list endpoints: page/limit or cursor Use cursor-based pagination for stability Filter with query params, not paths Sort with explicit sort param Version the API: URL prefix or header Additive changes within a version Deprecate with headers and clear notices Document everything in OpenAPI 1. Identify resources and their relations from the domain. 2. Define endpoints with proper methods and paths. 3. Specify request/response schemas and status codes. 4. Add pagination, filtering, and sorting to lists. 5. Create a consistent error contract. 6. Decide versioning strategy up front. 7. Write OpenAPI spec and validate it. 8. G
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- ssrjkk/agent-skills
- Source file
- .claude/skills/backend/rest-api-design/SKILL.md
- Fixed revision
- 868975614072b553f929cb32c52c5e7dc4ba8734
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: ssrjkk/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T03:01:42.252Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.