The API Patterns skill transforms Claude into a senior API architect, providing structured decision-making frameworks for backend development. It moves beyond boilerplate code by teaching developers how to choose the right protocol—whether it's the resource-based approach of REST, the flexibility of GraphQL, or the type-safety of tRPC—based on specific project contexts. The skill covers the entire API lifecycle, including resource naming, consistent response formatting, versioning strategies, authentication patterns, and security measures like rate limiting, ensuring that resulting interfaces are scalable, secure, and developer-friendly.
主な機能
01Comprehensive versioning strategies across URI, Header, and Query parameters
02Documentation standards using OpenAPI and Swagger best practices
03Standardized response envelopes, error formats, and pagination logic
04Architectural decision trees for REST, GraphQL, and tRPC selection
050 GitHub stars
06Security best practices for JWT, OAuth, Passkeys, and rate limiting
ユースケース
01Selecting the optimal API protocol for a new full-stack TypeScript project
02Standardizing error handling and response formats across distributed microservices
03Planning a non-breaking versioning strategy for an evolving public API