From grimoire
Decomposes monoliths or designs new microservices systems using DDD bounded contexts and proven patterns from Netflix/Amazon. Guides service decomposition, contracts, data strategy, and observability.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:design-microservicesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Decompose a system into independently deployable services aligned to business capabilities using bounded contexts.
Decompose a system into independently deployable services aligned to business capabilities using bounded contexts.
Adopted by: Netflix, Amazon, Uber, Spotify — all publicly documented their migrations from monoliths Impact: Amazon's service decomposition enabled teams to deploy independently, reducing release cycle from months to minutes; Netflix processes 2+ billion API requests/day across ~700 microservices.
Why best: DDD bounded contexts provide the natural seam for service decomposition — they align services to business domains, minimize cross-service coupling, and give each team a clear ownership boundary. Sam Newman's patterns (strangler fig, anti-corruption layer) provide proven migration paths.
E-commerce decomposition:
order-service — creates and tracks orders; publishes OrderPlaced events.inventory-service — listens for OrderPlaced, reserves stock, publishes StockReserved.payment-service — listens for StockReserved, charges customer.Each service has its own DB; communication is via Kafka events; no service calls another's DB directly.
npx claudepluginhub jeffreytse/grimoire --plugin grimoireDesigns microservices decomposition using DDD: bounded contexts, service boundaries, communication patterns, data ownership, and migration roadmap. For monolith decomposition or greenfield service design.
Designs service boundaries using DDD bounded contexts and functional cohesion. Helps decompose monoliths or design new microservices with appropriate granularity.
Designs microservices architectures with service boundaries, event-driven communication, and resilience patterns. Useful when building distributed systems, decomposing monoliths, or implementing microservices.