@howlil/ez-agents 2.0.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.
Files changed (183) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +845 -0
  3. package/README.zh-CN.md +702 -0
  4. package/agents/ez-codebase-mapper.md +770 -0
  5. package/agents/ez-debugger.md +1255 -0
  6. package/agents/ez-executor.md +487 -0
  7. package/agents/ez-integration-checker.md +443 -0
  8. package/agents/ez-nyquist-auditor.md +176 -0
  9. package/agents/ez-phase-researcher.md +553 -0
  10. package/agents/ez-plan-checker.md +706 -0
  11. package/agents/ez-planner.md +1307 -0
  12. package/agents/ez-project-researcher.md +629 -0
  13. package/agents/ez-research-synthesizer.md +247 -0
  14. package/agents/ez-roadmapper.md +650 -0
  15. package/agents/ez-ui-auditor.md +441 -0
  16. package/agents/ez-ui-checker.md +302 -0
  17. package/agents/ez-ui-researcher.md +355 -0
  18. package/agents/ez-verifier.md +579 -0
  19. package/bin/install.js +2862 -0
  20. package/bin/update.js +214 -0
  21. package/commands/ez/add-phase.md +43 -0
  22. package/commands/ez/add-tests.md +41 -0
  23. package/commands/ez/add-todo.md +47 -0
  24. package/commands/ez/audit-milestone.md +36 -0
  25. package/commands/ez/autonomous.md +41 -0
  26. package/commands/ez/check-todos.md +45 -0
  27. package/commands/ez/cleanup.md +18 -0
  28. package/commands/ez/complete-milestone.md +136 -0
  29. package/commands/ez/debug.md +168 -0
  30. package/commands/ez/discuss-phase.md +90 -0
  31. package/commands/ez/execute-phase.md +41 -0
  32. package/commands/ez/health.md +22 -0
  33. package/commands/ez/help.md +22 -0
  34. package/commands/ez/insert-phase.md +32 -0
  35. package/commands/ez/join-discord.md +18 -0
  36. package/commands/ez/list-phase-assumptions.md +46 -0
  37. package/commands/ez/map-codebase.md +71 -0
  38. package/commands/ez/new-milestone.md +44 -0
  39. package/commands/ez/new-project.md +42 -0
  40. package/commands/ez/pause-work.md +38 -0
  41. package/commands/ez/plan-milestone-gaps.md +34 -0
  42. package/commands/ez/plan-phase.md +45 -0
  43. package/commands/ez/progress.md +24 -0
  44. package/commands/ez/quick.md +45 -0
  45. package/commands/ez/reapply-patches.md +124 -0
  46. package/commands/ez/remove-phase.md +31 -0
  47. package/commands/ez/research-phase.md +190 -0
  48. package/commands/ez/resume-work.md +40 -0
  49. package/commands/ez/set-profile.md +34 -0
  50. package/commands/ez/settings.md +36 -0
  51. package/commands/ez/stats.md +18 -0
  52. package/commands/ez/ui-phase.md +34 -0
  53. package/commands/ez/ui-review.md +32 -0
  54. package/commands/ez/update.md +37 -0
  55. package/commands/ez/validate-phase.md +35 -0
  56. package/commands/ez/verify-work.md +38 -0
  57. package/get-shit-done/bin/ez-tools.cjs +598 -0
  58. package/get-shit-done/bin/lib/assistant-adapter.cjs +205 -0
  59. package/get-shit-done/bin/lib/audit-exec.cjs +150 -0
  60. package/get-shit-done/bin/lib/auth.cjs +175 -0
  61. package/get-shit-done/bin/lib/circuit-breaker.cjs +118 -0
  62. package/get-shit-done/bin/lib/commands.cjs +666 -0
  63. package/get-shit-done/bin/lib/config.cjs +183 -0
  64. package/get-shit-done/bin/lib/core.cjs +495 -0
  65. package/get-shit-done/bin/lib/file-lock.cjs +236 -0
  66. package/get-shit-done/bin/lib/frontmatter.cjs +299 -0
  67. package/get-shit-done/bin/lib/fs-utils.cjs +153 -0
  68. package/get-shit-done/bin/lib/git-utils.cjs +203 -0
  69. package/get-shit-done/bin/lib/health-check.cjs +163 -0
  70. package/get-shit-done/bin/lib/index.cjs +113 -0
  71. package/get-shit-done/bin/lib/init.cjs +710 -0
  72. package/get-shit-done/bin/lib/logger.cjs +117 -0
  73. package/get-shit-done/bin/lib/milestone.cjs +241 -0
  74. package/get-shit-done/bin/lib/model-provider.cjs +146 -0
  75. package/get-shit-done/bin/lib/phase.cjs +908 -0
  76. package/get-shit-done/bin/lib/retry.cjs +119 -0
  77. package/get-shit-done/bin/lib/roadmap.cjs +305 -0
  78. package/get-shit-done/bin/lib/safe-exec.cjs +128 -0
  79. package/get-shit-done/bin/lib/safe-path.cjs +130 -0
  80. package/get-shit-done/bin/lib/state.cjs +721 -0
  81. package/get-shit-done/bin/lib/temp-file.cjs +239 -0
  82. package/get-shit-done/bin/lib/template.cjs +222 -0
  83. package/get-shit-done/bin/lib/test-file-lock.cjs +112 -0
  84. package/get-shit-done/bin/lib/test-graceful.cjs +93 -0
  85. package/get-shit-done/bin/lib/test-logger.cjs +60 -0
  86. package/get-shit-done/bin/lib/test-safe-exec.cjs +38 -0
  87. package/get-shit-done/bin/lib/test-safe-path.cjs +33 -0
  88. package/get-shit-done/bin/lib/test-temp-file.cjs +125 -0
  89. package/get-shit-done/bin/lib/timeout-exec.cjs +62 -0
  90. package/get-shit-done/bin/lib/verify.cjs +820 -0
  91. package/get-shit-done/references/checkpoints.md +776 -0
  92. package/get-shit-done/references/continuation-format.md +249 -0
  93. package/get-shit-done/references/decimal-phase-calculation.md +65 -0
  94. package/get-shit-done/references/git-integration.md +248 -0
  95. package/get-shit-done/references/git-planning-commit.md +38 -0
  96. package/get-shit-done/references/model-profile-resolution.md +34 -0
  97. package/get-shit-done/references/model-profiles.md +93 -0
  98. package/get-shit-done/references/phase-argument-parsing.md +61 -0
  99. package/get-shit-done/references/planning-config.md +200 -0
  100. package/get-shit-done/references/questioning.md +162 -0
  101. package/get-shit-done/references/tdd.md +263 -0
  102. package/get-shit-done/references/ui-brand.md +160 -0
  103. package/get-shit-done/references/verification-patterns.md +612 -0
  104. package/get-shit-done/templates/DEBUG.md +164 -0
  105. package/get-shit-done/templates/UAT.md +247 -0
  106. package/get-shit-done/templates/UI-SPEC.md +100 -0
  107. package/get-shit-done/templates/VALIDATION.md +76 -0
  108. package/get-shit-done/templates/codebase/architecture.md +255 -0
  109. package/get-shit-done/templates/codebase/concerns.md +310 -0
  110. package/get-shit-done/templates/codebase/conventions.md +307 -0
  111. package/get-shit-done/templates/codebase/integrations.md +280 -0
  112. package/get-shit-done/templates/codebase/stack.md +186 -0
  113. package/get-shit-done/templates/codebase/structure.md +285 -0
  114. package/get-shit-done/templates/codebase/testing.md +480 -0
  115. package/get-shit-done/templates/config.json +37 -0
  116. package/get-shit-done/templates/context.md +352 -0
  117. package/get-shit-done/templates/continue-here.md +78 -0
  118. package/get-shit-done/templates/copilot-instructions.md +7 -0
  119. package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
  120. package/get-shit-done/templates/discovery.md +146 -0
  121. package/get-shit-done/templates/milestone-archive.md +123 -0
  122. package/get-shit-done/templates/milestone.md +115 -0
  123. package/get-shit-done/templates/phase-prompt.md +610 -0
  124. package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
  125. package/get-shit-done/templates/project.md +184 -0
  126. package/get-shit-done/templates/requirements.md +231 -0
  127. package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
  128. package/get-shit-done/templates/research-project/FEATURES.md +147 -0
  129. package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
  130. package/get-shit-done/templates/research-project/STACK.md +120 -0
  131. package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
  132. package/get-shit-done/templates/research.md +552 -0
  133. package/get-shit-done/templates/retrospective.md +54 -0
  134. package/get-shit-done/templates/roadmap.md +202 -0
  135. package/get-shit-done/templates/state.md +176 -0
  136. package/get-shit-done/templates/summary-complex.md +59 -0
  137. package/get-shit-done/templates/summary-minimal.md +41 -0
  138. package/get-shit-done/templates/summary-standard.md +48 -0
  139. package/get-shit-done/templates/summary.md +248 -0
  140. package/get-shit-done/templates/user-setup.md +311 -0
  141. package/get-shit-done/templates/verification-report.md +322 -0
  142. package/get-shit-done/workflows/add-phase.md +112 -0
  143. package/get-shit-done/workflows/add-tests.md +351 -0
  144. package/get-shit-done/workflows/add-todo.md +158 -0
  145. package/get-shit-done/workflows/audit-milestone.md +332 -0
  146. package/get-shit-done/workflows/autonomous.md +743 -0
  147. package/get-shit-done/workflows/check-todos.md +177 -0
  148. package/get-shit-done/workflows/cleanup.md +152 -0
  149. package/get-shit-done/workflows/complete-milestone.md +766 -0
  150. package/get-shit-done/workflows/diagnose-issues.md +219 -0
  151. package/get-shit-done/workflows/discovery-phase.md +289 -0
  152. package/get-shit-done/workflows/discuss-phase.md +762 -0
  153. package/get-shit-done/workflows/execute-phase.md +468 -0
  154. package/get-shit-done/workflows/execute-plan.md +483 -0
  155. package/get-shit-done/workflows/health.md +159 -0
  156. package/get-shit-done/workflows/help.md +492 -0
  157. package/get-shit-done/workflows/insert-phase.md +130 -0
  158. package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
  159. package/get-shit-done/workflows/map-codebase.md +316 -0
  160. package/get-shit-done/workflows/new-milestone.md +384 -0
  161. package/get-shit-done/workflows/new-project.md +1111 -0
  162. package/get-shit-done/workflows/node-repair.md +92 -0
  163. package/get-shit-done/workflows/pause-work.md +122 -0
  164. package/get-shit-done/workflows/plan-milestone-gaps.md +274 -0
  165. package/get-shit-done/workflows/plan-phase.md +651 -0
  166. package/get-shit-done/workflows/progress.md +382 -0
  167. package/get-shit-done/workflows/quick.md +610 -0
  168. package/get-shit-done/workflows/remove-phase.md +155 -0
  169. package/get-shit-done/workflows/research-phase.md +74 -0
  170. package/get-shit-done/workflows/resume-project.md +307 -0
  171. package/get-shit-done/workflows/set-profile.md +81 -0
  172. package/get-shit-done/workflows/settings.md +242 -0
  173. package/get-shit-done/workflows/stats.md +57 -0
  174. package/get-shit-done/workflows/transition.md +544 -0
  175. package/get-shit-done/workflows/ui-phase.md +290 -0
  176. package/get-shit-done/workflows/ui-review.md +157 -0
  177. package/get-shit-done/workflows/update.md +320 -0
  178. package/get-shit-done/workflows/validate-phase.md +167 -0
  179. package/get-shit-done/workflows/verify-phase.md +243 -0
  180. package/get-shit-done/workflows/verify-work.md +584 -0
  181. package/package.json +55 -0
  182. package/scripts/build-hooks.js +43 -0
  183. package/scripts/run-tests.cjs +29 -0
@@ -0,0 +1,492 @@
1
+ <purpose>
2
+ Display the complete GSD command reference. Output ONLY the reference content. Do NOT add project-specific analysis, git status, next-step suggestions, or any commentary beyond the reference.
3
+ </purpose>
4
+
5
+ <reference>
6
+ # GSD Command Reference
7
+
8
+ **GSD** (Get Shit Done) creates hierarchical project plans optimized for solo agentic development with Claude Code.
9
+
10
+ ## Quick Start
11
+
12
+ 1. `/ez:new-project` - Initialize project (includes research, requirements, roadmap)
13
+ 2. `/ez:plan-phase 1` - Create detailed plan for first phase
14
+ 3. `/ez:execute-phase 1` - Execute the phase
15
+
16
+ ## Staying Updated
17
+
18
+ GSD evolves fast. Update periodically:
19
+
20
+ ```bash
21
+ npx get-shit-done-cc@latest
22
+ ```
23
+
24
+ ## Core Workflow
25
+
26
+ ```
27
+ /ez:new-project → /ez:plan-phase → /ez:execute-phase → repeat
28
+ ```
29
+
30
+ ### Project Initialization
31
+
32
+ **`/ez:new-project`**
33
+ Initialize new project through unified flow.
34
+
35
+ One command takes you from idea to ready-for-planning:
36
+ - Deep questioning to understand what you're building
37
+ - Optional domain research (spawns 4 parallel researcher agents)
38
+ - Requirements definition with v1/v2/out-of-scope scoping
39
+ - Roadmap creation with phase breakdown and success criteria
40
+
41
+ Creates all `.planning/` artifacts:
42
+ - `PROJECT.md` — vision and requirements
43
+ - `config.json` — workflow mode (interactive/yolo)
44
+ - `research/` — domain research (if selected)
45
+ - `REQUIREMENTS.md` — scoped requirements with REQ-IDs
46
+ - `ROADMAP.md` — phases mapped to requirements
47
+ - `STATE.md` — project memory
48
+
49
+ Usage: `/ez:new-project`
50
+
51
+ **`/ez:map-codebase`**
52
+ Map an existing codebase for brownfield projects.
53
+
54
+ - Analyzes codebase with parallel Explore agents
55
+ - Creates `.planning/codebase/` with 7 focused documents
56
+ - Covers stack, architecture, structure, conventions, testing, integrations, concerns
57
+ - Use before `/ez:new-project` on existing codebases
58
+
59
+ Usage: `/ez:map-codebase`
60
+
61
+ ### Phase Planning
62
+
63
+ **`/ez:discuss-phase <number>`**
64
+ Help articulate your vision for a phase before planning.
65
+
66
+ - Captures how you imagine this phase working
67
+ - Creates CONTEXT.md with your vision, essentials, and boundaries
68
+ - Use when you have ideas about how something should look/feel
69
+ - Optional `--batch` asks 2-5 related questions at a time instead of one-by-one
70
+
71
+ Usage: `/ez:discuss-phase 2`
72
+ Usage: `/ez:discuss-phase 2 --batch`
73
+ Usage: `/ez:discuss-phase 2 --batch=3`
74
+
75
+ **`/ez:research-phase <number>`**
76
+ Comprehensive ecosystem research for niche/complex domains.
77
+
78
+ - Discovers standard stack, architecture patterns, pitfalls
79
+ - Creates RESEARCH.md with "how experts build this" knowledge
80
+ - Use for 3D, games, audio, shaders, ML, and other specialized domains
81
+ - Goes beyond "which library" to ecosystem knowledge
82
+
83
+ Usage: `/ez:research-phase 3`
84
+
85
+ **`/ez:list-phase-assumptions <number>`**
86
+ See what Claude is planning to do before it starts.
87
+
88
+ - Shows Claude's intended approach for a phase
89
+ - Lets you course-correct if Claude misunderstood your vision
90
+ - No files created - conversational output only
91
+
92
+ Usage: `/ez:list-phase-assumptions 3`
93
+
94
+ **`/ez:plan-phase <number>`**
95
+ Create detailed execution plan for a specific phase.
96
+
97
+ - Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
98
+ - Breaks phase into concrete, actionable tasks
99
+ - Includes verification criteria and success measures
100
+ - Multiple plans per phase supported (XX-01, XX-02, etc.)
101
+
102
+ Usage: `/ez:plan-phase 1`
103
+ Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
104
+
105
+ **PRD Express Path:** Pass `--prd path/to/requirements.md` to skip discuss-phase entirely. Your PRD becomes locked decisions in CONTEXT.md. Useful when you already have clear acceptance criteria.
106
+
107
+ ### Execution
108
+
109
+ **`/ez:execute-phase <phase-number>`**
110
+ Execute all plans in a phase.
111
+
112
+ - Groups plans by wave (from frontmatter), executes waves sequentially
113
+ - Plans within each wave run in parallel via Task tool
114
+ - Verifies phase goal after all plans complete
115
+ - Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
116
+
117
+ Usage: `/ez:execute-phase 5`
118
+
119
+ ### Quick Mode
120
+
121
+ **`/ez:quick`**
122
+ Execute small, ad-hoc tasks with GSD guarantees but skip optional agents.
123
+
124
+ Quick mode uses the same system with a shorter path:
125
+ - Spawns planner + executor (skips researcher, checker, verifier)
126
+ - Quick tasks live in `.planning/quick/` separate from planned phases
127
+ - Updates STATE.md tracking (not ROADMAP.md)
128
+
129
+ Use when you know exactly what to do and the task is small enough to not need research or verification.
130
+
131
+ Usage: `/ez:quick`
132
+ Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
133
+
134
+ ### Roadmap Management
135
+
136
+ **`/ez:add-phase <description>`**
137
+ Add new phase to end of current milestone.
138
+
139
+ - Appends to ROADMAP.md
140
+ - Uses next sequential number
141
+ - Updates phase directory structure
142
+
143
+ Usage: `/ez:add-phase "Add admin dashboard"`
144
+
145
+ **`/ez:insert-phase <after> <description>`**
146
+ Insert urgent work as decimal phase between existing phases.
147
+
148
+ - Creates intermediate phase (e.g., 7.1 between 7 and 8)
149
+ - Useful for discovered work that must happen mid-milestone
150
+ - Maintains phase ordering
151
+
152
+ Usage: `/ez:insert-phase 7 "Fix critical auth bug"`
153
+ Result: Creates Phase 7.1
154
+
155
+ **`/ez:remove-phase <number>`**
156
+ Remove a future phase and renumber subsequent phases.
157
+
158
+ - Deletes phase directory and all references
159
+ - Renumbers all subsequent phases to close the gap
160
+ - Only works on future (unstarted) phases
161
+ - Git commit preserves historical record
162
+
163
+ Usage: `/ez:remove-phase 17`
164
+ Result: Phase 17 deleted, phases 18-20 become 17-19
165
+
166
+ ### Milestone Management
167
+
168
+ **`/ez:new-milestone <name>`**
169
+ Start a new milestone through unified flow.
170
+
171
+ - Deep questioning to understand what you're building next
172
+ - Optional domain research (spawns 4 parallel researcher agents)
173
+ - Requirements definition with scoping
174
+ - Roadmap creation with phase breakdown
175
+
176
+ Mirrors `/ez:new-project` flow for brownfield projects (existing PROJECT.md).
177
+
178
+ Usage: `/ez:new-milestone "v2.0 Features"`
179
+
180
+ **`/ez:complete-milestone <version>`**
181
+ Archive completed milestone and prepare for next version.
182
+
183
+ - Creates MILESTONES.md entry with stats
184
+ - Archives full details to milestones/ directory
185
+ - Creates git tag for the release
186
+ - Prepares workspace for next version
187
+
188
+ Usage: `/ez:complete-milestone 1.0.0`
189
+
190
+ ### Progress Tracking
191
+
192
+ **`/ez:progress`**
193
+ Check project status and intelligently route to next action.
194
+
195
+ - Shows visual progress bar and completion percentage
196
+ - Summarizes recent work from SUMMARY files
197
+ - Displays current position and what's next
198
+ - Lists key decisions and open issues
199
+ - Offers to execute next plan or create it if missing
200
+ - Detects 100% milestone completion
201
+
202
+ Usage: `/ez:progress`
203
+
204
+ ### Session Management
205
+
206
+ **`/ez:resume-work`**
207
+ Resume work from previous session with full context restoration.
208
+
209
+ - Reads STATE.md for project context
210
+ - Shows current position and recent progress
211
+ - Offers next actions based on project state
212
+
213
+ Usage: `/ez:resume-work`
214
+
215
+ **`/ez:pause-work`**
216
+ Create context handoff when pausing work mid-phase.
217
+
218
+ - Creates .continue-here file with current state
219
+ - Updates STATE.md session continuity section
220
+ - Captures in-progress work context
221
+
222
+ Usage: `/ez:pause-work`
223
+
224
+ ### Debugging
225
+
226
+ **`/ez:debug [issue description]`**
227
+ Systematic debugging with persistent state across context resets.
228
+
229
+ - Gathers symptoms through adaptive questioning
230
+ - Creates `.planning/debug/[slug].md` to track investigation
231
+ - Investigates using scientific method (evidence → hypothesis → test)
232
+ - Survives `/clear` — run `/ez:debug` with no args to resume
233
+ - Archives resolved issues to `.planning/debug/resolved/`
234
+
235
+ Usage: `/ez:debug "login button doesn't work"`
236
+ Usage: `/ez:debug` (resume active session)
237
+
238
+ ### Todo Management
239
+
240
+ **`/ez:add-todo [description]`**
241
+ Capture idea or task as todo from current conversation.
242
+
243
+ - Extracts context from conversation (or uses provided description)
244
+ - Creates structured todo file in `.planning/todos/pending/`
245
+ - Infers area from file paths for grouping
246
+ - Checks for duplicates before creating
247
+ - Updates STATE.md todo count
248
+
249
+ Usage: `/ez:add-todo` (infers from conversation)
250
+ Usage: `/ez:add-todo Add auth token refresh`
251
+
252
+ **`/ez:check-todos [area]`**
253
+ List pending todos and select one to work on.
254
+
255
+ - Lists all pending todos with title, area, age
256
+ - Optional area filter (e.g., `/ez:check-todos api`)
257
+ - Loads full context for selected todo
258
+ - Routes to appropriate action (work now, add to phase, brainstorm)
259
+ - Moves todo to done/ when work begins
260
+
261
+ Usage: `/ez:check-todos`
262
+ Usage: `/ez:check-todos api`
263
+
264
+ ### User Acceptance Testing
265
+
266
+ **`/ez:verify-work [phase]`**
267
+ Validate built features through conversational UAT.
268
+
269
+ - Extracts testable deliverables from SUMMARY.md files
270
+ - Presents tests one at a time (yes/no responses)
271
+ - Automatically diagnoses failures and creates fix plans
272
+ - Ready for re-execution if issues found
273
+
274
+ Usage: `/ez:verify-work 3`
275
+
276
+ ### Milestone Auditing
277
+
278
+ **`/ez:audit-milestone [version]`**
279
+ Audit milestone completion against original intent.
280
+
281
+ - Reads all phase VERIFICATION.md files
282
+ - Checks requirements coverage
283
+ - Spawns integration checker for cross-phase wiring
284
+ - Creates MILESTONE-AUDIT.md with gaps and tech debt
285
+
286
+ Usage: `/ez:audit-milestone`
287
+
288
+ **`/ez:plan-milestone-gaps`**
289
+ Create phases to close gaps identified by audit.
290
+
291
+ - Reads MILESTONE-AUDIT.md and groups gaps into phases
292
+ - Prioritizes by requirement priority (must/should/nice)
293
+ - Adds gap closure phases to ROADMAP.md
294
+ - Ready for `/ez:plan-phase` on new phases
295
+
296
+ Usage: `/ez:plan-milestone-gaps`
297
+
298
+ ### Configuration
299
+
300
+ **`/ez:settings`**
301
+ Configure workflow toggles and model profile interactively.
302
+
303
+ - Toggle researcher, plan checker, verifier agents
304
+ - Select model profile (quality/balanced/budget)
305
+ - Updates `.planning/config.json`
306
+
307
+ Usage: `/ez:settings`
308
+
309
+ **`/ez:set-profile <profile>`**
310
+ Quick switch model profile for GSD agents.
311
+
312
+ - `quality` — Opus everywhere except verification
313
+ - `balanced` — Opus for planning, Sonnet for execution (default)
314
+ - `budget` — Sonnet for writing, Haiku for research/verification
315
+
316
+ Usage: `/ez:set-profile budget`
317
+
318
+ ### Utility Commands
319
+
320
+ **`/ez:cleanup`**
321
+ Archive accumulated phase directories from completed milestones.
322
+
323
+ - Identifies phases from completed milestones still in `.planning/phases/`
324
+ - Shows dry-run summary before moving anything
325
+ - Moves phase dirs to `.planning/milestones/v{X.Y}-phases/`
326
+ - Use after multiple milestones to reduce `.planning/phases/` clutter
327
+
328
+ Usage: `/ez:cleanup`
329
+
330
+ **`/ez:help`**
331
+ Show this command reference.
332
+
333
+ **`/ez:update`**
334
+ Update GSD to latest version with changelog preview.
335
+
336
+ - Shows installed vs latest version comparison
337
+ - Displays changelog entries for versions you've missed
338
+ - Highlights breaking changes
339
+ - Confirms before running install
340
+ - Better than raw `npx get-shit-done-cc`
341
+
342
+ Usage: `/ez:update`
343
+
344
+ **`/ez:join-discord`**
345
+ Join the GSD Discord community.
346
+
347
+ - Get help, share what you're building, stay updated
348
+ - Connect with other GSD users
349
+
350
+ Usage: `/ez:join-discord`
351
+
352
+ ## Files & Structure
353
+
354
+ ```
355
+ .planning/
356
+ ├── PROJECT.md # Project vision
357
+ ├── ROADMAP.md # Current phase breakdown
358
+ ├── STATE.md # Project memory & context
359
+ ├── RETROSPECTIVE.md # Living retrospective (updated per milestone)
360
+ ├── config.json # Workflow mode & gates
361
+ ├── todos/ # Captured ideas and tasks
362
+ │ ├── pending/ # Todos waiting to be worked on
363
+ │ └── done/ # Completed todos
364
+ ├── debug/ # Active debug sessions
365
+ │ └── resolved/ # Archived resolved issues
366
+ ├── milestones/
367
+ │ ├── v1.0-ROADMAP.md # Archived roadmap snapshot
368
+ │ ├── v1.0-REQUIREMENTS.md # Archived requirements
369
+ │ └── v1.0-phases/ # Archived phase dirs (via /ez:cleanup or --archive-phases)
370
+ │ ├── 01-foundation/
371
+ │ └── 02-core-features/
372
+ ├── codebase/ # Codebase map (brownfield projects)
373
+ │ ├── STACK.md # Languages, frameworks, dependencies
374
+ │ ├── ARCHITECTURE.md # Patterns, layers, data flow
375
+ │ ├── STRUCTURE.md # Directory layout, key files
376
+ │ ├── CONVENTIONS.md # Coding standards, naming
377
+ │ ├── TESTING.md # Test setup, patterns
378
+ │ ├── INTEGRATIONS.md # External services, APIs
379
+ │ └── CONCERNS.md # Tech debt, known issues
380
+ └── phases/
381
+ ├── 01-foundation/
382
+ │ ├── 01-01-PLAN.md
383
+ │ └── 01-01-SUMMARY.md
384
+ └── 02-core-features/
385
+ ├── 02-01-PLAN.md
386
+ └── 02-01-SUMMARY.md
387
+ ```
388
+
389
+ ## Workflow Modes
390
+
391
+ Set during `/ez:new-project`:
392
+
393
+ **Interactive Mode**
394
+
395
+ - Confirms each major decision
396
+ - Pauses at checkpoints for approval
397
+ - More guidance throughout
398
+
399
+ **YOLO Mode**
400
+
401
+ - Auto-approves most decisions
402
+ - Executes plans without confirmation
403
+ - Only stops for critical checkpoints
404
+
405
+ Change anytime by editing `.planning/config.json`
406
+
407
+ ## Planning Configuration
408
+
409
+ Configure how planning artifacts are managed in `.planning/config.json`:
410
+
411
+ **`planning.commit_docs`** (default: `true`)
412
+ - `true`: Planning artifacts committed to git (standard workflow)
413
+ - `false`: Planning artifacts kept local-only, not committed
414
+
415
+ When `commit_docs: false`:
416
+ - Add `.planning/` to your `.gitignore`
417
+ - Useful for OSS contributions, client projects, or keeping planning private
418
+ - All planning files still work normally, just not tracked in git
419
+
420
+ **`planning.search_gitignored`** (default: `false`)
421
+ - `true`: Add `--no-ignore` to broad ripgrep searches
422
+ - Only needed when `.planning/` is gitignored and you want project-wide searches to include it
423
+
424
+ Example config:
425
+ ```json
426
+ {
427
+ "planning": {
428
+ "commit_docs": false,
429
+ "search_gitignored": true
430
+ }
431
+ }
432
+ ```
433
+
434
+ ## Common Workflows
435
+
436
+ **Starting a new project:**
437
+
438
+ ```
439
+ /ez:new-project # Unified flow: questioning → research → requirements → roadmap
440
+ /clear
441
+ /ez:plan-phase 1 # Create plans for first phase
442
+ /clear
443
+ /ez:execute-phase 1 # Execute all plans in phase
444
+ ```
445
+
446
+ **Resuming work after a break:**
447
+
448
+ ```
449
+ /ez:progress # See where you left off and continue
450
+ ```
451
+
452
+ **Adding urgent mid-milestone work:**
453
+
454
+ ```
455
+ /ez:insert-phase 5 "Critical security fix"
456
+ /ez:plan-phase 5.1
457
+ /ez:execute-phase 5.1
458
+ ```
459
+
460
+ **Completing a milestone:**
461
+
462
+ ```
463
+ /ez:complete-milestone 1.0.0
464
+ /clear
465
+ /ez:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
466
+ ```
467
+
468
+ **Capturing ideas during work:**
469
+
470
+ ```
471
+ /ez:add-todo # Capture from conversation context
472
+ /ez:add-todo Fix modal z-index # Capture with explicit description
473
+ /ez:check-todos # Review and work on todos
474
+ /ez:check-todos api # Filter by area
475
+ ```
476
+
477
+ **Debugging an issue:**
478
+
479
+ ```
480
+ /ez:debug "form submission fails silently" # Start debug session
481
+ # ... investigation happens, context fills up ...
482
+ /clear
483
+ /ez:debug # Resume from where you left off
484
+ ```
485
+
486
+ ## Getting Help
487
+
488
+ - Read `.planning/PROJECT.md` for project vision
489
+ - Read `.planning/STATE.md` for current context
490
+ - Check `.planning/ROADMAP.md` for phase status
491
+ - Run `/ez:progress` to check where you're up to
492
+ </reference>
@@ -0,0 +1,130 @@
1
+ <purpose>
2
+ Insert a decimal phase for urgent work discovered mid-milestone between existing integer phases. Uses decimal numbering (72.1, 72.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions without renumbering the entire roadmap.
3
+ </purpose>
4
+
5
+ <required_reading>
6
+ Read all files referenced by the invoking prompt's execution_context before starting.
7
+ </required_reading>
8
+
9
+ <process>
10
+
11
+ <step name="parse_arguments">
12
+ Parse the command arguments:
13
+ - First argument: integer phase number to insert after
14
+ - Remaining arguments: phase description
15
+
16
+ Example: `/ez:insert-phase 72 Fix critical auth bug`
17
+ -> after = 72
18
+ -> description = "Fix critical auth bug"
19
+
20
+ If arguments missing:
21
+
22
+ ```
23
+ ERROR: Both phase number and description required
24
+ Usage: /ez:insert-phase <after> <description>
25
+ Example: /ez:insert-phase 72 Fix critical auth bug
26
+ ```
27
+
28
+ Exit.
29
+
30
+ Validate first argument is an integer.
31
+ </step>
32
+
33
+ <step name="init_context">
34
+ Load phase operation context:
35
+
36
+ ```bash
37
+ INIT=$(node "$HOME/.claude/ez-agents/bin/ez-tools.cjs" init phase-op "${after_phase}")
38
+ if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
39
+ ```
40
+
41
+ Check `roadmap_exists` from init JSON. If false:
42
+ ```
43
+ ERROR: No roadmap found (.planning/ROADMAP.md)
44
+ ```
45
+ Exit.
46
+ </step>
47
+
48
+ <step name="insert_phase">
49
+ **Delegate the phase insertion to gsd-tools:**
50
+
51
+ ```bash
52
+ RESULT=$(node "$HOME/.claude/ez-agents/bin/ez-tools.cjs" phase insert "${after_phase}" "${description}")
53
+ ```
54
+
55
+ The CLI handles:
56
+ - Verifying target phase exists in ROADMAP.md
57
+ - Calculating next decimal phase number (checking existing decimals on disk)
58
+ - Generating slug from description
59
+ - Creating the phase directory (`.planning/phases/{N.M}-{slug}/`)
60
+ - Inserting the phase entry into ROADMAP.md after the target phase with (INSERTED) marker
61
+
62
+ Extract from result: `phase_number`, `after_phase`, `name`, `slug`, `directory`.
63
+ </step>
64
+
65
+ <step name="update_project_state">
66
+ Update STATE.md to reflect the inserted phase:
67
+
68
+ 1. Read `.planning/STATE.md`
69
+ 2. Under "## Accumulated Context" → "### Roadmap Evolution" add entry:
70
+ ```
71
+ - Phase {decimal_phase} inserted after Phase {after_phase}: {description} (URGENT)
72
+ ```
73
+
74
+ If "Roadmap Evolution" section doesn't exist, create it.
75
+ </step>
76
+
77
+ <step name="completion">
78
+ Present completion summary:
79
+
80
+ ```
81
+ Phase {decimal_phase} inserted after Phase {after_phase}:
82
+ - Description: {description}
83
+ - Directory: .planning/phases/{decimal-phase}-{slug}/
84
+ - Status: Not planned yet
85
+ - Marker: (INSERTED) - indicates urgent work
86
+
87
+ Roadmap updated: .planning/ROADMAP.md
88
+ Project state updated: .planning/STATE.md
89
+
90
+ ---
91
+
92
+ ## Next Up
93
+
94
+ **Phase {decimal_phase}: {description}** -- urgent insertion
95
+
96
+ `/ez:plan-phase {decimal_phase}`
97
+
98
+ <sub>`/clear` first -> fresh context window</sub>
99
+
100
+ ---
101
+
102
+ **Also available:**
103
+ - Review insertion impact: Check if Phase {next_integer} dependencies still make sense
104
+ - Review roadmap
105
+
106
+ ---
107
+ ```
108
+ </step>
109
+
110
+ </process>
111
+
112
+ <anti_patterns>
113
+
114
+ - Don't use this for planned work at end of milestone (use /ez:add-phase)
115
+ - Don't insert before Phase 1 (decimal 0.1 makes no sense)
116
+ - Don't renumber existing phases
117
+ - Don't modify the target phase content
118
+ - Don't create plans yet (that's /ez:plan-phase)
119
+ - Don't commit changes (user decides when to commit)
120
+ </anti_patterns>
121
+
122
+ <success_criteria>
123
+ Phase insertion is complete when:
124
+
125
+ - [ ] `gsd-tools phase insert` executed successfully
126
+ - [ ] Phase directory created
127
+ - [ ] Roadmap updated with new phase entry (includes "(INSERTED)" marker)
128
+ - [ ] STATE.md updated with roadmap evolution note
129
+ - [ ] User informed of next steps and dependency implications
130
+ </success_criteria>