What problem does it solve? Long-running business processes in TypeScript lose all progress when a process restarts, and coordinating retries, external signals, and rollback across distributed steps is error-prone. This Skill guides building durable workflows with the Effect v4 effect/unstable/workflow module so executions survive restarts through event sourcing. ## Core Features & Use Cases - Durable Workflow & Activity Definitions: Define workflows with Workflow.make (payload schemas, idempotency keys) and persist activity results so replays skip re-execution. - Durable Primitives: Use DurableClock for restart-safe sleeps, DurableDeferred for waiting on external signals like webhooks, and DurableQueue for handing work to persisted background workers. - Saga Compensation & Cluster Integration: Register rollback logic with withCompensation and run on ClusterWorkflowEngine.layer for distributed, production-grade durability. - Use Case: Build an order-processing workflow that validates the order, reserves inventory with compensation, waits for a payment webhook via a durable deferred token, sleeps before shipping, and resumes correctly after a server restart. ## Quick Start Use the effect-workflow skill to create a durable order processing workflow with activities, a payment confirmation deferred, and compensation for inventory rollback.