duraflows-persistence-adapter
CommunityBuild your own duraflows persistence adapters.
Authorcamcima
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Guides developers to implement custom duraflows persistence adapters that plug into Prisma, Drizzle, TypeORM, or other ORMs, enabling you to replace the default @duraflows/pg integration with your own database library.
Core Features & Use Cases
- Provides a standard way to implement three core interfaces: WorkflowInstanceStore, WorkflowHistoryStore, and WorkflowTransactionRunner, enabling database-agnostic runtimes.
- Demonstrates how to wire adapters into the Duraflows runtime (WorkflowModule) and how to validate behavior with the conformance tests.
- Use cases include migrating to a new ORM, swapping persistence layers, or integrating custom persistence logic while preserving runtime guarantees like locking and transactions.
Quick Start
Implement the three interfaces in your ORM of choice and wire the adapter into your WorkflowModule to begin using a custom persistence layer.
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: duraflows-persistence-adapter Download link: https://github.com/camcima/duraflows/archive/main.zip#duraflows-persistence-adapter 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.