Files
rtu_v5/.opencode/commands/gsd/gsd-new-milestone.md
2026-05-29 14:48:36 +08:00

45 lines
1.7 KiB
Markdown

---
name: gsd-new-milestone
description: Start a new milestone cycle — update PROJECT.md and route to requirements
argument-hint: "[milestone name, e.g., 'v1.1 Notifications']"
permissions:
read: true
write: true
bash: true
task: true
question: true
---
<objective>
Start a new milestone: questioning → research (optional) → requirements → roadmap.
Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Gathers "what's next", updates PROJECT.md, then runs requirements → roadmap cycle.
**Creates/Updates:**
- `.planning/PROJECT.md` — updated with new milestone goals
- `.planning/research/` — domain research (optional, NEW features only)
- `.planning/REQUIREMENTS.md` — scoped requirements for this milestone
- `.planning/ROADMAP.md` — phase structure (continues numbering)
- `.planning/STATE.md` — reset for new milestone
**After:** `/gsd-plan-phase [N]` to start execution.
</objective>
<execution_context>
@./.opencode/get-shit-done/workflows/new-milestone.md
@./.opencode/get-shit-done/references/questioning.md
@./.opencode/get-shit-done/references/ui-brand.md
@./.opencode/get-shit-done/templates/project.md
@./.opencode/get-shit-done/templates/requirements.md
</execution_context>
<context>
Milestone name: $ARGUMENTS (optional - will prompt if not provided)
Project and milestone context files are resolved inside the workflow (`init new-milestone`) and delegated via `<files_to_read>` blocks where subagents are used.
</context>
<process>
Execute the new-milestone workflow from @./.opencode/get-shit-done/workflows/new-milestone.md end-to-end.
Preserve all workflow gates (validation, questioning, research, requirements, roadmap approval, commits).
</process>