一键导入
complete-phase
Verify, finalize, and release a completed phase. Activates when the user invokes /complete-phase or asks momentum to run the complete-phase recipe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify, finalize, and release a completed phase. Activates when the user invokes /complete-phase or asks momentum to run the complete-phase recipe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Begin a new implementation phase. Activates when the user invokes /start-phase or asks momentum to run the start-phase recipe.
Work with concurrent workstreams (Rule 15). Activates when the session involves multiple active branches, cross-lane coordination, or when starting work that should not live on the current branch.
Record a new backlog item (bug, feature, tech debt, or enhancement) when you discover work that needs tracking. Activates when the session identifies unplanned work that should be tracked in the backlog.
Check spec structure health of the momentum project. Activates when the user runs `/validate`, asks for a health check, or when spec changes need verification before phase completion.
>-
Drive a single repo through its phase as part of a swarm. Activates when spawned by the conductor (the user's primary session) with a spawn directive. State lives in files; the conductor reads board.json between turns. Loads on the swarm-supervisor invocation only — not invoked directly by the user.
| name | complete-phase |
| description | Verify, finalize, and release a completed phase. Activates when the user invokes /complete-phase or asks momentum to run the complete-phase recipe. |
Verify, finalize, and release a completed phase.
Read the phase's acceptance criteria:
specs/phases/phase-N-*/overview.mdVerify all tasks are done:
specs/phases/phase-N-*/tasks.md[ ] unchecked items remain → report to user, do NOT proceedRun project-specific validation and capture fresh evidence (per Rule 12 — Verify Before Claim):
tee)Refuse to advance to Finalize without fresh, captured evidence. Memory of "tests passed earlier this phase" is not evidence — re-run them now.
If this phase built a learning loop, verify:
tests/benchmarks/Check for new bugs discovered during the phase:
specs/backlog/backlog.md for items tagged to this phaseStep F0: Sync docs from phase history (run BEFORE other finalize steps)
/sync-docs to propagate all history-recorded changes to relevant documentsCreate retrospective:
specs/phases/phase-N-*/retrospective.md## Verification Evidence section with the captured output from Step 3:
Update all tracking:
specs/phases/README.md → mark Completespecs/status.md → update current phase to next, add release versionspecs/planning/roadmap.md → update phase statusspecs/changelog/YYYY-MM.md → add release entryGate (Rule 12): Do NOT enter Release if
retrospective.mdlacks a## Verification Evidencesection. If evidence is missing, return to Step 3 and capture it.
Commit all remaining changes and push:
git add -A
git commit -m "docs: complete Phase N - {phase name}"
git push origin phase-N-shortname
Ask the user ONCE for approval to release — present the full plan:
Ready to release vX.Y.Z. This will:
1. Merge phase-N-shortname → staging
2. Merge staging → main
3. Tag vX.Y.Z and create GitHub Release
Proceed?
Wait for a single "yes" before running any of the following steps.
On approval, execute all three steps in sequence:
# step 1 — phase branch → staging
git checkout staging && git pull origin staging
git merge --no-ff phase-N-shortname -m "merge: phase-N-shortname → staging (vX.Y.Z)"
git push origin staging
# step 2 — staging → main
git checkout main && git pull origin main
git merge --no-ff staging -m "merge: staging → main (vX.Y.Z — Phase N: {phase name})"
git push origin main
# step 3 — tag + GitHub Release
git tag -a vX.Y.Z -m "Phase N: {phase name}"
git push origin vX.Y.Z
gh release create vX.Y.Z \
--title "vX.Y.Z — Phase N: {phase name}" \
--notes "## Phase N: {phase name}
{bullet summary of what was delivered}
### Next: Phase N+1 — {next phase name}" \
--target main
Report summary to user:
git push origin --delete phase-N-shortname