API and Interface Design

0•

Standardizes the creation of stable, well-documented, and user-friendly APIs and software module interfaces.

This skill provides Claude with expert-level guidance for designing robust software interfaces, ranging from REST and GraphQL endpoints to internal TypeScript module boundaries and component props. It enforces critical architecture principles like Hyrum’s Law, contract-first development, and consistent error handling to ensure APIs are predictable and hard to misuse. By prioritizing backward compatibility and validation at system boundaries, it helps developers build scalable systems that minimize breaking changes and technical debt.

Key Features

010 GitHub stars
02Contract-first design patterns for REST and GraphQL
03Implementation of Hyrum's Law and the One-Version Rule
04Advanced TypeScript patterns like branded types and unions
05Boundary-level validation logic for untrusted data
06Standardized error semantic mapping and status codes

Use Cases

01Designing new RESTful or GraphQL API endpoints from scratch
02Refactoring existing public interfaces to be more resilient to change
03Establishing clean type-safe boundaries between internal modules