Sign in
Explore
Skills · SkillBackend & APIsReviewed

saga-orchestration

Saga patterns for distributed transactions and cross-aggregate workflows.

Kind
Skill
Works with
Claude Code, Codex
Source
wshobson/agents @ 0874a27b17a2
Path
plugins/backend-development/skills/saga-orchestration/SKILL.md
License
MIT
Jobs
Implementation
InstallInstall it from a plugin marketplace.
/plugin install backend-development@claude-code-workflows
# 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

- Coordinating multi-service transactions without distributed locks
- Implementing compensating transactions for partial failures
- Managing long-running business workflows (minutes to hours)
…