API Design Patterns & Strategy
Guides the architectural selection and implementation of modern API patterns including REST, GraphQL, and tRPC.
This skill provides a comprehensive framework for making informed decisions about API architecture, moving beyond boilerplate implementation to strategic design. It assists developers in selecting the optimal API style—REST, GraphQL, or tRPC—based on project requirements, while ensuring consistency in response formats, versioning, authentication, and security. By following its decision trees and checklists, developers can build robust, scalable, and well-documented backends that adhere to 2025 industry standards and avoid common architectural anti-patterns.
Key Features
01Security implementation patterns for JWT, OAuth, and Passkeys
02Multi-strategy versioning plans (URI, Header, or Query-based)
03Decision trees for choosing between REST, GraphQL, and tRPC styles
040 GitHub stars
05Best practices for OpenAPI/Swagger documentation and rate limiting
06Standardized response formatting including envelope patterns and error handling
Use Cases
01Refactoring an inconsistent legacy API to follow modern RESTful principles
02Designing a secure and scalable authentication and rate-limiting system for public-facing services
03Architecting a new full-stack application and choosing the best communication protocol