claude-cook 1.10.1

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 (112) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +607 -0
  3. package/agents/gsd-codebase-mapper.md +738 -0
  4. package/agents/gsd-debugger.md +1203 -0
  5. package/agents/gsd-executor.md +784 -0
  6. package/agents/gsd-integration-checker.md +423 -0
  7. package/agents/gsd-phase-researcher.md +641 -0
  8. package/agents/gsd-plan-checker.md +745 -0
  9. package/agents/gsd-planner.md +1386 -0
  10. package/agents/gsd-pm.md +331 -0
  11. package/agents/gsd-project-researcher.md +865 -0
  12. package/agents/gsd-research-synthesizer.md +256 -0
  13. package/agents/gsd-roadmapper.md +605 -0
  14. package/agents/gsd-verifier.md +778 -0
  15. package/bin/install.js +1477 -0
  16. package/commands/gsd/add-phase.md +207 -0
  17. package/commands/gsd/add-todo.md +193 -0
  18. package/commands/gsd/audit-milestone.md +277 -0
  19. package/commands/gsd/check-todos.md +228 -0
  20. package/commands/gsd/complete-milestone.md +136 -0
  21. package/commands/gsd/debug.md +169 -0
  22. package/commands/gsd/discuss-phase.md +86 -0
  23. package/commands/gsd/execute-phase.md +339 -0
  24. package/commands/gsd/help.md +545 -0
  25. package/commands/gsd/insert-phase.md +227 -0
  26. package/commands/gsd/join-discord.md +18 -0
  27. package/commands/gsd/list-phase-assumptions.md +50 -0
  28. package/commands/gsd/map-codebase.md +71 -0
  29. package/commands/gsd/new-milestone.md +721 -0
  30. package/commands/gsd/new-project.md +1008 -0
  31. package/commands/gsd/pause-work.md +134 -0
  32. package/commands/gsd/plan-milestone-gaps.md +295 -0
  33. package/commands/gsd/plan-phase.md +525 -0
  34. package/commands/gsd/pm-check.md +115 -0
  35. package/commands/gsd/pm-replan.md +102 -0
  36. package/commands/gsd/pm-start.md +218 -0
  37. package/commands/gsd/pm-status.md +116 -0
  38. package/commands/gsd/pm-stop.md +72 -0
  39. package/commands/gsd/progress.md +415 -0
  40. package/commands/gsd/quick.md +309 -0
  41. package/commands/gsd/remove-phase.md +349 -0
  42. package/commands/gsd/research-phase.md +200 -0
  43. package/commands/gsd/resume-work.md +40 -0
  44. package/commands/gsd/set-profile.md +106 -0
  45. package/commands/gsd/settings.md +151 -0
  46. package/commands/gsd/update.md +172 -0
  47. package/commands/gsd/verify-work.md +219 -0
  48. package/get-shit-done/references/checkpoints.md +1078 -0
  49. package/get-shit-done/references/continuation-format.md +249 -0
  50. package/get-shit-done/references/git-integration.md +254 -0
  51. package/get-shit-done/references/model-profiles.md +73 -0
  52. package/get-shit-done/references/planning-config.md +189 -0
  53. package/get-shit-done/references/questioning.md +141 -0
  54. package/get-shit-done/references/tdd.md +263 -0
  55. package/get-shit-done/references/ui-brand.md +172 -0
  56. package/get-shit-done/references/verification-patterns.md +612 -0
  57. package/get-shit-done/references/vibe-kanban.md +142 -0
  58. package/get-shit-done/templates/DEBUG.md +159 -0
  59. package/get-shit-done/templates/UAT.md +247 -0
  60. package/get-shit-done/templates/codebase/architecture.md +255 -0
  61. package/get-shit-done/templates/codebase/concerns.md +310 -0
  62. package/get-shit-done/templates/codebase/conventions.md +307 -0
  63. package/get-shit-done/templates/codebase/integrations.md +280 -0
  64. package/get-shit-done/templates/codebase/stack.md +186 -0
  65. package/get-shit-done/templates/codebase/structure.md +285 -0
  66. package/get-shit-done/templates/codebase/testing.md +480 -0
  67. package/get-shit-done/templates/config.json +35 -0
  68. package/get-shit-done/templates/context.md +283 -0
  69. package/get-shit-done/templates/continue-here.md +78 -0
  70. package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
  71. package/get-shit-done/templates/discovery.md +146 -0
  72. package/get-shit-done/templates/milestone-archive.md +123 -0
  73. package/get-shit-done/templates/milestone.md +115 -0
  74. package/get-shit-done/templates/phase-prompt.md +567 -0
  75. package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
  76. package/get-shit-done/templates/pm-config.md +55 -0
  77. package/get-shit-done/templates/pm-log.md +27 -0
  78. package/get-shit-done/templates/project.md +184 -0
  79. package/get-shit-done/templates/requirements.md +231 -0
  80. package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
  81. package/get-shit-done/templates/research-project/FEATURES.md +147 -0
  82. package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
  83. package/get-shit-done/templates/research-project/STACK.md +120 -0
  84. package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
  85. package/get-shit-done/templates/research.md +529 -0
  86. package/get-shit-done/templates/roadmap.md +202 -0
  87. package/get-shit-done/templates/state.md +205 -0
  88. package/get-shit-done/templates/summary.md +246 -0
  89. package/get-shit-done/templates/ticket-map.md +28 -0
  90. package/get-shit-done/templates/user-setup.md +311 -0
  91. package/get-shit-done/templates/verification-report.md +322 -0
  92. package/get-shit-done/workflows/complete-milestone.md +903 -0
  93. package/get-shit-done/workflows/diagnose-issues.md +231 -0
  94. package/get-shit-done/workflows/discovery-phase.md +289 -0
  95. package/get-shit-done/workflows/discuss-phase.md +433 -0
  96. package/get-shit-done/workflows/execute-phase.md +671 -0
  97. package/get-shit-done/workflows/execute-plan.md +1844 -0
  98. package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
  99. package/get-shit-done/workflows/map-codebase.md +322 -0
  100. package/get-shit-done/workflows/pm-check.md +210 -0
  101. package/get-shit-done/workflows/pm-dispatch.md +104 -0
  102. package/get-shit-done/workflows/pm-replan.md +203 -0
  103. package/get-shit-done/workflows/pm-sync.md +130 -0
  104. package/get-shit-done/workflows/resume-project.md +307 -0
  105. package/get-shit-done/workflows/transition.md +556 -0
  106. package/get-shit-done/workflows/verify-phase.md +628 -0
  107. package/get-shit-done/workflows/verify-work.md +596 -0
  108. package/hooks/dist/gsd-check-update.js +61 -0
  109. package/hooks/dist/gsd-statusline.js +87 -0
  110. package/package.json +47 -0
  111. package/scripts/build-hooks.js +42 -0
  112. package/scripts/pm-loop.sh +155 -0
@@ -0,0 +1,545 @@
1
+ ---
2
+ name: gsd:help
3
+ description: Show available GSD commands and usage guide
4
+ ---
5
+
6
+ <objective>
7
+ Display the complete GSD command reference.
8
+
9
+ Output ONLY the reference content below. Do NOT add:
10
+
11
+ - Project-specific analysis
12
+ - Git status or file context
13
+ - Next-step suggestions
14
+ - 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 Claude Code.
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. Update periodically:
31
+
32
+ ```bash
33
+ npx claude-cook@latest
34
+ ```
35
+
36
+ ## Core Workflow
37
+
38
+ ```
39
+ /gsd:new-project → /gsd:plan-phase → /gsd:execute-phase → repeat
40
+ ```
41
+
42
+ ### Project Initialization
43
+
44
+ **`/gsd:new-project`**
45
+ Initialize new project through unified flow.
46
+
47
+ One command takes you from idea to ready-for-planning:
48
+ - Deep questioning to understand what you're building
49
+ - Optional domain research (spawns 4 parallel researcher agents)
50
+ - Requirements definition with v1/v2/out-of-scope scoping
51
+ - Roadmap creation with phase breakdown and success criteria
52
+
53
+ Creates all `.planning/` artifacts:
54
+ - `PROJECT.md` — vision and requirements
55
+ - `config.json` — workflow mode (interactive/yolo)
56
+ - `research/` — domain research (if selected)
57
+ - `REQUIREMENTS.md` — scoped requirements with REQ-IDs
58
+ - `ROADMAP.md` — phases mapped to requirements
59
+ - `STATE.md` — project memory
60
+
61
+ Usage: `/gsd:new-project`
62
+
63
+ **`/gsd:map-codebase`**
64
+ Map an existing codebase for brownfield projects.
65
+
66
+ - Analyzes codebase with parallel Explore agents
67
+ - Creates `.planning/codebase/` with 7 focused documents
68
+ - Covers stack, architecture, structure, conventions, testing, integrations, concerns
69
+ - Use before `/gsd:new-project` on existing codebases
70
+
71
+ Usage: `/gsd:map-codebase`
72
+
73
+ ### Phase Planning
74
+
75
+ **`/gsd:discuss-phase <number>`**
76
+ Help articulate your vision for a phase before planning.
77
+
78
+ - Captures how you imagine this phase working
79
+ - Creates CONTEXT.md with your vision, essentials, and boundaries
80
+ - Use when you have ideas about how something should look/feel
81
+
82
+ Usage: `/gsd:discuss-phase 2`
83
+
84
+ **`/gsd:research-phase <number>`**
85
+ Comprehensive ecosystem research for niche/complex domains.
86
+
87
+ - Discovers standard stack, architecture patterns, pitfalls
88
+ - Creates RESEARCH.md with "how experts build this" knowledge
89
+ - Use for 3D, games, audio, shaders, ML, and other specialized domains
90
+ - Goes beyond "which library" to ecosystem knowledge
91
+
92
+ Usage: `/gsd:research-phase 3`
93
+
94
+ **`/gsd:list-phase-assumptions <number>`**
95
+ See what Claude is planning to do before it starts.
96
+
97
+ - Shows Claude's intended approach for a phase
98
+ - Lets you course-correct if Claude misunderstood your vision
99
+ - No files created - conversational output only
100
+
101
+ Usage: `/gsd:list-phase-assumptions 3`
102
+
103
+ **`/gsd:plan-phase <number>`**
104
+ Create detailed execution plan for a specific phase.
105
+
106
+ - Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
107
+ - Breaks phase into concrete, actionable tasks
108
+ - Includes verification criteria and success measures
109
+ - Multiple plans per phase supported (XX-01, XX-02, etc.)
110
+
111
+ Usage: `/gsd:plan-phase 1`
112
+ Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
113
+
114
+ ### Execution
115
+
116
+ **`/gsd:execute-phase <phase-number>`**
117
+ Execute all plans in a phase.
118
+
119
+ - Groups plans by wave (from frontmatter), executes waves sequentially
120
+ - Plans within each wave run in parallel via Task tool
121
+ - Verifies phase goal after all plans complete
122
+ - Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
123
+
124
+ Usage: `/gsd:execute-phase 5`
125
+
126
+ ### Quick Mode
127
+
128
+ **`/gsd:quick`**
129
+ Execute small, ad-hoc tasks with GSD guarantees but skip optional agents.
130
+
131
+ Quick mode uses the same system with a shorter path:
132
+ - Spawns planner + executor (skips researcher, checker, verifier)
133
+ - Quick tasks live in `.planning/quick/` separate from planned phases
134
+ - Updates STATE.md tracking (not ROADMAP.md)
135
+
136
+ Use when you know exactly what to do and the task is small enough to not need research or verification.
137
+
138
+ Usage: `/gsd:quick`
139
+ Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
140
+
141
+ ### Roadmap Management
142
+
143
+ **`/gsd:add-phase <description>`**
144
+ Add new phase to end of current milestone.
145
+
146
+ - Appends to ROADMAP.md
147
+ - Uses next sequential number
148
+ - Updates phase directory structure
149
+
150
+ Usage: `/gsd:add-phase "Add admin dashboard"`
151
+
152
+ **`/gsd:insert-phase <after> <description>`**
153
+ Insert urgent work as decimal phase between existing phases.
154
+
155
+ - Creates intermediate phase (e.g., 7.1 between 7 and 8)
156
+ - Useful for discovered work that must happen mid-milestone
157
+ - Maintains phase ordering
158
+
159
+ Usage: `/gsd:insert-phase 7 "Fix critical auth bug"`
160
+ Result: Creates Phase 7.1
161
+
162
+ **`/gsd:remove-phase <number>`**
163
+ Remove a future phase and renumber subsequent phases.
164
+
165
+ - Deletes phase directory and all references
166
+ - Renumbers all subsequent phases to close the gap
167
+ - Only works on future (unstarted) phases
168
+ - Git commit preserves historical record
169
+
170
+ Usage: `/gsd:remove-phase 17`
171
+ Result: Phase 17 deleted, phases 18-20 become 17-19
172
+
173
+ ### Milestone Management
174
+
175
+ **`/gsd:new-milestone <name>`**
176
+ Start a new milestone through unified flow.
177
+
178
+ - Deep questioning to understand what you're building next
179
+ - Optional domain research (spawns 4 parallel researcher agents)
180
+ - Requirements definition with scoping
181
+ - Roadmap creation with phase breakdown
182
+
183
+ Mirrors `/gsd:new-project` flow for brownfield projects (existing PROJECT.md).
184
+
185
+ Usage: `/gsd:new-milestone "v2.0 Features"`
186
+
187
+ **`/gsd:complete-milestone <version>`**
188
+ Archive completed milestone and prepare for next version.
189
+
190
+ - Creates MILESTONES.md entry with stats
191
+ - Archives full details to milestones/ directory
192
+ - Creates git tag for the release
193
+ - Prepares workspace for next version
194
+
195
+ Usage: `/gsd:complete-milestone 1.0.0`
196
+
197
+ ### Progress Tracking
198
+
199
+ **`/gsd:progress`**
200
+ Check project status and intelligently route to next action.
201
+
202
+ - Shows visual progress bar and completion percentage
203
+ - Summarizes recent work from SUMMARY files
204
+ - Displays current position and what's next
205
+ - Lists key decisions and open issues
206
+ - Offers to execute next plan or create it if missing
207
+ - Detects 100% milestone completion
208
+
209
+ Usage: `/gsd:progress`
210
+
211
+ ### Session Management
212
+
213
+ **`/gsd:resume-work`**
214
+ Resume work from previous session with full context restoration.
215
+
216
+ - Reads STATE.md for project context
217
+ - Shows current position and recent progress
218
+ - Offers next actions based on project state
219
+
220
+ Usage: `/gsd:resume-work`
221
+
222
+ **`/gsd:pause-work`**
223
+ Create context handoff when pausing work mid-phase.
224
+
225
+ - Creates .continue-here file with current state
226
+ - Updates STATE.md session continuity section
227
+ - Captures in-progress work context
228
+
229
+ Usage: `/gsd:pause-work`
230
+
231
+ ### Debugging
232
+
233
+ **`/gsd:debug [issue description]`**
234
+ Systematic debugging with persistent state across context resets.
235
+
236
+ - Gathers symptoms through adaptive questioning
237
+ - Creates `.planning/debug/[slug].md` to track investigation
238
+ - Investigates using scientific method (evidence → hypothesis → test)
239
+ - Survives `/clear` — run `/gsd:debug` with no args to resume
240
+ - Archives resolved issues to `.planning/debug/resolved/`
241
+
242
+ Usage: `/gsd:debug "login button doesn't work"`
243
+ Usage: `/gsd:debug` (resume active session)
244
+
245
+ ### Todo Management
246
+
247
+ **`/gsd:add-todo [description]`**
248
+ Capture idea or task as todo from current conversation.
249
+
250
+ - Extracts context from conversation (or uses provided description)
251
+ - Creates structured todo file in `.planning/todos/pending/`
252
+ - Infers area from file paths for grouping
253
+ - Checks for duplicates before creating
254
+ - Updates STATE.md todo count
255
+
256
+ Usage: `/gsd:add-todo` (infers from conversation)
257
+ Usage: `/gsd:add-todo Add auth token refresh`
258
+
259
+ **`/gsd:check-todos [area]`**
260
+ List pending todos and select one to work on.
261
+
262
+ - Lists all pending todos with title, area, age
263
+ - Optional area filter (e.g., `/gsd:check-todos api`)
264
+ - Loads full context for selected todo
265
+ - Routes to appropriate action (work now, add to phase, brainstorm)
266
+ - Moves todo to done/ when work begins
267
+
268
+ Usage: `/gsd:check-todos`
269
+ Usage: `/gsd:check-todos api`
270
+
271
+ ### User Acceptance Testing
272
+
273
+ **`/gsd:verify-work [phase]`**
274
+ Validate built features through conversational UAT.
275
+
276
+ - Extracts testable deliverables from SUMMARY.md files
277
+ - Presents tests one at a time (yes/no responses)
278
+ - Automatically diagnoses failures and creates fix plans
279
+ - Ready for re-execution if issues found
280
+
281
+ Usage: `/gsd:verify-work 3`
282
+
283
+ ### Milestone Auditing
284
+
285
+ **`/gsd:audit-milestone [version]`**
286
+ Audit milestone completion against original intent.
287
+
288
+ - Reads all phase VERIFICATION.md files
289
+ - Checks requirements coverage
290
+ - Spawns integration checker for cross-phase wiring
291
+ - Creates MILESTONE-AUDIT.md with gaps and tech debt
292
+
293
+ Usage: `/gsd:audit-milestone`
294
+
295
+ **`/gsd:plan-milestone-gaps`**
296
+ Create phases to close gaps identified by audit.
297
+
298
+ - Reads MILESTONE-AUDIT.md and groups gaps into phases
299
+ - Prioritizes by requirement priority (must/should/nice)
300
+ - Adds gap closure phases to ROADMAP.md
301
+ - Ready for `/gsd:plan-phase` on new phases
302
+
303
+ Usage: `/gsd:plan-milestone-gaps`
304
+
305
+ ### Configuration
306
+
307
+ **`/gsd:settings`**
308
+ Configure workflow toggles and model profile interactively.
309
+
310
+ - Toggle researcher, plan checker, verifier agents
311
+ - Select model profile (quality/balanced/budget)
312
+ - Updates `.planning/config.json`
313
+
314
+ Usage: `/gsd:settings`
315
+
316
+ **`/gsd:set-profile <profile>`**
317
+ Quick switch model profile for GSD agents.
318
+
319
+ - `quality` — Opus everywhere except verification
320
+ - `balanced` — Opus for planning, Sonnet for execution (default)
321
+ - `budget` — Sonnet for writing, Haiku for research/verification
322
+
323
+ Usage: `/gsd:set-profile budget`
324
+
325
+ ### Utility Commands
326
+
327
+ **`/gsd:help`**
328
+ Show this command reference.
329
+
330
+ **`/gsd:update`**
331
+ Update GSD to latest version with changelog preview.
332
+
333
+ - Shows installed vs latest version comparison
334
+ - Displays changelog entries for versions you've missed
335
+ - Highlights breaking changes
336
+ - Confirms before running install
337
+ - Better than raw `npx claude-cook`
338
+
339
+ Usage: `/gsd:update`
340
+
341
+ **`/gsd:join-discord`**
342
+ Join the GSD Discord community.
343
+
344
+ - Get help, share what you're building, stay updated
345
+ - Connect with other GSD users
346
+
347
+ Usage: `/gsd:join-discord`
348
+
349
+ ## Files & Structure
350
+
351
+ ```
352
+ .planning/
353
+ ├── PROJECT.md # Project vision
354
+ ├── ROADMAP.md # Current phase breakdown
355
+ ├── STATE.md # Project memory & context
356
+ ├── config.json # Workflow mode & gates
357
+ ├── todos/ # Captured ideas and tasks
358
+ │ ├── pending/ # Todos waiting to be worked on
359
+ │ └── done/ # Completed todos
360
+ ├── debug/ # Active debug sessions
361
+ │ └── resolved/ # Archived resolved issues
362
+ ├── codebase/ # Codebase map (brownfield projects)
363
+ │ ├── STACK.md # Languages, frameworks, dependencies
364
+ │ ├── ARCHITECTURE.md # Patterns, layers, data flow
365
+ │ ├── STRUCTURE.md # Directory layout, key files
366
+ │ ├── CONVENTIONS.md # Coding standards, naming
367
+ │ ├── TESTING.md # Test setup, patterns
368
+ │ ├── INTEGRATIONS.md # External services, APIs
369
+ │ └── CONCERNS.md # Tech debt, known issues
370
+ └── phases/
371
+ ├── 01-foundation/
372
+ │ ├── 01-01-PLAN.md
373
+ │ └── 01-01-SUMMARY.md
374
+ └── 02-core-features/
375
+ ├── 02-01-PLAN.md
376
+ └── 02-01-SUMMARY.md
377
+ ```
378
+
379
+ ## Workflow Modes
380
+
381
+ Set during `/gsd:new-project`:
382
+
383
+ **Interactive Mode**
384
+
385
+ - Confirms each major decision
386
+ - Pauses at checkpoints for approval
387
+ - More guidance throughout
388
+
389
+ **YOLO Mode**
390
+
391
+ - Auto-approves most decisions
392
+ - Executes plans without confirmation
393
+ - Only stops for critical checkpoints
394
+
395
+ Change anytime by editing `.planning/config.json`
396
+
397
+ ## Planning Configuration
398
+
399
+ Configure how planning artifacts are managed in `.planning/config.json`:
400
+
401
+ **`planning.commit_docs`** (default: `true`)
402
+ - `true`: Planning artifacts committed to git (standard workflow)
403
+ - `false`: Planning artifacts kept local-only, not committed
404
+
405
+ When `commit_docs: false`:
406
+ - Add `.planning/` to your `.gitignore`
407
+ - Useful for OSS contributions, client projects, or keeping planning private
408
+ - All planning files still work normally, just not tracked in git
409
+
410
+ **`planning.search_gitignored`** (default: `false`)
411
+ - `true`: Add `--no-ignore` to broad ripgrep searches
412
+ - Only needed when `.planning/` is gitignored and you want project-wide searches to include it
413
+
414
+ Example config:
415
+ ```json
416
+ {
417
+ "planning": {
418
+ "commit_docs": false,
419
+ "search_gitignored": true
420
+ }
421
+ }
422
+ ```
423
+
424
+ ### Product Manager Mode
425
+
426
+ **`/gsd:pm-start <phase>`**
427
+ Plan a phase, sync to Vibe Kanban tickets, dispatch external coding agents.
428
+
429
+ - Plans phase (reuses gsd-planner + checker pipeline)
430
+ - Syncs plans to Vibe Kanban as tickets (one ticket per PLAN.md)
431
+ - Dispatches wave 1 workers via `start_workspace_session`
432
+ - `--autonomous`: launches `pm-loop.sh` for continuous monitoring
433
+ - `--manual`: shows status and available commands (default)
434
+ - `--executor=X`: override default executor (CLAUDE_CODE, CURSOR_AGENT, etc.)
435
+
436
+ Usage: `/gsd:pm-start 1 --autonomous`
437
+
438
+ **`/gsd:pm-check [phase]`**
439
+ Single monitoring cycle — poll tickets, detect changes, react.
440
+
441
+ - Polls Vibe Kanban for ticket status changes
442
+ - Diffs against TICKET-MAP.md to detect events
443
+ - Auto-reacts: advance waves, replan on failure, alert on stuck
444
+ - Stateless — called by pm-loop.sh or manually
445
+
446
+ Usage: `/gsd:pm-check`
447
+
448
+ **`/gsd:pm-replan <phase> [feedback]`**
449
+ Replan based on feedback or failures.
450
+
451
+ - Classifies scope: targeted fix, revision, or full replan
452
+ - Spawns planner with feedback context
453
+ - Cancels old tickets, creates new ones, dispatches
454
+
455
+ Usage: `/gsd:pm-replan 3 "switch to Redis for caching"`
456
+
457
+ **`/gsd:pm-status [phase]`**
458
+ Dashboard showing tickets, plan health, recent PM decisions.
459
+
460
+ - Live ticket status from Vibe Kanban
461
+ - Wave progress and completion
462
+ - Recent PM-LOG entries
463
+ - Suggested next actions
464
+
465
+ Usage: `/gsd:pm-status`
466
+
467
+ **`/gsd:pm-stop`**
468
+ Stop the autonomous PM monitoring loop.
469
+
470
+ - Creates stop signal file (`.planning/.pm-stop`)
471
+ - Loop exits gracefully on next cycle
472
+ - Workers already dispatched continue running
473
+
474
+ Usage: `/gsd:pm-stop`
475
+
476
+ ## Common Workflows
477
+
478
+ **Starting a new project:**
479
+
480
+ ```
481
+ /gsd:new-project # Unified flow: questioning → research → requirements → roadmap
482
+ /clear
483
+ /gsd:plan-phase 1 # Create plans for first phase
484
+ /clear
485
+ /gsd:execute-phase 1 # Execute all plans in phase
486
+ ```
487
+
488
+ **Resuming work after a break:**
489
+
490
+ ```
491
+ /gsd:progress # See where you left off and continue
492
+ ```
493
+
494
+ **Adding urgent mid-milestone work:**
495
+
496
+ ```
497
+ /gsd:insert-phase 5 "Critical security fix"
498
+ /gsd:plan-phase 5.1
499
+ /gsd:execute-phase 5.1
500
+ ```
501
+
502
+ **Completing a milestone:**
503
+
504
+ ```
505
+ /gsd:complete-milestone 1.0.0
506
+ /clear
507
+ /gsd:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
508
+ ```
509
+
510
+ **Capturing ideas during work:**
511
+
512
+ ```
513
+ /gsd:add-todo # Capture from conversation context
514
+ /gsd:add-todo Fix modal z-index # Capture with explicit description
515
+ /gsd:check-todos # Review and work on todos
516
+ /gsd:check-todos api # Filter by area
517
+ ```
518
+
519
+ **Using PM mode (external agents):**
520
+
521
+ ```
522
+ /gsd:new-project # Initialize project
523
+ /gsd:pm-start 1 --autonomous # Plan + sync + dispatch + auto-monitor
524
+ # pm-loop.sh runs in background, polling every 60s
525
+ /gsd:pm-status # Check dashboard anytime
526
+ /gsd:pm-replan 1 "use Redis instead" # Change plans mid-flight
527
+ /gsd:pm-stop # Stop autonomous loop
528
+ ```
529
+
530
+ **Debugging an issue:**
531
+
532
+ ```
533
+ /gsd:debug "form submission fails silently" # Start debug session
534
+ # ... investigation happens, context fills up ...
535
+ /clear
536
+ /gsd:debug # Resume from where you left off
537
+ ```
538
+
539
+ ## Getting Help
540
+
541
+ - Read `.planning/PROJECT.md` for project vision
542
+ - Read `.planning/STATE.md` for current context
543
+ - Check `.planning/ROADMAP.md` for phase status
544
+ - Run `/gsd:progress` to check where you're up to
545
+ </reference>