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, hard-to-misuse interfaces before implementation begins. ## Core Features & Use Cases - Contract-First Design: Define typed interfaces, input/output schemas, and error semantics before writing implementation code. - REST API Patterns: Covers resource naming, pagination, filtering, partial updates with PATCH, and consistent HTTP status code mapping. - TypeScript Interface Patterns: Discriminated unions for variants, input/output type separation, and branded types for IDs. - Use Case: When creating a new REST endpoint for a task management feature, use this Skill to define the TaskAPI contract, standardize error responses, add pagination to list endpoints, and ensure new fields are additive and backward compatible. ## Quick Start Ask the AI to design a versioned REST API contract with typed inputs, outputs, and consistent error handling for your new resource endpoints.