gsd-opencode 1.5.2 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/gsd-codebase-mapper.md +743 -0
- package/agents/gsd-debugger.md +1191 -0
- package/agents/gsd-executor.md +759 -0
- package/agents/gsd-integration-checker.md +427 -0
- package/agents/gsd-phase-researcher.md +637 -0
- package/agents/gsd-plan-checker.md +749 -0
- package/agents/gsd-planner.md +1373 -0
- package/agents/gsd-project-researcher.md +877 -0
- package/agents/gsd-research-synthesizer.md +250 -0
- package/agents/gsd-roadmapper.md +610 -0
- package/agents/gsd-verifier.md +782 -0
- package/bin/install.js +11 -1
- package/command/gsd/add-phase.md +5 -7
- package/command/gsd/add-todo.md +4 -6
- package/command/gsd/audit-milestone.md +257 -0
- package/command/gsd/check-todos.md +2 -4
- package/command/gsd/complete-milestone.md +53 -23
- package/command/gsd/debug.md +120 -30
- package/command/gsd/discuss-phase.md +51 -30
- package/command/gsd/execute-phase.md +192 -26
- package/command/gsd/help.md +66 -75
- package/command/gsd/insert-phase.md +6 -6
- package/command/gsd/list-phase-assumptions.md +1 -1
- package/command/gsd/map-codebase.md +15 -28
- package/command/gsd/new-milestone.md +693 -36
- package/command/gsd/new-project.md +668 -108
- package/command/gsd/pause-work.md +2 -2
- package/command/gsd/plan-milestone-gaps.md +284 -0
- package/command/gsd/plan-phase.md +449 -42
- package/command/gsd/progress.md +66 -36
- package/command/gsd/remove-phase.md +17 -19
- package/command/gsd/research-phase.md +155 -67
- package/command/gsd/resume-work.md +3 -3
- package/command/gsd/update.md +172 -0
- package/command/gsd/verify-work.md +186 -38
- package/command/gsd/whats-new.md +124 -0
- package/get-shit-done/references/checkpoints.md +599 -98
- package/get-shit-done/references/continuation-format.md +5 -11
- package/get-shit-done/references/questioning.md +87 -108
- package/get-shit-done/references/tdd.md +3 -3
- package/get-shit-done/references/ui-brand.md +160 -0
- package/get-shit-done/references/verification-patterns.md +595 -0
- package/get-shit-done/templates/DEBUG.md +3 -3
- package/get-shit-done/templates/UAT.md +247 -0
- package/get-shit-done/templates/codebase/architecture.md +5 -5
- package/get-shit-done/templates/codebase/concerns.md +1 -1
- package/get-shit-done/templates/codebase/conventions.md +1 -1
- package/get-shit-done/templates/codebase/structure.md +8 -8
- package/get-shit-done/templates/codebase/testing.md +2 -2
- package/get-shit-done/templates/context.md +221 -70
- package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
- package/get-shit-done/templates/discovery.md +5 -5
- package/get-shit-done/templates/phase-prompt.md +115 -2
- package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
- package/get-shit-done/templates/requirements.md +231 -0
- package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
- package/get-shit-done/templates/research-project/FEATURES.md +147 -0
- package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
- package/get-shit-done/templates/research-project/STACK.md +120 -0
- package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
- package/get-shit-done/templates/research.md +2 -2
- package/get-shit-done/templates/roadmap.md +26 -20
- package/get-shit-done/templates/state.md +2 -17
- package/get-shit-done/templates/summary.md +13 -17
- package/get-shit-done/templates/user-setup.md +323 -0
- package/get-shit-done/templates/verification-report.md +322 -0
- package/get-shit-done/workflows/complete-milestone.md +152 -45
- package/get-shit-done/workflows/diagnose-issues.md +233 -0
- package/get-shit-done/workflows/discovery-phase.md +12 -17
- package/get-shit-done/workflows/discuss-phase.md +309 -124
- package/get-shit-done/workflows/execute-phase.md +177 -18
- package/get-shit-done/workflows/execute-plan.md +163 -145
- package/get-shit-done/workflows/map-codebase.md +86 -231
- package/get-shit-done/workflows/resume-project.md +18 -20
- package/get-shit-done/workflows/transition.md +7 -23
- package/get-shit-done/workflows/verify-phase.md +629 -0
- package/get-shit-done/workflows/verify-work.md +495 -134
- package/package.json +2 -1
- package/command/gsd/consider-issues.md +0 -201
- package/command/gsd/create-roadmap.md +0 -115
- package/command/gsd/discuss-milestone.md +0 -47
- package/command/gsd/execute-plan.md +0 -103
- package/command/gsd/plan-fix.md +0 -205
- package/command/gsd/status.md +0 -127
- package/get-shit-done/references/debugging/debugging-mindset.md +0 -253
- package/get-shit-done/references/debugging/hypothesis-testing.md +0 -373
- package/get-shit-done/references/debugging/investigation-techniques.md +0 -337
- package/get-shit-done/references/debugging/verification-patterns.md +0 -425
- package/get-shit-done/references/debugging/when-to-research.md +0 -361
- package/get-shit-done/references/plan-format.md +0 -475
- package/get-shit-done/references/principles.md +0 -157
- package/get-shit-done/references/research-pitfalls.md +0 -215
- package/get-shit-done/references/scope-estimation.md +0 -256
- package/get-shit-done/templates/agent-history.md +0 -263
- package/get-shit-done/templates/checkpoint-return.md +0 -204
- package/get-shit-done/templates/config.json +0 -26
- package/get-shit-done/templates/continuation-prompt.md +0 -235
- package/get-shit-done/templates/issues.md +0 -32
- package/get-shit-done/templates/milestone-context.md +0 -93
- package/get-shit-done/templates/subagent-task-prompt.md +0 -95
- package/get-shit-done/templates/uat-issues.md +0 -143
- package/get-shit-done/workflows/_archive/execute-phase.md +0 -899
- package/get-shit-done/workflows/create-milestone.md +0 -416
- package/get-shit-done/workflows/create-roadmap.md +0 -481
- package/get-shit-done/workflows/debug.md +0 -426
- package/get-shit-done/workflows/discuss-milestone.md +0 -236
- package/get-shit-done/workflows/plan-phase.md +0 -701
- package/get-shit-done/workflows/research-phase.md +0 -436
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd-new-project
|
|
3
3
|
description: Initialize a new project with deep context gathering and PROJECT.md
|
|
4
|
-
|
|
4
|
+
tools:
|
|
5
5
|
- read
|
|
6
6
|
- bash
|
|
7
7
|
- write
|
|
@@ -10,26 +10,34 @@ allowed-tools:
|
|
|
10
10
|
|
|
11
11
|
<objective>
|
|
12
12
|
|
|
13
|
-
Initialize a new project through
|
|
13
|
+
Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.
|
|
14
14
|
|
|
15
|
-
This is the most leveraged moment in any project. Deep questioning here means better plans, better execution, better outcomes.
|
|
15
|
+
This is the most leveraged moment in any project. Deep questioning here means better plans, better execution, better outcomes. One command takes you from idea to ready-for-planning.
|
|
16
16
|
|
|
17
|
-
Creates
|
|
17
|
+
**Creates:**
|
|
18
|
+
- `.planning/PROJECT.md` — project context
|
|
19
|
+
- `.planning/config.json` — workflow preferences
|
|
20
|
+
- `.planning/research/` — domain research (optional)
|
|
21
|
+
- `.planning/REQUIREMENTS.md` — scoped requirements
|
|
22
|
+
- `.planning/ROADMAP.md` — phase structure
|
|
23
|
+
- `.planning/STATE.md` — project memory
|
|
24
|
+
|
|
25
|
+
**After this command:** Run `/gsd-plan-phase 1` to start execution.
|
|
18
26
|
|
|
19
27
|
</objective>
|
|
20
28
|
|
|
21
29
|
<execution_context>
|
|
22
30
|
|
|
23
|
-
@~/.config/opencode/get-shit-done/references/principles.md
|
|
24
31
|
@~/.config/opencode/get-shit-done/references/questioning.md
|
|
32
|
+
@~/.config/opencode/get-shit-done/references/ui-brand.md
|
|
25
33
|
@~/.config/opencode/get-shit-done/templates/project.md
|
|
26
|
-
@~/.config/opencode/get-shit-done/templates/
|
|
34
|
+
@~/.config/opencode/get-shit-done/templates/requirements.md
|
|
27
35
|
|
|
28
36
|
</execution_context>
|
|
29
37
|
|
|
30
38
|
<process>
|
|
31
39
|
|
|
32
|
-
|
|
40
|
+
## Phase 1: Setup
|
|
33
41
|
|
|
34
42
|
**MANDATORY FIRST STEP — Execute these checks before ANY user interaction:**
|
|
35
43
|
|
|
@@ -40,7 +48,6 @@ Creates `.planning/` with PROJECT.md and config.json.
|
|
|
40
48
|
|
|
41
49
|
2. **Initialize git repo in THIS directory** (required even if inside a parent repo):
|
|
42
50
|
```bash
|
|
43
|
-
# Check if THIS directory is already a git repo root (handles .git file for worktrees too)
|
|
44
51
|
if [ -d .git ] || [ -f .git ]; then
|
|
45
52
|
echo "Git repo exists in current directory"
|
|
46
53
|
else
|
|
@@ -51,7 +58,6 @@ Creates `.planning/` with PROJECT.md and config.json.
|
|
|
51
58
|
|
|
52
59
|
3. **Detect existing code (brownfield detection):**
|
|
53
60
|
```bash
|
|
54
|
-
# Check for existing code files
|
|
55
61
|
CODE_FILES=$(find . -name "*.ts" -o -name "*.js" -o -name "*.py" -o -name "*.go" -o -name "*.rs" -o -name "*.swift" -o -name "*.java" 2>/dev/null | grep -v node_modules | grep -v .git | head -20)
|
|
56
62
|
HAS_PACKAGE=$([ -f package.json ] || [ -f requirements.txt ] || [ -f Cargo.toml ] || [ -f go.mod ] || [ -f Package.swift ] && echo "yes")
|
|
57
63
|
HAS_CODEBASE_MAP=$([ -d .planning/codebase ] && echo "yes")
|
|
@@ -59,9 +65,7 @@ Creates `.planning/` with PROJECT.md and config.json.
|
|
|
59
65
|
|
|
60
66
|
**You MUST run all bash commands above using the bash tool before proceeding.**
|
|
61
67
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<step name="brownfield_offer">
|
|
68
|
+
## Phase 2: Brownfield Offer
|
|
65
69
|
|
|
66
70
|
**If existing code detected and .planning/codebase/ doesn't exist:**
|
|
67
71
|
|
|
@@ -82,65 +86,65 @@ Run `/gsd-map-codebase` first, then return to `/gsd-new-project`
|
|
|
82
86
|
```
|
|
83
87
|
Exit command.
|
|
84
88
|
|
|
85
|
-
**If "Skip mapping":** Continue to
|
|
89
|
+
**If "Skip mapping":** Continue to Phase 3.
|
|
86
90
|
|
|
87
|
-
**If no existing code detected OR codebase already mapped:** Continue to
|
|
91
|
+
**If no existing code detected OR codebase already mapped:** Continue to Phase 3.
|
|
88
92
|
|
|
89
|
-
|
|
93
|
+
## Phase 3: Deep Questioning
|
|
90
94
|
|
|
91
|
-
|
|
95
|
+
**Display stage banner:**
|
|
92
96
|
|
|
93
|
-
|
|
97
|
+
```
|
|
98
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
99
|
+
GSD ► QUESTIONING
|
|
100
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
101
|
+
```
|
|
94
102
|
|
|
95
|
-
|
|
103
|
+
**Open the conversation:**
|
|
96
104
|
|
|
97
|
-
|
|
105
|
+
Ask inline (freeform, NOT question):
|
|
98
106
|
|
|
99
|
-
|
|
107
|
+
"What do you want to build?"
|
|
100
108
|
|
|
101
|
-
|
|
102
|
-
- header: "[Topic they mentioned]"
|
|
103
|
-
- question: "You mentioned [X] — what would that look like?"
|
|
104
|
-
- options: 2-3 interpretations + "Something else"
|
|
109
|
+
Wait for their response. This gives you the context needed to ask intelligent follow-up questions.
|
|
105
110
|
|
|
106
|
-
**
|
|
111
|
+
**Follow the thread:**
|
|
107
112
|
|
|
108
|
-
Use question
|
|
109
|
-
- header: "Core"
|
|
110
|
-
- question: "If you could only nail one thing, what would it be?"
|
|
111
|
-
- options: Key aspects they've mentioned + "All equally important" + "Something else"
|
|
113
|
+
Based on what they said, ask follow-up questions that dig into their response. Use question with options that probe what they mentioned — interpretations, clarifications, concrete examples.
|
|
112
114
|
|
|
113
|
-
|
|
115
|
+
Keep following threads. Each answer opens new threads to explore. Ask about:
|
|
116
|
+
- What excited them
|
|
117
|
+
- What problem sparked this
|
|
118
|
+
- What they mean by vague terms
|
|
119
|
+
- What it would actually look like
|
|
120
|
+
- What's already decided
|
|
114
121
|
|
|
115
|
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
122
|
+
Consult `questioning.md` for techniques:
|
|
123
|
+
- Challenge vagueness
|
|
124
|
+
- Make abstract concrete
|
|
125
|
+
- Surface assumptions
|
|
126
|
+
- Find edges
|
|
127
|
+
- Reveal motivation
|
|
119
128
|
|
|
120
|
-
**
|
|
129
|
+
**Check context (background, not out loud):**
|
|
121
130
|
|
|
122
|
-
|
|
123
|
-
- header: "Constraints"
|
|
124
|
-
- question: "Any hard constraints?"
|
|
125
|
-
- options: Relevant constraint types + "None" + "Yes, let me explain"
|
|
131
|
+
As you go, mentally check the context checklist from `questioning.md`. If gaps remain, weave questions naturally. Don't suddenly switch to checklist mode.
|
|
126
132
|
|
|
127
|
-
**
|
|
133
|
+
**Decision gate:**
|
|
134
|
+
|
|
135
|
+
When you could write a clear PROJECT.md, use question:
|
|
128
136
|
|
|
129
|
-
Use question:
|
|
130
137
|
- header: "Ready?"
|
|
131
|
-
- question: "Ready to create PROJECT.md
|
|
132
|
-
- options
|
|
133
|
-
- "Create PROJECT.md" —
|
|
134
|
-
- "
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
If "Ask more questions" → check coverage gaps from `questioning.md` → return to step 2.
|
|
138
|
-
If "Let me add context" → receive input via their response → return to step 2.
|
|
139
|
-
Loop until "Create PROJECT.md" selected.
|
|
138
|
+
- question: "I think I understand what you're after. Ready to create PROJECT.md?"
|
|
139
|
+
- options:
|
|
140
|
+
- "Create PROJECT.md" — Let's move forward
|
|
141
|
+
- "Keep exploring" — I want to share more / ask me more
|
|
142
|
+
|
|
143
|
+
If "Keep exploring" — ask what they want to add, or identify gaps and probe naturally.
|
|
140
144
|
|
|
141
|
-
|
|
145
|
+
Loop until "Create PROJECT.md" selected.
|
|
142
146
|
|
|
143
|
-
|
|
147
|
+
## Phase 4: write PROJECT.md
|
|
144
148
|
|
|
145
149
|
Synthesize all context into `.planning/PROJECT.md` using the template from `templates/project.md`.
|
|
146
150
|
|
|
@@ -173,7 +177,7 @@ All Active requirements are hypotheses until shipped and validated.
|
|
|
173
177
|
|
|
174
178
|
Infer Validated requirements from existing code:
|
|
175
179
|
|
|
176
|
-
1.
|
|
180
|
+
1. read `.planning/codebase/ARCHITECTURE.md` and `STACK.md`
|
|
177
181
|
2. Identify what the codebase already does
|
|
178
182
|
3. These become the initial Validated set
|
|
179
183
|
|
|
@@ -217,102 +221,636 @@ Initialize with any decisions made during questioning:
|
|
|
217
221
|
|
|
218
222
|
Do not compress. Capture everything gathered.
|
|
219
223
|
|
|
220
|
-
|
|
224
|
+
**Commit PROJECT.md:**
|
|
221
225
|
|
|
222
|
-
|
|
226
|
+
```bash
|
|
227
|
+
mkdir -p .planning
|
|
228
|
+
git add .planning/PROJECT.md
|
|
229
|
+
git commit -m "$(cat <<'EOF'
|
|
230
|
+
docs: initialize project
|
|
223
231
|
|
|
224
|
-
|
|
232
|
+
[One-liner from PROJECT.md What This Is section]
|
|
233
|
+
EOF
|
|
234
|
+
)"
|
|
235
|
+
```
|
|
225
236
|
|
|
226
|
-
|
|
237
|
+
## Phase 5: Workflow Preferences
|
|
227
238
|
|
|
228
|
-
|
|
229
|
-
- question: "How do you want to work?"
|
|
230
|
-
- options:
|
|
231
|
-
- "YOLO" — Auto-approve, just execute (Recommended)
|
|
232
|
-
- "Interactive" — Confirm at each step
|
|
239
|
+
Ask all workflow preferences in a single question call (3 questions):
|
|
233
240
|
|
|
234
|
-
|
|
241
|
+
```
|
|
242
|
+
questions: [
|
|
243
|
+
{
|
|
244
|
+
header: "Mode",
|
|
245
|
+
question: "How do you want to work?",
|
|
246
|
+
multiSelect: false,
|
|
247
|
+
options: [
|
|
248
|
+
{ label: "YOLO (Recommended)", description: "Auto-approve, just execute" },
|
|
249
|
+
{ label: "Interactive", description: "Confirm at each step" }
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
header: "Depth",
|
|
254
|
+
question: "How thorough should planning be?",
|
|
255
|
+
multiSelect: false,
|
|
256
|
+
options: [
|
|
257
|
+
{ label: "Quick", description: "Ship fast (3-5 phases, 1-3 plans each)" },
|
|
258
|
+
{ label: "Standard", description: "Balanced scope and speed (5-8 phases, 3-5 plans each)" },
|
|
259
|
+
{ label: "Comprehensive", description: "Thorough coverage (8-12 phases, 5-10 plans each)" }
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
header: "Execution",
|
|
264
|
+
question: "Run plans in parallel?",
|
|
265
|
+
multiSelect: false,
|
|
266
|
+
options: [
|
|
267
|
+
{ label: "Parallel (Recommended)", description: "Independent plans run simultaneously" },
|
|
268
|
+
{ label: "Sequential", description: "One plan at a time" }
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
```
|
|
235
273
|
|
|
236
|
-
|
|
274
|
+
Create `.planning/config.json` with chosen mode, depth, and parallelization.
|
|
237
275
|
|
|
238
|
-
|
|
276
|
+
**Commit config.json:**
|
|
239
277
|
|
|
240
|
-
|
|
278
|
+
```bash
|
|
279
|
+
git add .planning/config.json
|
|
280
|
+
git commit -m "$(cat <<'EOF'
|
|
281
|
+
chore: add project config
|
|
282
|
+
|
|
283
|
+
Mode: [chosen mode]
|
|
284
|
+
Depth: [chosen depth]
|
|
285
|
+
Parallelization: [enabled/disabled]
|
|
286
|
+
EOF
|
|
287
|
+
)"
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
## Phase 6: Research Decision
|
|
241
291
|
|
|
242
|
-
|
|
243
|
-
-
|
|
292
|
+
Use question:
|
|
293
|
+
- header: "Research"
|
|
294
|
+
- question: "Research the domain ecosystem before defining requirements?"
|
|
244
295
|
- options:
|
|
245
|
-
- "
|
|
246
|
-
- "
|
|
247
|
-
- "Comprehensive" — Thorough coverage, more phases/plans (8-12 phases, 5-10 plans each)
|
|
296
|
+
- "Research first (Recommended)" — Discover standard stacks, expected features, architecture patterns
|
|
297
|
+
- "Skip research" — I know this domain well, go straight to requirements
|
|
248
298
|
|
|
249
|
-
**
|
|
299
|
+
**If "Research first":**
|
|
250
300
|
|
|
251
|
-
|
|
301
|
+
Display stage banner:
|
|
302
|
+
```
|
|
303
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
304
|
+
GSD ► RESEARCHING
|
|
305
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
252
306
|
|
|
253
|
-
|
|
307
|
+
Researching [domain] ecosystem...
|
|
308
|
+
```
|
|
254
309
|
|
|
255
|
-
|
|
310
|
+
Create research directory:
|
|
311
|
+
```bash
|
|
312
|
+
mkdir -p .planning/research
|
|
313
|
+
```
|
|
256
314
|
|
|
257
|
-
|
|
315
|
+
**Determine milestone context:**
|
|
316
|
+
|
|
317
|
+
Check if this is greenfield or subsequent milestone:
|
|
318
|
+
- If no "Validated" requirements in PROJECT.md → Greenfield (building from scratch)
|
|
319
|
+
- If "Validated" requirements exist → Subsequent milestone (adding to existing app)
|
|
320
|
+
|
|
321
|
+
Display spawning indicator:
|
|
322
|
+
```
|
|
323
|
+
◆ Spawning 4 researchers in parallel...
|
|
324
|
+
→ Stack research
|
|
325
|
+
→ Features research
|
|
326
|
+
→ Architecture research
|
|
327
|
+
→ Pitfalls research
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Spawn 4 parallel gsd-project-researcher agents with rich context:
|
|
331
|
+
|
|
332
|
+
```
|
|
333
|
+
Task(prompt="
|
|
334
|
+
<research_type>
|
|
335
|
+
Project Research — Stack dimension for [domain].
|
|
336
|
+
</research_type>
|
|
337
|
+
|
|
338
|
+
<milestone_context>
|
|
339
|
+
[greenfield OR subsequent]
|
|
340
|
+
|
|
341
|
+
Greenfield: Research the standard stack for building [domain] from scratch.
|
|
342
|
+
Subsequent: Research what's needed to add [target features] to an existing [domain] app. Don't re-research the existing system.
|
|
343
|
+
</milestone_context>
|
|
344
|
+
|
|
345
|
+
<question>
|
|
346
|
+
What's the standard 2025 stack for [domain]?
|
|
347
|
+
</question>
|
|
348
|
+
|
|
349
|
+
<project_context>
|
|
350
|
+
[PROJECT.md summary - core value, constraints, what they're building]
|
|
351
|
+
</project_context>
|
|
352
|
+
|
|
353
|
+
<downstream_consumer>
|
|
354
|
+
Your STACK.md feeds into roadmap creation. Be prescriptive:
|
|
355
|
+
- Specific libraries with versions
|
|
356
|
+
- Clear rationale for each choice
|
|
357
|
+
- What NOT to use and why
|
|
358
|
+
</downstream_consumer>
|
|
359
|
+
|
|
360
|
+
<quality_gate>
|
|
361
|
+
- [ ] Versions are current (verify with Context7/official docs, not training data)
|
|
362
|
+
- [ ] Rationale explains WHY, not just WHAT
|
|
363
|
+
- [ ] Confidence levels assigned to each recommendation
|
|
364
|
+
</quality_gate>
|
|
365
|
+
|
|
366
|
+
<output>
|
|
367
|
+
write to: .planning/research/STACK.md
|
|
368
|
+
Use template: ~/.config/opencode/get-shit-done/templates/research-project/STACK.md
|
|
369
|
+
</output>
|
|
370
|
+
", subagent_type="gsd-project-researcher", description="Stack research")
|
|
371
|
+
|
|
372
|
+
Task(prompt="
|
|
373
|
+
<research_type>
|
|
374
|
+
Project Research — Features dimension for [domain].
|
|
375
|
+
</research_type>
|
|
376
|
+
|
|
377
|
+
<milestone_context>
|
|
378
|
+
[greenfield OR subsequent]
|
|
379
|
+
|
|
380
|
+
Greenfield: What features do [domain] products have? What's table stakes vs differentiating?
|
|
381
|
+
Subsequent: How do [target features] typically work? What's expected behavior?
|
|
382
|
+
</milestone_context>
|
|
383
|
+
|
|
384
|
+
<question>
|
|
385
|
+
What features do [domain] products have? What's table stakes vs differentiating?
|
|
386
|
+
</question>
|
|
387
|
+
|
|
388
|
+
<project_context>
|
|
389
|
+
[PROJECT.md summary]
|
|
390
|
+
</project_context>
|
|
391
|
+
|
|
392
|
+
<downstream_consumer>
|
|
393
|
+
Your FEATURES.md feeds into requirements definition. Categorize clearly:
|
|
394
|
+
- Table stakes (must have or users leave)
|
|
395
|
+
- Differentiators (competitive advantage)
|
|
396
|
+
- Anti-features (things to deliberately NOT build)
|
|
397
|
+
</downstream_consumer>
|
|
398
|
+
|
|
399
|
+
<quality_gate>
|
|
400
|
+
- [ ] Categories are clear (table stakes vs differentiators vs anti-features)
|
|
401
|
+
- [ ] Complexity noted for each feature
|
|
402
|
+
- [ ] Dependencies between features identified
|
|
403
|
+
</quality_gate>
|
|
404
|
+
|
|
405
|
+
<output>
|
|
406
|
+
write to: .planning/research/FEATURES.md
|
|
407
|
+
Use template: ~/.config/opencode/get-shit-done/templates/research-project/FEATURES.md
|
|
408
|
+
</output>
|
|
409
|
+
", subagent_type="gsd-project-researcher", description="Features research")
|
|
410
|
+
|
|
411
|
+
Task(prompt="
|
|
412
|
+
<research_type>
|
|
413
|
+
Project Research — Architecture dimension for [domain].
|
|
414
|
+
</research_type>
|
|
415
|
+
|
|
416
|
+
<milestone_context>
|
|
417
|
+
[greenfield OR subsequent]
|
|
418
|
+
|
|
419
|
+
Greenfield: How are [domain] systems typically structured? What are major components?
|
|
420
|
+
Subsequent: How do [target features] integrate with existing [domain] architecture?
|
|
421
|
+
</milestone_context>
|
|
422
|
+
|
|
423
|
+
<question>
|
|
424
|
+
How are [domain] systems typically structured? What are major components?
|
|
425
|
+
</question>
|
|
426
|
+
|
|
427
|
+
<project_context>
|
|
428
|
+
[PROJECT.md summary]
|
|
429
|
+
</project_context>
|
|
430
|
+
|
|
431
|
+
<downstream_consumer>
|
|
432
|
+
Your ARCHITECTURE.md informs phase structure in roadmap. Include:
|
|
433
|
+
- Component boundaries (what talks to what)
|
|
434
|
+
- Data flow (how information moves)
|
|
435
|
+
- Suggested build order (dependencies between components)
|
|
436
|
+
</downstream_consumer>
|
|
437
|
+
|
|
438
|
+
<quality_gate>
|
|
439
|
+
- [ ] Components clearly defined with boundaries
|
|
440
|
+
- [ ] Data flow direction explicit
|
|
441
|
+
- [ ] Build order implications noted
|
|
442
|
+
</quality_gate>
|
|
443
|
+
|
|
444
|
+
<output>
|
|
445
|
+
write to: .planning/research/ARCHITECTURE.md
|
|
446
|
+
Use template: ~/.config/opencode/get-shit-done/templates/research-project/ARCHITECTURE.md
|
|
447
|
+
</output>
|
|
448
|
+
", subagent_type="gsd-project-researcher", description="Architecture research")
|
|
449
|
+
|
|
450
|
+
Task(prompt="
|
|
451
|
+
<research_type>
|
|
452
|
+
Project Research — Pitfalls dimension for [domain].
|
|
453
|
+
</research_type>
|
|
454
|
+
|
|
455
|
+
<milestone_context>
|
|
456
|
+
[greenfield OR subsequent]
|
|
457
|
+
|
|
458
|
+
Greenfield: What do [domain] projects commonly get wrong? Critical mistakes?
|
|
459
|
+
Subsequent: What are common mistakes when adding [target features] to [domain]?
|
|
460
|
+
</milestone_context>
|
|
461
|
+
|
|
462
|
+
<question>
|
|
463
|
+
What do [domain] projects commonly get wrong? Critical mistakes?
|
|
464
|
+
</question>
|
|
465
|
+
|
|
466
|
+
<project_context>
|
|
467
|
+
[PROJECT.md summary]
|
|
468
|
+
</project_context>
|
|
469
|
+
|
|
470
|
+
<downstream_consumer>
|
|
471
|
+
Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall:
|
|
472
|
+
- Warning signs (how to detect early)
|
|
473
|
+
- Prevention strategy (how to avoid)
|
|
474
|
+
- Which phase should address it
|
|
475
|
+
</downstream_consumer>
|
|
476
|
+
|
|
477
|
+
<quality_gate>
|
|
478
|
+
- [ ] Pitfalls are specific to this domain (not generic advice)
|
|
479
|
+
- [ ] Prevention strategies are actionable
|
|
480
|
+
- [ ] Phase mapping included where relevant
|
|
481
|
+
</quality_gate>
|
|
482
|
+
|
|
483
|
+
<output>
|
|
484
|
+
write to: .planning/research/PITFALLS.md
|
|
485
|
+
Use template: ~/.config/opencode/get-shit-done/templates/research-project/PITFALLS.md
|
|
486
|
+
</output>
|
|
487
|
+
", subagent_type="gsd-project-researcher", description="Pitfalls research")
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
After all 4 agents complete, spawn synthesizer to create SUMMARY.md:
|
|
491
|
+
|
|
492
|
+
```
|
|
493
|
+
Task(prompt="
|
|
494
|
+
<task>
|
|
495
|
+
Synthesize research outputs into SUMMARY.md.
|
|
496
|
+
</task>
|
|
497
|
+
|
|
498
|
+
<research_files>
|
|
499
|
+
read these files:
|
|
500
|
+
- .planning/research/STACK.md
|
|
501
|
+
- .planning/research/FEATURES.md
|
|
502
|
+
- .planning/research/ARCHITECTURE.md
|
|
503
|
+
- .planning/research/PITFALLS.md
|
|
504
|
+
</research_files>
|
|
505
|
+
|
|
506
|
+
<output>
|
|
507
|
+
write to: .planning/research/SUMMARY.md
|
|
508
|
+
Use template: ~/.config/opencode/get-shit-done/templates/research-project/SUMMARY.md
|
|
509
|
+
Commit after writing.
|
|
510
|
+
</output>
|
|
511
|
+
", subagent_type="gsd-research-synthesizer", description="Synthesize research")
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
Display research complete banner and key findings:
|
|
515
|
+
```
|
|
516
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
517
|
+
GSD ► RESEARCH COMPLETE ✓
|
|
518
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
519
|
+
|
|
520
|
+
## Key Findings
|
|
521
|
+
|
|
522
|
+
**Stack:** [from SUMMARY.md]
|
|
523
|
+
**Table Stakes:** [from SUMMARY.md]
|
|
524
|
+
**Watch Out For:** [from SUMMARY.md]
|
|
525
|
+
|
|
526
|
+
Files: `.planning/research/`
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
**If "Skip research":** Continue to Phase 7.
|
|
530
|
+
|
|
531
|
+
## Phase 7: Define Requirements
|
|
532
|
+
|
|
533
|
+
Display stage banner:
|
|
534
|
+
```
|
|
535
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
536
|
+
GSD ► DEFINING REQUIREMENTS
|
|
537
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
**Load context:**
|
|
541
|
+
|
|
542
|
+
read PROJECT.md and extract:
|
|
543
|
+
- Core value (the ONE thing that must work)
|
|
544
|
+
- Stated constraints (budget, timeline, tech limitations)
|
|
545
|
+
- Any explicit scope boundaries
|
|
546
|
+
|
|
547
|
+
**If research exists:** read research/FEATURES.md and extract feature categories.
|
|
548
|
+
|
|
549
|
+
**Present features by category:**
|
|
550
|
+
|
|
551
|
+
```
|
|
552
|
+
Here are the features for [domain]:
|
|
553
|
+
|
|
554
|
+
## Authentication
|
|
555
|
+
**Table stakes:**
|
|
556
|
+
- Sign up with email/password
|
|
557
|
+
- Email verification
|
|
558
|
+
- Password reset
|
|
559
|
+
- Session management
|
|
560
|
+
|
|
561
|
+
**Differentiators:**
|
|
562
|
+
- Magic link login
|
|
563
|
+
- OAuth (Google, GitHub)
|
|
564
|
+
- 2FA
|
|
565
|
+
|
|
566
|
+
**Research notes:** [any relevant notes]
|
|
567
|
+
|
|
568
|
+
---
|
|
258
569
|
|
|
259
|
-
|
|
260
|
-
|
|
570
|
+
## [Next Category]
|
|
571
|
+
...
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
**If no research:** Gather requirements through conversation instead.
|
|
575
|
+
|
|
576
|
+
Ask: "What are the main things users need to be able to do?"
|
|
577
|
+
|
|
578
|
+
For each capability mentioned:
|
|
579
|
+
- Ask clarifying questions to make it specific
|
|
580
|
+
- Probe for related capabilities
|
|
581
|
+
- Group into categories
|
|
582
|
+
|
|
583
|
+
**Scope each category:**
|
|
584
|
+
|
|
585
|
+
For each category, use question:
|
|
586
|
+
|
|
587
|
+
- header: "[Category name]"
|
|
588
|
+
- question: "Which [category] features are in v1?"
|
|
589
|
+
- multiSelect: true
|
|
590
|
+
- options:
|
|
591
|
+
- "[Feature 1]" — [brief description]
|
|
592
|
+
- "[Feature 2]" — [brief description]
|
|
593
|
+
- "[Feature 3]" — [brief description]
|
|
594
|
+
- "None for v1" — Defer entire category
|
|
595
|
+
|
|
596
|
+
Track responses:
|
|
597
|
+
- Selected features → v1 requirements
|
|
598
|
+
- Unselected table stakes → v2 (users expect these)
|
|
599
|
+
- Unselected differentiators → out of scope
|
|
600
|
+
|
|
601
|
+
**Identify gaps:**
|
|
602
|
+
|
|
603
|
+
Use question:
|
|
604
|
+
- header: "Additions"
|
|
605
|
+
- question: "Any requirements research missed? (Features specific to your vision)"
|
|
261
606
|
- options:
|
|
262
|
-
- "
|
|
263
|
-
- "
|
|
607
|
+
- "No, research covered it" — Proceed
|
|
608
|
+
- "Yes, let me add some" — Capture additions
|
|
264
609
|
|
|
265
|
-
**
|
|
610
|
+
**Validate core value:**
|
|
266
611
|
|
|
267
|
-
|
|
612
|
+
Cross-check requirements against Core Value from PROJECT.md. If gaps detected, surface them.
|
|
268
613
|
|
|
269
|
-
|
|
614
|
+
**Generate REQUIREMENTS.md:**
|
|
270
615
|
|
|
271
|
-
Create `.planning/
|
|
616
|
+
Create `.planning/REQUIREMENTS.md` with:
|
|
617
|
+
- v1 Requirements grouped by category (checkboxes, REQ-IDs)
|
|
618
|
+
- v2 Requirements (deferred)
|
|
619
|
+
- Out of Scope (explicit exclusions with reasoning)
|
|
620
|
+
- Traceability section (empty, filled by roadmap)
|
|
272
621
|
|
|
273
|
-
|
|
622
|
+
**REQ-ID format:** `[CATEGORY]-[NUMBER]` (AUTH-01, CONTENT-02)
|
|
274
623
|
|
|
275
|
-
|
|
624
|
+
**Requirement quality criteria:**
|
|
625
|
+
|
|
626
|
+
Good requirements are:
|
|
627
|
+
- **Specific and testable:** "User can reset password via email link" (not "Handle password reset")
|
|
628
|
+
- **User-centric:** "User can X" (not "System does Y")
|
|
629
|
+
- **Atomic:** One capability per requirement (not "User can login and manage profile")
|
|
630
|
+
- **Independent:** Minimal dependencies on other requirements
|
|
631
|
+
|
|
632
|
+
Reject vague requirements. Push for specificity:
|
|
633
|
+
- "Handle authentication" → "User can log in with email/password and stay logged in across sessions"
|
|
634
|
+
- "Support sharing" → "User can share post via link that opens in recipient's browser"
|
|
635
|
+
|
|
636
|
+
**Present full requirements list:**
|
|
637
|
+
|
|
638
|
+
Show every requirement (not counts) for user confirmation:
|
|
639
|
+
|
|
640
|
+
```
|
|
641
|
+
## v1 Requirements
|
|
642
|
+
|
|
643
|
+
### Authentication
|
|
644
|
+
- [ ] **AUTH-01**: User can create account with email/password
|
|
645
|
+
- [ ] **AUTH-02**: User can log in and stay logged in across sessions
|
|
646
|
+
- [ ] **AUTH-03**: User can log out from any page
|
|
647
|
+
|
|
648
|
+
### Content
|
|
649
|
+
- [ ] **CONT-01**: User can create posts with text
|
|
650
|
+
- [ ] **CONT-02**: User can edit their own posts
|
|
651
|
+
|
|
652
|
+
[... full list ...]
|
|
653
|
+
|
|
654
|
+
---
|
|
655
|
+
|
|
656
|
+
Does this capture what you're building? (yes / adjust)
|
|
657
|
+
```
|
|
658
|
+
|
|
659
|
+
If "adjust": Return to scoping.
|
|
660
|
+
|
|
661
|
+
**Commit requirements:**
|
|
276
662
|
|
|
277
663
|
```bash
|
|
278
|
-
git add .planning/
|
|
664
|
+
git add .planning/REQUIREMENTS.md
|
|
279
665
|
git commit -m "$(cat <<'EOF'
|
|
280
|
-
docs:
|
|
666
|
+
docs: define v1 requirements
|
|
281
667
|
|
|
282
|
-
[
|
|
283
|
-
|
|
284
|
-
Creates PROJECT.md with requirements and constraints.
|
|
668
|
+
[X] requirements across [N] categories
|
|
669
|
+
[Y] requirements deferred to v2
|
|
285
670
|
EOF
|
|
286
671
|
)"
|
|
287
672
|
```
|
|
288
673
|
|
|
289
|
-
|
|
674
|
+
## Phase 8: Create Roadmap
|
|
675
|
+
|
|
676
|
+
Display stage banner:
|
|
677
|
+
```
|
|
678
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
679
|
+
GSD ► CREATING ROADMAP
|
|
680
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
681
|
+
|
|
682
|
+
◆ Spawning roadmapper...
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
Spawn gsd-roadmapper agent with context:
|
|
686
|
+
|
|
687
|
+
```
|
|
688
|
+
Task(prompt="
|
|
689
|
+
<planning_context>
|
|
690
|
+
|
|
691
|
+
**Project:**
|
|
692
|
+
@.planning/PROJECT.md
|
|
693
|
+
|
|
694
|
+
**Requirements:**
|
|
695
|
+
@.planning/REQUIREMENTS.md
|
|
696
|
+
|
|
697
|
+
**Research (if exists):**
|
|
698
|
+
@.planning/research/SUMMARY.md
|
|
699
|
+
|
|
700
|
+
**Config:**
|
|
701
|
+
@.planning/config.json
|
|
702
|
+
|
|
703
|
+
</planning_context>
|
|
704
|
+
|
|
705
|
+
<instructions>
|
|
706
|
+
Create roadmap:
|
|
707
|
+
1. Derive phases from requirements (don't impose structure)
|
|
708
|
+
2. Map every v1 requirement to exactly one phase
|
|
709
|
+
3. Derive 2-5 success criteria per phase (observable user behaviors)
|
|
710
|
+
4. Validate 100% coverage
|
|
711
|
+
5. write files immediately (ROADMAP.md, STATE.md, update REQUIREMENTS.md traceability)
|
|
712
|
+
6. Return ROADMAP CREATED with summary
|
|
713
|
+
|
|
714
|
+
write files first, then return. This ensures artifacts persist even if context is lost.
|
|
715
|
+
</instructions>
|
|
716
|
+
", subagent_type="gsd-roadmapper", description="Create roadmap")
|
|
717
|
+
```
|
|
718
|
+
|
|
719
|
+
**Handle roadmapper return:**
|
|
290
720
|
|
|
291
|
-
|
|
721
|
+
**If `## ROADMAP BLOCKED`:**
|
|
722
|
+
- Present blocker information
|
|
723
|
+
- Work with user to resolve
|
|
724
|
+
- Re-spawn when resolved
|
|
292
725
|
|
|
293
|
-
|
|
726
|
+
**If `## ROADMAP CREATED`:**
|
|
727
|
+
|
|
728
|
+
read the created ROADMAP.md and present it nicely inline:
|
|
294
729
|
|
|
295
730
|
```
|
|
296
|
-
|
|
731
|
+
---
|
|
732
|
+
|
|
733
|
+
## Proposed Roadmap
|
|
297
734
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
735
|
+
**[N] phases** | **[X] requirements mapped** | All v1 requirements covered ✓
|
|
736
|
+
|
|
737
|
+
| # | Phase | Goal | Requirements | Success Criteria |
|
|
738
|
+
|---|-------|------|--------------|------------------|
|
|
739
|
+
| 1 | [Name] | [Goal] | [REQ-IDs] | [count] |
|
|
740
|
+
| 2 | [Name] | [Goal] | [REQ-IDs] | [count] |
|
|
741
|
+
| 3 | [Name] | [Goal] | [REQ-IDs] | [count] |
|
|
742
|
+
...
|
|
743
|
+
|
|
744
|
+
### Phase Details
|
|
745
|
+
|
|
746
|
+
**Phase 1: [Name]**
|
|
747
|
+
Goal: [goal]
|
|
748
|
+
Requirements: [REQ-IDs]
|
|
749
|
+
Success criteria:
|
|
750
|
+
1. [criterion]
|
|
751
|
+
2. [criterion]
|
|
752
|
+
3. [criterion]
|
|
753
|
+
|
|
754
|
+
**Phase 2: [Name]**
|
|
755
|
+
Goal: [goal]
|
|
756
|
+
Requirements: [REQ-IDs]
|
|
757
|
+
Success criteria:
|
|
758
|
+
1. [criterion]
|
|
759
|
+
2. [criterion]
|
|
760
|
+
|
|
761
|
+
[... continue for all phases ...]
|
|
301
762
|
|
|
302
763
|
---
|
|
764
|
+
```
|
|
765
|
+
|
|
766
|
+
**CRITICAL: Ask for approval before committing:**
|
|
767
|
+
|
|
768
|
+
Use question:
|
|
769
|
+
- header: "Roadmap"
|
|
770
|
+
- question: "Does this roadmap structure work for you?"
|
|
771
|
+
- options:
|
|
772
|
+
- "Approve" — Commit and continue
|
|
773
|
+
- "Adjust phases" — Tell me what to change
|
|
774
|
+
- "Review full file" — Show raw ROADMAP.md
|
|
775
|
+
|
|
776
|
+
**If "Approve":** Continue to commit.
|
|
777
|
+
|
|
778
|
+
**If "Adjust phases":**
|
|
779
|
+
- Get user's adjustment notes
|
|
780
|
+
- Re-spawn roadmapper with revision context:
|
|
781
|
+
```
|
|
782
|
+
Task(prompt="
|
|
783
|
+
<revision>
|
|
784
|
+
User feedback on roadmap:
|
|
785
|
+
[user's notes]
|
|
786
|
+
|
|
787
|
+
Current ROADMAP.md: @.planning/ROADMAP.md
|
|
788
|
+
|
|
789
|
+
Update the roadmap based on feedback. edit files in place.
|
|
790
|
+
Return ROADMAP REVISED with changes made.
|
|
791
|
+
</revision>
|
|
792
|
+
", subagent_type="gsd-roadmapper", description="Revise roadmap")
|
|
793
|
+
```
|
|
794
|
+
- Present revised roadmap
|
|
795
|
+
- Loop until user approves
|
|
796
|
+
|
|
797
|
+
**If "Review full file":** Display raw `cat .planning/ROADMAP.md`, then re-ask.
|
|
798
|
+
|
|
799
|
+
**Commit roadmap (after approval):**
|
|
800
|
+
|
|
801
|
+
```bash
|
|
802
|
+
git add .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
|
|
803
|
+
git commit -m "$(cat <<'EOF'
|
|
804
|
+
docs: create roadmap ([N] phases)
|
|
805
|
+
|
|
806
|
+
Phases:
|
|
807
|
+
1. [phase-name]: [requirements covered]
|
|
808
|
+
2. [phase-name]: [requirements covered]
|
|
809
|
+
...
|
|
810
|
+
|
|
811
|
+
All v1 requirements mapped to phases.
|
|
812
|
+
EOF
|
|
813
|
+
)"
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
## Phase 10: Done
|
|
817
|
+
|
|
818
|
+
Present completion with next steps:
|
|
819
|
+
|
|
820
|
+
```
|
|
821
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
822
|
+
GSD ► PROJECT INITIALIZED ✓
|
|
823
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
824
|
+
|
|
825
|
+
**[Project Name]**
|
|
826
|
+
|
|
827
|
+
| Artifact | Location |
|
|
828
|
+
|----------------|-----------------------------|
|
|
829
|
+
| Project | `.planning/PROJECT.md` |
|
|
830
|
+
| Config | `.planning/config.json` |
|
|
831
|
+
| Research | `.planning/research/` |
|
|
832
|
+
| Requirements | `.planning/REQUIREMENTS.md` |
|
|
833
|
+
| Roadmap | `.planning/ROADMAP.md` |
|
|
834
|
+
|
|
835
|
+
**[N] phases** | **[X] requirements** | Ready to build ✓
|
|
836
|
+
|
|
837
|
+
───────────────────────────────────────────────────────────────
|
|
303
838
|
|
|
304
839
|
## ▶ Next Up
|
|
305
840
|
|
|
306
|
-
**[
|
|
841
|
+
**Phase 1: [Phase Name]** — [Goal from ROADMAP.md]
|
|
307
842
|
|
|
308
|
-
`/gsd-
|
|
843
|
+
`/gsd-discuss-phase 1` — gather context and clarify approach
|
|
309
844
|
|
|
310
845
|
*`/new` first → fresh context window*
|
|
311
846
|
|
|
312
847
|
---
|
|
313
|
-
```
|
|
314
848
|
|
|
315
|
-
|
|
849
|
+
**Also available:**
|
|
850
|
+
- `/gsd-plan-phase 1` — skip discussion, plan directly
|
|
851
|
+
|
|
852
|
+
───────────────────────────────────────────────────────────────
|
|
853
|
+
```
|
|
316
854
|
|
|
317
855
|
</process>
|
|
318
856
|
|
|
@@ -320,16 +858,38 @@ Project initialized:
|
|
|
320
858
|
|
|
321
859
|
- `.planning/PROJECT.md`
|
|
322
860
|
- `.planning/config.json`
|
|
861
|
+
- `.planning/research/` (if research selected)
|
|
862
|
+
- `STACK.md`
|
|
863
|
+
- `FEATURES.md`
|
|
864
|
+
- `ARCHITECTURE.md`
|
|
865
|
+
- `PITFALLS.md`
|
|
866
|
+
- `SUMMARY.md`
|
|
867
|
+
- `.planning/REQUIREMENTS.md`
|
|
868
|
+
- `.planning/ROADMAP.md`
|
|
869
|
+
- `.planning/STATE.md`
|
|
323
870
|
|
|
324
871
|
</output>
|
|
325
872
|
|
|
326
873
|
<success_criteria>
|
|
327
874
|
|
|
328
|
-
- [ ]
|
|
329
|
-
- [ ]
|
|
330
|
-
- [ ]
|
|
331
|
-
- [ ]
|
|
332
|
-
- [ ]
|
|
333
|
-
- [ ]
|
|
875
|
+
- [ ] .planning/ directory created
|
|
876
|
+
- [ ] Git repo initialized
|
|
877
|
+
- [ ] Brownfield detection completed
|
|
878
|
+
- [ ] Deep questioning completed (threads followed, not rushed)
|
|
879
|
+
- [ ] PROJECT.md captures full context → **committed**
|
|
880
|
+
- [ ] config.json has workflow mode, depth, parallelization → **committed**
|
|
881
|
+
- [ ] Research completed (if selected) — 4 parallel agents spawned → **committed**
|
|
882
|
+
- [ ] Requirements gathered (from research or conversation)
|
|
883
|
+
- [ ] User scoped each category (v1/v2/out of scope)
|
|
884
|
+
- [ ] REQUIREMENTS.md created with REQ-IDs → **committed**
|
|
885
|
+
- [ ] gsd-roadmapper spawned with context
|
|
886
|
+
- [ ] Roadmap files written immediately (not draft)
|
|
887
|
+
- [ ] User feedback incorporated (if any)
|
|
888
|
+
- [ ] ROADMAP.md created with phases, requirement mappings, success criteria
|
|
889
|
+
- [ ] STATE.md initialized
|
|
890
|
+
- [ ] REQUIREMENTS.md traceability updated
|
|
891
|
+
- [ ] User knows next step is `/gsd-discuss-phase 1`
|
|
892
|
+
|
|
893
|
+
**Atomic commits:** Each phase commits its artifacts immediately. If context is lost, artifacts persist.
|
|
334
894
|
|
|
335
895
|
</success_criteria>
|