What problem does it solve? Coordinating transactions across multiple microservices without two-phase commit leaves systems vulnerable to partial failures and inconsistent state. This Skill provides orchestration and choreography saga patterns with compensating transactions, idempotency guards, and timeout handling so distributed workflows like order fulfillment and bank transfers roll back cleanly on failure. ## Core Features & Use Cases - Orchestration and Choreography Templates: Ready-to-adapt Python implementations for both coordinator-driven and event-driven saga styles, including a full abstract SagaOrchestrator base class. - Compensation and Idempotency Patterns: Reverse-order rollback logic, idempotent step guards, and DLQ recovery workers that keep compensation paths safe under retries and restarts. - Production Monitoring: Prometheus metrics, stuck-saga PromQL alerts, and per-step timeout configuration for detecting and recovering from hung workflows. - Use Case: Build an order fulfillment flow spanning inventory, payment, shipping, and notification services where a payment failure automatically releases the inventory reservation and notifies the customer. ## Quick Start Ask the AI to implement an orchestrated saga for your multi-service workflow, listing your participant services, their steps, and the compensation action for each step.