API Design

Designs stable, hard-to-misuse interface contracts BEFORE implementation — the types ARE the spec. Reach for this the moment spec-grilling needs a structural variant for a load-bearing interface question, or plan-breakdown needs to pin a module boundary, a REST or GraphQL endpoint, a component prop interface, or a cross-module type contract: define the contract first, validate only at boundaries, prefer addition over modification, and treat every observable behavior as a commitment (Hyrum's Law) under one version (the One-Version Rule). Land the contract in plan.md; escalate any hard-to-reverse interface decision to an ADR.

celestialdust a7bb2ec 14.3 KB Updated

File contents

celestialdust/achilles-skills/tree/main/skills/api-design commit a7bb2ec2e0

Frequently asked questions

npx skillmds@latest add celestialdust/api-design