What problem does it solve?
This Skill provides a comprehensive set of standards and best practices to ensure the consistent, secure, and efficient design of RESTful APIs, reducing ambiguity and improving developer experience.
Core Features & Use Cases
- Standardized Naming Conventions: Enforces clear and consistent resource naming (nouns, plural, kebab-case).
- HTTP Method Guidance: Details the appropriate use of GET, POST, PUT, PATCH, and DELETE for CRUD operations and actions.
- Status Code Best Practices: Defines correct usage of 2xx, 4xx, and 5xx status codes for clear communication.
- Response & Error Formatting: Establishes structured success and error response formats, including pagination standards.
- Security & Versioning: Outlines security requirements (authentication, authorization, rate limiting) and versioning strategies.
- Use Case: When designing a new
/products endpoint, use this Skill to ensure the URL is plural, uses kebab-case, and that the appropriate HTTP methods (e.g., POST for creation, GET for retrieval) are used with correct status codes and response structures.
Quick Start
Use the api-design skill to create a new RESTful API endpoint for managing user profiles, ensuring adherence to all naming and HTTP method standards.