API Design Patterns

0•

Architects robust, scalable APIs by providing decision-making frameworks for REST, GraphQL, and tRPC implementations.

This skill equips Claude with a comprehensive framework for modern API architecture, moving beyond simple endpoint creation to high-level system design. It provides structured guidance on choosing between REST, GraphQL, and tRPC based on project context, while ensuring consistency in response formats, versioning, and pagination. By integrating security best practices and standardized naming conventions, it helps developers build production-ready backends that are maintainable, secure, and well-documented.

Key Features

01Decision trees for selecting between REST, GraphQL, and tRPC protocols
02Best practices for API versioning and OpenAPI documentation
03Standardized response structures, error formatting, and pagination patterns
040 GitHub stars
05Automated API endpoint validation via integrated Python scripts
06Comprehensive security guidance covering OWASP Top 10 and Auth patterns

Use Cases

01Architecting a new backend service for a TypeScript-based monorepo
02Standardizing error handling and response envelopes across an existing API
03Auditing API security and implementing rate-limiting strategies