saga

Community

Orchestrate distributed sagas across services.

Authormthang1801
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Coordinating distributed transactions across microservices can be fragile without a formal orchestration pattern. This Skill provides a structured approach to implementing Saga-based workflows using the core abstractions SagaDefinition, SagaStep, and SagaManager, including idempotency, compensation, and strict reply header contracts.

Core Features & Use Cases

  • Orchestrator and steps defined via SagaDefinition and SagaStep with deterministic sequencing.
  • Remote command invocation with compensation handling and eventual consistency across services.
  • Idempotent orchestration with header-driven routing and Kafka-based messaging to coordinate distributed flows.

Quick Start

Create and run a basic OrderPlacementSaga using the example files to validate the end-to-end flow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: saga
Download link: https://github.com/mthang1801/go-domain-driven-design/archive/main.zip#saga

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.