create-workflow turns a plain-English description into a real, runnable Smithers
workflow. It is the authoring counterpart to the rest of the pack: instead of
hand-writing a .tsx graph and its prompts, you describe what you want and the
workflow clarifies it, gathers the right docs and skills, designs the graph, scaffolds
the files, verifies the graph renders, and writes an agent-facing skill doc.
bunx smithers-orchestrator approve RUN_ID --node approve-design, or run
autonomously with --input '{"review":false}'.
Stages
- clarify: turn the freeform ask into a structured, buildable spec (goal, trigger, inputs, stages, loops, human gates, success criteria).
- provision: pull the relevant
llms-*.txtdocs, find the closestexamples/template, pick components to compose, and install the worker skills the new workflow needs (bunx smithers-orchestrator skills add). - design: produce the concrete graph blueprint (schemas, tasks, JSX shape, prompts to author).
- approve-design: durable human approval gate (skippable via
review: false). - scaffold: write the workflow
.tsxand its.mdxprompts to.smithers/. - verify:
bunx smithers-orchestrator graphthe new workflow (load + render without executing); a fix agent edits and retries until it renders cleanly. - document: write a skill doc so future agents know how to run the new workflow.
Inputs
| Input | Type | Default |
|---|---|---|
prompt | string | "Describe the workflow you want to build, in plain English." |
name | string or null | null (the clarify/design steps choose a kebab-case id) |
review | boolean | true (pause for design approval before writing files) |
Monitor it
.smithers/ pack without
learning the full authoring API first. The workflow grounds its design in the real
Smithers components and verifies the result before handing it back.