← wshobson/agents

/saga-orchestration

寫程式wshobson/agentsAI翻譯

為分散式交易與跨 aggregate 工作流程實作 saga 模式。適用於無法使用 2PC 的微服務分散式交易,以及為跨庫存、付款與出貨的失敗訂單流程設計補償動作。

安裝次數
1.1 萬
專案星數
4.2 萬 ★
授權
MIT
專案更新
2026-11-02

怎麼裝

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

安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。

原文

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.