What problem does it solve? Poorly designed APIs and interfaces create breaking changes, inconsistent error handling, and hidden dependencies that frustrate consumers and multiply maintenance cost. This Skill provides concrete principles and patterns for designing interfaces that are hard to misuse and safe to evolve. ## Core Features & Use Cases - Contract-First Design: Define typed input/output schemas before implementation, with consistent error semantics and boundary validation. - REST API Patterns: Covers resource naming, pagination, filtering, and partial updates (PATCH) with predictable conventions. - Idempotency Implementation: Detailed guidance on honouring idempotency keys, atomic claiming via unique constraints, payload guards, and retention windows. - Use Case: When adding a new payments endpoint to a FastAPI or Express backend, use this Skill to design the endpoint contract, error format, and idempotency behavior before writing any handler code. ## Quick Start Ask the agent to design a REST API contract for a new resource, including typed inputs, error responses, pagination, and idempotency handling.