Playbook: Ship an API v2 safely
Introduce breaking API improvements while every existing client keeps working.
Track: 🗺️ Backend Engineering · Domain: Journey Playbooks · Level: journey · ~140 min
Who this is for: Backend Engineers, API Developers, Platform Engineers, Full-Stack Developers
When to Use This Skill
Introduce breaking API improvements while every existing client keeps working. Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.
Journey Steps
- Step 1 — Model REST resources without leaking internals (GraphQL flavor): start with "List nouns (resources) from the domain; map verbs to HTTP methods"
- Step 2 — Model REST resources without leaking internals (gRPC services): start with "List nouns (resources) from the domain; map verbs to HTTP methods"
- Step 3 — Migrate API versions without breaking clients: start with "Ship vN+1 alongside vN behind the same gateway; no big-bang cutover"
- Step 4 — Run zero-downtime schema migrations: start with "Expand: add nullable columns/tables first; deploy code writing both paths"
- How it fits together: Expand-contract thinking applies to both schema AND endpoint surface. Parallel-run is the whole game.
Referenced Skills
api-design-rest-resource-modeling-graphqlapi-design-rest-resource-modeling-rpcapi-design-api-versioning-migrationdatabases-zero-downtime-migrations
Commands
Install all referenced skills
npx skills add aniruddhaadak80/skills --skill api-design-rest-resource-modeling-graphql && npx skills add aniruddhaadak80/skills --skill api-design-rest-resource-modeling-rpc && npx skills add aniruddhaadak80/skills --skill api-design-api-versioning-migration && npx skills add aniruddhaadak80/skills --skill databases-zero-downtime-migrations
Part of aniruddhaadak80/skills · Browse all at https://skills.sh/aniruddhaadak80/skills