API Design Patterns & Architecture

0•

Guides the selection and implementation of optimal API architectures including REST, GraphQL, and tRPC with best practices for security and performance.

This skill empowers Claude to act as a senior API architect, helping developers move beyond rote implementation to thoughtful design. It provides a comprehensive framework for selecting the right API style—whether it's REST, GraphQL, or tRPC—based on specific project needs, while enforcing industry standards for response formatting, versioning, authentication, and rate limiting. By focusing on selective reading and architectural decision-making, it ensures that backend services are scalable, secure, and developer-friendly while avoiding common anti-patterns like inconsistent response formats and improper status codes.

Key Features

01Strategic planning for API versioning across URI, Header, and Query parameters
020 GitHub stars
03Decision trees for selecting REST, GraphQL, or tRPC architectures
04Automated API endpoint validation via internal Python scripts
05Implementation guides for JWT, OAuth, and modern Passkey authentication
06Standardized response structures including envelope patterns and error formats

Use Cases

01Architecting a new backend service for a TypeScript monorepo using tRPC
02Designing a scalable pagination and rate-limiting strategy for public-facing endpoints
03Auditing an existing REST API for OWASP security risks and naming consistency