API and Interface Design

•
2
•

Designs robust, stable APIs, TypeScript contracts, and system boundaries that prevent breaking changes and minimize integration errors.

The API and Interface Design skill guides developers in architecting clean, predictable, and resilient public interfaces across REST APIs, GraphQL schemas, and internal module boundaries. Grounded in principles like Hyrum's Law, contract-first design, edge validation, and atomic idempotency key handling, this skill helps establish strong TypeScript type contracts, standardized error payloads, and non-breaking evolutionary changes between frontend, backend, and third-party systems.

Key Features

01REST and GraphQL conventions for standardized error responses, filtering, and pagination
02Robust idempotency key handling to prevent duplicate operations and race conditions
03Contract-first API modeling with explicit input/output typing and branded identifiers
04Non-breaking interface evolution techniques adhering to Hyrum's Law and the One-Version Rule
05Boundary validation strategies for untrusted external inputs and third-party data
062 GitHub stars

Use Cases

01Implementing safe, idempotent payment and charge handling for distributed systems
02Architecting new REST endpoints with strict pagination, filtering, and partial update support
03Defining TypeScript contracts and module boundaries between frontend and backend teams