api-design-review
Installation
SKILL.md
API Design Review
Overview
Judge an API from the client's side: predictable names, honest status codes, one error shape, safe retries, and no surprise breaking changes. Every finding points at a concrete route and shows the corrected design.
Method
- Inventory. List every endpoint as
METHOD /path → status codes → request/response shape. Read routes, controllers, OpenAPI files and DTOs. - Check each endpoint against the rules below.
- Check the API as a whole: consistency across endpoints matters more than any single choice.
- Changes: if reviewing a diff, compare old and new contracts and flag anything that breaks existing clients.
- Report using the contract below.