Skip to main content
Scaffold a new workflow class and its matching test file under a module’s workflows directory. The @ooneex/workflow dependency is installed if it is not already present.

Usage

ooneex workflow:create [options]

Examples

# Interactive: prompts for the workflow name
ooneex workflow:create

# Provide the name as a flag
ooneex workflow:create --name=Checkout

# Target a specific module
ooneex workflow:create --name=OrderProcessing --module=orders

Options

OptionDescriptionDefault
--nameWorkflow name. Normalized to PascalCase with a Workflow suffix.Prompted if omitted
--moduleTarget module the workflow is created in.shared
--overrideOverwrite the files if they already exist.false

AI Skill

This command ships a matching workflow:create skill. It generates the workflow class and test file, then guides your AI agent through completing a multi-step business process from @ooneex/workflow as an ordered sequence of conditional, reversible transitions that roll back automatically on failure.
ooneex claude:init