Skip to main content

Module workflow

Module workflow 

Source
Expand description

Workflow catalog entries (catalog/workflows.json).

Workflow scripts live in .claude/workflows/ as executable JavaScript whose bodies call runtime globals that only exist inside the workflow engine. The TUI never parses those scripts: scripts/generate-workflow-catalog.mjs extracts each script’s meta block into generated catalog JSON, and this module deserializes that — the same read-first contract every other catalog model follows.

Structs§

Workflow
A workflow discovered in .claude/workflows/.
WorkflowCatalog
The catalog/workflows.json document.
WorkflowPhase
One phase of a workflow, as declared in the script’s meta.phases.