API Design Patterns & Architecture

•
2
•

Architects high-quality API structures using industry-standard principles for REST, GraphQL, and tRPC implementations.

The API Patterns skill transforms Claude into a senior systems architect capable of designing robust, scalable, and secure interfaces. It provides a structured framework for choosing between REST, GraphQL, and tRPC based on specific project needs, while enforcing best practices for resource naming, response formatting, and versioning. By leveraging a comprehensive content map that covers everything from authentication patterns to rate limiting, this skill ensures that your API design is consistent, follows 2025 standards, and avoids common anti-patterns that lead to technical debt.

Key Features

012 GitHub stars
02Security-first design including JWT, OAuth, and OWASP API protection
03Standardized response patterns for pagination, errors, and envelopes
04Automated endpoint validation scripts and documentation best practices
05Architectural decision trees for REST, GraphQL, and tRPC selection
06Comprehensive versioning strategies (URI, Header, and Query)

Use Cases

01Implementing advanced API features like rate-limiting and robust authentication
02Selecting the optimal API protocol for a new full-stack TypeScript project
03Refactoring inconsistent legacy API endpoints into a standardized RESTful structure