iamcxa/spacedock-workflows/ship-epic

Claude Code and agent skill by iamcxa/spacedock-workflows

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when a clean session must run a project-intake epic's born-sharped children to PRs in dependency order — after /ship-project or shape-confirm instantiated an epic + depends-on children and they must be dispatched wave-by-wave, not one at a time. Triggers: 'run the epic', 'ship-epic', orchestrate children, wave dispatch, depends-on / DAG ordering.

Install

npx vskill@latest install iamcxa/spacedock-workflows/ship-epic

SKILL.md

The same SKILL.md was published earlier as iamcxa/spacedock-workflows/ship-epic.

ship-epic — depends-on-aware wave orchestrator

Overview

You run an epic's born-sharped children through the existing /ship pipeline in dependency order. The spacedock FO dispatch (status --next) is depends-on blind — it would dispatch every child at once, ignoring depends-on. This skill adds the missing gate: each child runs only after every child it depends-on is done. Within a wave, independent children run in parallel (capped by the workflow concurrency).

/ship-project STOPS at entities+plan. THIS skill is what the clean session invokes to actually run them. Merge is captain-gated, so the orchestrator runs one wave at a time and stops at the wave boundary for the captain to merge before the next wave.

When to use

  • A pitch/epic exists with pattern: pitch/status: epic and parent_pitch children carrying depends-on (e.g. instantiated by /ship-project).
  • You want the children shipped without hand-feeding /ship <child> one at a time.
  • NOT for a single standalone entity — use /ship <id> directly.

The wave loop

Resolve WORKFLOW_DIR from docs/*/README.md entry-point:. Then:

  1. Plan — bash "${CLAUDE_PLUGIN_ROOT:-plugins/ship-flow}/lib/dag-waves.sh" --layers --from-workflow <WORKFLOW_DIR> --epic <epic-id> → print the wave layers (situational awareness; this is the static parallel plan).
  2. Ready set — bash "${CLAUDE_PLUGIN_ROOT:-plugins/ship-flow}/lib/dag-waves.sh" --ready --from-workflow <WORKFLOW_DIR> --epic <epic-id> → children whose depends-on are all done and that are not themselves done.
  3. Classify each ready child by reading its index.md frontmatter — status first. A born-sharped child's entry stage is design or plan; the verify and ship stages run worktree: false (README stages), so a missing worktree does NOT mean a child is fresh — it may be an advanced child mid-pipeline.
  • fresh — status is design or plan (entry stages) AND worktree empty AND pr empty. Not yet started → dispatch.
  • in-flight — everything else in the ready set: status is execute/verify/ship (already advanced — a missing worktree at verify/ship is expected, not a fresh signal), OR worktree set, OR pr set. Already running or PR open → do NOT dispatch.
  1. Dispatch the fresh children — for each, invoke /ship <child-id> (the existing single-entity pipeline; it runs design/plan/execute/verify/review to a PR). Run at most min(fresh count, workflow concurrency) concurrently (concurrency = stages.defaults.concurrency in the workflow README, default 2). /ship is resumable, so a re-dispatched in-flight child is never restarted — that is why step 3 excludes them.
  2. Wave barrier — once this wave's children reach PR-ready, STOP. Surface to the captain: the wave's PR list + the literal next step: "Review + merge these PRs, then re-run `/ship-flow:ship-epic <epic-id>` to launch the next wave." Do NOT start the next wave in this session — dependent children need the merged code on the base branch, and merge is captain-gated.
dot
digraph barrier {
"ready set" [shape=diamond];
"empty?" [shape=diamond];
"any fresh?" [shape=diamond];
"dispatch fresh via /ship (cap concurrency)" [shape=box];
"STOP: list PRs, ask captain to merge + re-run" [shape=box];
"Epic complete" [shape=box];
"STOP: wave in flight, awaiting merge" [shape=box];
"ready set" -> "empty?";
"empty?" -> "Epic complete" [label="yes + all children done"];
"empty?" -> "any fresh?" [label="no"];
"any fresh?" -> "dispatch fresh via /ship (cap concurrency)" [label="yes"];
"dispatch fresh via /ship (cap concurrency)" -> "STOP: list PRs, ask captain to merge + re-run";
"any fresh?" -> "STOP: wave in flight, awaiting merge" [label="no (all in-flight)"];
}
  1. Resume — re-invoking recomputes from current statuses: merged children are now done, so --ready returns the next wave. Loop until --ready is empty and all children are done → "Epic complete: N children shipped." The skill is stateless; the entity statuses are the only state.

--plan (dry-run)

/ship-flow:ship-epic <epic-id> --plan prints the wave layers, the current ready set, and the fresh/in-flight/done classification — and the children it WOULD dispatch this wave — without invoking /ship. Use to preview before committing, or to inspect a stuck epic.

Quick reference

NeedCommand
wave layers (static plan)dag-waves.sh --layers --from-workflow <wf> --epic <id>
ready set (deps satisfied, not done)dag-waves.sh --ready --from-workflow <wf> --epic <id>
dispatch one child/ship <child-id>
concurrency capstages.defaults.concurrency in <wf>/README.md (default 2)

dag-waves.sh exits 2 on a depends-on cycle and 3 on an unknown depends-on reference — surface either to the captain; do not dispatch a structurally broken epic.

Common mistakes

MistakeReality
Reading spacedock status --next to pick childrenstatus --next is depends-on blind — it returns dependent children too. ALWAYS gate with dag-waves.sh --ready.
Dispatching the next wave in the same sessionDependent children need the prior wave merged to the base branch. Stop at the wave boundary; the captain merges.
Re-dispatching an in-flight childClassify by status first, not worktree/pr alone. verify/ship are worktree: false, so an advanced child with no worktree (and pr not yet written) looks "fresh" by the naive test — only design/plan with no worktree/pr is fresh. Dispatching an execute/verify/ship child restarts in-flight work.
Treating the epic parent as a buildable entityThe epic (status: epic) is a container — never /ship <epic-id>. Dispatch its children.
Stopping when --ready is non-empty but all in-flightThat is the merge barrier, not completion — surface "awaiting merge", do not declare the epic done.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/iamcxa/spacedock-workflows/ship-epic/badge)](https://verified-skill.com/skills/iamcxa/spacedock-workflows/ship-epic)

Something wrong with this skill or its page? Tell us.