/system-design:api-gateway-designfrom system-design
Design API gateways that route, authenticate, rate-limit, and aggregate backend services. Use when building client-facing APIs or managing service boundaries.
Ships in system-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Design robust API gateways that handle authentication, rate limiting, routing, and response aggregation for backend services.
You are designing an API layer. The user is building client-facing APIs, managing multiple backends, or handling cross-cutting concerns like auth and rate limiting. Read their current API structure.
Based on Sam Newman's API Gateway pattern and Kong/AWS API Gateway reference implementations:
Define Gateway Responsibilities: What should the gateway do?
Design Routing Rules: Map API paths to backend services. Example:
/api/users/* → user-service
/api/orders/* → order-service
/api/inventory/* → inventory-service
Implement Authentication: Centralize JWT validation or OAuth2 token exchange. Avoid pushing auth to every backend. Include refresh token handling.
Configure Rate Limiting: Per-user limits (1000 req/min) and per-API limits (10k req/min total). Include exponential backoff and retry-after headers.
Handle Response Aggregation: For queries needing data from multiple services, aggregate at gateway. Example: order detail page fetches from order-service + inventory-service + pricing-service.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sethdford/claude-skills --plugin architect-system-design10 skills in this plugin
/caching-strategyDesign multi-layer caching strategies (client, edge, service, database) for performance. Use when optimizing latency or reducing database load./cqrs-designSeparate command (write) and query (read) models for complex domains. Use when read/write patterns diverge significantly or when audit/consistency requirements demand immutability./data-partitioningDesign partitioning and sharding strategies for data at scale. Use when single database hits throughput or storage limits./domain-driven-designApply DDD principles to model business domains, design aggregates, and establish clear language across teams. Use when modeling complex business logic or integrating domain experts./event-driven-architectureDesign systems that communicate through events instead of direct service calls. Use when building loosely-coupled, scalable, and resilient architectures./microservices-patternsApply proven microservices patterns including saga, circuit breaker, bulkhead, and eventual consistency. Use when designing service-to-service communication and handling distributed failures.Other plugins' skills for the same job