What problem does it solve? Poorly designed APIs and interfaces create breaking changes, inconsistent error handling, and tight coupling between modules. This Skill provides concrete principles and patterns for designing stable contracts 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 and branded ID types in TypeScript. - REST API Patterns: Standard conventions for resource naming, pagination, filtering, and partial updates via PATCH. - Consistent Error Semantics: A single structured error format mapped to HTTP status codes, with validation enforced only at system boundaries. - Use Case: When creating a new /api/tasks endpoint, apply the Skill to define typed request/response schemas, paginated list responses, and a uniform error body before writing any handler code. ## Quick Start Ask the AI to design a REST API for a new resource following the api-and-interface-design principles, including typed contracts, pagination, and consistent error responses.