Epic Run Skill
A user invocation (/epic-run <epic-slug>) forks the epic-orchestrator agent to execute an
epic that epic-planner has already prepared. The epic slug (or a path under
docs/features/epics/) for this run is:
$ARGUMENTS
Procedure
- Resolve the epic home. A bare slug resolves to
docs/features/epics/<epic-slug>/; a path argument resolves to its containing epic folder. - Resolve the committed kickoff artifact
docs/features/epics/<epic-slug>/epic-kickoff.md. It may exist only on the epic integration branch:epic-plancommits it toepic/<epic-slug>-integration(worked in a separate integration worktree), so the worktree that invokes/epic-runis not guaranteed to have it checked out. Discover it across both locations before concluding it is missing:- Attempt
git fetch origin epic/<epic-slug>-integration. A failure because the remote branch does not exist is the genuine "epic not planned" case; tolerate it and continue to the local check rather than treating the fetch failure as fatal. - Treat the artifact as present when EITHER the plain local path exists in the invoking
worktree, OR it exists on the fetched integration ref, tested with
git cat-file -e epic/<epic-slug>-integration:docs/features/epics/<epic-slug>/epic-kickoff.md(equivalentlyorigin/epic/<epic-slug>-integration:<path>). - When the artifact is present only on the integration ref, read its content with
git show <ref>:<path>. That is sufficient to extract the## Invocation Prompttext needed to proceed; do NOT check the integration branch out into the invoking worktree — the session worktree must never be checked out onto the integration branch (worktree-isolation convention). - STOP without delegating anything only when the artifact is absent BOTH locally and on the
fetched integration branch (the branch does not exist, or exists but lacks the file). In
that case report that the epic has no committed kickoff artifact: the user must run
/epic-planfirst (or, for an epic that was authored manually, invoke/epic-orchestrate <epic-manifest-path>directly).
- Attempt
- Execute the kickoff artifact's
## Invocation Promptsection as the epic objective, applying theepic-orchestrateskill procedure and the## Prepared-Epic Execution (epic-planner Handoff)section of.claude/agents/epic-orchestrator.md: reuse the existing integration branch, and have each childAgent(orchestrator)delegation resume at atomic execution from its committedplan-pathrather than re-running promotion, research, or planning. - Honor existing checkpoint state: if
artifacts/orchestration/epic-orchestrator-state.jsonalready tracks this epic, resume per theepic-orchestrateskill's resume procedure instead of restarting.
Scope
This skill adds no procedure of its own beyond kickoff-artifact resolution; wave scheduling,
the wave barrier, merge-on-green fan-in, worktree cleanup, epic-status.md maintenance, and
the final integration-to-main PR are governed entirely by the epic-orchestrate skill.