API And Interface Design

Guides stable API and interface design for REST endpoints, GraphQL schemas, module boundaries, and component contracts. Use when designing new APIs, defining type contracts between modules, establishing boundaries between frontend and backend, or modifying existing public interfaces. Covers Hyrum's Law, contract-first design, the One-Version Rule, REST resource patterns, pagination, PATCH semantics, and idiomatic type-system patterns in both TypeScript (discriminated unions, branded types) and Python (Pydantic discriminated unions, NewType branded types, FastAPI route shapes, frozen dataclasses).

jankneumann Updated

File contents

jankneumann/agentic-coding-tools/tree/main/skills/api-and-interface-design commit 85dc0d7645

Frequently asked questions

npx skillmds@latest add jankneumann/api-and-interface-design