AiSkillz

Early "As-Is" Access - free for the first 20 accounts. 18 of 20 places left: complete registration to claim one. No credit card needed.

← Back to skills
Backend & APIsVia MCPAny / model-agnosticLicense: My own work (all rights reserved)

API design

Created by CodeCraft LLC

Design and review HTTP APIs consumed by apps, partners, and agents

Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.

by Jace (@jamick)v1.6.2 · updated 2026-12-01Report copyright infringement

Description

Design and review HTTP APIs consumed by apps, partners, and agents — resource modeling and URLs, method semantics, status codes, RFC 9457 Problem Details errors, cursor pagination, allow-listed filtering and sorting, idempotency keys for POST, optimistic concurrency with ETags, versioning and deprecation, consistent JSON conventions (casing, ISO 8601 UTC dates, money in minor units with currency), authentication, rate-limit headers, OpenAPI contracts, webhooks you send (signing, retries, event IDs), and when to use Next.js route handlers vs Server Actions. Use whenever the user designs or reviews a REST/JSON API, public or partner endpoints, webhooks for others, mobile-app backends, or an OpenAPI spec.

#backend#api#design

Included with all-access

$9.00 one-time, permanent access

Get all-access · $12.00/mo, billed yearly

or

Buy 2 or more together for up to 40% off · View cart

You get a licence, not ownership. Access lasts while this skill is available on AiSkillz; if it's removed within 90 days of purchase, we'll send you a copy to keep. Terms

Official and free skills are included with the all-access subscription

Changelog

Subscribers also see which files changed in each version.

v1.6.2Dec 1, 2026Latest

Added

  • README: a **Sources** line listing the official pages the skill is written from, each link checked, so the source-overlap check can run against them.
v1.6.1Nov 29, 2026

Changed

  • Added a contents list to reference files over 100 lines (rest-patterns.md), so a partial read still shows every section.
v1.6.0Nov 25, 2026

Fixed

  • Worked examples now follow the skill's own rules: Problem Details errors instead of a custom envelope, money in minor units instead of a float, cursor pagination metadata instead of offset/total, one validation status chosen once.
  • Idempotency example: rejects a reused key with a different body (422), requires the key (400), uses a short lock so a crash doesn't block retries, and replays headers.
  • OpenAPI 3.2.0 date corrected to September 19, 2025 (3.2.1 noted).

Added

  • Deprecation header (RFC 9745) with Sunset and the deprecation link relation; QUERY method (RFC 10008); 405/412/415/428 in the status table.
  • Mass-assignment and resource-consumption rules (OWASP API Security Top 10 2023), with checklist items and pitfalls.
  • Rate-limit headers: X-RateLimit-* marked as convention, IETF RateLimit/RateLimit-Policy draft noted.

Removed

  • Duplicate checklist in rest-patterns.md that contradicted the review checklist.
v1.5.0Nov 20, 2026

Added

  • Review method: every code review starts by mapping the code flows in scope and gives each flow its own sub-agent at high effort, which reviews that flow end to end against this checklist; the main agent merges, re-checks Blockers and de-duplicates. Covers single-flow reviews, nested sub-agents, failed sub-agents and environments without sub-agents.
v1.4.0Nov 6, 2026

Changed

  • Review report rule: reviews that cover changes (a diff, PR or uncommitted work) open with a short "What the changes do" section - factual bullets grouped by purpose, inferred intent marked, deploy or migration impact stated.
v1.3.0Nov 4, 2026

Changed

  • Review report rule at the top of the skill, loaded before any review: one entry per finding as Level · type · file:line · finding · proposed fix, outside facts sourced or marked unverified, and no narrative.
v1.2.0Oct 16, 2026

Added

  • references/rest-patterns.md: worked REST examples (envelopes, cursor pagination, idempotency-key implementation, rate-limit headers) - merged from the former api-rest-design skill.
v1.1.0Oct 3, 2026

Changed

  • Checked against the official documentation (October 2026).
  • Added OpenAPI 3.2: streaming media types (SSE), the QUERY method and additionalOperations, hierarchical tags, OAuth device flow - backward compatible with 3.1.
v1.0.1Oct 3, 2026

Changed

  • Added a trademark notice to the README.
v1.0.0Oct 2, 2026

Added

  • First release.