API and Interface Design

0•

Establishes robust architectural patterns for REST APIs, GraphQL schemas, and module boundaries to ensure long-term stability and developer productivity.

This skill empowers developers to design resilient system boundaries by implementing industry best practices such as Hyrum’s Law, contract-first development, and consistent error handling. Whether building public REST endpoints, GraphQL schemas, or internal TypeScript module contracts, the skill provides actionable guidance on validating data at system edges, maintaining backward compatibility through additive changes, and establishing predictable naming conventions. It serves as a comprehensive framework for reducing technical debt and building interfaces that are inherently difficult to misuse while remaining easy to maintain.

Características Principales

01Validation enforcement at system boundaries for untrusted data
02Contract-first design patterns for REST and GraphQL services
03Backward compatibility guidance using additive modification rules
040 GitHub stars
05Standardized error handling strategies and HTTP status mapping
06Advanced TypeScript patterns including branded types and discriminated unions

Casos de Uso

01Refactoring internal module boundaries to reduce tight coupling
02Standardizing response formats and error semantics across a distributed team
03Architecting new microservices or public-facing API endpoints