api-design-ops

Solid

API design patterns for REST, gRPC, and GraphQL. Use for: api design, REST, gRPC, GraphQL, protobuf, schema design, api versioning, pagination, rate limiting, error format, OpenAPI, API authentication, JWT, OAuth2, API gateway, webhook, idempotency.

API & Backend 42 stars 7 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
54
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# API Design Ops Comprehensive API design patterns covering REST (advanced), gRPC, and GraphQL. This skill provides decision frameworks, design patterns, and implementation guidance for building production APIs. ## API Style Decision Tree ``` What kind of API do you need? | +-- Internal microservice-to-microservice? | +-- High throughput, low latency needed? --> gRPC | +-- Streaming (real-time data, logs)? --> gRPC (bidirectional streaming) | +-- Simple request/response, team comfort? --> REST | +-- Public-facing API? | +-- Third-party developers consuming it? --> REST (widest compatibility) | +-- Mobile app with varied data needs? --> GraphQL | +-- Browser-only, simple CRUD? --> REST | +-- Frontend for your own app? | +-- Multiple clients with different data shapes? --> GraphQL | +-- Single client, straightforward data? --> REST | +-- Real-time updates needed? --> GraphQL subscriptions or SSE | +-- IoT / embedded / constrained devices? | +-- Binary efficiency matters? --> gRPC | +-- HTTP-only environments? --> REST ``` ### Quick Comparison | Concern | REST | gRPC | GraphQL | |---------|------|------|---------| | Transport | HTTP/1.1+ | HTTP/2 | HTTP (any) | | Serialization | JSON (text) | Protobuf (binary) | JSON (text) | | Schema | OpenAPI (optional) | .proto (required) | SDL (required) | | Browser support | Native | Via gRPC-Web/Connect | Native | | Caching | HTTP caching built-in | Custom | Custom (normalized) | | Learning curve | Low | Medium |...

Details

Author
0xDarkMatter
Repository
0xDarkMatter/claude-mods
Created
10 months ago
Last Updated
1 weeks ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category