What problem does it solve?
This Skill helps developers standardize their REST API design, ensuring consistency with HTTP semantics, status codes, versioning, pagination, and OpenAPI standards.
Core Features & Use Cases
- HTTP Verb Semantics: Defines the correct use of HTTP verbs like GET, POST, PUT, PATCH, and DELETE.
- Status Code Correctness: Ensures proper use of HTTP status codes for different scenarios.
- URL Design Rules: Provides guidelines for URL structure, including casing, plural nouns, and hierarchy.
- API Versioning: Offers strategies for versioning APIs, including URL and header-based methods.
- Pagination: Outlines best practices for implementing pagination in APIs.
- OpenAPI Contract: Ensures API documentation is consistent with OpenAPI standards.
- API Security Baseline: Sets security best practices for API development.
- Anti-Patterns: Identifies common API design mistakes to avoid.
- Use Case: A developer wants to ensure their API follows RESTful design principles and is easy to use and maintain.
Quick Start
Use the common-api-design skill to check the API endpoint '/v1/users' for correct HTTP verb usage and status code response.