api-patterns

Installation
Summary

Structured decision-making framework for selecting and designing APIs across REST, GraphQL, and tRPC patterns.

  • Provides a content map covering API style selection, resource design, response formats, versioning strategies, authentication, rate limiting, and security testing
  • Includes decision trees and checklists to guide API type selection based on consumer requirements and project context
  • Documents anti-patterns (verb-based endpoints, inconsistent responses, exposed errors) alongside recommended practices for each API style
  • Covers authentication options (JWT, OAuth, Passkeys, API Keys), pagination approaches, and OpenAPI documentation standards
SKILL.md

API Patterns

API design principles and decision-making for 2025. Learn to THINK, not copy fixed patterns.

🎯 Selective Reading Rule

Read ONLY files relevant to the request! Check the content map, find what you need.


📑 Content Map

File Description When to Read
api-style.md REST vs GraphQL vs tRPC decision tree Choosing API type
rest.md Resource naming, HTTP methods, status codes Designing REST API
response.md Envelope pattern, error format, pagination Response structure
graphql.md Schema design, when to use, security Considering GraphQL
Related skills
Installs
853
GitHub Stars
37.3K
First Seen
Jan 20, 2026