workflows/transitions directory. The @ooneex/workflow dependency is installed if it is not already present.
Usage
Examples
Options
| Option | Description | Default |
|---|---|---|
--name | Transition name. Normalized to PascalCase with a Transition suffix. | Prompted if omitted |
--module | Target module the transition is created in. | shared |
--override | Overwrite the files if they already exist. | false |
AI Skill
This command ships a matchingworkflow:transition:create skill. It generates the transition class and test file, then guides your AI agent through implementing a single conditional, reversible step that implements ITransition from @ooneex/workflow for use inside a workflow.
- Claude
- Codex