Help us improve
Share bugs, ideas, or general feedback.
From system-design
Apply proven microservices patterns including saga, circuit breaker, bulkhead, and eventual consistency. Use when designing service-to-service communication and handling distributed failures.
npx claudepluginhub sethdford/claude-skills --plugin architect-system-designHow this skill is triggered — by the user, by Claude, or both
Slash command
/system-design:microservices-patternsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Master distributed system patterns that enable loose coupling, resilience, and independent deployability across service boundaries.
Designs microservices architectures with service boundaries, event-driven communication, and resilience patterns. Useful when building distributed systems, decomposing monoliths, or implementing microservices.
Guides microservices decomposition, service boundaries, inter-service communication, distributed data management, and resilience patterns for building distributed systems.
Provides guidance on microservices patterns for service boundaries, inter-service communication, data management, and resilience. Useful for monolith decomposition and distributed systems.
Share bugs, ideas, or general feedback.
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.