SKILL10.8K installs41.8K

Saga Orchestration

Implement saga patterns for distributed transactions and cross-aggregate workflows. Use this skill when implementing distributed transactions across microservices where 2PC is unavailable, designing compensating actions for failed order workflows that span inventory, payment, and shipping services, building event-driven saga coordinators for travel booking systems that must roll back hotel, flight, and car rental reservations atomically, or debugging stuck saga states in production where compensation steps never complete.

Type
Skill
Author
wshobson
Category
Backend
GitHub stars
41.8K
Installs
10.8K
Last updated
November 2, 2026

Install

npx skills add https://github.com/wshobson/agents --skill saga-orchestration

Use cases


Frequently Asked Questions

When should I use saga orchestration instead of two-phase commit?

Use it when 2PC is unavailable, such as distributed transactions across microservices that need compensating actions instead of a single atomic commit.

What kinds of workflows does this skill cover?

Order workflows spanning inventory, payment, and shipping, plus event-driven coordinators for travel bookings that must roll back hotel, flight, and car rental reservations.

Can it help with production issues?

Yes, it addresses debugging stuck saga states where compensation steps never complete.


About this skill

Implements saga patterns for distributed transactions and cross-aggregate workflows where two-phase commit isn't available. It covers compensating actions for order flows spanning inventory, payment, and shipping, plus event-driven coordinators for bookings that must roll back atomically. It also addresses debugging stuck saga states where compensation steps never finish.

Summary written with AI assistance from the project's public description.


Categories


More from wshobson


Similar Skills