API Design Patterns & Architecture
Guides the selection and implementation of modern API architectures including REST, GraphQL, and tRPC with standardized best practices.
This skill provides a comprehensive framework for designing scalable, secure, and maintainable APIs by helping developers navigate complex architectural decisions. It moves beyond simple pattern copying by offering decision trees for choosing between REST, GraphQL, and tRPC based on specific project needs. The skill covers essential design elements such as resource naming, response envelope patterns, versioning strategies, and robust authentication protocols like JWT and OAuth. It also includes guidance on security audits via OWASP standards and provides a validation script to ensure implementation consistency across your project.