effect-workflow
CommunityBuild durable sagas with Effect workflows
Software Engineering#idempotency#effect#durable workflows#saga compensation#durable timers#durable deferred#effect cluster
Authormpsuesser
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you design durable, restart-safe workflows in TypeScript so side effects run reliably, results persist across replays, and long-running steps can wait for external signals.
Core Features & Use Cases
- Durable workflow execution: Define workflows with typed payloads and deterministic idempotency so repeated executions resume instead of duplicating work.
- Atomic side effects via activities: Model external calls as activities whose results are persisted, making replay safe and predictable.
- Saga-style compensation: Add rollback logic using
Workflow.withCompensationto implement compensation for distributed failures. - External event & timers: Use
DurableDeferredto wait for durable signals andDurableClockfor restart-safe sleep. - Cluster-friendly execution: Integrate with
ClusterWorkflowEngine.layerfor distributed durability.
Quick Start
Ask the assistant to implement a durable order-processing workflow that validates input, reserves inventory with compensation, waits for a payment confirmation signal, sleeps before shipping, and then executes shipping as an activity using Effect’s unstable workflow APIs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: effect-workflow Download link: https://github.com/mpsuesser/pi-effect-harness/archive/main.zip#effect-workflow Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.