What problem does it solve?
Designing APIs that are scalable, consistent, and easy to evolve across REST, GraphQL, and tRPC often leads to fragmentation and governance gaps. This Skill provides structured guidance to unify patterns, naming, versions, and schemas.
Core Features & Use Cases
- REST API design: establish clear resource names, standard HTTP methods, consistent status codes, versioning, pagination, and filtering.
- GraphQL design: craft clear schemas, type definitions, and resolver patterns to optimize data fetching and evolution.
- tRPC patterns: define type-safe routers, procedures, and client usage for end-to-end type contracts.
- Use Case: design a public API for a product, build internal microservices with uniform contracts, or expose SDKs with stable interfaces.
Quick Start
Define a basic API design for a sample User service by outlining REST endpoints (GET /api/users, GET /api/users/:id), a GraphQL User type and a tRPC router skeleton, and document the expected responses.