get-shit-done-cc 1.5.30 → 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/README.md +1 -2
- package/agents/gsd-project-researcher.md +6 -5
- package/agents/gsd-roadmapper.md +12 -103
- package/commands/gsd/complete-milestone.md +2 -3
- package/commands/gsd/help.md +9 -22
- package/commands/gsd/new-milestone.md +651 -73
- package/commands/gsd/progress.md +2 -11
- package/commands/gsd/verify-work.md +144 -0
- package/get-shit-done/references/continuation-format.md +2 -8
- package/get-shit-done/references/questioning.md +3 -2
- package/get-shit-done/templates/requirements.md +3 -3
- package/get-shit-done/templates/research-project/SUMMARY.md +4 -4
- package/get-shit-done/workflows/complete-milestone.md +4 -13
- package/package.json +1 -1
- package/commands/gsd/create-roadmap.md +0 -145
- package/commands/gsd/define-requirements.md +0 -134
- package/commands/gsd/discuss-milestone.md +0 -47
- package/commands/gsd/research-project.md +0 -323
- package/get-shit-done/templates/milestone-context.md +0 -93
- package/get-shit-done/workflows/create-roadmap.md +0 -632
- package/get-shit-done/workflows/define-requirements.md +0 -330
- package/get-shit-done/workflows/discuss-milestone.md +0 -227
package/commands/gsd/progress.md
CHANGED
|
@@ -323,21 +323,12 @@ Ready to plan the next milestone.
|
|
|
323
323
|
|
|
324
324
|
## ▶ Next Up
|
|
325
325
|
|
|
326
|
-
**
|
|
326
|
+
**Start Next Milestone** — questioning → research → requirements → roadmap
|
|
327
327
|
|
|
328
|
-
`/gsd:
|
|
328
|
+
`/gsd:new-milestone`
|
|
329
329
|
|
|
330
330
|
<sub>`/clear` first → fresh context window</sub>
|
|
331
331
|
|
|
332
|
-
---
|
|
333
|
-
|
|
334
|
-
**Next milestone flow:**
|
|
335
|
-
1. `/gsd:discuss-milestone` — thinking partner, creates context file
|
|
336
|
-
2. `/gsd:new-milestone` — update PROJECT.md with new goals
|
|
337
|
-
3. `/gsd:research-project` — (optional) research ecosystem
|
|
338
|
-
4. `/gsd:define-requirements` — scope what to build
|
|
339
|
-
5. `/gsd:create-roadmap` — plan how to build it
|
|
340
|
-
|
|
341
332
|
---
|
|
342
333
|
```
|
|
343
334
|
|
|
@@ -61,6 +61,150 @@ Phase: $ARGUMENTS (optional)
|
|
|
61
61
|
- Don't fix issues during testing — log as gaps, diagnose after all tests complete
|
|
62
62
|
</anti_patterns>
|
|
63
63
|
|
|
64
|
+
<offer_next>
|
|
65
|
+
Output this markdown directly (not as a code block). Route based on UAT results:
|
|
66
|
+
|
|
67
|
+
| Status | Route |
|
|
68
|
+
|--------|-------|
|
|
69
|
+
| All tests pass + more phases | Route A (next phase) |
|
|
70
|
+
| All tests pass + last phase | Route B (milestone complete) |
|
|
71
|
+
| Issues found + fix plans ready | Route C (execute fixes) |
|
|
72
|
+
| Issues found + planning blocked | Route D (manual intervention) |
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
**Route A: All tests pass, more phases remain**
|
|
77
|
+
|
|
78
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
79
|
+
GSD ► PHASE {Z} VERIFIED ✓
|
|
80
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
81
|
+
|
|
82
|
+
**Phase {Z}: {Name}**
|
|
83
|
+
|
|
84
|
+
{N}/{N} tests passed
|
|
85
|
+
UAT complete ✓
|
|
86
|
+
|
|
87
|
+
───────────────────────────────────────────────────────────────
|
|
88
|
+
|
|
89
|
+
## ▶ Next Up
|
|
90
|
+
|
|
91
|
+
**Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
|
|
92
|
+
|
|
93
|
+
/gsd:discuss-phase {Z+1} — gather context and clarify approach
|
|
94
|
+
|
|
95
|
+
<sub>/clear first → fresh context window</sub>
|
|
96
|
+
|
|
97
|
+
───────────────────────────────────────────────────────────────
|
|
98
|
+
|
|
99
|
+
**Also available:**
|
|
100
|
+
- /gsd:plan-phase {Z+1} — skip discussion, plan directly
|
|
101
|
+
- /gsd:execute-phase {Z+1} — skip to execution (if already planned)
|
|
102
|
+
|
|
103
|
+
───────────────────────────────────────────────────────────────
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
**Route B: All tests pass, milestone complete**
|
|
108
|
+
|
|
109
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
110
|
+
GSD ► PHASE {Z} VERIFIED ✓
|
|
111
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
112
|
+
|
|
113
|
+
**Phase {Z}: {Name}**
|
|
114
|
+
|
|
115
|
+
{N}/{N} tests passed
|
|
116
|
+
Final phase verified ✓
|
|
117
|
+
|
|
118
|
+
───────────────────────────────────────────────────────────────
|
|
119
|
+
|
|
120
|
+
## ▶ Next Up
|
|
121
|
+
|
|
122
|
+
**Audit milestone** — verify requirements, cross-phase integration, E2E flows
|
|
123
|
+
|
|
124
|
+
/gsd:audit-milestone
|
|
125
|
+
|
|
126
|
+
<sub>/clear first → fresh context window</sub>
|
|
127
|
+
|
|
128
|
+
───────────────────────────────────────────────────────────────
|
|
129
|
+
|
|
130
|
+
**Also available:**
|
|
131
|
+
- /gsd:complete-milestone — skip audit, archive directly
|
|
132
|
+
|
|
133
|
+
───────────────────────────────────────────────────────────────
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
**Route C: Issues found, fix plans ready**
|
|
138
|
+
|
|
139
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
140
|
+
GSD ► PHASE {Z} ISSUES FOUND ⚠
|
|
141
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
142
|
+
|
|
143
|
+
**Phase {Z}: {Name}**
|
|
144
|
+
|
|
145
|
+
{N}/{M} tests passed
|
|
146
|
+
{X} issues diagnosed
|
|
147
|
+
Fix plans verified ✓
|
|
148
|
+
|
|
149
|
+
### Issues Found
|
|
150
|
+
|
|
151
|
+
{List issues with severity from UAT.md}
|
|
152
|
+
|
|
153
|
+
───────────────────────────────────────────────────────────────
|
|
154
|
+
|
|
155
|
+
## ▶ Next Up
|
|
156
|
+
|
|
157
|
+
**Execute fix plans** — run diagnosed fixes
|
|
158
|
+
|
|
159
|
+
/gsd:execute-phase {Z}
|
|
160
|
+
|
|
161
|
+
<sub>/clear first → fresh context window</sub>
|
|
162
|
+
|
|
163
|
+
───────────────────────────────────────────────────────────────
|
|
164
|
+
|
|
165
|
+
**Also available:**
|
|
166
|
+
- cat .planning/phases/{phase_dir}/*-PLAN.md — review fix plans
|
|
167
|
+
- /gsd:plan-phase {Z} --gaps — regenerate fix plans
|
|
168
|
+
|
|
169
|
+
───────────────────────────────────────────────────────────────
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
**Route D: Issues found, planning blocked**
|
|
174
|
+
|
|
175
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
176
|
+
GSD ► PHASE {Z} BLOCKED ✗
|
|
177
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
178
|
+
|
|
179
|
+
**Phase {Z}: {Name}**
|
|
180
|
+
|
|
181
|
+
{N}/{M} tests passed
|
|
182
|
+
Fix planning blocked after {X} iterations
|
|
183
|
+
|
|
184
|
+
### Unresolved Issues
|
|
185
|
+
|
|
186
|
+
{List blocking issues from planner/checker output}
|
|
187
|
+
|
|
188
|
+
───────────────────────────────────────────────────────────────
|
|
189
|
+
|
|
190
|
+
## ▶ Next Up
|
|
191
|
+
|
|
192
|
+
**Manual intervention required**
|
|
193
|
+
|
|
194
|
+
Review the issues above and either:
|
|
195
|
+
1. Provide guidance for fix planning
|
|
196
|
+
2. Manually address blockers
|
|
197
|
+
3. Accept current state and continue
|
|
198
|
+
|
|
199
|
+
───────────────────────────────────────────────────────────────
|
|
200
|
+
|
|
201
|
+
**Options:**
|
|
202
|
+
- /gsd:plan-phase {Z} --gaps — retry fix planning with guidance
|
|
203
|
+
- /gsd:discuss-phase {Z} — gather more context before replanning
|
|
204
|
+
|
|
205
|
+
───────────────────────────────────────────────────────────────
|
|
206
|
+
</offer_next>
|
|
207
|
+
|
|
64
208
|
<success_criteria>
|
|
65
209
|
- [ ] UAT.md created with tests from SUMMARY.md
|
|
66
210
|
- [ ] Tests presented one at a time with expected behavior
|
|
@@ -167,18 +167,12 @@ All 4 phases shipped
|
|
|
167
167
|
|
|
168
168
|
## ▶ Next Up
|
|
169
169
|
|
|
170
|
-
**
|
|
170
|
+
**Start v1.1** — questioning → research → requirements → roadmap
|
|
171
171
|
|
|
172
|
-
`/gsd:
|
|
172
|
+
`/gsd:new-milestone`
|
|
173
173
|
|
|
174
174
|
<sub>`/clear` first → fresh context window</sub>
|
|
175
175
|
|
|
176
|
-
---
|
|
177
|
-
|
|
178
|
-
**Also available:**
|
|
179
|
-
- `/gsd:new-milestone` — create directly if scope is clear
|
|
180
|
-
- Review accomplishments before moving on
|
|
181
|
-
|
|
182
176
|
---
|
|
183
177
|
```
|
|
184
178
|
|
|
@@ -16,8 +16,9 @@ Don't interrogate. Collaborate. Don't follow a script. Follow the thread.
|
|
|
16
16
|
|
|
17
17
|
By the end of questioning, you need enough clarity to write a PROJECT.md that downstream phases can act on:
|
|
18
18
|
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
19
|
+
- **Research** needs: what domain to research, what the user already knows, what unknowns exist
|
|
20
|
+
- **Requirements** needs: clear enough vision to scope v1 features
|
|
21
|
+
- **Roadmap** needs: clear enough vision to decompose into phases, what "done" looks like
|
|
21
22
|
- **plan-phase** needs: specific requirements to break into tasks, context for implementation choices
|
|
22
23
|
- **execute-phase** needs: success criteria to verify against, the "why" behind requirements
|
|
23
24
|
|
|
@@ -52,7 +52,7 @@ Explicitly excluded. Documented to prevent scope creep.
|
|
|
52
52
|
|
|
53
53
|
## Traceability
|
|
54
54
|
|
|
55
|
-
Which phases cover which requirements. Updated
|
|
55
|
+
Which phases cover which requirements. Updated during roadmap creation.
|
|
56
56
|
|
|
57
57
|
| Requirement | Phase | Status |
|
|
58
58
|
|-------------|-------|--------|
|
|
@@ -97,9 +97,9 @@ Which phases cover which requirements. Updated by create-roadmap.
|
|
|
97
97
|
- Anti-features from research belong here with warnings
|
|
98
98
|
|
|
99
99
|
**Traceability:**
|
|
100
|
-
- Empty initially, populated
|
|
100
|
+
- Empty initially, populated during roadmap creation
|
|
101
101
|
- Each requirement maps to exactly one phase
|
|
102
|
-
- Unmapped requirements = roadmap gap
|
|
102
|
+
- Unmapped requirements = roadmap gap
|
|
103
103
|
|
|
104
104
|
**Status Values:**
|
|
105
105
|
- Pending: Not started
|
|
@@ -151,7 +151,7 @@ Phases with standard patterns (skip research-phase):
|
|
|
151
151
|
|
|
152
152
|
**Implications for Roadmap:**
|
|
153
153
|
- This is the most important section
|
|
154
|
-
- Directly informs
|
|
154
|
+
- Directly informs roadmap creation
|
|
155
155
|
- Be explicit about phase suggestions and rationale
|
|
156
156
|
- Include research flags for each suggested phase
|
|
157
157
|
|
|
@@ -162,9 +162,9 @@ Phases with standard patterns (skip research-phase):
|
|
|
162
162
|
- MEDIUM = community consensus, multiple sources agree
|
|
163
163
|
- LOW = single source or inference
|
|
164
164
|
|
|
165
|
-
**Integration with
|
|
166
|
-
- This file is loaded as
|
|
165
|
+
**Integration with roadmap creation:**
|
|
166
|
+
- This file is loaded as context during roadmap creation
|
|
167
167
|
- Phase suggestions here become starting point for roadmap
|
|
168
|
-
- Research flags inform
|
|
168
|
+
- Research flags inform phase planning
|
|
169
169
|
|
|
170
170
|
</guidelines>
|
|
@@ -528,7 +528,7 @@ Archive requirements and prepare for fresh requirements in next milestone.
|
|
|
528
528
|
✅ REQUIREMENTS.md deleted (fresh one needed for next milestone)
|
|
529
529
|
```
|
|
530
530
|
|
|
531
|
-
**Important:** The next milestone workflow starts with `/gsd:
|
|
531
|
+
**Important:** The next milestone workflow starts with `/gsd:new-milestone` which includes requirements definition. PROJECT.md's Validated section carries the cumulative record across milestones.
|
|
532
532
|
|
|
533
533
|
</step>
|
|
534
534
|
|
|
@@ -681,21 +681,12 @@ Tag: v[X.Y]
|
|
|
681
681
|
|
|
682
682
|
## ▶ Next Up
|
|
683
683
|
|
|
684
|
-
**
|
|
684
|
+
**Start Next Milestone** — questioning → research → requirements → roadmap
|
|
685
685
|
|
|
686
|
-
`/gsd:
|
|
686
|
+
`/gsd:new-milestone`
|
|
687
687
|
|
|
688
688
|
<sub>`/clear` first → fresh context window</sub>
|
|
689
689
|
|
|
690
|
-
---
|
|
691
|
-
|
|
692
|
-
**Next milestone flow:**
|
|
693
|
-
1. `/gsd:discuss-milestone` — thinking partner, creates context file
|
|
694
|
-
2. `/gsd:new-milestone` — update PROJECT.md with new goals
|
|
695
|
-
3. `/gsd:research-project` — (optional) research ecosystem
|
|
696
|
-
4. `/gsd:define-requirements` — scope what to build
|
|
697
|
-
5. `/gsd:create-roadmap` — plan how to build it
|
|
698
|
-
|
|
699
690
|
---
|
|
700
691
|
```
|
|
701
692
|
|
|
@@ -754,6 +745,6 @@ Milestone completion is successful when:
|
|
|
754
745
|
- [ ] STATE.md updated with fresh project reference
|
|
755
746
|
- [ ] Git tag created (v[X.Y])
|
|
756
747
|
- [ ] Milestone commit made (includes archive files and deletion)
|
|
757
|
-
- [ ] User knows next
|
|
748
|
+
- [ ] User knows next step (/gsd:new-milestone)
|
|
758
749
|
|
|
759
750
|
</success_criteria>
|
package/package.json
CHANGED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd:create-roadmap
|
|
3
|
-
description: Create roadmap with phases for the project
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Write
|
|
7
|
-
- Bash
|
|
8
|
-
- AskUserQuestion
|
|
9
|
-
- Glob
|
|
10
|
-
- Task
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
<!--
|
|
14
|
-
DEPRECATED: This command is now integrated into /gsd:new-project
|
|
15
|
-
|
|
16
|
-
The unified /gsd:new-project flow includes roadmap creation as Phase 8,
|
|
17
|
-
using the gsd-roadmapper agent for heavy lifting.
|
|
18
|
-
|
|
19
|
-
This standalone command is kept for users who want to:
|
|
20
|
-
- Recreate roadmap after significant scope changes
|
|
21
|
-
- Create roadmap for a project initialized before this integration
|
|
22
|
-
- Replace an existing roadmap
|
|
23
|
-
|
|
24
|
-
For new projects, use /gsd:new-project instead.
|
|
25
|
-
|
|
26
|
-
Deprecated: 2026-01-16
|
|
27
|
-
-->
|
|
28
|
-
|
|
29
|
-
<objective>
|
|
30
|
-
Create project roadmap with phase breakdown.
|
|
31
|
-
|
|
32
|
-
Roadmaps define what work happens in what order. Phases map to requirements.
|
|
33
|
-
|
|
34
|
-
**Note:** For new projects, `/gsd:new-project` includes roadmap creation. Use this command to recreate roadmap later.
|
|
35
|
-
</objective>
|
|
36
|
-
|
|
37
|
-
<execution_context>
|
|
38
|
-
@~/.claude/get-shit-done/workflows/create-roadmap.md
|
|
39
|
-
@~/.claude/get-shit-done/templates/roadmap.md
|
|
40
|
-
@~/.claude/get-shit-done/templates/state.md
|
|
41
|
-
</execution_context>
|
|
42
|
-
|
|
43
|
-
<context>
|
|
44
|
-
@.planning/PROJECT.md
|
|
45
|
-
@.planning/config.json
|
|
46
|
-
@.planning/REQUIREMENTS.md
|
|
47
|
-
@.planning/research/SUMMARY.md (if exists)
|
|
48
|
-
</context>
|
|
49
|
-
|
|
50
|
-
<process>
|
|
51
|
-
|
|
52
|
-
<step name="validate">
|
|
53
|
-
```bash
|
|
54
|
-
# Verify project exists
|
|
55
|
-
[ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md found. Run /gsd:new-project first."; exit 1; }
|
|
56
|
-
|
|
57
|
-
# Verify requirements exist
|
|
58
|
-
[ -f .planning/REQUIREMENTS.md ] || { echo "ERROR: No REQUIREMENTS.md found. Run /gsd:define-requirements first."; exit 1; }
|
|
59
|
-
```
|
|
60
|
-
</step>
|
|
61
|
-
|
|
62
|
-
<step name="check_existing">
|
|
63
|
-
Check if roadmap already exists:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
[ -f .planning/ROADMAP.md ] && echo "ROADMAP_EXISTS" || echo "NO_ROADMAP"
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**If ROADMAP_EXISTS:**
|
|
70
|
-
Use AskUserQuestion:
|
|
71
|
-
- header: "Roadmap exists"
|
|
72
|
-
- question: "A roadmap already exists. What would you like to do?"
|
|
73
|
-
- options:
|
|
74
|
-
- "View existing" - Show current roadmap
|
|
75
|
-
- "Replace" - Create new roadmap (will overwrite)
|
|
76
|
-
- "Cancel" - Keep existing roadmap
|
|
77
|
-
|
|
78
|
-
If "View existing": `cat .planning/ROADMAP.md` and exit
|
|
79
|
-
If "Cancel": Exit
|
|
80
|
-
If "Replace": Continue with workflow
|
|
81
|
-
</step>
|
|
82
|
-
|
|
83
|
-
<step name="create_roadmap">
|
|
84
|
-
Follow the create-roadmap.md workflow starting from identify_phases step.
|
|
85
|
-
|
|
86
|
-
The workflow handles:
|
|
87
|
-
- Loading requirements
|
|
88
|
-
- Phase identification mapped to requirements
|
|
89
|
-
- Requirement coverage validation (no orphaned requirements)
|
|
90
|
-
- Research flags for each phase
|
|
91
|
-
- Confirmation gates (respecting config mode)
|
|
92
|
-
- ROADMAP.md creation with requirement mappings
|
|
93
|
-
- STATE.md initialization
|
|
94
|
-
- REQUIREMENTS.md traceability update
|
|
95
|
-
- Phase directory creation
|
|
96
|
-
- Git commit
|
|
97
|
-
</step>
|
|
98
|
-
|
|
99
|
-
<step name="done">
|
|
100
|
-
```
|
|
101
|
-
Roadmap created:
|
|
102
|
-
- Roadmap: .planning/ROADMAP.md
|
|
103
|
-
- State: .planning/STATE.md
|
|
104
|
-
- [N] phases defined
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
## ▶ Next Up
|
|
109
|
-
|
|
110
|
-
**Phase 1: [Name]** — [Goal from ROADMAP.md]
|
|
111
|
-
|
|
112
|
-
`/gsd:discuss-phase 1` — gather context and clarify approach
|
|
113
|
-
|
|
114
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
**Also available:**
|
|
119
|
-
- `/gsd:plan-phase 1` — skip discussion, plan directly
|
|
120
|
-
- Review roadmap
|
|
121
|
-
|
|
122
|
-
---
|
|
123
|
-
```
|
|
124
|
-
</step>
|
|
125
|
-
|
|
126
|
-
</process>
|
|
127
|
-
|
|
128
|
-
<output>
|
|
129
|
-
- `.planning/ROADMAP.md`
|
|
130
|
-
- `.planning/STATE.md`
|
|
131
|
-
- `.planning/phases/XX-name/` directories
|
|
132
|
-
</output>
|
|
133
|
-
|
|
134
|
-
<success_criteria>
|
|
135
|
-
- [ ] PROJECT.md validated
|
|
136
|
-
- [ ] REQUIREMENTS.md validated
|
|
137
|
-
- [ ] All v1 requirements mapped to phases (no orphans)
|
|
138
|
-
- [ ] Success criteria derived for each phase (2-5 observable behaviors)
|
|
139
|
-
- [ ] Success criteria cross-checked against requirements (gaps resolved)
|
|
140
|
-
- [ ] ROADMAP.md created with phases, requirement mappings, and success criteria
|
|
141
|
-
- [ ] STATE.md initialized
|
|
142
|
-
- [ ] REQUIREMENTS.md traceability section updated
|
|
143
|
-
- [ ] Phase directories created
|
|
144
|
-
- [ ] Changes committed
|
|
145
|
-
</success_criteria>
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd:define-requirements
|
|
3
|
-
description: Define what "done" looks like with checkable requirements
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Write
|
|
7
|
-
- Bash
|
|
8
|
-
- Glob
|
|
9
|
-
- AskUserQuestion
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
<!--
|
|
13
|
-
DEPRECATED: This command is now integrated into /gsd:new-project
|
|
14
|
-
|
|
15
|
-
The unified /gsd:new-project flow includes requirements definition as Phase 7.
|
|
16
|
-
This standalone command is kept for users who want to:
|
|
17
|
-
- Redefine requirements mid-project
|
|
18
|
-
- Add new requirements after initial project setup
|
|
19
|
-
- Adjust v1/v2 scope boundaries
|
|
20
|
-
|
|
21
|
-
For new projects, use /gsd:new-project instead.
|
|
22
|
-
|
|
23
|
-
Deprecated: 2026-01-16
|
|
24
|
-
-->
|
|
25
|
-
|
|
26
|
-
<objective>
|
|
27
|
-
Define concrete, checkable requirements for v1.
|
|
28
|
-
|
|
29
|
-
Two modes:
|
|
30
|
-
1. **With research** — Transform FEATURES.md into scoped requirements
|
|
31
|
-
2. **Without research** — Gather requirements through questioning
|
|
32
|
-
|
|
33
|
-
Output: `.planning/REQUIREMENTS.md`
|
|
34
|
-
|
|
35
|
-
**Note:** For new projects, `/gsd:new-project` includes requirements definition. Use this command to redefine requirements later.
|
|
36
|
-
</objective>
|
|
37
|
-
|
|
38
|
-
<execution_context>
|
|
39
|
-
@~/.claude/get-shit-done/workflows/define-requirements.md
|
|
40
|
-
@~/.claude/get-shit-done/templates/requirements.md
|
|
41
|
-
</execution_context>
|
|
42
|
-
|
|
43
|
-
<context>
|
|
44
|
-
@.planning/PROJECT.md
|
|
45
|
-
@.planning/research/FEATURES.md (if exists)
|
|
46
|
-
@.planning/research/SUMMARY.md (if exists)
|
|
47
|
-
</context>
|
|
48
|
-
|
|
49
|
-
<process>
|
|
50
|
-
|
|
51
|
-
<step name="validate">
|
|
52
|
-
```bash
|
|
53
|
-
# Verify project exists
|
|
54
|
-
[ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md found. Run /gsd:new-project first."; exit 1; }
|
|
55
|
-
|
|
56
|
-
# Check for research
|
|
57
|
-
[ -f .planning/research/FEATURES.md ] && echo "HAS_RESEARCH" || echo "NO_RESEARCH"
|
|
58
|
-
|
|
59
|
-
# Check if requirements already exist
|
|
60
|
-
[ -f .planning/REQUIREMENTS.md ] && echo "REQUIREMENTS_EXISTS" || echo "NO_REQUIREMENTS"
|
|
61
|
-
```
|
|
62
|
-
</step>
|
|
63
|
-
|
|
64
|
-
<step name="check_existing">
|
|
65
|
-
**If REQUIREMENTS_EXISTS:**
|
|
66
|
-
|
|
67
|
-
Use AskUserQuestion:
|
|
68
|
-
- header: "Requirements exist"
|
|
69
|
-
- question: "Requirements already defined. What would you like to do?"
|
|
70
|
-
- options:
|
|
71
|
-
- "View existing" — Show current requirements
|
|
72
|
-
- "Replace" — Define requirements fresh (will overwrite)
|
|
73
|
-
- "Cancel" — Keep existing requirements
|
|
74
|
-
|
|
75
|
-
If "View existing": Read and display `.planning/REQUIREMENTS.md`, then exit
|
|
76
|
-
If "Cancel": Exit
|
|
77
|
-
If "Replace": Continue with workflow
|
|
78
|
-
</step>
|
|
79
|
-
|
|
80
|
-
<step name="execute">
|
|
81
|
-
**If HAS_RESEARCH:**
|
|
82
|
-
Follow the define-requirements.md workflow:
|
|
83
|
-
- Load research features from FEATURES.md
|
|
84
|
-
- Present features by category
|
|
85
|
-
- Ask user to scope each category (v1 / v2 / out of scope)
|
|
86
|
-
- Capture any additions research missed
|
|
87
|
-
- Generate REQUIREMENTS.md with checkable list
|
|
88
|
-
|
|
89
|
-
**If NO_RESEARCH:**
|
|
90
|
-
Gather requirements through questioning:
|
|
91
|
-
- Read PROJECT.md for core value and context
|
|
92
|
-
- Ask: "What are the main things users need to be able to do?"
|
|
93
|
-
- For each capability mentioned, probe for specifics
|
|
94
|
-
- Group into categories (Authentication, Content, etc.)
|
|
95
|
-
- For each category, ask what's v1 vs v2 vs out of scope
|
|
96
|
-
- Generate REQUIREMENTS.md with checkable list
|
|
97
|
-
|
|
98
|
-
Same output format either way — the difference is source (research vs conversation).
|
|
99
|
-
</step>
|
|
100
|
-
|
|
101
|
-
<step name="done">
|
|
102
|
-
```
|
|
103
|
-
Requirements defined:
|
|
104
|
-
|
|
105
|
-
- Requirements: .planning/REQUIREMENTS.md
|
|
106
|
-
- v1 scope: [N] requirements across [M] categories
|
|
107
|
-
- v2 scope: [X] requirements deferred
|
|
108
|
-
- Out of scope: [Y] requirements excluded
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## ▶ Next Up
|
|
113
|
-
|
|
114
|
-
**Create roadmap** — phases mapped to requirements
|
|
115
|
-
|
|
116
|
-
`/gsd:create-roadmap`
|
|
117
|
-
|
|
118
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
```
|
|
122
|
-
</step>
|
|
123
|
-
|
|
124
|
-
</process>
|
|
125
|
-
|
|
126
|
-
<success_criteria>
|
|
127
|
-
- [ ] PROJECT.md validated
|
|
128
|
-
- [ ] Features gathered (from research OR questioning)
|
|
129
|
-
- [ ] User scoped each category (v1/v2/out of scope)
|
|
130
|
-
- [ ] User had opportunity to add missing requirements
|
|
131
|
-
- [ ] REQUIREMENTS.md created with checkable list
|
|
132
|
-
- [ ] Requirements committed to git
|
|
133
|
-
- [ ] User knows next step (create-roadmap)
|
|
134
|
-
</success_criteria>
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd:discuss-milestone
|
|
3
|
-
description: Gather context for next milestone through adaptive questioning
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<objective>
|
|
7
|
-
Help you figure out what to build in the next milestone through collaborative thinking.
|
|
8
|
-
|
|
9
|
-
Purpose: After completing a milestone, explore what features you want to add, improve, or fix. Features first — scope and phases derive from what you want to build.
|
|
10
|
-
Output: Context gathered, then routes to /gsd:new-milestone
|
|
11
|
-
</objective>
|
|
12
|
-
|
|
13
|
-
<execution_context>
|
|
14
|
-
@~/.claude/get-shit-done/workflows/discuss-milestone.md
|
|
15
|
-
</execution_context>
|
|
16
|
-
|
|
17
|
-
<context>
|
|
18
|
-
**Load project state first:**
|
|
19
|
-
@.planning/STATE.md
|
|
20
|
-
|
|
21
|
-
**Load project:**
|
|
22
|
-
@.planning/PROJECT.md
|
|
23
|
-
|
|
24
|
-
**Load milestones (if exists):**
|
|
25
|
-
@.planning/MILESTONES.md
|
|
26
|
-
</context>
|
|
27
|
-
|
|
28
|
-
<process>
|
|
29
|
-
1. Verify previous milestone complete (or acknowledge active milestone)
|
|
30
|
-
2. Present context from previous milestone (accomplishments, phase count)
|
|
31
|
-
3. Follow discuss-milestone.md workflow with **ALL questions using AskUserQuestion**:
|
|
32
|
-
- Use AskUserQuestion: "What do you want to add, improve, or fix?" with feature categories
|
|
33
|
-
- Use AskUserQuestion to dig into features they mention
|
|
34
|
-
- Use AskUserQuestion to help them articulate what matters most
|
|
35
|
-
- Use AskUserQuestion for decision gate (ready / ask more / let me add context)
|
|
36
|
-
4. Hand off to /gsd:new-milestone with gathered context
|
|
37
|
-
|
|
38
|
-
**CRITICAL: ALL questions use AskUserQuestion. Never ask inline text questions.**
|
|
39
|
-
</process>
|
|
40
|
-
|
|
41
|
-
<success_criteria>
|
|
42
|
-
|
|
43
|
-
- Project state loaded and presented
|
|
44
|
-
- Previous milestone context summarized
|
|
45
|
-
- Milestone scope gathered through adaptive questioning
|
|
46
|
-
- Context handed off to /gsd:new-milestone
|
|
47
|
-
</success_criteria>
|