API Patterns & Design Guide
Guides modern API architecture decisions, schema designs, and security standards across REST, GraphQL, and tRPC.
The API Patterns skill equips Claude with structured frameworks and decision trees for designing robust, scalable, and secure APIs. Instead of defaulting to rigid templates, it helps engineers evaluate the right communication protocol (REST vs. GraphQL vs. tRPC), enforce consistent response envelope and pagination patterns, implement authentication and rate limiting, and conduct security reviews against OWASP API Top 10 vulnerabilities. It is ideal for developers architecting new backend services, modernizing legacy endpoints, or standardizing API contracts across teams.
Características Principales
01Standardized response formatting for pagination, errors, and metadata envelopes
026 GitHub stars
03Authentication and rate-limiting pattern recommendations (JWT, OAuth, token bucket)
04Security testing workflows aligned with OWASP API Top 10 standards
05Protocol selection framework comparing REST, GraphQL, and tRPC
06API endpoint validator script to catch anti-patterns and routing errors
Casos de Uso
01Designing consistent error-handling, envelope structures, and pagination for public APIs
02Auditing existing API endpoints for naming anti-patterns, rate limiting, and security flaws
03Evaluating whether to adopt REST, GraphQL, or tRPC for a new full-stack application