API Design Patterns & Architecture

0•

Provides expert architectural guidance for designing robust, secure, and scalable APIs using modern protocols like REST, GraphQL, and tRPC.

This skill equips Claude with a comprehensive framework for API architectural decision-making, moving beyond boilerplate code to strategic design. It offers deep insights into selecting the right protocol for specific contexts, structuring consistent response formats, implementing secure authentication, and managing API evolution through versioning and documentation best practices. Whether building a TypeScript monorepo with tRPC or a public-facing RESTful service, this skill ensures the resulting API follows industry standards and avoids common anti-patterns like inconsistent formatting or improper status code usage.

Key Features

01Standardized response structures, error formats, and pagination patterns
02Security implementation guidance for JWT, OAuth, and OWASP Top 10
03Best practices for OpenAPI/Swagger documentation and rate limiting
040 GitHub stars
05API evolution strategies including URI, Header, and Query versioning
06Context-aware decision trees for REST vs. GraphQL vs. tRPC selection

Use Cases

01Determining the most efficient API protocol for a new project based on consumer needs
02Refactoring existing endpoints to follow consistent resource naming and status codes
03Auditing API security to implement rate limiting and hardened authentication