Skip to content
bobmatnyc avatar

Api Design Patterns

Comprehensive API design reference covering REST, GraphQL, and gRPC style selection, versioning, pagination, and authentication.

CCM score
55 of 100
skills.sh installs
588
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers REST resource naming, HTTP status codes, error response formats, and pagination, plus GraphQL schema design and gRPC usage
  • Includes a style decision tree comparing REST, GraphQL, and gRPC, with when-to-use and when-to-avoid criteria for each
  • Enforces universal standards such as consistent error structures, versioned breaking changes, and authentication required by default
  • Designed for engineers designing, implementing, or documenting APIs, with deep dives in rest-patterns.md, authentication.md, and related reference files

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill api-design-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

API Design Patterns

Design robust, scalable APIs using proven patterns for REST, GraphQL, and gRPC with proper versioning, authentication, and error handling.

Quick Reference

API Style Selection:

  • REST: Resource-based CRUD, simple clients, HTTP-native caching
  • GraphQL: Client-driven queries, complex data graphs, real-time subscriptions
  • gRPC: High-performance RPC, microservices, strong typing, streaming

Critical Patterns:

  • Versioning: URI (/v1/users), header (Accept: application/vnd.api+json;version=1), content negotiation
  • Pagination: Offset (simple), cursor (stable), keyset (performant)
  • Auth: OAuth2 (delegated), JWT (stateless), API keys (service-to-service)
  • Rate limiting: Token bucket, fixed window, sliding window
  • Idempotency: Idempotency keys, conditional requests, safe retry

See references/ for deep dives: rest-patterns.md, graphql-patterns.md, grpc-patterns.md, versioning-strategies.md, authentication.md

Core Principles

Universal API Design Standards

Apply these principles across all API styles:

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Backend & APIs, Technical Documentation
First seen
Jun 3, 2026

Questions

What is api-design-patterns?

api-design-patterns is an agent skill listed on Claude Marketplaces in the Backend & APIs category. The listing describes api-design-patterns like this: Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices.

How do I install api-design-patterns?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill api-design-patterns -y in a project to install api-design-patterns. After that, the agent can use api-design-patterns in that project.

Which category is api-design-patterns in?

api-design-patterns is in the Backend & APIs category on Claude Marketplaces. Other listings in that category next to api-design-patterns include entra-app-registration, neon and firebase-basics.

Where is the source code of api-design-patterns?

The source code of api-design-patterns is on GitHub at https://github.com/bobmatnyc/claude-mpm-skills. The bobmatnyc account on GitHub publishes api-design-patterns.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Api Design Patterns

More Backend & APIs