api-design
Installation
SKILL.md
API Design
Guidance for designing and implementing RESTful APIs. Covers URL conventions, HTTP methods, error handling, versioning, and common patterns.
Core Principles
- Resources over actions: URLs represent resources, not operations
- HTTP methods for operations: GET reads, POST creates, PUT/PATCH updates, DELETE removes
- Consistent error responses: Standardized error format across all endpoints
- Versioning from day one: Plan for API evolution
- Stateless design: Each request contains all needed information