跳到主要内容
知仓学习社ZHICANG

gsd_complete-milestone

Archive completed milestone and prepare for next version

不碰外部(只输出文字)无严重或高危命中davepoon/buildwithclaude

它会碰到什么

扫了多少1 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

<objective>

Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.

Purpose: Create historical record of shipped version, archive milestone artifacts (roadmap + requirements), and prepare for next milestone.

Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tagged.

</objective>

<execution_context>

Load these files NOW (before proceeding):

  • @${CLAUDE_PLUGIN_ROOT}/workflows/complete-milestone.md (main workflow)
  • @${CLAUDE_PLUGIN_ROOT}/templates/milestone-archive.md (archive template)

</execution_context>

<context>

Project files:

  • .planning/ROADMAP.md
  • .planning/REQUIREMENTS.md
  • .planning/STATE.md
  • .planning/PROJECT.md

User input:

  • Version: {{version}} (e.g., "1.0", "1.1", "2.0")

</context>

<process>

Follow complete-milestone.md workflow:

  1. Check for audit:
  • Look for .planning/v{{version}}-MILESTONE-AUDIT.md
  • If missing or stale: recommend /gsd:audit-milestone first
  • If audit status is gaps_found: recommend /gsd:plan-milestone-gaps first
  • If audit status is passed: proceed to step 1
   ## Pre-flight Check

   {If no v{{version}}-MILESTONE-AUDIT.md:}
   ⚠ No milestone audit found. Run `/gsd:audit-milestone` first to verify
   requirements coverage, cross-phase integration, and E2E flows.

   {If audit has gaps:}
   ⚠ Milestone audit found gaps. Run `/gsd:plan-milestone-gaps` to create
   phases that close the gaps, or proceed anyway to accept as tech debt.

   {If audit passed:}
   ✓ Milestone audit passed. Proceeding with completion.
  1. Verify readiness:
  • Check all phases in milestone have completed plans (SUMMARY.md exists)
  • Present milestone scope and stats
  • Wait for confirmation
  1. Gather stats:
  • Count phases, plans, tasks
  • Calculate git range, file changes, LOC
  • Extract timeline from git log
  • Present summary, confirm
  1. Extract accomplishments:
  • Read all phase SUMMARY.md files in milestone range
  • Extract 4-6 key accomplishments
  • Present for approval
  1. Archive milestone:
  • Create .planning/milestones/v{{version}}-ROADMAP.md
  • Extract full phase details from ROADMAP.md
  • Fill milestone-archive.md template
  • Update ROADMAP.md to one-line summary with link
  1. Archive requirements:
  • Create .planning/milestones/v{{version}}-REQUIREMENTS.md
  • Mark all v1 requirements as complete (checkboxes checked)
  • Note requirement outcomes (validated, adjusted, dropped)
  • Delete .planning/REQUIREMENTS.md (fresh one created for next milestone)
  1. Update PROJECT.md:
  • Add "Current State" section with shipped version
  • Add "Next Milestone Goals" section
  • Archive previous content in <details> (if v1.1+)
  1. Commit and tag:
  • Stage: MILESTONES.md, PROJECT.md, ROADMAP.md, STATE.md, archive files
  • Commit: chore: archive v{{version}} milestone
  • Tag: git tag -a v{{version}} -m "[milestone summary]"
  • Ask about pushing tag
  1. Offer next steps:
  • /gsd:new-milestone — start next milestone (questioning → research → requirements → roadmap)

</process>

<output_format>

After the milestone is archived and tagged, emit a Milestone Complete continuation block following the pattern in references/continuation-format.md (§ Milestone Complete variant):

  • ## 🎉 Milestone v{{version}} Complete with phase/plan/task summary
  • Brief one-paragraph "what shipped" recap
  • ## ▶ Next Up heading
  • Use ` /clear then: before /gsd:new-milestone`
  • Parenthetical: (/clear is safe — /gsd:resume-work restores position from HANDOFF.json if you change your mind)
  • Optional "Also available:" with /gsd:audit-milestone (retrospective audit) or /gsd:review-backlog (deferred items review)

Milestone close is the single biggest context-shed point in the workflow. The just-shipped milestone's plan/execute conversation is finished; the next milestone wants a clean slate. Always suggest /clear.

</output_format>

<success_criteria>

  • Milestone archived to .planning/milestones/v{{version}}-ROADMAP.md
  • Requirements archived to .planning/milestones/v{{version}}-REQUIREMENTS.md
  • .planning/REQUIREMENTS.md deleted (fresh for next milestone)
  • ROADMAP.md collapsed to one-line entry
  • PROJECT.md updated with current state
  • Git tag v{{version}} created
  • Commit successful
  • User knows next steps (including need for fresh requirements)

</success_criteria>

<critical_rules>

  • Load workflow first: Read complete-milestone.md before executing
  • Verify completion: All phases must have SUMMARY.md files
  • User confirmation: Wait for approval at verification gates
  • Archive before deleting: Always create archive files before updating/deleting originals
  • One-line summary: Collapsed milestone in ROADMAP.md should be single line with link
  • Context efficiency: Archive keeps ROADMAP.md and REQUIREMENTS.md constant size per milestone
  • Fresh requirements: Next milestone starts with /gsd:new-milestone which includes requirements definition

</critical_rules>

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 3,470
本站分层T1
该仓技能数381
原文件路径plugins/gsd/skills/complete-milestone/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 381 个技能