@undeemed/get-shit-done-codex 1.6.5

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 (79) hide show
  1. package/AGENTS.md +183 -0
  2. package/LICENSE +21 -0
  3. package/README.md +179 -0
  4. package/bin/install.js +214 -0
  5. package/commands/gsd/add-phase.md +207 -0
  6. package/commands/gsd/add-todo.md +182 -0
  7. package/commands/gsd/audit-milestone.md +258 -0
  8. package/commands/gsd/check-todos.md +217 -0
  9. package/commands/gsd/complete-milestone.md +136 -0
  10. package/commands/gsd/debug.md +149 -0
  11. package/commands/gsd/discuss-phase.md +80 -0
  12. package/commands/gsd/execute-phase.md +304 -0
  13. package/commands/gsd/help.md +383 -0
  14. package/commands/gsd/insert-phase.md +227 -0
  15. package/commands/gsd/list-phase-assumptions.md +50 -0
  16. package/commands/gsd/map-codebase.md +71 -0
  17. package/commands/gsd/new-milestone.md +717 -0
  18. package/commands/gsd/new-project.md +896 -0
  19. package/commands/gsd/pause-work.md +123 -0
  20. package/commands/gsd/plan-milestone-gaps.md +284 -0
  21. package/commands/gsd/plan-phase.md +475 -0
  22. package/commands/gsd/progress.md +356 -0
  23. package/commands/gsd/remove-phase.md +338 -0
  24. package/commands/gsd/research-phase.md +180 -0
  25. package/commands/gsd/resume-work.md +40 -0
  26. package/commands/gsd/update.md +172 -0
  27. package/commands/gsd/verify-work.md +219 -0
  28. package/commands/gsd/whats-new.md +124 -0
  29. package/get-shit-done/references/checkpoints.md +788 -0
  30. package/get-shit-done/references/continuation-format.md +249 -0
  31. package/get-shit-done/references/git-integration.md +254 -0
  32. package/get-shit-done/references/questioning.md +141 -0
  33. package/get-shit-done/references/tdd.md +263 -0
  34. package/get-shit-done/references/ui-brand.md +160 -0
  35. package/get-shit-done/references/verification-patterns.md +595 -0
  36. package/get-shit-done/templates/DEBUG.md +159 -0
  37. package/get-shit-done/templates/UAT.md +247 -0
  38. package/get-shit-done/templates/codebase/architecture.md +255 -0
  39. package/get-shit-done/templates/codebase/concerns.md +310 -0
  40. package/get-shit-done/templates/codebase/conventions.md +307 -0
  41. package/get-shit-done/templates/codebase/integrations.md +280 -0
  42. package/get-shit-done/templates/codebase/stack.md +186 -0
  43. package/get-shit-done/templates/codebase/structure.md +285 -0
  44. package/get-shit-done/templates/codebase/testing.md +480 -0
  45. package/get-shit-done/templates/config.json +26 -0
  46. package/get-shit-done/templates/context.md +291 -0
  47. package/get-shit-done/templates/continue-here.md +78 -0
  48. package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
  49. package/get-shit-done/templates/discovery.md +146 -0
  50. package/get-shit-done/templates/milestone-archive.md +123 -0
  51. package/get-shit-done/templates/milestone.md +115 -0
  52. package/get-shit-done/templates/phase-prompt.md +576 -0
  53. package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
  54. package/get-shit-done/templates/project.md +184 -0
  55. package/get-shit-done/templates/requirements.md +231 -0
  56. package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
  57. package/get-shit-done/templates/research-project/FEATURES.md +147 -0
  58. package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
  59. package/get-shit-done/templates/research-project/STACK.md +120 -0
  60. package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
  61. package/get-shit-done/templates/research.md +529 -0
  62. package/get-shit-done/templates/roadmap.md +202 -0
  63. package/get-shit-done/templates/state.md +206 -0
  64. package/get-shit-done/templates/summary.md +269 -0
  65. package/get-shit-done/templates/user-setup.md +323 -0
  66. package/get-shit-done/templates/verification-report.md +322 -0
  67. package/get-shit-done/workflows/complete-milestone.md +750 -0
  68. package/get-shit-done/workflows/diagnose-issues.md +233 -0
  69. package/get-shit-done/workflows/discovery-phase.md +293 -0
  70. package/get-shit-done/workflows/discuss-phase.md +422 -0
  71. package/get-shit-done/workflows/execute-phase.md +552 -0
  72. package/get-shit-done/workflows/execute-plan.md +1831 -0
  73. package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
  74. package/get-shit-done/workflows/map-codebase.md +289 -0
  75. package/get-shit-done/workflows/resume-project.md +311 -0
  76. package/get-shit-done/workflows/transition.md +564 -0
  77. package/get-shit-done/workflows/verify-phase.md +629 -0
  78. package/get-shit-done/workflows/verify-work.md +563 -0
  79. package/package.json +39 -0
@@ -0,0 +1,178 @@
1
+ <purpose>
2
+ Surface Claude's assumptions about a phase before planning, enabling users to correct misconceptions early.
3
+
4
+ Key difference from discuss-phase: This is ANALYSIS of what Claude thinks, not INTAKE of what user knows. No file output - purely conversational to prompt discussion.
5
+ </purpose>
6
+
7
+ <process>
8
+
9
+ <step name="validate_phase" priority="first">
10
+ Phase number: $ARGUMENTS (required)
11
+
12
+ **If argument missing:**
13
+
14
+ ```
15
+ Error: Phase number required.
16
+
17
+ Usage: /gsd:list-phase-assumptions [phase-number]
18
+ Example: /gsd:list-phase-assumptions 3
19
+ ```
20
+
21
+ Exit workflow.
22
+
23
+ **If argument provided:**
24
+ Validate phase exists in roadmap:
25
+
26
+ ```bash
27
+ cat .planning/ROADMAP.md | grep -i "Phase ${PHASE}"
28
+ ```
29
+
30
+ **If phase not found:**
31
+
32
+ ```
33
+ Error: Phase ${PHASE} not found in roadmap.
34
+
35
+ Available phases:
36
+ [list phases from roadmap]
37
+ ```
38
+
39
+ Exit workflow.
40
+
41
+ **If phase found:**
42
+ Parse phase details from roadmap:
43
+
44
+ - Phase number
45
+ - Phase name
46
+ - Phase description/goal
47
+ - Any scope details mentioned
48
+
49
+ Continue to analyze_phase.
50
+ </step>
51
+
52
+ <step name="analyze_phase">
53
+ Based on roadmap description and project context, identify assumptions across five areas:
54
+
55
+ **1. Technical Approach:**
56
+ What libraries, frameworks, patterns, or tools would Claude use?
57
+ - "I'd use X library because..."
58
+ - "I'd follow Y pattern because..."
59
+ - "I'd structure this as Z because..."
60
+
61
+ **2. Implementation Order:**
62
+ What would Claude build first, second, third?
63
+ - "I'd start with X because it's foundational"
64
+ - "Then Y because it depends on X"
65
+ - "Finally Z because..."
66
+
67
+ **3. Scope Boundaries:**
68
+ What's included vs excluded in Claude's interpretation?
69
+ - "This phase includes: A, B, C"
70
+ - "This phase does NOT include: D, E, F"
71
+ - "Boundary ambiguities: G could go either way"
72
+
73
+ **4. Risk Areas:**
74
+ Where does Claude expect complexity or challenges?
75
+ - "The tricky part is X because..."
76
+ - "Potential issues: Y, Z"
77
+ - "I'd watch out for..."
78
+
79
+ **5. Dependencies:**
80
+ What does Claude assume exists or needs to be in place?
81
+ - "This assumes X from previous phases"
82
+ - "External dependencies: Y, Z"
83
+ - "This will be consumed by..."
84
+
85
+ Be honest about uncertainty. Mark assumptions with confidence levels:
86
+ - "Fairly confident: ..." (clear from roadmap)
87
+ - "Assuming: ..." (reasonable inference)
88
+ - "Unclear: ..." (could go multiple ways)
89
+ </step>
90
+
91
+ <step name="present_assumptions">
92
+ Present assumptions in a clear, scannable format:
93
+
94
+ ```
95
+ ## My Assumptions for Phase ${PHASE}: ${PHASE_NAME}
96
+
97
+ ### Technical Approach
98
+ [List assumptions about how to implement]
99
+
100
+ ### Implementation Order
101
+ [List assumptions about sequencing]
102
+
103
+ ### Scope Boundaries
104
+ **In scope:** [what's included]
105
+ **Out of scope:** [what's excluded]
106
+ **Ambiguous:** [what could go either way]
107
+
108
+ ### Risk Areas
109
+ [List anticipated challenges]
110
+
111
+ ### Dependencies
112
+ **From prior phases:** [what's needed]
113
+ **External:** [third-party needs]
114
+ **Feeds into:** [what future phases need from this]
115
+
116
+ ---
117
+
118
+ **What do you think?**
119
+
120
+ Are these assumptions accurate? Let me know:
121
+ - What I got right
122
+ - What I got wrong
123
+ - What I'm missing
124
+ ```
125
+
126
+ Wait for user response.
127
+ </step>
128
+
129
+ <step name="gather_feedback">
130
+ **If user provides corrections:**
131
+
132
+ Acknowledge the corrections:
133
+
134
+ ```
135
+ Got it. Key corrections:
136
+ - [correction 1]
137
+ - [correction 2]
138
+
139
+ This changes my understanding significantly. [Summarize new understanding]
140
+ ```
141
+
142
+ **If user confirms assumptions:**
143
+
144
+ ```
145
+ Great, assumptions validated.
146
+ ```
147
+
148
+ Continue to offer_next.
149
+ </step>
150
+
151
+ <step name="offer_next">
152
+ Present next steps:
153
+
154
+ ```
155
+ What's next?
156
+ 1. Discuss context (/gsd:discuss-phase ${PHASE}) - Let me ask you questions to build comprehensive context
157
+ 2. Plan this phase (/gsd:plan-phase ${PHASE}) - Create detailed execution plans
158
+ 3. Re-examine assumptions - I'll analyze again with your corrections
159
+ 4. Done for now
160
+ ```
161
+
162
+ Wait for user selection.
163
+
164
+ If "Discuss context": Note that CONTEXT.md will incorporate any corrections discussed here
165
+ If "Plan this phase": Proceed knowing assumptions are understood
166
+ If "Re-examine": Return to analyze_phase with updated understanding
167
+ </step>
168
+
169
+ </process>
170
+
171
+ <success_criteria>
172
+ - Phase number validated against roadmap
173
+ - Assumptions surfaced across five areas: technical approach, implementation order, scope, risks, dependencies
174
+ - Confidence levels marked where appropriate
175
+ - "What do you think?" prompt presented
176
+ - User feedback acknowledged
177
+ - Clear next steps offered
178
+ </success_criteria>
@@ -0,0 +1,289 @@
1
+ <purpose>
2
+ Orchestrate parallel codebase mapper agents to analyze codebase and produce structured documents in .planning/codebase/
3
+
4
+ Each agent has fresh context, explores a specific focus area, and **writes documents directly**. The orchestrator only receives confirmation + line counts, then writes a summary.
5
+
6
+ Output: .planning/codebase/ folder with 7 structured documents about the codebase state.
7
+ </purpose>
8
+
9
+ <philosophy>
10
+ **Why dedicated mapper agents:**
11
+ - Fresh context per domain (no token contamination)
12
+ - Agents write documents directly (no context transfer back to orchestrator)
13
+ - Orchestrator only summarizes what was created (minimal context usage)
14
+ - Faster execution (agents run simultaneously)
15
+
16
+ **Document quality over length:**
17
+ Include enough detail to be useful as reference. Prioritize practical examples (especially code patterns) over arbitrary brevity.
18
+
19
+ **Always include file paths:**
20
+ Documents are reference material for Claude when planning/executing. Always include actual file paths formatted with backticks: `src/services/user.ts`.
21
+ </philosophy>
22
+
23
+ <process>
24
+
25
+ <step name="check_existing" priority="first">
26
+ Check if .planning/codebase/ already exists:
27
+
28
+ ```bash
29
+ ls -la .planning/codebase/ 2>/dev/null
30
+ ```
31
+
32
+ **If exists:**
33
+
34
+ ```
35
+ .planning/codebase/ already exists with these documents:
36
+ [List files found]
37
+
38
+ What's next?
39
+ 1. Refresh - Delete existing and remap codebase
40
+ 2. Update - Keep existing, only update specific documents
41
+ 3. Skip - Use existing codebase map as-is
42
+ ```
43
+
44
+ Wait for user response.
45
+
46
+ If "Refresh": Delete .planning/codebase/, continue to create_structure
47
+ If "Update": Ask which documents to update, continue to spawn_agents (filtered)
48
+ If "Skip": Exit workflow
49
+
50
+ **If doesn't exist:**
51
+ Continue to create_structure.
52
+ </step>
53
+
54
+ <step name="create_structure">
55
+ Create .planning/codebase/ directory:
56
+
57
+ ```bash
58
+ mkdir -p .planning/codebase
59
+ ```
60
+
61
+ **Expected output files:**
62
+ - STACK.md (from tech mapper)
63
+ - INTEGRATIONS.md (from tech mapper)
64
+ - ARCHITECTURE.md (from arch mapper)
65
+ - STRUCTURE.md (from arch mapper)
66
+ - CONVENTIONS.md (from quality mapper)
67
+ - TESTING.md (from quality mapper)
68
+ - CONCERNS.md (from concerns mapper)
69
+
70
+ Continue to spawn_agents.
71
+ </step>
72
+
73
+ <step name="spawn_agents">
74
+ Spawn 4 parallel gsd-codebase-mapper agents.
75
+
76
+ Use Task tool with `subagent_type="gsd-codebase-mapper"` and `run_in_background=true` for parallel execution.
77
+
78
+ **CRITICAL:** Use the dedicated `gsd-codebase-mapper` agent, NOT `Explore`. The mapper agent writes documents directly.
79
+
80
+ **Agent 1: Tech Focus**
81
+
82
+ Task tool parameters:
83
+ ```
84
+ subagent_type: "gsd-codebase-mapper"
85
+ run_in_background: true
86
+ description: "Map codebase tech stack"
87
+ ```
88
+
89
+ Prompt:
90
+ ```
91
+ Focus: tech
92
+
93
+ Analyze this codebase for technology stack and external integrations.
94
+
95
+ Write these documents to .planning/codebase/:
96
+ - STACK.md - Languages, runtime, frameworks, dependencies, configuration
97
+ - INTEGRATIONS.md - External APIs, databases, auth providers, webhooks
98
+
99
+ Explore thoroughly. Write documents directly using templates. Return confirmation only.
100
+ ```
101
+
102
+ **Agent 2: Architecture Focus**
103
+
104
+ Task tool parameters:
105
+ ```
106
+ subagent_type: "gsd-codebase-mapper"
107
+ run_in_background: true
108
+ description: "Map codebase architecture"
109
+ ```
110
+
111
+ Prompt:
112
+ ```
113
+ Focus: arch
114
+
115
+ Analyze this codebase architecture and directory structure.
116
+
117
+ Write these documents to .planning/codebase/:
118
+ - ARCHITECTURE.md - Pattern, layers, data flow, abstractions, entry points
119
+ - STRUCTURE.md - Directory layout, key locations, naming conventions
120
+
121
+ Explore thoroughly. Write documents directly using templates. Return confirmation only.
122
+ ```
123
+
124
+ **Agent 3: Quality Focus**
125
+
126
+ Task tool parameters:
127
+ ```
128
+ subagent_type: "gsd-codebase-mapper"
129
+ run_in_background: true
130
+ description: "Map codebase conventions"
131
+ ```
132
+
133
+ Prompt:
134
+ ```
135
+ Focus: quality
136
+
137
+ Analyze this codebase for coding conventions and testing patterns.
138
+
139
+ Write these documents to .planning/codebase/:
140
+ - CONVENTIONS.md - Code style, naming, patterns, error handling
141
+ - TESTING.md - Framework, structure, mocking, coverage
142
+
143
+ Explore thoroughly. Write documents directly using templates. Return confirmation only.
144
+ ```
145
+
146
+ **Agent 4: Concerns Focus**
147
+
148
+ Task tool parameters:
149
+ ```
150
+ subagent_type: "gsd-codebase-mapper"
151
+ run_in_background: true
152
+ description: "Map codebase concerns"
153
+ ```
154
+
155
+ Prompt:
156
+ ```
157
+ Focus: concerns
158
+
159
+ Analyze this codebase for technical debt, known issues, and areas of concern.
160
+
161
+ Write this document to .planning/codebase/:
162
+ - CONCERNS.md - Tech debt, bugs, security, performance, fragile areas
163
+
164
+ Explore thoroughly. Write document directly using template. Return confirmation only.
165
+ ```
166
+
167
+ Continue to collect_confirmations.
168
+ </step>
169
+
170
+ <step name="collect_confirmations">
171
+ Wait for all 4 agents to complete.
172
+
173
+ Read each agent's output file to collect confirmations.
174
+
175
+ **Expected confirmation format from each agent:**
176
+ ```
177
+ ## Mapping Complete
178
+
179
+ **Focus:** {focus}
180
+ **Documents written:**
181
+ - `.planning/codebase/{DOC1}.md` ({N} lines)
182
+ - `.planning/codebase/{DOC2}.md` ({N} lines)
183
+
184
+ Ready for orchestrator summary.
185
+ ```
186
+
187
+ **What you receive:** Just file paths and line counts. NOT document contents.
188
+
189
+ If any agent failed, note the failure and continue with successful documents.
190
+
191
+ Continue to verify_output.
192
+ </step>
193
+
194
+ <step name="verify_output">
195
+ Verify all documents created successfully:
196
+
197
+ ```bash
198
+ ls -la .planning/codebase/
199
+ wc -l .planning/codebase/*.md
200
+ ```
201
+
202
+ **Verification checklist:**
203
+ - All 7 documents exist
204
+ - No empty documents (each should have >20 lines)
205
+
206
+ If any documents missing or empty, note which agents may have failed.
207
+
208
+ Continue to commit_codebase_map.
209
+ </step>
210
+
211
+ <step name="commit_codebase_map">
212
+ Commit the codebase map:
213
+
214
+ ```bash
215
+ git add .planning/codebase/*.md
216
+ git commit -m "$(cat <<'EOF'
217
+ docs: map existing codebase
218
+
219
+ - STACK.md - Technologies and dependencies
220
+ - ARCHITECTURE.md - System design and patterns
221
+ - STRUCTURE.md - Directory layout
222
+ - CONVENTIONS.md - Code style and patterns
223
+ - TESTING.md - Test structure
224
+ - INTEGRATIONS.md - External services
225
+ - CONCERNS.md - Technical debt and issues
226
+ EOF
227
+ )"
228
+ ```
229
+
230
+ Continue to offer_next.
231
+ </step>
232
+
233
+ <step name="offer_next">
234
+ Present completion summary and next steps.
235
+
236
+ **Get line counts:**
237
+ ```bash
238
+ wc -l .planning/codebase/*.md
239
+ ```
240
+
241
+ **Output format:**
242
+
243
+ ```
244
+ Codebase mapping complete.
245
+
246
+ Created .planning/codebase/:
247
+ - STACK.md ([N] lines) - Technologies and dependencies
248
+ - ARCHITECTURE.md ([N] lines) - System design and patterns
249
+ - STRUCTURE.md ([N] lines) - Directory layout and organization
250
+ - CONVENTIONS.md ([N] lines) - Code style and patterns
251
+ - TESTING.md ([N] lines) - Test structure and practices
252
+ - INTEGRATIONS.md ([N] lines) - External services and APIs
253
+ - CONCERNS.md ([N] lines) - Technical debt and issues
254
+
255
+
256
+ ---
257
+
258
+ ## ▶ Next Up
259
+
260
+ **Initialize project** — use codebase context for planning
261
+
262
+ `/gsd:new-project`
263
+
264
+ <sub>`/clear` first → fresh context window</sub>
265
+
266
+ ---
267
+
268
+ **Also available:**
269
+ - Re-run mapping: `/gsd:map-codebase`
270
+ - Review specific file: `cat .planning/codebase/STACK.md`
271
+ - Edit any document before proceeding
272
+
273
+ ---
274
+ ```
275
+
276
+ End workflow.
277
+ </step>
278
+
279
+ </process>
280
+
281
+ <success_criteria>
282
+ - .planning/codebase/ directory created
283
+ - 4 parallel gsd-codebase-mapper agents spawned with run_in_background=true
284
+ - Agents write documents directly (orchestrator doesn't receive document contents)
285
+ - Read agent output files to collect confirmations
286
+ - All 7 codebase documents exist
287
+ - Clear completion summary with line counts
288
+ - User offered clear next steps in GSD style
289
+ </success_criteria>