What problem does it solve? Poorly designed interfaces create breaking changes, inconsistent error handling, and hidden coupling that break consumers. This Skill provides concrete principles and patterns for designing APIs and module boundaries that are hard to misuse and safe to evolve. ## Core Features & Use Cases - Contract-First Design: Define typed interfaces before implementation, with input/output separation, branded ID types, and discriminated unions for variants. - Consistent Error Semantics: Standardized error shapes with machine-readable codes and HTTP status mapping (400/401/403/404/409/422/500). - Boundary Validation: Validate external input at API edges and treat third-party responses as untrusted, while trusting internal typed code. - Use Case: When adding a new REST endpoint to an expense tracker backend, use this Skill to define the typed contract, pagination scheme, PATCH semantics, and error format before writing any handler code. ## Quick Start Use the api-and-interface-design skill to review my planned REST endpoints for the transactions resource and check them against the design checklist.