API Architecture Patterns

0•

Guides API design decisions and architecture patterns for REST, GraphQL, and tRPC services with a focus on modern best practices.

This skill provides a comprehensive decision-making framework for modern API design, moving beyond simple templates to help developers think critically about their architecture. It offers domain-specific guidance on choosing between REST, GraphQL, and tRPC, while providing standardized implementation patterns for pagination, versioning, and response structures. Whether you are building a new backend service or auditing an existing one for security and scalability, this skill ensures your API follows 2025 industry standards for performance and developer experience.

主要功能

01Comprehensive guidance on URI, Header, and Query-based versioning
02Decision trees for selecting between REST, GraphQL, and tRPC protocols
030 GitHub stars
04Standardized patterns for response envelopes, error formats, and pagination
05Security implementation patterns for JWT, OAuth, and rate limiting
06Automated API endpoint validation via built-in Python scripts

使用场景

01Designing a scalable pagination and versioning strategy for a public-facing REST API
02Architecting a new backend service and selecting the most appropriate communication protocol
03Conducting security audits to protect endpoints against OWASP API Top 10 vulnerabilities