workflow-state-machine-design

Community

Design robust multi-tenant workflow engines in Go.

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Addresses the complexity of modeling and enforcing entity lifecycles across tenants by providing a reusable blueprint for state machines, guards, and side effects in Go.

Core Features & Use Cases

  • Table-driven or state-pattern workflows configurable per tenant
  • Canonical and domain-specific states with guards and side effects
  • Timer/deadline integration with business-hours calendars and PostgreSQL storage
  • NATS JetStream event publishing for domain events
  • Pseudocode, complexity analysis, and test scenarios for domain entity state machines

Quick Start

Provide a tenant-scoped workflow design for a domain entity and implement a small example in Go 1.26+ to validate transitions and guards.

Dependency Matrix

Required Modules

None required

Components

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: workflow-state-machine-design
Download link: https://github.com/PremModhaOfficial/motadata-ai-pipeline/archive/main.zip#workflow-state-machine-design

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.