get-shit-done-cc 1.6.1 → 1.6.2
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 +92 -53
- package/agents/gsd-roadmapper.md +3 -18
- package/commands/gsd/new-milestone.md +3 -5
- package/commands/gsd/new-project.md +2 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -166,7 +166,9 @@ If you prefer not to use that flag, add this to your project's `.claude/settings
|
|
|
166
166
|
|
|
167
167
|
## How It Works
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
> **Already have code?** Run `/gsd:map-codebase` first. It spawns parallel agents to analyze your stack, architecture, conventions, and concerns. Then `/gsd:new-project` knows your codebase — questions focus on what you're adding, and planning automatically loads your patterns.
|
|
170
|
+
|
|
171
|
+
### 1. Initialize Project
|
|
170
172
|
|
|
171
173
|
```
|
|
172
174
|
/gsd:new-project
|
|
@@ -183,24 +185,55 @@ You approve the roadmap. Now you're ready to build.
|
|
|
183
185
|
|
|
184
186
|
**Creates:** `PROJECT.md`, `REQUIREMENTS.md`, `ROADMAP.md`, `STATE.md`, `.planning/research/`
|
|
185
187
|
|
|
186
|
-
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
### 2. Discuss Phase
|
|
187
191
|
|
|
188
192
|
```
|
|
189
|
-
/gsd:discuss-phase 1
|
|
190
|
-
/gsd:plan-phase 1
|
|
193
|
+
/gsd:discuss-phase 1
|
|
191
194
|
```
|
|
192
195
|
|
|
193
|
-
**
|
|
196
|
+
**This is where you shape the implementation.**
|
|
197
|
+
|
|
198
|
+
Your roadmap has a sentence or two per phase. That's not enough context to build something the way *you* imagine it. This step captures your preferences before anything gets researched or planned.
|
|
199
|
+
|
|
200
|
+
The system analyzes the phase and identifies gray areas based on what's being built:
|
|
201
|
+
|
|
202
|
+
- **Visual features** → Layout, density, interactions, empty states
|
|
203
|
+
- **APIs/CLIs** → Response format, flags, error handling, verbosity
|
|
204
|
+
- **Content systems** → Structure, tone, depth, flow
|
|
205
|
+
- **Organization tasks** → Grouping criteria, naming, duplicates, exceptions
|
|
206
|
+
|
|
207
|
+
For each area you select, it asks until you're satisfied. The output — `CONTEXT.md` — feeds directly into the next two steps:
|
|
208
|
+
|
|
209
|
+
1. **Researcher reads it** — Knows what patterns to investigate ("user wants card layout" → research card component libraries)
|
|
210
|
+
2. **Planner reads it** — Knows what decisions are locked ("infinite scroll decided" → plan includes scroll handling)
|
|
211
|
+
|
|
212
|
+
The deeper you go here, the more the system builds what you actually want. Skip it and you get reasonable defaults. Use it and you get *your* vision.
|
|
213
|
+
|
|
214
|
+
**Creates:** `{phase}-CONTEXT.md`
|
|
215
|
+
|
|
216
|
+
---
|
|
194
217
|
|
|
195
|
-
|
|
218
|
+
### 3. Plan Phase
|
|
196
219
|
|
|
197
|
-
|
|
220
|
+
```
|
|
221
|
+
/gsd:plan-phase 1
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
The system:
|
|
225
|
+
|
|
226
|
+
1. **Researches** — Investigates how to implement this phase, guided by your CONTEXT.md decisions
|
|
198
227
|
2. **Plans** — Creates 2-3 atomic task plans with XML structure
|
|
199
|
-
3. **Verifies** — Checks plans against requirements, loops
|
|
228
|
+
3. **Verifies** — Checks plans against requirements, loops until they pass
|
|
200
229
|
|
|
201
|
-
|
|
230
|
+
Each plan is small enough to execute in a fresh context window. No degradation, no "I'll be more concise now."
|
|
202
231
|
|
|
203
|
-
|
|
232
|
+
**Creates:** `{phase}-RESEARCH.md`, `{phase}-{N}-PLAN.md`
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
### 4. Execute Phase
|
|
204
237
|
|
|
205
238
|
```
|
|
206
239
|
/gsd:execute-phase 1
|
|
@@ -209,43 +242,58 @@ Ready when plans pass verification.
|
|
|
209
242
|
The system:
|
|
210
243
|
|
|
211
244
|
1. **Runs plans in waves** — Parallel where possible, sequential when dependent
|
|
212
|
-
2. **Fresh context per plan** — 200k tokens purely for implementation, zero
|
|
213
|
-
3. **
|
|
245
|
+
2. **Fresh context per plan** — 200k tokens purely for implementation, zero accumulated garbage
|
|
246
|
+
3. **Commits per task** — Every task gets its own atomic commit
|
|
247
|
+
4. **Verifies against goals** — Checks the codebase delivers what the phase promised
|
|
248
|
+
|
|
249
|
+
Walk away, come back to completed work with clean git history.
|
|
250
|
+
|
|
251
|
+
**Creates:** `{phase}-{N}-SUMMARY.md`, `{phase}-VERIFICATION.md`
|
|
252
|
+
|
|
253
|
+
---
|
|
214
254
|
|
|
215
|
-
###
|
|
255
|
+
### 5. Verify Work
|
|
216
256
|
|
|
217
257
|
```
|
|
218
|
-
/gsd:
|
|
219
|
-
/gsd:execute-phase 2
|
|
220
|
-
...
|
|
221
|
-
/gsd:complete-milestone # When all phases done
|
|
258
|
+
/gsd:verify-work 1
|
|
222
259
|
```
|
|
223
260
|
|
|
224
|
-
|
|
261
|
+
**This is where you confirm it actually works.**
|
|
225
262
|
|
|
226
|
-
|
|
263
|
+
Automated verification checks that code exists and tests pass. But does the feature *work* the way you expected? This is your chance to use it.
|
|
227
264
|
|
|
228
|
-
|
|
265
|
+
The system:
|
|
229
266
|
|
|
230
|
-
|
|
267
|
+
1. **Extracts testable deliverables** — What you should be able to do now
|
|
268
|
+
2. **Walks you through one at a time** — "Can you log in with email?" Yes/no, or describe what's wrong
|
|
269
|
+
3. **Diagnoses failures automatically** — Spawns debug agents to find root causes
|
|
270
|
+
4. **Creates verified fix plans** — Ready for immediate re-execution
|
|
231
271
|
|
|
232
|
-
|
|
272
|
+
If everything passes, you move on. If something's broken, you don't manually debug — you just run `/gsd:execute-phase` again with the fix plans it created.
|
|
233
273
|
|
|
234
|
-
|
|
235
|
-
/gsd:map-codebase
|
|
236
|
-
```
|
|
274
|
+
**Creates:** `{phase}-UAT.md`, fix plans if issues found
|
|
237
275
|
|
|
238
|
-
|
|
276
|
+
---
|
|
239
277
|
|
|
240
|
-
###
|
|
278
|
+
### 6. Repeat → Complete → Next Milestone
|
|
241
279
|
|
|
242
280
|
```
|
|
243
|
-
/gsd:
|
|
281
|
+
/gsd:discuss-phase 2
|
|
282
|
+
/gsd:plan-phase 2
|
|
283
|
+
/gsd:execute-phase 2
|
|
284
|
+
/gsd:verify-work 2
|
|
285
|
+
...
|
|
286
|
+
/gsd:complete-milestone
|
|
287
|
+
/gsd:new-milestone
|
|
244
288
|
```
|
|
245
289
|
|
|
246
|
-
|
|
290
|
+
Loop **discuss → plan → execute → verify** until milestone complete.
|
|
247
291
|
|
|
248
|
-
|
|
292
|
+
Each phase gets your input (discuss), proper research (plan), clean execution (execute), and human verification (verify). Context stays fresh. Quality stays high.
|
|
293
|
+
|
|
294
|
+
When all phases are done, `/gsd:complete-milestone` archives the milestone and tags the release.
|
|
295
|
+
|
|
296
|
+
Then `/gsd:new-milestone` starts the next version — same flow as `new-project` but for your existing codebase. You describe what you want to build next, the system researches the domain, you scope requirements, and it creates a fresh roadmap. Each milestone is a clean cycle: define → build → ship.
|
|
249
297
|
|
|
250
298
|
---
|
|
251
299
|
|
|
@@ -290,19 +338,20 @@ Every plan is structured XML optimized for Claude:
|
|
|
290
338
|
|
|
291
339
|
Precise instructions. No guessing. Verification built in.
|
|
292
340
|
|
|
293
|
-
###
|
|
341
|
+
### Multi-Agent Orchestration
|
|
294
342
|
|
|
295
|
-
|
|
343
|
+
Every stage uses the same pattern: a thin orchestrator spawns specialized agents, collects results, and routes to the next step.
|
|
296
344
|
|
|
297
|
-
|
|
345
|
+
| Stage | Orchestrator does | Agents do |
|
|
346
|
+
|-------|------------------|-----------|
|
|
347
|
+
| Research | Coordinates, presents findings | 4 parallel researchers investigate stack, features, architecture, pitfalls |
|
|
348
|
+
| Planning | Validates, manages iteration | Planner creates plans, checker verifies, loop until pass |
|
|
349
|
+
| Execution | Groups into waves, tracks progress | Executors implement in parallel, each with fresh 200k context |
|
|
350
|
+
| Verification | Presents results, routes next | Verifier checks codebase against goals, debuggers diagnose failures |
|
|
298
351
|
|
|
299
|
-
|
|
300
|
-
|------|---------|---------|
|
|
301
|
-
| Task 1 | Fresh | ✅ Full |
|
|
302
|
-
| Task 2 | Fresh | ✅ Full |
|
|
303
|
-
| Task 3 | Fresh | ✅ Full |
|
|
352
|
+
The orchestrator never does heavy lifting. It spawns agents, waits, integrates results.
|
|
304
353
|
|
|
305
|
-
|
|
354
|
+
**The result:** You can run an entire phase — deep research, multiple plans created and verified, thousands of lines of code written across parallel executors, automated verification against goals — and your main context window stays at 30-40%. The work happens in fresh subagent contexts. Your session stays fast and responsive.
|
|
306
355
|
|
|
307
356
|
### Atomic Git Commits
|
|
308
357
|
|
|
@@ -338,9 +387,12 @@ You're never locked in. The system adapts.
|
|
|
338
387
|
| Command | What it does |
|
|
339
388
|
|---------|--------------|
|
|
340
389
|
| `/gsd:new-project` | Full initialization: questions → research → requirements → roadmap |
|
|
390
|
+
| `/gsd:discuss-phase [N]` | Capture implementation decisions before planning |
|
|
341
391
|
| `/gsd:plan-phase [N]` | Research + plan + verify for a phase |
|
|
342
392
|
| `/gsd:execute-phase <N>` | Execute all plans in parallel waves, verify when complete |
|
|
343
|
-
| `/gsd:
|
|
393
|
+
| `/gsd:verify-work [N]` | Manual user acceptance testing ¹ |
|
|
394
|
+
| `/gsd:complete-milestone` | Archive milestone, tag release |
|
|
395
|
+
| `/gsd:new-milestone [name]` | Start next version: questions → research → requirements → roadmap |
|
|
344
396
|
|
|
345
397
|
### Navigation
|
|
346
398
|
|
|
@@ -349,12 +401,6 @@ You're never locked in. The system adapts.
|
|
|
349
401
|
| `/gsd:progress` | Where am I? What's next? |
|
|
350
402
|
| `/gsd:help` | Show all commands and usage guide |
|
|
351
403
|
|
|
352
|
-
### Verification
|
|
353
|
-
|
|
354
|
-
| Command | What it does |
|
|
355
|
-
|---------|--------------|
|
|
356
|
-
| `/gsd:verify-work [N]` | Manual user acceptance testing ¹ |
|
|
357
|
-
|
|
358
404
|
### Brownfield
|
|
359
405
|
|
|
360
406
|
| Command | What it does |
|
|
@@ -368,13 +414,6 @@ You're never locked in. The system adapts.
|
|
|
368
414
|
| `/gsd:add-phase` | Append phase to roadmap |
|
|
369
415
|
| `/gsd:insert-phase [N]` | Insert urgent work between phases |
|
|
370
416
|
| `/gsd:remove-phase [N]` | Remove future phase, renumber |
|
|
371
|
-
| `/gsd:discuss-phase [N]` | Gather context before planning |
|
|
372
|
-
|
|
373
|
-
### Milestones
|
|
374
|
-
|
|
375
|
-
| Command | What it does |
|
|
376
|
-
|---------|--------------|
|
|
377
|
-
| `/gsd:new-milestone [name]` | Start next milestone (questioning → research → requirements → roadmap) |
|
|
378
417
|
|
|
379
418
|
### Session
|
|
380
419
|
|
package/agents/gsd-roadmapper.md
CHANGED
|
@@ -414,22 +414,11 @@ If gaps found, include in draft for user decision.
|
|
|
414
414
|
|
|
415
415
|
**Write files first, then return.** This ensures artifacts persist even if context is lost.
|
|
416
416
|
|
|
417
|
-
1. **
|
|
418
|
-
```bash
|
|
419
|
-
# Always zero-pad phase numbers: 01, 02, ... 09, 10, 11
|
|
420
|
-
for i in 1 2 3; do
|
|
421
|
-
PADDED=$(printf "%02d" $i)
|
|
422
|
-
mkdir -p ".planning/phases/${PADDED}-{phase-name}"
|
|
423
|
-
done
|
|
424
|
-
```
|
|
417
|
+
1. **Write ROADMAP.md** using output format
|
|
425
418
|
|
|
426
|
-
|
|
419
|
+
2. **Write STATE.md** using output format
|
|
427
420
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
3. **Write STATE.md** using output format
|
|
431
|
-
|
|
432
|
-
4. **Update REQUIREMENTS.md traceability section**
|
|
421
|
+
3. **Update REQUIREMENTS.md traceability section**
|
|
433
422
|
|
|
434
423
|
Files on disk = context preserved. User can review actual files.
|
|
435
424
|
|
|
@@ -459,9 +448,6 @@ When files are written and returning to orchestrator:
|
|
|
459
448
|
**Files written:**
|
|
460
449
|
- .planning/ROADMAP.md
|
|
461
450
|
- .planning/STATE.md
|
|
462
|
-
- .planning/phases/01-{phase-name}/
|
|
463
|
-
- .planning/phases/02-{phase-name}/
|
|
464
|
-
- ... (all phases zero-padded)
|
|
465
451
|
|
|
466
452
|
**Updated:**
|
|
467
453
|
- .planning/REQUIREMENTS.md (traceability section)
|
|
@@ -602,7 +588,6 @@ Roadmap is complete when:
|
|
|
602
588
|
- [ ] 100% requirement coverage validated (no orphans)
|
|
603
589
|
- [ ] ROADMAP.md structure complete
|
|
604
590
|
- [ ] STATE.md structure complete
|
|
605
|
-
- [ ] Phase directories identified
|
|
606
591
|
- [ ] REQUIREMENTS.md traceability update prepared
|
|
607
592
|
- [ ] Draft presented for user approval
|
|
608
593
|
- [ ] User feedback incorporated (if any)
|
|
@@ -23,7 +23,6 @@ This is the brownfield equivalent of new-project. The project exists, PROJECT.md
|
|
|
23
23
|
- `.planning/REQUIREMENTS.md` — scoped requirements
|
|
24
24
|
- `.planning/ROADMAP.md` — phase structure
|
|
25
25
|
- `.planning/STATE.md` — updated project memory
|
|
26
|
-
- `.planning/phases/` — phase directories
|
|
27
26
|
|
|
28
27
|
**After this command:** Run `/gsd:plan-phase [N]` to start execution.
|
|
29
28
|
|
|
@@ -591,7 +590,7 @@ Create roadmap:
|
|
|
591
590
|
2. Map every v1 requirement to exactly one phase
|
|
592
591
|
3. Derive 2-5 success criteria per phase (observable user behaviors)
|
|
593
592
|
4. Validate 100% coverage
|
|
594
|
-
5. Write files immediately (ROADMAP.md, STATE.md,
|
|
593
|
+
5. Write files immediately (ROADMAP.md, STATE.md, update REQUIREMENTS.md traceability)
|
|
595
594
|
6. Return ROADMAP CREATED with summary
|
|
596
595
|
|
|
597
596
|
Write files first, then return.
|
|
@@ -630,7 +629,7 @@ Use AskUserQuestion:
|
|
|
630
629
|
**Commit roadmap:**
|
|
631
630
|
|
|
632
631
|
```bash
|
|
633
|
-
git add .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
|
|
632
|
+
git add .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
|
|
634
633
|
git commit -m "$(cat <<'EOF'
|
|
635
634
|
docs: create v[X.Y] roadmap ([N] phases)
|
|
636
635
|
|
|
@@ -696,7 +695,6 @@ Present completion with next steps:
|
|
|
696
695
|
- `.planning/REQUIREMENTS.md`
|
|
697
696
|
- `.planning/ROADMAP.md`
|
|
698
697
|
- `.planning/STATE.md`
|
|
699
|
-
- `.planning/phases/XX-name/` directories
|
|
700
698
|
|
|
701
699
|
</output>
|
|
702
700
|
|
|
@@ -713,7 +711,7 @@ Present completion with next steps:
|
|
|
713
711
|
- [ ] gsd-roadmapper spawned with context
|
|
714
712
|
- [ ] Roadmap files written immediately
|
|
715
713
|
- [ ] User feedback incorporated (if any)
|
|
716
|
-
- [ ] ROADMAP.md, STATE.md
|
|
714
|
+
- [ ] ROADMAP.md, STATE.md → **committed**
|
|
717
715
|
- [ ] User knows next step is `/gsd:plan-phase [N]`
|
|
718
716
|
|
|
719
717
|
</success_criteria>
|
|
@@ -22,7 +22,6 @@ This is the most leveraged moment in any project. Deep questioning here means be
|
|
|
22
22
|
- `.planning/REQUIREMENTS.md` — scoped requirements
|
|
23
23
|
- `.planning/ROADMAP.md` — phase structure
|
|
24
24
|
- `.planning/STATE.md` — project memory
|
|
25
|
-
- `.planning/phases/` — phase directories
|
|
26
25
|
|
|
27
26
|
**After this command:** Run `/gsd:plan-phase 1` to start execution.
|
|
28
27
|
|
|
@@ -710,7 +709,7 @@ Create roadmap:
|
|
|
710
709
|
2. Map every v1 requirement to exactly one phase
|
|
711
710
|
3. Derive 2-5 success criteria per phase (observable user behaviors)
|
|
712
711
|
4. Validate 100% coverage
|
|
713
|
-
5. Write files immediately (ROADMAP.md, STATE.md,
|
|
712
|
+
5. Write files immediately (ROADMAP.md, STATE.md, update REQUIREMENTS.md traceability)
|
|
714
713
|
6. Return ROADMAP CREATED with summary
|
|
715
714
|
|
|
716
715
|
Write files first, then return. This ensures artifacts persist even if context is lost.
|
|
@@ -801,7 +800,7 @@ Use AskUserQuestion:
|
|
|
801
800
|
**Commit roadmap (after approval):**
|
|
802
801
|
|
|
803
802
|
```bash
|
|
804
|
-
git add .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
|
|
803
|
+
git add .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
|
|
805
804
|
git commit -m "$(cat <<'EOF'
|
|
806
805
|
docs: create roadmap ([N] phases)
|
|
807
806
|
|
|
@@ -869,7 +868,6 @@ Present completion with next steps:
|
|
|
869
868
|
- `.planning/REQUIREMENTS.md`
|
|
870
869
|
- `.planning/ROADMAP.md`
|
|
871
870
|
- `.planning/STATE.md`
|
|
872
|
-
- `.planning/phases/XX-name/` directories
|
|
873
871
|
|
|
874
872
|
</output>
|
|
875
873
|
|
|
@@ -891,7 +889,6 @@ Present completion with next steps:
|
|
|
891
889
|
- [ ] ROADMAP.md created with phases, requirement mappings, success criteria
|
|
892
890
|
- [ ] STATE.md initialized
|
|
893
891
|
- [ ] REQUIREMENTS.md traceability updated
|
|
894
|
-
- [ ] Phase directories created → **committed**
|
|
895
892
|
- [ ] User knows next step is `/gsd:discuss-phase 1`
|
|
896
893
|
|
|
897
894
|
**Atomic commits:** Each phase commits its artifacts immediately. If context is lost, artifacts persist.
|
package/package.json
CHANGED