API Design Patterns

0•

Guides architectural decision-making, schema design, and best practices across REST, GraphQL, and tRPC APIs.

The API Patterns skill equips Claude with structured frameworks and best practices for modern API architecture, helping developers choose the right paradigm among REST, GraphQL, and tRPC. It provides standard conventions for resource naming, error handling envelopes, cursor and offset pagination, versioning schemes, authentication flows, and rate-limiting algorithms. Additionally, it integrates OWASP API Top 10 security audits and automated validation scripts to ensure robust, production-ready interfaces across any backend stack.

Key Features

01Standardized response envelope patterns, error formatting, and pagination schemas
020 GitHub stars
03API versioning strategies across URI paths, custom headers, and query parameters
04Authentication pattern guidance covering JWTs, OAuth, Passkeys, and API keys
05Architectural decision trees for selecting between REST, GraphQL, and tRPC
06Security hardening guidelines aligned with the OWASP API Security Top 10

Use Cases

01Auditing existing endpoints for OWASP API security vulnerabilities and anti-patterns
02Architecting a new backend API from scratch with optimal communication protocols
03Standardizing error handling, response schemas, and pagination across microservices