API and Interface Design
Guides robust REST and RPC API architecture across Go, TypeScript, and PHP backends with contract-first patterns and consistent error handling.
The API Design skill provides production-grade architectural guidance for crafting predictable, resilient REST and RPC interfaces. Rooted in Hyrum's Law, it enforces contract-first development, unified error response shapes, boundary-only validation, day-one pagination on list endpoints, and safe additive schema changes. Whether you are scaffolding new backend microservices, refactoring legacy endpoints, or reviewing schemas to prevent breaking changes, this skill ensures your APIs are hard to misuse and easy for client teams to integrate.
Key Features
01Standardizes unified error response shapes across all endpoints
022 GitHub stars
03Mandates day-one pagination patterns for all list endpoints
04Guides safe, non-breaking additive schema evolution and versioning
05Enforces contract-first design with explicit request/response typing
06Provides boundary validation rules to reject malformed inputs early
Use Cases
01Standardizing error handling, pagination, and naming across microservices
02Architecting new REST or RPC backend endpoints in Go, TypeScript, or PHP
03Conducting API schema reviews to prevent breaking changes and ensure consistency