API & Interface Design
Implements contract-first design principles to create robust, backward-compatible, and well-validated API boundaries and SDK interfaces.
This skill guides the development of high-quality software interfaces by enforcing a contract-first approach. It incorporates critical industry principles such as Hyrum's Law—the observation that all observable behaviors of an interface will eventually be relied upon—and the One-Version Rule for consistency. By focusing on explicit schema definitions (like OpenAPI), clear error semantics, and strict boundary validation, this skill helps developers build sustainable, scalable, and predictable APIs and SDKs that minimize breaking changes and improve integration reliability.
Key Features
01Contract-first design using OpenAPI and schema specifications
02Backward compatibility and migration strategy planning
03Application of Hyrum's Law to prevent unintended behavior dependencies
040 GitHub stars
05Standardized error semantics and HTTP status code mapping
06Rigorous input and output boundary validation
Use Cases
01Designing a public-facing REST or GraphQL API for a new service
02Refactoring internal module boundaries to enforce strict data contracts
03Creating a stable SDK or library interface for third-party developers