Prompt file imported from slabgorb/slabgorb.github.io (
.claude/commands/pf-epic.md). Copyright stays with the author.
description: Epic conductor: brainstorm → plan → materialize → execute → review args: "[start|close] "
/pf-epic — Epic Conductor
Drives an epic end-to-end: brainstorm → plan → materialize → execute → rollup review. The superpowers plan is the source of truth; the epic YAML is a generated ledger.
Flow
- Brainstorm — invoke
superpowers:brainstorming. Output: a spec underdocs/superpowers/specs/. - Plan — invoke
superpowers:writing-plans. Output: a plan underdocs/superpowers/plans/. Each### Task Nis one unit of work and becomes one PF story. (Story ids do not exist yet —from-planassigns them in the next step.) - Materialize — ensure the epic exists (
pf epic add <id> "<title>"if needed), then run:pf epic from-plan docs/superpowers/plans/<plan>.md <epic-id>This creates oneworkflow: superpowersstory per Task (repos derived from each Task'sFiles:block) and appends a closing step to each Task in the plan:- [ ] **Story <id> complete** — run \pf sprint story complete ``. Re-running is safe (idempotent — already-materialized tasks are skipped). - Execute — invoke
superpowers:subagent-driven-development(preferred) orsuperpowers:executing-plans. The closing step of each Task runspf sprint story complete <id>, which flips the story todoneand checks the plan box. Commits may span multiple repos perrepos.yaml. - Rollup review — once all stories are
done, run one review per affected repo (the union of every story'srepos:), each PR'd to that repo's base branch fromrepos.yaml(via/pf-reviewer). Thenpf epic close <epic-id>.
Gates
- Materialize-before-execute: do not start execution until
pf epic from-planhas created the stories. - Done-before-review: all epic stories must be
donebefore the rollup review.
Notes
- Per-story TEA→Dev→Reviewer phased ceremony is bypassed for
workflow: superpowersstories; the rollup review is the gate. - Existing
pf epicverbs (start,close,show,add,update,promote,archive,cancel,reindex) are unchanged; this addspf epic from-planand a conductor flow on top. - The plan is the source of truth; the epic YAML is generated from it. Edit the plan,
then re-run
pf epic from-planto sync new tasks.
Related
/pf-sprint— Sprint management/pf-reviewer— Rollup review per reposuperpowers:brainstorming— Spec generationsuperpowers:writing-plans— Plan generationsuperpowers:subagent-driven-development— Parallel task execution