dynamic-workflow-patterns
Installation
SKILL.md
Dynamic Workflow Patterns
Purpose
Use this skill to decide whether to call Pi's workflow tool and to design the workflow script well.
A dynamic workflow is a small deterministic JavaScript harness that coordinates subagents. The workflow script holds the loop, branching, fan-out, and intermediate results. Subagents do the file reads, shell commands, research, edits, and verification.
First Decision: Should This Be a Workflow?
Use a workflow when the task benefits from isolated subagent contexts, parallelism, or explicit quality gates.
Good fits: