
Saga Orchestration
Handles distributed transaction patterns when you can't use two-phase commit across microservices. Generates orchestrator implementations that coordinate multiple services with proper compensation logic, timeout handling, and failure recovery. Also covers choreography patterns where services react to each other's events without a central coordinator. The templates include concrete order fulfillment workflows spanning inventory, payment, and shipping services. Good for complex business processes that need to roll back partially completed work when something fails downstream. The compensation logic is built to be idempotent and includes monitoring for stuck saga states.
- skills.sh installs
- 11.1K
- GitHub stars
- 42.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wshobson/agents --skill saga-orchestration --agent claude-codeInstalls into .claude/skills of the current project.
Files
Saga Orchestration
Patterns for managing distributed transactions and long-running business processes without two-phase commit.
Inputs and Outputs
What you provide:
- Service boundaries and ownership (which service owns which step)
- Transaction requirements (which steps must be atomic, which can be eventual)
- Failure modes for each step (transient vs. permanent, retry policy)
- SLA requirements per step (informs timeout configuration)
- Existing event/messaging infrastructure (Kafka, RabbitMQ, SQS, etc.)
What this skill produces:
- Saga definition with ordered steps, action commands, and compensation commands
- Orchestrator or choreography implementation for your chosen pattern
- Compensation logic for each participant service (idempotent, always-succeeds)
- Step timeout configuration with per-step deadlines
- Monitoring setup: state machine metrics, stuck saga detection, DLQ recovery
When to Use This Skill
Sponsors
Details
- Repository
- github.com/wshobson/agents
- Categories
- Debugging, Automation & Workflows, Finance & Trading
More from wshobson/agents
All 174- Multi Cloud Architecture11.1K
- Spark Optimization11.1K
- Similarity Search Patterns11K
- Vector Index Tuning11K
- Hybrid Cloud Networking11K
- Turborepo Caching11K
- Pci Compliance10.9K
- Projection Patterns10.9K
- Employment Contract Templates10.9K
- Slo Implementation10.8K
- Defi Protocol Templates10.8K
- Team Composition Analysis10.7K
- Mtls Configuration10.7K
- On Call Handoff Patterns10.7K
- Service Mesh Observability10.7K
- Track Management10.7K
- Bazel Build Optimization10.6K
- Istio Traffic Management10.6K
- Nft Standards10.6K
- Linkerd Patterns10.6K
- Parallel Debugging10.4K
- Parallel Feature Development10.3K
- Task Coordination Strategies10.2K
- Multi Reviewer Patterns10.2K