Prompt file imported from PauloHYBEX/Nexus-TCMS (
.windsurf/workflows/milestone-summary.md). Fill in{{VERSION}}before use. Copyright stays with the author.
Milestone Summary
Generate a comprehensive, human-friendly project summary from completed milestone artifacts. Designed for team onboarding — a new contributor can read the output and understand the entire project.
Usage: milestone-summary or milestone-summary [version]
Step 1: Resolve Version
If a version was provided, use it. Otherwise:
- Check
.planning/STATE.mdfor current milestone version - Check
.planning/milestones/for the latest archived version - If nothing found: "No milestone found. Run
/new-projector/new-milestonefirst."
Step 2: Locate Artifacts
Archived milestone (.planning/milestones/v{VERSION}-ROADMAP.md exists):
ROADMAP_PATH=".planning/milestones/v{{VERSION}}-ROADMAP.md"
REQUIREMENTS_PATH=".planning/milestones/v{{VERSION}}-REQUIREMENTS.md"
Current/in-progress milestone (no archive yet):
ROADMAP_PATH=".planning/ROADMAP.md"
REQUIREMENTS_PATH=".planning/REQUIREMENTS.md"
Always available:
PROJECT_PATH=".planning/PROJECT.md"
STATE_PATH=".planning/STATE.md"
Read all files that exist. Missing files are fine — the summary adapts.
Step 3: Discover Phase Artifacts
For each phase directory in .planning/phases/:
ls .planning/phases/*/
For each phase, read:
- CONTEXT.md — what was decided
- SUMMARY.md files — what was built
- VERIFICATION.md — quality status
- UAT.md — test results
- LEARNINGS.md — extracted learnings (if exists)
- SECURITY.md — security status (if exists)
Step 4: Generate Summary
Write .planning/MILESTONE-SUMMARY-v{VERSION}.md:
# Milestone {VERSION}: {Name} — Summary
**Generated:** [date]
**Status:** [complete / in-progress]
---
## Project Overview
[From PROJECT.md — 3-5 sentences describing what the project is and why it exists]
## Milestone Goal
[From ROADMAP.md — what this milestone set out to deliver]
## What Was Built
### Phase 1: [Name]
**Goal:** [from ROADMAP.md]
**Status:** [complete/partial]
**Key deliverables:**
- [from SUMMARY.md files — what was actually built]
**Decisions made:**
- [from CONTEXT.md — key implementation choices]
### Phase 2: [Name]
[...]
## Architecture
[Synthesized from AGENTS.md project structure, phase summaries, and any ARCHITECTURE.md]
## Key Decisions
[Aggregated from DECISIONS.md and phase CONTEXT.md files — the top 5-10 decisions that shaped the project]
## Lessons Learned
[Aggregated from LEARNINGS.md files if they exist, or synthesized from SUMMARYs]
## Current State
- **Last phase completed:** [N]
- **Open items:** [from STATE.md blockers]
- **Test status:** [from UAT/VERIFICATION files]
- **Security status:** [from SECURITY files if they exist]
## How to Get Started
[Practical instructions: how to clone, install deps, run the dev server, run tests]
---
*Generated by learnship milestone-summary*
Step 5: Commit and Present
git add ".planning/MILESTONE-SUMMARY-v{{VERSION}}.md"
git commit -m "docs: milestone {{VERSION}} summary"
learnship > MILESTONE SUMMARY COMPLETE
Milestone {VERSION}: {Name}
Phases covered: [N]
Decisions documented: [N]
Lessons captured: [N]
Report: .planning/MILESTONE-SUMMARY-v{VERSION}.md
Share this with new team members or stakeholders for a complete project overview.
Learning Checkpoint
Read learning_mode from .planning/config.json.
If auto:
Learning moment: Summarizing a milestone is a natural point for comprehensive reflection:
@agentic-learning reflect— What was the most significant thing you learned across this entire milestone? What would you do differently if starting over? Milestone-level reflection reveals patterns invisible at the phase level.
If manual: Add quietly: "Tip: @agentic-learning reflect for milestone-level learning consolidation."