api-contract-design
Installation
SKILL.md
API Contract Design
Design resilient, type-safe, and production-grade API contracts before implementing backend handlers or frontend clients.
When to Use
- Creating new API endpoints, routers, or mutations (tRPC, REST, GraphQL).
- Modifying existing request/response payloads in a multi-client or distributed system.
- Designing high-stakes operations: payments, auctions, orders, wallet transfers, or state transitions.
When NOT to Use
- Private, purely internal helper functions within the same module.
- Static file serving or trivial health-check ping routes.