Skip to main content

Module templates

Module templates 

Source
Expand description

Prompt templates are embedded at compile time from prompts/.

Markdown prompt files carry YAML front matter (name, version, description, references) that is metadata for humans and tooling. It must never be sent to agents, so the accessors below strip front matter before returning the template content.

Modules§

examples
Example .zwf files for each orchestration pattern — embedded at compile time and written to ~/.zig/examples/ during workflow creation or update.

Functions§

config_sidecar
.zwf format specification — injected as a reference sidecar into prompts that need to produce or reason about .zwf files.
create
System prompt for zig workflow create — the interactive workflow design agent.
update
System prompt for zig workflow update — the interactive workflow revision agent.