What problem does it solve?
Inconsistent or poorly designed REST APIs lead to developer confusion, fragile integrations, and increased maintenance costs; this Skill provides clear conventions and guardrails to create predictable, scalable, and developer-friendly APIs.
Core Features & Use Cases
- Resource and URL conventions: guidance on pluralization, kebab-case, and when to model nested resources versus top-level endpoints.
- HTTP semantics & status codes: recommendations for method usage, correct success and error codes, and structured error payloads.
- Pagination, filtering, and rate limiting: patterns for offset and cursor pagination, query parameter filtering, sorting, and headers for rate limit reporting.
- Use Case: Review a public users API to select URL versioning, choose cursor pagination for the user feed, define error formats, and add rate limit headers before release.
Quick Start
Use the api-design skill to review a draft endpoint and produce a concise REST specification that includes resource names, HTTP methods, status codes, pagination strategy, authentication requirements, and error formats.