Skills for Real Engineers. Straight from my .agents directory.
saga-orchestration
Agent skill fromwshobson/agents
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.
How to install saga-orchestration
npx skills add wshobson/agents# or add only this skill to Claude Code: copy the folder
plugins/backend-development/skills/saga-orchestration/
# into
~/.claude/skills/saga-orchestration/ (all projects)
.claude/skills/saga-orchestration/ (one project)
1# Saga Orchestration23Patterns for managing distributed transactions and long-running business processes without two-phase commit.45## Inputs and Outputs67**What you provide:**8- Service boundaries and ownership (which service owns which step)9- Transaction requirements (which steps must be atomic, which can be eventual)10- Failure modes for each step (transient vs. permanent, retry policy)11- SLA requirements per step (informs timeout configuration)12- Existing event/messaging infrastructure (Kafka, RabbitMQ, SQS, etc.)1314**What this skill produces:**15- Saga definition with ordered steps, action commands, and compensation commands16- Orchestrator or choreography implementation for your chosen pattern17- Compensation logic for each participant service (idempotent, always-succeeds)18- Step timeout configuration with per-step deadlines19- Monitoring setup: state machine metrics, stuck saga detection, DLQ recovery2021---2223## When to Use This Skill2425- Coordinating multi-service transactions without distributed locks26- Implementing compensating transactions for partial failures27- Managing long-running business workflows (minutes to hours)28- Handling failures in distributed systems where atomicity is required29- Building order fulfillment, approval, or booking processes30- Replacing fragile two-phase commit with async compensation3132---3334## Detailed section: Core Concepts3536Moved to `references/details.md`.3738## Detailed section: Templates3940Moved to `references/details.md`.4142## Best Practices43…
Excerpt shown under the repository's MIT license.
More skills in agents
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
