API Design Patterns
Guides the architecture and implementation of robust APIs using REST, GraphQL, or tRPC standards.
The API Patterns skill transforms Claude into a senior API architect capable of navigating complex design decisions. It provides structured guidance on selecting the right communication protocol for your specific context, implementing consistent response formats, and planning for long-term scalability through versioning and rate limiting. By following industry best practices and avoiding common anti-patterns like verb-based REST endpoints or inconsistent error handling, this skill ensures your backend services are secure, maintainable, and developer-friendly.
Key Features
01Multi-strategy versioning planning (URI, Header, or Query)
02API protection strategies including rate limiting and OWASP security testing
03Comprehensive decision trees for REST vs. GraphQL vs. tRPC selection
04Standardized response structures, error formats, and pagination patterns
05Security-first authentication patterns including JWT, OAuth, and Passkeys
060 GitHub stars
Use Cases
01Evaluating and selecting the best API protocol for a new TypeScript monorepo
02Designing a standardized error and pagination response envelope for a legacy REST API
03Conducting a security audit to align API endpoints with OWASP Top 10 standards