# Saga Orchestration

> Implement saga patterns for distributed transactions and cross-aggregate workflows. Use when coordinating multi-step business processes, handling compensating transactions, or managing long-running workflows.

- Skill: `dokhacgiakhoa/saga-orchestration` (Agent Skill, multi-file: 9 files)
- Install (CLI): `npx skillmds@latest add dokhacgiakhoa/saga-orchestration`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dokhacgiakhoa/saga-orchestration/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Dokhacgiakhoa (https://skillmd.com/u/dokhacgiakhoa)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/dokhacgiakhoa/saga-orchestration

---


# Saga Orchestration

Patterns for managing distributed transactions and long-running business processes.

## Do not use this skill when

- The task is unrelated to saga orchestration
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.

## Use this skill when

- Coordinating multi-service transactions
- Implementing compensating transactions
- Managing long-running business workflows
- Handling failures in distributed systems
- Building order fulfillment processes
- Implementing approval workflows

## Core Concepts

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [1. Saga Types](./sub-skills/1-saga-types.md)
### 2. [2. Saga Execution States](./sub-skills/2-saga-execution-states.md)
### 3. [Template 1: Saga Orchestrator Base](./sub-skills/template-1-saga-orchestrator-base.md)
### 4. [Template 2: Order Fulfillment Saga](./sub-skills/template-2-order-fulfillment-saga.md)
### 5. [Template 3: Choreography-Based Saga](./sub-skills/template-3-choreography-based-saga.md)
### 6. [Template 4: Saga with Timeouts](./sub-skills/template-4-saga-with-timeouts.md)
### 7. [Do's](./sub-skills/dos.md)
### 8. [Don'ts](./sub-skills/donts.md)

