iamcxa/spacedock-workflows/ship-epic
Claude Code and agent skill by iamcxa/spacedock-workflows
- community
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-epicSKILL.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: epicandparent_pitchchildren carryingdepends-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:
- 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). - Ready set —
bash "${CLAUDE_PLUGIN_ROOT:-plugins/ship-flow}/lib/dag-waves.sh" --ready --from-workflow <WORKFLOW_DIR> --epic <epic-id>→ children whosedepends-onare alldoneand that are not themselvesdone. - Classify each ready child by reading its
index.mdfrontmatter — status first. A born-sharped child's entry stage isdesignorplan; theverifyandshipstages runworktree: false(READMEstages), so a missingworktreedoes NOT mean a child is fresh — it may be an advanced child mid-pipeline.
- fresh —
statusisdesignorplan(entry stages) ANDworktreeempty ANDprempty. Not yet started → dispatch. - in-flight — everything else in the ready set:
statusisexecute/verify/ship(already advanced — a missing worktree atverify/shipis expected, not a fresh signal), ORworktreeset, ORprset. Already running or PR open → do NOT dispatch.
- 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 mostmin(fresh count, workflow concurrency)concurrently (concurrency =stages.defaults.concurrencyin the workflow README, default 2)./shipis resumable, so a re-dispatched in-flight child is never restarted — that is why step 3 excludes them. - 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.
- Resume — re-invoking recomputes from current statuses: merged children are now
done, so--readyreturns the next wave. Loop until--readyis empty and all children aredone→ "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
| Need | Command | |
|---|---|---|
| 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 cap | stages.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
| Mistake | Reality | |
|---|---|---|
Reading spacedock status --next to pick children | status --next is depends-on blind — it returns dependent children too. ALWAYS gate with dag-waves.sh --ready. | |
| Dispatching the next wave in the same session | Dependent children need the prior wave merged to the base branch. Stop at the wave boundary; the captain merges. | |
| Re-dispatching an in-flight child | Classify 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 entity | The epic (status: epic) is a container — never /ship <epic-id>. Dispatch its children. | |
Stopping when --ready is non-empty but all in-flight | That 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
- SKILL.md in the repositoryCheckingplugins/ship-flow/skills/ship-epic/SKILL.md
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
[](https://verified-skill.com/skills/iamcxa/spacedock-workflows/ship-epic)