Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.
Resource-Oriented Architecture
HTTP Methods Semantics:
GET: Retrieve resources (idempotent, safe)POST: Create new resourcesPUT: Replace entire resource (idempotent)PATCH: Partial resource updatesDELETE: Remove resources (idempotent)Schema-First Development
Query Structure:
URL Versioning:
/api/v1/users
/api/v2/users
Header Versioning:
Accept: application/vnd.api+json; version=1
Query Parameter Versioning:
/api/users?version=1
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
/users, not /user)@deprecated directive for gradual migrationCopy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/api-design-principles · pinned to the source commit
git clone https://github.com/wshobson/agents.git
cd agents
git checkout d82998e7df393c671ede2387a8435075f0b633f5
mkdir -p ".claude/skills/api-design-principles"
cp -r "plugins/backend-development/skills/api-design-principles" ".claude/skills/api-design-principles"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit d82998e7df39. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.