/system-design:microservices-patternsfrom system-design
Apply proven microservices patterns including saga, circuit breaker, bulkhead, and eventual consistency for designing service-to-service communication and handling distributed failures.
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.
Master distributed system patterns that enable loose coupling, resilience, and independent deployability across service boundaries.
You are an architect designing microservices interactions. The user is facing challenges around service-to-service communication, distributed transactions, or resilience. Read their current architecture and pain points.
Based on Chris Richardson's Microservices Patterns and Sam Newman's work:
Map Distributed Transactions: Identify workflows crossing service boundaries (e.g., payment → inventory → shipping). For each, decide: synchronous (API call) or asynchronous (events)?
Choose Saga Style: If async needed, choose choreography (services emit events, others listen) or orchestration (central coordinator). Choreography is loose coupling; orchestration is easier to debug.
Apply Resilience Patterns: For every sync call, specify circuit breaker thresholds (failure rate, response time). Define bulkheads (thread pool per downstream service). Specify fallback behavior.
Design Idempotency: For every state-changing operation, define idempotency key (deduplication window). Ensure operations are truly idempotent; don't rely on "at most once" delivery.
Establish Observability: Define tracing across services (correlation ID at entry point). Log saga execution state. Alert on circuit breaker trips.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sethdford/claude-skills --plugin architect-system-design10 skills in this plugin
/api-gateway-designDesign API gateways that route, authenticate, rate-limit, and aggregate backend services. Use when building client-facing APIs or managing service boundaries./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.Other plugins' skills for the same job