@undeemed/get-shit-done-codex 1.6.11 → 1.20.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.
Files changed (104) hide show
  1. package/README.md +22 -3
  2. package/agents/gsd-codebase-mapper.md +761 -0
  3. package/agents/gsd-debugger.md +1198 -0
  4. package/agents/gsd-executor.md +419 -0
  5. package/agents/gsd-integration-checker.md +423 -0
  6. package/agents/gsd-phase-researcher.md +469 -0
  7. package/agents/gsd-plan-checker.md +622 -0
  8. package/agents/gsd-planner.md +1159 -0
  9. package/agents/gsd-project-researcher.md +618 -0
  10. package/agents/gsd-research-synthesizer.md +236 -0
  11. package/agents/gsd-roadmapper.md +639 -0
  12. package/agents/gsd-verifier.md +541 -0
  13. package/bin/install.js +106 -100
  14. package/commands/gsd/add-phase.md +17 -185
  15. package/commands/gsd/add-todo.md +23 -163
  16. package/commands/gsd/audit-milestone.md +3 -219
  17. package/commands/gsd/check-todos.md +20 -196
  18. package/commands/gsd/cleanup.md +18 -0
  19. package/commands/gsd/debug.md +13 -0
  20. package/commands/gsd/discuss-phase.md +10 -3
  21. package/commands/gsd/execute-phase.md +3 -265
  22. package/commands/gsd/health.md +22 -0
  23. package/commands/gsd/help.md +8 -369
  24. package/commands/gsd/insert-phase.md +9 -203
  25. package/commands/gsd/join-discord.md +18 -0
  26. package/commands/gsd/new-milestone.md +12 -678
  27. package/commands/gsd/new-project.md +8 -862
  28. package/commands/gsd/new-project.md.bak +1041 -0
  29. package/commands/gsd/pause-work.md +17 -105
  30. package/commands/gsd/plan-milestone-gaps.md +3 -247
  31. package/commands/gsd/plan-phase.md +13 -444
  32. package/commands/gsd/progress.md +5 -337
  33. package/commands/gsd/quick.md +40 -0
  34. package/commands/gsd/reapply-patches.md +110 -0
  35. package/commands/gsd/remove-phase.md +9 -315
  36. package/commands/gsd/research-phase.md +26 -19
  37. package/commands/gsd/set-profile.md +34 -0
  38. package/commands/gsd/settings.md +36 -0
  39. package/commands/gsd/update.md +25 -160
  40. package/commands/gsd/verify-work.md +3 -183
  41. package/get-shit-done/bin/gsd-tools.cjs +5243 -0
  42. package/get-shit-done/bin/gsd-tools.test.cjs +2273 -0
  43. package/get-shit-done/references/checkpoints.md +254 -267
  44. package/get-shit-done/references/decimal-phase-calculation.md +65 -0
  45. package/get-shit-done/references/git-integration.md +3 -9
  46. package/get-shit-done/references/git-planning-commit.md +38 -0
  47. package/get-shit-done/references/model-profile-resolution.md +34 -0
  48. package/get-shit-done/references/model-profiles.md +92 -0
  49. package/get-shit-done/references/phase-argument-parsing.md +61 -0
  50. package/get-shit-done/references/planning-config.md +196 -0
  51. package/get-shit-done/references/questioning.md +4 -0
  52. package/get-shit-done/references/verification-patterns.md +17 -0
  53. package/get-shit-done/templates/UAT.md +1 -1
  54. package/get-shit-done/templates/codebase/structure.md +3 -3
  55. package/get-shit-done/templates/config.json +10 -0
  56. package/get-shit-done/templates/context.md +2 -10
  57. package/get-shit-done/templates/phase-prompt.md +18 -27
  58. package/get-shit-done/templates/planner-subagent-prompt.md +4 -4
  59. package/get-shit-done/templates/research-project/ARCHITECTURE.md +1 -1
  60. package/get-shit-done/templates/research.md +25 -2
  61. package/get-shit-done/templates/state.md +0 -30
  62. package/get-shit-done/templates/summary-complex.md +59 -0
  63. package/get-shit-done/templates/summary-minimal.md +41 -0
  64. package/get-shit-done/templates/summary-standard.md +48 -0
  65. package/get-shit-done/templates/summary.md +5 -28
  66. package/get-shit-done/templates/user-setup.md +1 -13
  67. package/get-shit-done/templates/verification-report.md +1 -1
  68. package/get-shit-done/workflows/add-phase.md +111 -0
  69. package/get-shit-done/workflows/add-todo.md +157 -0
  70. package/get-shit-done/workflows/audit-milestone.md +242 -0
  71. package/get-shit-done/workflows/check-todos.md +176 -0
  72. package/get-shit-done/workflows/cleanup.md +152 -0
  73. package/get-shit-done/workflows/complete-milestone.md +225 -301
  74. package/get-shit-done/workflows/diagnose-issues.md +3 -17
  75. package/get-shit-done/workflows/discovery-phase.md +6 -10
  76. package/get-shit-done/workflows/discuss-phase.md +99 -36
  77. package/get-shit-done/workflows/execute-phase.md +205 -349
  78. package/get-shit-done/workflows/execute-plan.md +179 -1569
  79. package/get-shit-done/workflows/health.md +156 -0
  80. package/get-shit-done/workflows/help.md +486 -0
  81. package/get-shit-done/workflows/insert-phase.md +129 -0
  82. package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
  83. package/get-shit-done/workflows/map-codebase.md +55 -17
  84. package/get-shit-done/workflows/new-milestone.md +373 -0
  85. package/get-shit-done/workflows/new-project.md +1113 -0
  86. package/get-shit-done/workflows/pause-work.md +122 -0
  87. package/get-shit-done/workflows/plan-milestone-gaps.md +256 -0
  88. package/get-shit-done/workflows/plan-phase.md +448 -0
  89. package/get-shit-done/workflows/progress.md +393 -0
  90. package/get-shit-done/workflows/quick.md +444 -0
  91. package/get-shit-done/workflows/remove-phase.md +154 -0
  92. package/get-shit-done/workflows/research-phase.md +74 -0
  93. package/get-shit-done/workflows/resume-project.md +18 -23
  94. package/get-shit-done/workflows/set-profile.md +80 -0
  95. package/get-shit-done/workflows/settings.md +200 -0
  96. package/get-shit-done/workflows/transition.md +78 -103
  97. package/get-shit-done/workflows/update.md +214 -0
  98. package/get-shit-done/workflows/verify-phase.md +107 -494
  99. package/get-shit-done/workflows/verify-work.md +18 -11
  100. package/hooks/dist/gsd-check-update.js +66 -0
  101. package/hooks/dist/gsd-statusline.js +91 -0
  102. package/package.json +19 -3
  103. package/scripts/build-hooks.js +42 -0
  104. package/commands/gsd/whats-new.md +0 -124
@@ -2,382 +2,21 @@
2
2
  name: gsd:help
3
3
  description: Show available GSD commands and usage guide
4
4
  ---
5
-
6
5
  <objective>
7
6
  Display the complete GSD command reference.
8
7
 
9
8
  Output ONLY the reference content below. Do NOT add:
10
-
11
9
  - Project-specific analysis
12
10
  - Git status or file context
13
11
  - Next-step suggestions
14
12
  - Any commentary beyond the reference
15
- </objective>
16
-
17
- <reference>
18
- # GSD Command Reference
19
-
20
- **GSD** (Get Shit Done) creates hierarchical project plans optimized for solo agentic development with OpenAI Codex CLI.
21
-
22
- ## Quick Start
23
-
24
- 1. `/gsd:new-project` - Initialize project (includes research, requirements, roadmap)
25
- 2. `/gsd:plan-phase 1` - Create detailed plan for first phase
26
- 3. `/gsd:execute-phase 1` - Execute the phase
27
-
28
- ## Staying Updated
29
-
30
- GSD evolves fast. Check for updates periodically:
31
-
32
- ```
33
- /gsd:whats-new
34
- ```
35
-
36
- Shows what changed since your installed version. Update with:
37
-
38
- ```bash
39
- npx get-shit-done-cc@latest
40
- ```
41
-
42
- ## Core Workflow
43
-
44
- ```
45
- /gsd:new-project → /gsd:plan-phase → /gsd:execute-phase → repeat
46
- ```
47
-
48
- ### Project Initialization
49
-
50
- **`/gsd:new-project`**
51
- Initialize new project through unified flow.
52
-
53
- One command takes you from idea to ready-for-planning:
54
- - Deep questioning to understand what you're building
55
- - Optional domain research (spawns 4 parallel researcher agents)
56
- - Requirements definition with v1/v2/out-of-scope scoping
57
- - Roadmap creation with phase breakdown and success criteria
58
-
59
- Creates all `.planning/` artifacts:
60
- - `PROJECT.md` — vision and requirements
61
- - `config.json` — workflow mode (interactive/yolo)
62
- - `research/` — domain research (if selected)
63
- - `REQUIREMENTS.md` — scoped requirements with REQ-IDs
64
- - `ROADMAP.md` — phases mapped to requirements
65
- - `STATE.md` — project memory
66
-
67
- Usage: `/gsd:new-project`
68
-
69
- **`/gsd:map-codebase`**
70
- Map an existing codebase for brownfield projects.
71
-
72
- - Analyzes codebase with parallel Explore agents
73
- - Creates `.planning/codebase/` with 7 focused documents
74
- - Covers stack, architecture, structure, conventions, testing, integrations, concerns
75
- - Use before `/gsd:new-project` on existing codebases
76
-
77
- Usage: `/gsd:map-codebase`
78
-
79
- ### Phase Planning
80
-
81
- **`/gsd:discuss-phase <number>`**
82
- Help articulate your vision for a phase before planning.
83
-
84
- - Captures how you imagine this phase working
85
- - Creates CONTEXT.md with your vision, essentials, and boundaries
86
- - Use when you have ideas about how something should look/feel
87
-
88
- Usage: `/gsd:discuss-phase 2`
89
-
90
- **`/gsd:research-phase <number>`**
91
- Comprehensive ecosystem research for niche/complex domains.
92
-
93
- - Discovers standard stack, architecture patterns, pitfalls
94
- - Creates RESEARCH.md with "how experts build this" knowledge
95
- - Use for 3D, games, audio, shaders, ML, and other specialized domains
96
- - Goes beyond "which library" to ecosystem knowledge
97
-
98
- Usage: `/gsd:research-phase 3`
99
-
100
- **`/gsd:list-phase-assumptions <number>`**
101
- See what Claude is planning to do before it starts.
102
-
103
- - Shows Codex's intended approach for a phase
104
- - Lets you course-correct if Codex misunderstood your vision
105
- - No files created - conversational output only
106
-
107
- Usage: `/gsd:list-phase-assumptions 3`
108
-
109
- **`/gsd:plan-phase <number>`**
110
- Create detailed execution plan for a specific phase.
111
-
112
- - Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
113
- - Breaks phase into concrete, actionable tasks
114
- - Includes verification criteria and success measures
115
- - Multiple plans per phase supported (XX-01, XX-02, etc.)
116
-
117
- Usage: `/gsd:plan-phase 1`
118
- Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
119
-
120
- ### Execution
121
-
122
- **`/gsd:execute-phase <phase-number>`**
123
- Execute all plans in a phase.
124
-
125
- - Groups plans by wave (from frontmatter), executes waves sequentially
126
- - Plans within each wave run in parallel via Task tool
127
- - Verifies phase goal after all plans complete
128
- - Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
129
-
130
- Usage: `/gsd:execute-phase 5`
131
-
132
- ### Roadmap Management
133
-
134
- **`/gsd:add-phase <description>`**
135
- Add new phase to end of current milestone.
136
-
137
- - Appends to ROADMAP.md
138
- - Uses next sequential number
139
- - Updates phase directory structure
140
-
141
- Usage: `/gsd:add-phase "Add admin dashboard"`
142
-
143
- **`/gsd:insert-phase <after> <description>`**
144
- Insert urgent work as decimal phase between existing phases.
145
-
146
- - Creates intermediate phase (e.g., 7.1 between 7 and 8)
147
- - Useful for discovered work that must happen mid-milestone
148
- - Maintains phase ordering
149
-
150
- Usage: `/gsd:insert-phase 7 "Fix critical auth bug"`
151
- Result: Creates Phase 7.1
152
-
153
- **`/gsd:remove-phase <number>`**
154
- Remove a future phase and renumber subsequent phases.
155
-
156
- - Deletes phase directory and all references
157
- - Renumbers all subsequent phases to close the gap
158
- - Only works on future (unstarted) phases
159
- - Git commit preserves historical record
160
-
161
- Usage: `/gsd:remove-phase 17`
162
- Result: Phase 17 deleted, phases 18-20 become 17-19
163
-
164
- ### Milestone Management
165
-
166
- **`/gsd:new-milestone <name>`**
167
- Start a new milestone through unified flow.
168
-
169
- - Deep questioning to understand what you're building next
170
- - Optional domain research (spawns 4 parallel researcher agents)
171
- - Requirements definition with scoping
172
- - Roadmap creation with phase breakdown
173
-
174
- Mirrors `/gsd:new-project` flow for brownfield projects (existing PROJECT.md).
175
-
176
- Usage: `/gsd:new-milestone "v2.0 Features"`
177
-
178
- **`/gsd:complete-milestone <version>`**
179
- Archive completed milestone and prepare for next version.
180
-
181
- - Creates MILESTONES.md entry with stats
182
- - Archives full details to milestones/ directory
183
- - Creates git tag for the release
184
- - Prepares workspace for next version
185
-
186
- Usage: `/gsd:complete-milestone 1.0.0`
187
-
188
- ### Progress Tracking
189
-
190
- **`/gsd:progress`**
191
- Check project status and intelligently route to next action.
192
-
193
- - Shows visual progress bar and completion percentage
194
- - Summarizes recent work from SUMMARY files
195
- - Displays current position and what's next
196
- - Lists key decisions and open issues
197
- - Offers to execute next plan or create it if missing
198
- - Detects 100% milestone completion
199
-
200
- Usage: `/gsd:progress`
201
-
202
- ### Session Management
203
-
204
- **`/gsd:resume-work`**
205
- Resume work from previous session with full context restoration.
206
-
207
- - Reads STATE.md for project context
208
- - Shows current position and recent progress
209
- - Offers next actions based on project state
210
-
211
- Usage: `/gsd:resume-work`
212
-
213
- **`/gsd:pause-work`**
214
- Create context handoff when pausing work mid-phase.
215
-
216
- - Creates .continue-here file with current state
217
- - Updates STATE.md session continuity section
218
- - Captures in-progress work context
219
-
220
- Usage: `/gsd:pause-work`
221
-
222
- ### Debugging
223
-
224
- **`/gsd:debug [issue description]`**
225
- Systematic debugging with persistent state across context resets.
226
-
227
- - Gathers symptoms through adaptive questioning
228
- - Creates `.planning/debug/[slug].md` to track investigation
229
- - Investigates using scientific method (evidence → hypothesis → test)
230
- - Survives `/clear` — run `/gsd:debug` with no args to resume
231
- - Archives resolved issues to `.planning/debug/resolved/`
232
-
233
- Usage: `/gsd:debug "login button doesn't work"`
234
- Usage: `/gsd:debug` (resume active session)
235
-
236
- ### Todo Management
237
-
238
- **`/gsd:add-todo [description]`**
239
- Capture idea or task as todo from current conversation.
240
-
241
- - Extracts context from conversation (or uses provided description)
242
- - Creates structured todo file in `.planning/todos/pending/`
243
- - Infers area from file paths for grouping
244
- - Checks for duplicates before creating
245
- - Updates STATE.md todo count
246
-
247
- Usage: `/gsd:add-todo` (infers from conversation)
248
- Usage: `/gsd:add-todo Add auth token refresh`
249
-
250
- **`/gsd:check-todos [area]`**
251
- List pending todos and select one to work on.
252
-
253
- - Lists all pending todos with title, area, age
254
- - Optional area filter (e.g., `/gsd:check-todos api`)
255
- - Loads full context for selected todo
256
- - Routes to appropriate action (work now, add to phase, brainstorm)
257
- - Moves todo to done/ when work begins
258
-
259
- Usage: `/gsd:check-todos`
260
- Usage: `/gsd:check-todos api`
261
-
262
- ### Utility Commands
263
-
264
- **`/gsd:help`**
265
- Show this command reference.
266
-
267
- **`/gsd:whats-new`**
268
- See what's changed since your installed version.
269
-
270
- - Shows installed vs latest version comparison
271
- - Displays changelog entries for versions you've missed
272
- - Highlights breaking changes
273
- - Provides update instructions when behind
274
-
275
- Usage: `/gsd:whats-new`
276
-
277
- ## Files & Structure
278
-
279
- ```
280
- .planning/
281
- ├── PROJECT.md # Project vision
282
- ├── ROADMAP.md # Current phase breakdown
283
- ├── STATE.md # Project memory & context
284
- ├── config.json # Workflow mode & gates
285
- ├── todos/ # Captured ideas and tasks
286
- │ ├── pending/ # Todos waiting to be worked on
287
- │ └── done/ # Completed todos
288
- ├── debug/ # Active debug sessions
289
- │ └── resolved/ # Archived resolved issues
290
- ├── codebase/ # Codebase map (brownfield projects)
291
- │ ├── STACK.md # Languages, frameworks, dependencies
292
- │ ├── ARCHITECTURE.md # Patterns, layers, data flow
293
- │ ├── STRUCTURE.md # Directory layout, key files
294
- │ ├── CONVENTIONS.md # Coding standards, naming
295
- │ ├── TESTING.md # Test setup, patterns
296
- │ ├── INTEGRATIONS.md # External services, APIs
297
- │ └── CONCERNS.md # Tech debt, known issues
298
- └── phases/
299
- ├── 01-foundation/
300
- │ ├── 01-01-PLAN.md
301
- │ └── 01-01-SUMMARY.md
302
- └── 02-core-features/
303
- ├── 02-01-PLAN.md
304
- └── 02-01-SUMMARY.md
305
- ```
306
-
307
- ## Workflow Modes
308
-
309
- Set during `/gsd:new-project`:
310
-
311
- **Interactive Mode**
312
-
313
- - Confirms each major decision
314
- - Pauses at checkpoints for approval
315
- - More guidance throughout
316
-
317
- **YOLO Mode**
318
-
319
- - Auto-approves most decisions
320
- - Executes plans without confirmation
321
- - Only stops for critical checkpoints
322
-
323
- Change anytime by editing `.planning/config.json`
324
-
325
- ## Common Workflows
326
-
327
- **Starting a new project:**
328
-
329
- ```
330
- /gsd:new-project # Unified flow: questioning → research → requirements → roadmap
331
- /clear
332
- /gsd:plan-phase 1 # Create plans for first phase
333
- /clear
334
- /gsd:execute-phase 1 # Execute all plans in phase
335
- ```
336
-
337
- **Resuming work after a break:**
338
-
339
- ```
340
- /gsd:progress # See where you left off and continue
341
- ```
342
-
343
- **Adding urgent mid-milestone work:**
344
-
345
- ```
346
- /gsd:insert-phase 5 "Critical security fix"
347
- /gsd:plan-phase 5.1
348
- /gsd:execute-phase 5.1
349
- ```
350
-
351
- **Completing a milestone:**
352
-
353
- ```
354
- /gsd:complete-milestone 1.0.0
355
- /clear
356
- /gsd:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
357
- ```
358
-
359
- **Capturing ideas during work:**
360
-
361
- ```
362
- /gsd:add-todo # Capture from conversation context
363
- /gsd:add-todo Fix modal z-index # Capture with explicit description
364
- /gsd:check-todos # Review and work on todos
365
- /gsd:check-todos api # Filter by area
366
- ```
367
-
368
- **Debugging an issue:**
369
-
370
- ```
371
- /gsd:debug "form submission fails silently" # Start debug session
372
- # ... investigation happens, context fills up ...
373
- /clear
374
- /gsd:debug # Resume from where you left off
375
- ```
13
+ </objective>
376
14
 
377
- ## Getting Help
15
+ <execution_context>
16
+ @~/.claude/get-shit-done/workflows/help.md
17
+ </execution_context>
378
18
 
379
- - Read `.planning/PROJECT.md` for project vision
380
- - Read `.planning/STATE.md` for current context
381
- - Check `.planning/ROADMAP.md` for phase status
382
- - Run `/gsd:progress` to check where you're up to
383
- </reference>
19
+ <process>
20
+ Output the complete GSD command reference from @~/.claude/get-shit-done/workflows/help.md.
21
+ Display the reference content directly — no additions or modifications.
22
+ </process>
@@ -17,211 +17,17 @@ Purpose: Handle urgent work discovered during execution without renumbering enti
17
17
  </objective>
18
18
 
19
19
  <execution_context>
20
- @.planning/ROADMAP.md
21
- @.planning/STATE.md
20
+ @~/.claude/get-shit-done/workflows/insert-phase.md
22
21
  </execution_context>
23
22
 
24
- <process>
25
-
26
- <step name="parse_arguments">
27
- Parse the command arguments:
28
- - First argument: integer phase number to insert after
29
- - Remaining arguments: phase description
30
-
31
- Example: `/gsd:insert-phase 72 Fix critical auth bug`
32
- → after = 72
33
- → description = "Fix critical auth bug"
34
-
35
- Validation:
36
-
37
- ```bash
38
- if [ $# -lt 2 ]; then
39
- echo "ERROR: Both phase number and description required"
40
- echo "Usage: /gsd:insert-phase <after> <description>"
41
- echo "Example: /gsd:insert-phase 72 Fix critical auth bug"
42
- exit 1
43
- fi
44
- ```
45
-
46
- Parse first argument as integer:
47
-
48
- ```bash
49
- after_phase=$1
50
- shift
51
- description="$*"
52
-
53
- # Validate after_phase is an integer
54
- if ! [[ "$after_phase" =~ ^[0-9]+$ ]]; then
55
- echo "ERROR: Phase number must be an integer"
56
- exit 1
57
- fi
58
- ```
59
-
60
- </step>
61
-
62
- <step name="load_roadmap">
63
- Load the roadmap file:
64
-
65
- ```bash
66
- if [ -f .planning/ROADMAP.md ]; then
67
- ROADMAP=".planning/ROADMAP.md"
68
- else
69
- echo "ERROR: No roadmap found (.planning/ROADMAP.md)"
70
- exit 1
71
- fi
72
- ```
73
-
74
- Read roadmap content for parsing.
75
- </step>
76
-
77
- <step name="verify_target_phase">
78
- Verify that the target phase exists in the roadmap:
79
-
80
- 1. Search for "### Phase {after_phase}:" heading
81
- 2. If not found:
82
-
83
- ```
84
- ERROR: Phase {after_phase} not found in roadmap
85
- Available phases: [list phase numbers]
86
- ```
87
-
88
- Exit.
89
-
90
- 3. Verify phase is in current milestone (not completed/archived)
91
- </step>
92
-
93
- <step name="find_existing_decimals">
94
- Find existing decimal phases after the target phase:
95
-
96
- 1. Search for all "### Phase {after_phase}.N:" headings
97
- 2. Extract decimal suffixes (e.g., for Phase 72: find 72.1, 72.2, 72.3)
98
- 3. Find the highest decimal suffix
99
- 4. Calculate next decimal: max + 1
100
-
101
- Examples:
102
-
103
- - Phase 72 with no decimals → next is 72.1
104
- - Phase 72 with 72.1 → next is 72.2
105
- - Phase 72 with 72.1, 72.2 → next is 72.3
106
-
107
- Store as: `decimal_phase="$(printf "%02d" $after_phase).${next_decimal}"`
108
- </step>
109
-
110
- <step name="generate_slug">
111
- Convert the phase description to a kebab-case slug:
112
-
113
- ```bash
114
- slug=$(echo "$description" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/--*/-/g' | sed 's/^-//;s/-$//')
115
- ```
116
-
117
- Phase directory name: `{decimal-phase}-{slug}`
118
- Example: `06.1-fix-critical-auth-bug` (phase 6 insertion)
119
- </step>
120
-
121
- <step name="create_phase_directory">
122
- Create the phase directory structure:
123
-
124
- ```bash
125
- phase_dir=".planning/phases/${decimal_phase}-${slug}"
126
- mkdir -p "$phase_dir"
127
- ```
128
-
129
- Confirm: "Created directory: $phase_dir"
130
- </step>
131
-
132
- <step name="update_roadmap">
133
- Insert the new phase entry into the roadmap:
134
-
135
- 1. Find insertion point: immediately after Phase {after_phase}'s content (before next phase heading or "---")
136
- 2. Insert new phase heading with (INSERTED) marker:
23
+ <context>
24
+ Arguments: $ARGUMENTS (format: <after-phase-number> <description>)
137
25
 
138
- ```
139
- ### Phase {decimal_phase}: {Description} (INSERTED)
140
-
141
- **Goal:** [Urgent work - to be planned]
142
- **Depends on:** Phase {after_phase}
143
- **Plans:** 0 plans
144
-
145
- Plans:
146
- - [ ] TBD (run /gsd:plan-phase {decimal_phase} to break down)
147
-
148
- **Details:**
149
- [To be added during planning]
150
- ```
151
-
152
- 3. Write updated roadmap back to file
153
-
154
- The "(INSERTED)" marker helps identify decimal phases as urgent insertions.
155
-
156
- Preserve all other content exactly (formatting, spacing, other phases).
157
- </step>
158
-
159
- <step name="update_project_state">
160
- Update STATE.md to reflect the inserted phase:
161
-
162
- 1. Read `.planning/STATE.md`
163
- 2. Under "## Accumulated Context" → "### Roadmap Evolution" add entry:
164
- ```
165
- - Phase {decimal_phase} inserted after Phase {after_phase}: {description} (URGENT)
166
- ```
167
-
168
- If "Roadmap Evolution" section doesn't exist, create it.
169
-
170
- Add note about insertion reason if appropriate.
171
- </step>
172
-
173
- <step name="completion">
174
- Present completion summary:
175
-
176
- ```
177
- Phase {decimal_phase} inserted after Phase {after_phase}:
178
- - Description: {description}
179
- - Directory: .planning/phases/{decimal-phase}-{slug}/
180
- - Status: Not planned yet
181
- - Marker: (INSERTED) - indicates urgent work
182
-
183
- Roadmap updated: {roadmap-path}
184
- Project state updated: .planning/STATE.md
185
-
186
- ---
187
-
188
- ## ▶ Next Up
189
-
190
- **Phase {decimal_phase}: {description}** — urgent insertion
191
-
192
- `/gsd:plan-phase {decimal_phase}`
193
-
194
- <sub>`/clear` first → fresh context window</sub>
195
-
196
- ---
197
-
198
- **Also available:**
199
- - Review insertion impact: Check if Phase {next_integer} dependencies still make sense
200
- - Review roadmap
201
-
202
- ---
203
- ```
204
- </step>
26
+ @.planning/ROADMAP.md
27
+ @.planning/STATE.md
28
+ </context>
205
29
 
30
+ <process>
31
+ Execute the insert-phase workflow from @~/.claude/get-shit-done/workflows/insert-phase.md end-to-end.
32
+ Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
206
33
  </process>
207
-
208
- <anti_patterns>
209
-
210
- - Don't use this for planned work at end of milestone (use /gsd:add-phase)
211
- - Don't insert before Phase 1 (decimal 0.1 makes no sense)
212
- - Don't renumber existing phases
213
- - Don't modify the target phase content
214
- - Don't create plans yet (that's /gsd:plan-phase)
215
- - Don't commit changes (user decides when to commit)
216
- </anti_patterns>
217
-
218
- <success_criteria>
219
- Phase insertion is complete when:
220
-
221
- - [ ] Phase directory created: `.planning/phases/{N.M}-{slug}/`
222
- - [ ] Roadmap updated with new phase entry (includes "(INSERTED)" marker)
223
- - [ ] Phase inserted in correct position (after target phase, before next integer phase)
224
- - [ ] STATE.md updated with roadmap evolution note
225
- - [ ] Decimal number calculated correctly (based on existing decimals)
226
- - [ ] User informed of next steps and dependency implications
227
- </success_criteria>
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: gsd:join-discord
3
+ description: Join the GSD Discord community
4
+ ---
5
+
6
+ <objective>
7
+ Display the Discord invite link for the GSD community server.
8
+ </objective>
9
+
10
+ <output>
11
+ # Join the GSD Discord
12
+
13
+ Connect with other GSD users, get help, share what you're building, and stay updated.
14
+
15
+ **Invite link:** https://discord.gg/5JJgD5svVS
16
+
17
+ Click the link or paste it into your browser to join.
18
+ </output>