API and Interface Design

0•

Guides the creation of stable, well-documented APIs and module boundaries using industry best practices like Hyrum's Law and contract-first design.

This skill provides a comprehensive framework for architecting robust software interfaces, focusing on predictability and long-term stability. It helps developers implement essential patterns for REST and GraphQL design, standardized error handling, and strategic boundary validation. By enforcing principles like the 'one-version rule' and intentional exposure of behaviors, the skill ensures that both internal module contracts and public-facing endpoints remain maintainable and resistant to accidental misuse.

Key Features

01Contract-first design methodology for APIs and modules
02Best practices for RESTful pagination, filtering, and resource naming
03Standardized error semantics and HTTP status mapping
04Boundary-based input validation and sanitization strategies
05Backward-compatible interface extension patterns
060 GitHub stars

Use Cases

01Designing new REST or GraphQL endpoints with consistent structures
02Refactoring internal module interfaces to reduce coupling and technical debt
03Defining clear type contracts and boundaries between frontend and backend teams