What problem does it solve? Poorly designed APIs and module boundaries create breaking changes, inconsistent error handling, and tight coupling between teams. This Skill guides the design of stable, hard-to-misuse interfaces before implementation begins. ## Core Features & Use Cases - Contract-First Design: Define typed input/output schemas, discriminated unions, and branded ID types before writing implementation code. - Consistent Error Semantics: Establish a single structured error format with proper HTTP status code mapping across all endpoints. - Boundary Validation: Enforce validation at system edges (API handlers, third-party responses) while trusting internal typed code. - Use Case: When building a new REST endpoint for a task management service, use this Skill to define the TaskAPI contract, pagination scheme, PATCH semantics, and error shapes so frontend and backend teams can work in parallel without breaking each other. ## Quick Start Use the api-and-interface-design skill to design a versioned REST API contract for a new tasks resource with pagination and consistent error responses.