← Back to skills
Engineering & DevOps · Made here

API Review

api-design-reviewer · endpoints · OpenAPI → review · fixes

Reviews REST or GraphQL designs for naming, errors, pagination, auth, versioning and breaking changes before they ship.

Download SKILL.mdAdd to a recipe
Watch the demo0:55
Borrow a skill and use it0:55
In Claude (connector)install_skill("api-design-reviewer")
CLIlendskill install api-design-reviewer

SKILL.md

---
name: api-design-reviewer
description: Review a REST or GraphQL API design or change for consistency, errors, pagination, auth, idempotency, versioning and breaking changes. Use when a pull request or spec adds or changes endpoints, or before publishing an API.
license: Proprietary — Lendskill original
---

# API Review

## Checklist
1. **Resources and naming**: plural nouns, consistent casing, no verbs in REST paths, nesting at most one level.
2. **Methods and status codes**: GET is safe; PUT and DELETE are idempotent; 201 with a Location header on create; 400/401/403/404/409/422/429 used correctly.
3. **Errors**: one error shape everywhere (code, message, details, request id). No stack traces or internal names in responses.
4. **Pagination and filtering**: cursor-based for large or changing sets; limits capped; filter and sort parameters documented.
5. **Auth and access**: every endpoint authenticated unless deliberately public; object-level checks so users cannot reach other users' data by changing an id.
6. **Input validation**: types, lengths and enums enforced; unknown fields handled deliberately.
7. **Idempotency**: an idempotency key for POSTs that create payments or orders.
8. **Versioning and compatibility**: removing or renaming fields, tightening validation or changing types is breaking — flag it and propose an additive path.
9. **Performance**: no unbounded lists, N+1 risks or huge payloads; rate limits defined.
10. **Docs**: an example request and response for each endpoint.

## Output format
Findings grouped as **Blocking**, **Should fix** and **Nice to have** — each with the endpoint, the issue, why it matters and a concrete fix. End with a breaking-change summary.

Supporting files (0)

  • None — SKILL.md only