claude-plugin/plugins/flowai-workflow/skills/scaffold/SKILL.md
Scaffold or adapt flowai-workflow DAGs in a project. Use for adding flowai-workflow, adapting an existing .flowai-workflow/<name>, validating workflow.yaml, or wiring agent prompts/scripts.
npx skillsauth add korchasa/flowai-workflow scaffoldInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Set up or adapt a flowai-workflow DAG in a repository. Stay meta: do not
assume product names, node names, artifact filenames, browser tools, HITL
transport, release policy, or a specific SDLC shape. Derive all decisions from
the workflow files and the target project.
For YAML field details, read references/workflow-schema.md only when editing
or validating workflow.yaml.
.flowai-workflow/<name> folder, adapt that
folder. Do not run flowai-workflow init..flowai-workflow/ exists but no workflow is named, list child folders
and pick the only workflow. If several plausible workflows exist, ask which
one to adapt.flowai-workflow init --list to inspect bundled
workflows, choose the closest bundle from the user's goal, then run
flowai-workflow init --workflow <name>.init --list fails because the installed package has no bundled
.flowai-workflow/ payload, diagnose the binary/install source. Do not
invent a bundle list. Prefer a local engine checkout or prebuilt binary that
actually contains bundled workflows.For an existing workflow, inspect before editing:
.flowai-workflow/<name>/workflow.yaml..flowai-workflow/<name>/agents/ prompts referenced by system_prompt,
{{file()}}, or {{flow_file()}}..flowai-workflow/<name>/scripts/ used by validation, HITL, prepare, or
failure hooks..flowai-workflow/<name>/memory/ conventions if configured by
defaults.memory_paths or prompt text..flowai-workflow/<name>/.gitignore and project .gitignore ignore rules.AGENTS.md, README, package manifests, task files, CI).Adapt only placeholders and project-specific contracts the workflow already declares. Do not graft in policies from another product. Keep node IDs, artifact names, phases, and validation rules unless the user asked to redesign the workflow or the current config is invalid.
Common adaptation targets:
defaults.runtime, model, effort, permission_mode,
runtime_args.before,
after, prepare_command, validation scripts.{{file()}}, {{flow_file()}},
validation paths, memory paths, ignored run/memory artifacts.flowai-workflow init --list.flowai-workflow init --workflow <name> from the target project.
Use --dry-run first when the user asked to preview writes.init is a copy operation. It should not be treated as completion; the copied
workflow still needs project-specific prompts, commands, paths, and validation.
After edits, validate the actual workflow folder:
flowai-workflow run .flowai-workflow/<name> --dry-run
Use the current CLI shape above. Do not use obsolete commands such as
flowai-workflow validate unless the installed binary's --help explicitly
documents them.
If dry-run fails:
workflow.yaml.runtime, model, runtime_args, or prompt
instructions.End with:
flowai-workflow run .flowai-workflow/<name>.development
Supervisor for one flowai-workflow run (Codex). Starts or resumes a single workflow, diagnoses failures from run artifacts, patches root causes, resumes the same run. Run inside an isolated Codex worker subagent spawned by the `supervise`/`orchestrate` skill.
development
Long-cycle flowai-workflow orchestrator (Codex). Reads project orchestration policy, selects the next workflow, and returns a structured supervisor delegation request. Run inside an isolated Codex worker subagent spawned by the `orchestrate` skill.
data-ai
Live flowai-workflow run supervisor. Use only for requests to run, monitor, continue, or resume a current workflow now. Exclude last-night, finished, post-mortem, root-cause-report, and conceptual questions.
data-ai
Scaffold or adapt flowai-workflow DAGs in a project. Use for adding flowai-workflow, adapting an existing .flowai-workflow/<name>, validating workflow.yaml, or wiring agent prompts/scripts.