get-shit-done-cc 1.5.26 → 1.5.28

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.
Files changed (44) hide show
  1. package/agents/gsd-codebase-mapper.md +1 -1
  2. package/agents/gsd-executor.md +1 -4
  3. package/agents/gsd-phase-researcher.md +6 -4
  4. package/agents/gsd-planner.md +6 -2
  5. package/commands/gsd/audit-milestone.md +1 -1
  6. package/commands/gsd/create-roadmap.md +0 -2
  7. package/commands/gsd/define-requirements.md +0 -1
  8. package/commands/gsd/discuss-milestone.md +0 -1
  9. package/commands/gsd/discuss-phase.md +0 -1
  10. package/commands/gsd/execute-phase.md +23 -11
  11. package/commands/gsd/help.md +6 -20
  12. package/commands/gsd/new-milestone.md +2 -0
  13. package/commands/gsd/plan-milestone-gaps.md +1 -2
  14. package/commands/gsd/plan-phase.md +4 -3
  15. package/commands/gsd/progress.md +3 -3
  16. package/get-shit-done/references/continuation-format.md +3 -3
  17. package/get-shit-done/templates/phase-prompt.md +0 -1
  18. package/get-shit-done/templates/planner-subagent-prompt.md +1 -1
  19. package/get-shit-done/workflows/discovery-phase.md +2 -2
  20. package/get-shit-done/workflows/discuss-phase.md +20 -9
  21. package/get-shit-done/workflows/execute-phase.md +3 -1
  22. package/get-shit-done/workflows/execute-plan.md +2 -2
  23. package/get-shit-done/workflows/map-codebase.md +2 -2
  24. package/get-shit-done/workflows/resume-project.md +5 -7
  25. package/get-shit-done/workflows/verify-phase.md +4 -4
  26. package/get-shit-done/workflows/verify-work.md +3 -2
  27. package/package.json +1 -1
  28. package/commands/gsd/execute-plan.md +0 -400
  29. package/get-shit-done/references/debugging/debugging-mindset.md +0 -11
  30. package/get-shit-done/references/debugging/hypothesis-testing.md +0 -11
  31. package/get-shit-done/references/debugging/investigation-techniques.md +0 -11
  32. package/get-shit-done/references/debugging/verification-patterns.md +0 -11
  33. package/get-shit-done/references/debugging/when-to-research.md +0 -11
  34. package/get-shit-done/references/goal-backward.md +0 -33
  35. package/get-shit-done/references/plan-format.md +0 -32
  36. package/get-shit-done/references/principles.md +0 -29
  37. package/get-shit-done/references/research-pitfalls.md +0 -233
  38. package/get-shit-done/references/scope-estimation.md +0 -32
  39. package/get-shit-done/templates/research-subagent-prompt.md +0 -92
  40. package/get-shit-done/workflows/create-milestone.md +0 -203
  41. package/get-shit-done/workflows/debug.md +0 -14
  42. package/get-shit-done/workflows/plan-phase.md +0 -41
  43. package/get-shit-done/workflows/research-phase.md +0 -17
  44. package/get-shit-done/workflows/research-project.md +0 -23
@@ -1,400 +0,0 @@
1
- ---
2
- name: gsd:execute-plan
3
- description: Execute a PLAN.md file
4
- argument-hint: "[path-to-PLAN.md]"
5
- allowed-tools:
6
- - Read
7
- - Glob
8
- - Grep
9
- - Bash
10
- - Task
11
- - TodoWrite
12
- - AskUserQuestion
13
- ---
14
-
15
- <execution_context>
16
- @~/.claude/get-shit-done/references/ui-brand.md
17
- </execution_context>
18
-
19
- <objective>
20
- Execute a single PLAN.md file by spawning the `gsd-executor` subagent.
21
-
22
- Orchestrator stays lean: validate plan, spawn subagent, handle checkpoints, report completion. The `gsd-executor` has all execution logic baked in.
23
-
24
- Context budget: ~15% orchestrator, 100% fresh for subagent.
25
- </objective>
26
-
27
- <execution_context>
28
- @~/.claude/get-shit-done/references/principles.md
29
- </execution_context>
30
-
31
- <context>
32
- Plan path: $ARGUMENTS
33
-
34
- @.planning/STATE.md
35
- @.planning/config.json (if exists)
36
- </context>
37
-
38
- <process>
39
- 1. **Validate plan exists**
40
- - Confirm file at $ARGUMENTS exists
41
- - Error if not found: "Plan not found: {path}"
42
-
43
- 2. **Check if already executed**
44
- - Derive SUMMARY path from plan path (replace PLAN.md with SUMMARY.md)
45
- - If SUMMARY exists: "Plan already executed. SUMMARY: {path}"
46
- - Offer: re-execute or exit
47
-
48
- 3. **Parse plan identifiers**
49
- Extract from path like `.planning/phases/03-auth/03-02-PLAN.md`:
50
- - phase_number: `03`
51
- - phase_name: `auth`
52
- - plan_number: `02`
53
- - plan_path: full path
54
-
55
- 4. **Pre-execution summary (interactive mode only)**
56
- Check config.json for mode. Skip this step if mode=yolo.
57
-
58
- Parse PLAN.md to extract:
59
- - objective: First sentence or line from `<objective>` element
60
- - task_count: Count of `<task` elements
61
- - files: Collect unique file paths from `<files>` elements within tasks
62
-
63
- Display friendly summary before spawning:
64
- ```
65
- ════════════════════════════════════════
66
- EXECUTING: {phase_number}-{plan_number} {phase_name}
67
- ════════════════════════════════════════
68
-
69
- Building: {objective one-liner}
70
- Tasks: {task_count}
71
- Files: {comma-separated file list}
72
-
73
- Full plan: {plan_path}
74
- ════════════════════════════════════════
75
- ```
76
-
77
- No confirmation needed. Proceed to spawn after displaying.
78
-
79
- In yolo mode, display abbreviated version:
80
- ```
81
- ⚡ Executing {phase_number}-{plan_number}: {objective one-liner}
82
- ```
83
-
84
- 5. **Spawn gsd-executor subagent**
85
-
86
- ```
87
- Task(
88
- prompt="Execute plan at {plan_path}
89
-
90
- Plan: @{plan_path}
91
- Project state: @.planning/STATE.md
92
- Config: @.planning/config.json (if exists)",
93
- subagent_type="gsd-executor",
94
- description="Execute {phase}-{plan}"
95
- )
96
- ```
97
-
98
- The `gsd-executor` subagent has all execution logic baked in:
99
- - Deviation rules (auto-fix bugs, critical gaps, blockers; ask for architectural)
100
- - Checkpoint protocols (human-verify, decision, human-action)
101
- - Commit formatting (per-task atomic commits)
102
- - Summary creation
103
- - State updates
104
-
105
- 6. **Handle subagent return**
106
- - If contains "## CHECKPOINT REACHED": Execute checkpoint_handling
107
- - If contains "## PLAN COMPLETE": Verify SUMMARY exists, report success
108
-
109
- 7. **Report completion and offer next steps**
110
- - Show SUMMARY path
111
- - Show commits from subagent return
112
- - Route to next action (see `<offer_next>`)
113
- </process>
114
-
115
- <offer_next>
116
- **MANDATORY: Present copy/paste-ready next command.**
117
-
118
- After plan completes, determine what's next:
119
-
120
- **Step 1: Count plans vs summaries in current phase**
121
- ```bash
122
- ls -1 .planning/phases/[phase-dir]/*-PLAN.md 2>/dev/null | wc -l
123
- ls -1 .planning/phases/[phase-dir]/*-SUMMARY.md 2>/dev/null | wc -l
124
- ```
125
-
126
- **Step 2: Route based on counts**
127
-
128
- | Condition | Action |
129
- |-----------|--------|
130
- | summaries < plans | More plans remain → Route A |
131
- | summaries = plans | Phase complete → Step 2.5 (verify phase goal) |
132
-
133
- **Step 2.5: Verify phase goal (only when phase complete)**
134
-
135
- When summaries = plans, verify the phase achieved its GOAL before proceeding:
136
-
137
- ```
138
- Task(
139
- prompt="Verify phase {phase_number} goal achievement
140
-
141
- Phase: {phase_number} - {phase_name}
142
- Phase goal: {phase_goal_from_roadmap}
143
- Phase directory: @.planning/phases/{phase_dir}/
144
-
145
- Project context:
146
- @.planning/ROADMAP.md
147
- @.planning/REQUIREMENTS.md (if exists)",
148
- subagent_type="gsd-verifier",
149
- description="Verify phase {phase_number}"
150
- )
151
- ```
152
-
153
- Handle verification result:
154
- - **If passed:** Continue to Step 2.6 (update requirements)
155
- - **If gaps_found:** Create fix plans, execute them, re-verify (max 3 cycles)
156
- - **If human_needed:** Present items to user, collect response
157
-
158
- **Step 2.6: Update requirements (only when verification passes)**
159
-
160
- When summaries = plans, update REQUIREMENTS.md before presenting completion:
161
-
162
- 1. Get phase number from completed plan path
163
- 2. Read ROADMAP.md, find the phase's `Requirements:` line (e.g., "AUTH-01, AUTH-02")
164
- 3. Read REQUIREMENTS.md traceability table
165
- 4. For each REQ-ID in this phase: change Status from "Pending" to "Complete"
166
- 5. Write updated REQUIREMENTS.md
167
- 6. Stage for commit: `git add .planning/REQUIREMENTS.md`
168
-
169
- **Skip if:** REQUIREMENTS.md doesn't exist, or phase has no Requirements line in ROADMAP.md.
170
-
171
- ---
172
-
173
- **Route A: More plans remain in phase**
174
-
175
- Find next PLAN.md without matching SUMMARY.md. Present:
176
-
177
- ```
178
- Plan {phase}-{plan} complete.
179
- Summary: .planning/phases/{phase-dir}/{phase}-{plan}-SUMMARY.md
180
-
181
- {Y} of {X} plans complete for Phase {Z}.
182
-
183
- ---
184
-
185
- ## ▶ Next Up
186
-
187
- **{phase}-{next-plan}: [Plan Name]** — [objective from PLAN.md]
188
-
189
- `/gsd:execute-plan .planning/phases/{phase-dir}/{phase}-{next-plan}-PLAN.md`
190
-
191
- <sub>`/clear` first → fresh context window</sub>
192
-
193
- ---
194
- ```
195
-
196
- ---
197
-
198
- **Step 3: Check milestone status (only when phase complete)**
199
-
200
- Read ROADMAP.md. Find current phase number and highest phase in milestone.
201
-
202
- | Condition | Action |
203
- |-----------|--------|
204
- | current < highest | More phases → Route B |
205
- | current = highest | Milestone complete → Route C |
206
-
207
- ---
208
-
209
- **Route B: Phase complete, more phases remain**
210
-
211
- ```
212
- ## ✓ Phase {Z}: {Name} Complete
213
-
214
- All {Y} plans finished.
215
-
216
- ---
217
-
218
- ## ▶ Next Up
219
-
220
- **Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
221
-
222
- `/gsd:plan-phase {Z+1}`
223
-
224
- <sub>`/clear` first → fresh context window</sub>
225
-
226
- ---
227
- ```
228
-
229
- ---
230
-
231
- **Route C: Milestone complete**
232
-
233
- ```
234
- 🎉 MILESTONE COMPLETE!
235
-
236
- ## ✓ Phase {Z}: {Name} Complete
237
-
238
- All {N} phases finished.
239
-
240
- ---
241
-
242
- ## ▶ Next Up
243
-
244
- `/gsd:complete-milestone`
245
-
246
- <sub>`/clear` first → fresh context window</sub>
247
-
248
- ---
249
- ```
250
- </offer_next>
251
-
252
- <checkpoint_handling>
253
- When `gsd-executor` returns with checkpoint:
254
-
255
- **1. Parse return:**
256
-
257
- The subagent returns a structured checkpoint:
258
- ```
259
- ## CHECKPOINT REACHED
260
-
261
- **Type:** [human-verify | decision | human-action]
262
- **Plan:** {phase}-{plan}
263
- **Progress:** {completed}/{total} tasks complete
264
-
265
- ### Completed Tasks
266
- | Task | Name | Commit | Files |
267
- |------|------|--------|-------|
268
- | 1 | [task name] | [hash] | [files] |
269
-
270
- ### Current Task
271
- **Task {N}:** [name]
272
- **Status:** [blocked | awaiting verification | awaiting decision]
273
- **Blocked by:** [specific blocker]
274
-
275
- ### Checkpoint Details
276
- [Type-specific content for user]
277
-
278
- ### Awaiting
279
- [What user needs to provide]
280
- ```
281
-
282
- **2. Present checkpoint to user:**
283
-
284
- Display rich formatted checkpoint based on type:
285
-
286
- **For human-verify:**
287
- ```
288
- ╔═══════════════════════════════════════════════════════╗
289
- ║ CHECKPOINT: Verification Required ║
290
- ╚═══════════════════════════════════════════════════════╝
291
-
292
- Progress: {X}/{Y} tasks complete
293
- Task: {task name}
294
-
295
- Built: {what-built from checkpoint details}
296
-
297
- How to verify:
298
- {numbered verification steps}
299
-
300
- ────────────────────────────────────────────────────────
301
- → YOUR ACTION: Type "approved" or describe issues
302
- ────────────────────────────────────────────────────────
303
- ```
304
-
305
- **For human-action (auth gate):**
306
- ```
307
- ╔═══════════════════════════════════════════════════════╗
308
- ║ CHECKPOINT: Action Required ║
309
- ╚═══════════════════════════════════════════════════════╝
310
-
311
- Progress: {X}/{Y} tasks complete
312
- Task: {task name}
313
-
314
- Attempted: {automation attempted}
315
- Error: {error encountered}
316
-
317
- What you need to do:
318
- {numbered instructions}
319
-
320
- I'll verify: {verification}
321
-
322
- ────────────────────────────────────────────────────────
323
- → YOUR ACTION: Type "done" when complete
324
- ────────────────────────────────────────────────────────
325
- ```
326
-
327
- **For decision:**
328
- ```
329
- ╔═══════════════════════════════════════════════════════╗
330
- ║ CHECKPOINT: Decision Required ║
331
- ╚═══════════════════════════════════════════════════════╝
332
-
333
- Progress: {X}/{Y} tasks complete
334
- Task: {task name}
335
-
336
- Decision: {what's being decided}
337
-
338
- Context: {why this matters}
339
-
340
- Options:
341
- 1. {option-a} - {name}
342
- Pros: {benefits}
343
- Cons: {tradeoffs}
344
-
345
- 2. {option-b} - {name}
346
- Pros: {benefits}
347
- Cons: {tradeoffs}
348
-
349
- ────────────────────────────────────────────────────────
350
- → YOUR ACTION: Select option-a or option-b
351
- ────────────────────────────────────────────────────────
352
- ```
353
-
354
- **3. Collect response:**
355
- Wait for user input:
356
- - human-verify: "approved" or description of issues
357
- - decision: option selection
358
- - human-action: "done" when complete
359
-
360
- **4. Spawn fresh continuation agent:**
361
-
362
- Spawn fresh `gsd-executor` with continuation context:
363
-
364
- ```
365
- Task(
366
- prompt="Continue executing plan at {plan_path}
367
-
368
- <completed_tasks>
369
- {completed_tasks_table from checkpoint return}
370
- </completed_tasks>
371
-
372
- <resume_point>
373
- Resume from: Task {N} - {task_name}
374
- User response: {user_response}
375
- {resume_instructions based on checkpoint type}
376
- </resume_point>
377
-
378
- Plan: @{plan_path}
379
- Project state: @.planning/STATE.md",
380
- subagent_type="gsd-executor",
381
- description="Continue {phase}-{plan}"
382
- )
383
- ```
384
-
385
- The `gsd-executor` has continuation handling baked in — it will verify previous commits and resume correctly.
386
-
387
- **Why fresh agent, not resume:**
388
- Task tool resume fails after multiple tool calls (presenting to user, waiting for response). Fresh agent with state handoff is the correct pattern.
389
-
390
- **5. Repeat:**
391
- Continue handling returns until "## PLAN COMPLETE" or user stops.
392
- </checkpoint_handling>
393
-
394
- <success_criteria>
395
- - [ ] Plan executed (SUMMARY.md created)
396
- - [ ] All checkpoints handled
397
- - [ ] If phase complete: Phase goal verified (gsd-verifier spawned, VERIFICATION.md created)
398
- - [ ] If phase complete: REQUIREMENTS.md updated (phase requirements marked Complete)
399
- - [ ] User informed of completion and next steps
400
- </success_criteria>
@@ -1,11 +0,0 @@
1
- # Debugging Mindset (DEPRECATED)
2
-
3
- This reference has been consolidated into the `gsd-debugger` agent.
4
-
5
- **Location:** `agents/gsd-debugger.md`
6
-
7
- **Section:** `<philosophy>`
8
-
9
- **Reason:** Debugging expertise is now baked into the agent. Loading separate reference files into orchestrator context was wasteful (~95% context reduction).
10
-
11
- See `agents/gsd-debugger.md` for the consolidated debugging methodology.
@@ -1,11 +0,0 @@
1
- # Hypothesis Testing (DEPRECATED)
2
-
3
- This reference has been consolidated into the `gsd-debugger` agent.
4
-
5
- **Location:** `agents/gsd-debugger.md`
6
-
7
- **Section:** `<hypothesis_testing>`
8
-
9
- **Reason:** Debugging expertise is now baked into the agent. Loading separate reference files into orchestrator context was wasteful (~95% context reduction).
10
-
11
- See `agents/gsd-debugger.md` for the consolidated debugging methodology.
@@ -1,11 +0,0 @@
1
- # Investigation Techniques (DEPRECATED)
2
-
3
- This reference has been consolidated into the `gsd-debugger` agent.
4
-
5
- **Location:** `agents/gsd-debugger.md`
6
-
7
- **Section:** `<investigation_techniques>`
8
-
9
- **Reason:** Debugging expertise is now baked into the agent. Loading separate reference files into orchestrator context was wasteful (~95% context reduction).
10
-
11
- See `agents/gsd-debugger.md` for the consolidated debugging methodology.
@@ -1,11 +0,0 @@
1
- # Verification Patterns (DEPRECATED)
2
-
3
- This reference has been consolidated into the `gsd-debugger` agent.
4
-
5
- **Location:** `agents/gsd-debugger.md`
6
-
7
- **Section:** `<verification_patterns>`
8
-
9
- **Reason:** Debugging expertise is now baked into the agent. Loading separate reference files into orchestrator context was wasteful (~95% context reduction).
10
-
11
- See `agents/gsd-debugger.md` for the consolidated debugging methodology.
@@ -1,11 +0,0 @@
1
- # When to Research (DEPRECATED)
2
-
3
- This reference has been consolidated into the `gsd-debugger` agent.
4
-
5
- **Location:** `agents/gsd-debugger.md`
6
-
7
- **Section:** `<research_vs_reasoning>`
8
-
9
- **Reason:** Debugging expertise is now baked into the agent. Loading separate reference files into orchestrator context was wasteful (~95% context reduction).
10
-
11
- See `agents/gsd-debugger.md` for the consolidated debugging methodology.
@@ -1,33 +0,0 @@
1
- # DEPRECATED: Goal-Backward Planning Reference
2
-
3
- **This reference has been consolidated into the gsd-planner agent.**
4
-
5
- ## Migration
6
-
7
- Planning expertise is now baked into:
8
- - `agents/gsd-planner.md` - Section: `<goal_backward>`
9
-
10
- ## Why This Changed
11
-
12
- The thin orchestrator pattern consolidates all planning methodology into the agent:
13
- - Before: Reference files loaded separately (~287 lines)
14
- - After: Agent has expertise baked in, orchestrator is thin
15
-
16
- ## Historical Reference
17
-
18
- This file previously contained:
19
- - Goal-backward vs forward planning distinction
20
- - Must-haves derivation process (5 steps)
21
- - Observable truths from user perspective
22
- - Required artifacts mapping
23
- - Required wiring analysis
24
- - Key links identification
25
- - must_haves YAML structure for PLAN.md frontmatter
26
- - Examples (e-commerce, settings, notifications)
27
- - Common failures and anti-patterns
28
-
29
- All content preserved in `agents/gsd-planner.md`.
30
-
31
- ---
32
- *Deprecated: 2026-01-16*
33
- *Replaced by: agents/gsd-planner.md*
@@ -1,32 +0,0 @@
1
- # DEPRECATED: Plan Format Reference
2
-
3
- **This reference has been consolidated into the gsd-planner agent.**
4
-
5
- ## Migration
6
-
7
- Planning expertise is now baked into:
8
- - `agents/gsd-planner.md` - Section: `<plan_format>`
9
-
10
- ## Why This Changed
11
-
12
- The thin orchestrator pattern consolidates all planning methodology into the agent:
13
- - Before: Reference files loaded separately (~474 lines)
14
- - After: Agent has expertise baked in, orchestrator is thin
15
-
16
- ## Historical Reference
17
-
18
- This file previously contained:
19
- - PLAN.md frontmatter structure
20
- - XML prompt structure
21
- - Task anatomy (files, action, verify, done)
22
- - Task types (auto, checkpoint:*)
23
- - TDD plans guidance
24
- - Context references and anti-patterns
25
- - Specificity levels (too vague vs just right)
26
- - Task sizing guidance
27
-
28
- All content preserved in `agents/gsd-planner.md`.
29
-
30
- ---
31
- *Deprecated: 2026-01-16*
32
- *Replaced by: agents/gsd-planner.md*
@@ -1,29 +0,0 @@
1
- # DEPRECATED: GSD Principles
2
-
3
- **This reference has been consolidated into the gsd-planner agent.**
4
-
5
- ## Migration
6
-
7
- Planning expertise is now baked into:
8
- - `agents/gsd-planner.md` - Section: `<philosophy>`
9
-
10
- ## Why This Changed
11
-
12
- The thin orchestrator pattern consolidates all planning methodology into the agent:
13
- - Before: Reference files loaded separately (~74 lines)
14
- - After: Agent has expertise baked in, orchestrator is thin
15
-
16
- ## Historical Reference
17
-
18
- This file previously contained:
19
- - Solo developer + Claude workflow philosophy
20
- - "Plans are prompts" principle
21
- - Scope control and quality degradation curve
22
- - "Claude automates" and "ship fast" principles
23
- - Anti-enterprise patterns
24
-
25
- All content preserved in `agents/gsd-planner.md`.
26
-
27
- ---
28
- *Deprecated: 2026-01-16*
29
- *Replaced by: agents/gsd-planner.md*