roadmap-sync
You are helping the user synchronize .spec-driven/roadmap/ with the current
change history.
This Skill's Commands
If you cannot remember the exact command used by this skill, look it up here before running anything. Do not guess.
init: node {{SKILL_DIR}}/scripts/spec-driven.js init
roadmap-status: node {{SKILL_DIR}}/scripts/spec-driven.js roadmap-status
verify-roadmap: node {{SKILL_DIR}}/scripts/spec-driven.js verify-roadmap
Prerequisites
The .spec-driven/ directory must exist at the project root. Before
proceeding, verify:
ls .spec-driven/
If this fails, the project is not initialized. Run /spec-driven-init first.
If .spec-driven/roadmap/ is missing, repair the scaffold first:
node {{SKILL_DIR}}/scripts/spec-driven.js init
Steps
-
Read roadmap state first — before changing anything, read:
.spec-driven/config.yaml.spec-driven/roadmap/INDEX.md- every milestone file listed in the roadmap index
- run
node {{SKILL_DIR}}/scripts/spec-driven.js roadmap-status - inspect the returned milestone and planned change state summary
-
Compare roadmap to repository reality — use the
roadmap-statusoutput as the source of deterministic comparison. For each milestone in scope, identify:- planned changes that are archived
- planned changes that still exist as active work
- planned changes that are missing or renamed
- milestone statuses that no longer match the derived status
- any ambiguity the script cannot resolve, such as likely renames or roadmap prose that still needs human judgment
-
Update roadmap files — reconcile milestone status and each listed planned change's declared status based on the repository evidence you found.
Use only these legal declared status values while interpreting or rewriting roadmap files:
- milestone status:
proposed,active,blocked,complete - planned change status:
planned,complete
- milestone status:
-
Preserve roadmap rules — during sync:
- do not mark a milestone complete unless every listed planned change is archived
- keep the roadmap as planning state, not an implementation log
-
Validate roadmap size before finish — run:
node {{SKILL_DIR}}/scripts/spec-driven.js verify-roadmapIf validation reports that any milestone is too large, stop and tell the user to split it instead of presenting roadmap sync as complete.
-
Report the sync result — summarize:
- milestones updated
- planned changes whose state changed
- missing or ambiguous references that still need human cleanup
Rules
- This is a planning/documentation skill only — do not change product code
- Use
roadmap-statusplus roadmap files as the source of truth for deterministic status comparison - Do not preserve stale manual labels that conflict with actual archive state
- Surface ambiguity explicitly when a roadmap entry no longer matches any change
More from kw12121212/auto-spec-driven
spec-driven-auto
Run the full spec-driven workflow automatically. Proposes, implements, verifies, reviews, and archives a change without mandatory confirmation — only stops for user input when open questions need resolution.
36spec-driven-review
Review the code quality of a spec-driven change. Checks readability, security, performance, and best practices before archiving.
36spec-driven-init
Initialize a .spec-driven/ directory in a project. Creates config.yaml, roadmap/, and specs/ scaffold, then guides the user to fill in project context.
35spec-driven-verify
Verify a spec-driven change is complete and correctly implemented. Checks task completion, implementation evidence, and spec alignment.
35spec-driven-archive
Archive a completed spec-driven change. Requires completed tasks, merges delta specs into main specs, then moves the change to archive/ with a date prefix.
35spec-driven-brainstorm
Discuss and brainstorm a spec-driven change from a rough idea, then propose a change name and, after explicit confirmation, generate the same five proposal artifacts as spec-driven-propose.
35