API Design Patterns
Architects robust, scalable API systems using expert decision frameworks for REST, GraphQL, and tRPC protocols.
The API Patterns skill provides Claude with a sophisticated framework for designing modern backend interfaces, moving beyond simple boilerplate to high-level architectural decision-making. It enables developers to evaluate the trade-offs between REST, GraphQL, and tRPC based on project context, while ensuring industry-standard implementation of pagination, versioning, and response formatting. By integrating security-first principles like OWASP Top 10 mitigation and rate-limiting strategies, this skill ensures that API development is consistent, secure, and prepared for long-term evolution.
Key Features
01Security-focused design covering JWT, OAuth, and rate-limiting patterns
02Standardized response structures including envelope patterns and error handling
031 GitHub stars
04Automated endpoint validation using integrated Python validation scripts
05Comprehensive versioning strategies via URI, Header, or Query parameters
06Architectural decision tree for choosing between REST, GraphQL, and tRPC
Use Cases
01Auditing existing API endpoints for architectural anti-patterns and security risks
02Selecting the optimal API protocol for a new TypeScript-based monorepo
03Standardizing error formats and pagination across a microservices architecture