What problem does it solve? Designing public interfaces that break consumers is a common source of production incidents. This Skill provides a structured checklist and principles for creating APIs and module boundaries that are consistent, backward-compatible, and hard to misuse. ## Core Features & Use Cases - Contract-First Design: Define typed input/output schemas, consistent error semantics, and boundary validation before implementation. - Idempotency Guidance: Covers atomic key claiming, payload guarding, in-flight duplicate handling, and retention windows for safe retries. - REST & TypeScript Patterns: Provides conventions for resource naming, pagination, filtering, PATCH semantics, discriminated unions, and branded ID types. - Use Case: When adding a new endpoint like POST /api/tasks, use this Skill to verify the endpoint has typed schemas, consistent error format, pagination on list routes, and an idempotency strategy before shipping. ## Quick Start Ask the AI to review your new REST endpoint design against the API and interface design checklist before implementing it.