get-shit-done-ios 1.4.0 → 1.6.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 (239) hide show
  1. package/README.md +74 -74
  2. package/agents/gsd-advisor-researcher.md +23 -0
  3. package/agents/gsd-ai-researcher.md +133 -0
  4. package/agents/gsd-code-fixer.md +516 -0
  5. package/agents/gsd-code-reviewer.md +355 -0
  6. package/agents/gsd-codebase-mapper.md +3 -3
  7. package/agents/gsd-debugger.md +143 -288
  8. package/agents/gsd-doc-verifier.md +201 -0
  9. package/agents/gsd-doc-writer.md +602 -0
  10. package/agents/gsd-domain-researcher.md +153 -0
  11. package/agents/gsd-eval-auditor.md +164 -0
  12. package/agents/gsd-eval-planner.md +154 -0
  13. package/agents/gsd-executor.md +86 -3
  14. package/agents/gsd-framework-selector.md +160 -0
  15. package/agents/gsd-intel-updater.md +314 -0
  16. package/agents/gsd-nyquist-auditor.md +1 -1
  17. package/agents/gsd-phase-researcher.md +71 -4
  18. package/agents/gsd-plan-checker.md +103 -9
  19. package/agents/gsd-planner.md +151 -210
  20. package/agents/gsd-project-researcher.md +25 -2
  21. package/agents/gsd-research-synthesizer.md +3 -3
  22. package/agents/gsd-roadmapper.md +6 -6
  23. package/agents/gsd-security-auditor.md +128 -0
  24. package/agents/gsd-ui-auditor.md +3 -3
  25. package/agents/gsd-ui-checker.md +4 -4
  26. package/agents/gsd-ui-researcher.md +27 -4
  27. package/agents/gsd-user-profiler.md +2 -2
  28. package/agents/gsd-verifier.md +213 -259
  29. package/bin/install.js +2496 -385
  30. package/commands/gsd/add-backlog.md +5 -5
  31. package/commands/gsd/add-tests.md +2 -2
  32. package/commands/gsd/ai-integration-phase.md +36 -0
  33. package/commands/gsd/analyze-dependencies.md +34 -0
  34. package/commands/gsd/audit-fix.md +33 -0
  35. package/commands/gsd/autonomous.md +7 -2
  36. package/commands/gsd/cleanup.md +5 -0
  37. package/commands/gsd/code-review-fix.md +52 -0
  38. package/commands/gsd/code-review.md +55 -0
  39. package/commands/gsd/complete-milestone.md +6 -6
  40. package/commands/gsd/debug.md +27 -9
  41. package/commands/gsd/discuss-phase.md +7 -2
  42. package/commands/gsd/do.md +1 -1
  43. package/commands/gsd/docs-update.md +48 -0
  44. package/commands/gsd/eval-review.md +32 -0
  45. package/commands/gsd/execute-phase.md +4 -0
  46. package/commands/gsd/explore.md +27 -0
  47. package/commands/gsd/fast.md +2 -2
  48. package/commands/gsd/from-gsd2.md +45 -0
  49. package/commands/gsd/help.md +2 -0
  50. package/commands/gsd/import.md +36 -0
  51. package/commands/gsd/intel.md +179 -0
  52. package/commands/gsd/join-discord.md +2 -1
  53. package/commands/gsd/manager.md +1 -0
  54. package/commands/gsd/map-codebase.md +3 -3
  55. package/commands/gsd/new-milestone.md +1 -1
  56. package/commands/gsd/new-project.md +5 -1
  57. package/commands/gsd/new-workspace.md +1 -1
  58. package/commands/gsd/next.md +2 -0
  59. package/commands/gsd/plan-milestone-gaps.md +2 -2
  60. package/commands/gsd/plan-phase.md +6 -1
  61. package/commands/gsd/plant-seed.md +1 -1
  62. package/commands/gsd/profile-user.md +1 -1
  63. package/commands/gsd/quick.md +5 -3
  64. package/commands/gsd/reapply-patches.md +230 -42
  65. package/commands/gsd/research-phase.md +8 -3
  66. package/commands/gsd/review-backlog.md +1 -0
  67. package/commands/gsd/review.md +6 -3
  68. package/commands/gsd/scan.md +26 -0
  69. package/commands/gsd/secure-phase.md +35 -0
  70. package/commands/gsd/ship.md +1 -1
  71. package/commands/gsd/thread.md +5 -5
  72. package/commands/gsd/undo.md +34 -0
  73. package/commands/gsd/verify-work.md +1 -1
  74. package/commands/gsd/workstreams.md +17 -11
  75. package/get-shit-done/bin/gsd-tools.cjs +206 -13
  76. package/get-shit-done/bin/lib/commands.cjs +79 -17
  77. package/get-shit-done/bin/lib/config.cjs +113 -50
  78. package/get-shit-done/bin/lib/core.cjs +518 -89
  79. package/get-shit-done/bin/lib/docs.cjs +267 -0
  80. package/get-shit-done/bin/lib/frontmatter.cjs +109 -35
  81. package/get-shit-done/bin/lib/gsd2-import.cjs +511 -0
  82. package/get-shit-done/bin/lib/init.cjs +218 -18
  83. package/get-shit-done/bin/lib/intel.cjs +660 -0
  84. package/get-shit-done/bin/lib/learnings.cjs +378 -0
  85. package/get-shit-done/bin/lib/milestone.cjs +42 -11
  86. package/get-shit-done/bin/lib/model-profiles.cjs +17 -15
  87. package/get-shit-done/bin/lib/phase.cjs +367 -288
  88. package/get-shit-done/bin/lib/profile-output.cjs +106 -10
  89. package/get-shit-done/bin/lib/roadmap.cjs +146 -115
  90. package/get-shit-done/bin/lib/schema-detect.cjs +238 -0
  91. package/get-shit-done/bin/lib/security.cjs +150 -3
  92. package/get-shit-done/bin/lib/state.cjs +673 -227
  93. package/get-shit-done/bin/lib/template.cjs +8 -4
  94. package/get-shit-done/bin/lib/uat.cjs +94 -1
  95. package/get-shit-done/bin/lib/verify.cjs +246 -28
  96. package/get-shit-done/bin/lib/workstream.cjs +7 -3
  97. package/get-shit-done/contexts/dev.md +21 -0
  98. package/get-shit-done/contexts/research.md +22 -0
  99. package/get-shit-done/contexts/review.md +22 -0
  100. package/get-shit-done/references/agent-contracts.md +79 -0
  101. package/get-shit-done/references/ai-evals.md +156 -0
  102. package/get-shit-done/references/ai-frameworks.md +186 -0
  103. package/get-shit-done/references/artifact-types.md +113 -0
  104. package/get-shit-done/references/common-bug-patterns.md +114 -0
  105. package/get-shit-done/references/context-budget.md +49 -0
  106. package/get-shit-done/references/continuation-format.md +25 -25
  107. package/get-shit-done/references/domain-probes.md +125 -0
  108. package/get-shit-done/references/few-shot-examples/plan-checker.md +73 -0
  109. package/get-shit-done/references/few-shot-examples/verifier.md +109 -0
  110. package/get-shit-done/references/gate-prompts.md +100 -0
  111. package/get-shit-done/references/gates.md +70 -0
  112. package/get-shit-done/references/git-integration.md +1 -1
  113. package/get-shit-done/references/ios-scaffold.md +123 -0
  114. package/get-shit-done/references/model-profile-resolution.md +2 -0
  115. package/get-shit-done/references/model-profiles.md +24 -18
  116. package/get-shit-done/references/planner-gap-closure.md +62 -0
  117. package/get-shit-done/references/planner-reviews.md +39 -0
  118. package/get-shit-done/references/planner-revision.md +87 -0
  119. package/get-shit-done/references/planning-config.md +252 -0
  120. package/get-shit-done/references/revision-loop.md +97 -0
  121. package/get-shit-done/references/thinking-models-debug.md +44 -0
  122. package/get-shit-done/references/thinking-models-execution.md +50 -0
  123. package/get-shit-done/references/thinking-models-planning.md +62 -0
  124. package/get-shit-done/references/thinking-models-research.md +50 -0
  125. package/get-shit-done/references/thinking-models-verification.md +55 -0
  126. package/get-shit-done/references/thinking-partner.md +96 -0
  127. package/get-shit-done/references/ui-brand.md +4 -4
  128. package/get-shit-done/references/universal-anti-patterns.md +63 -0
  129. package/get-shit-done/references/verification-overrides.md +227 -0
  130. package/get-shit-done/references/workstream-flag.md +56 -3
  131. package/get-shit-done/templates/AI-SPEC.md +246 -0
  132. package/get-shit-done/templates/DEBUG.md +1 -1
  133. package/get-shit-done/templates/SECURITY.md +61 -0
  134. package/get-shit-done/templates/UAT.md +4 -4
  135. package/get-shit-done/templates/VALIDATION.md +4 -4
  136. package/get-shit-done/templates/claude-md.md +32 -9
  137. package/get-shit-done/templates/config.json +6 -1
  138. package/get-shit-done/templates/debug-subagent-prompt.md +1 -1
  139. package/get-shit-done/templates/dev-preferences.md +1 -1
  140. package/get-shit-done/templates/discovery.md +2 -2
  141. package/get-shit-done/templates/phase-prompt.md +1 -1
  142. package/get-shit-done/templates/planner-subagent-prompt.md +3 -3
  143. package/get-shit-done/templates/project.md +1 -1
  144. package/get-shit-done/templates/research.md +1 -1
  145. package/get-shit-done/templates/state.md +2 -2
  146. package/get-shit-done/workflows/add-phase.md +8 -8
  147. package/get-shit-done/workflows/add-tests.md +14 -11
  148. package/get-shit-done/workflows/add-todo.md +6 -4
  149. package/get-shit-done/workflows/ai-integration-phase.md +284 -0
  150. package/get-shit-done/workflows/analyze-dependencies.md +96 -0
  151. package/get-shit-done/workflows/audit-fix.md +157 -0
  152. package/get-shit-done/workflows/audit-milestone.md +20 -12
  153. package/get-shit-done/workflows/audit-uat.md +2 -2
  154. package/get-shit-done/workflows/autonomous.md +278 -34
  155. package/get-shit-done/workflows/check-todos.md +12 -10
  156. package/get-shit-done/workflows/cleanup.md +4 -2
  157. package/get-shit-done/workflows/code-review-fix.md +497 -0
  158. package/get-shit-done/workflows/code-review.md +515 -0
  159. package/get-shit-done/workflows/complete-milestone.md +60 -25
  160. package/get-shit-done/workflows/diagnose-issues.md +21 -3
  161. package/get-shit-done/workflows/discovery-phase.md +5 -3
  162. package/get-shit-done/workflows/discuss-phase-assumptions.md +38 -12
  163. package/get-shit-done/workflows/discuss-phase-power.md +291 -0
  164. package/get-shit-done/workflows/discuss-phase.md +186 -32
  165. package/get-shit-done/workflows/do.md +23 -21
  166. package/get-shit-done/workflows/docs-update.md +1155 -0
  167. package/get-shit-done/workflows/eval-review.md +155 -0
  168. package/get-shit-done/workflows/execute-phase.md +603 -39
  169. package/get-shit-done/workflows/execute-plan.md +77 -101
  170. package/get-shit-done/workflows/explore.md +139 -0
  171. package/get-shit-done/workflows/fast.md +5 -5
  172. package/get-shit-done/workflows/forensics.md +2 -2
  173. package/get-shit-done/workflows/health.md +5 -5
  174. package/get-shit-done/workflows/help.md +124 -121
  175. package/get-shit-done/workflows/import.md +276 -0
  176. package/get-shit-done/workflows/inbox.md +387 -0
  177. package/get-shit-done/workflows/insert-phase.md +7 -7
  178. package/get-shit-done/workflows/list-phase-assumptions.md +4 -4
  179. package/get-shit-done/workflows/list-workspaces.md +2 -2
  180. package/get-shit-done/workflows/manager.md +37 -32
  181. package/get-shit-done/workflows/map-codebase.md +23 -14
  182. package/get-shit-done/workflows/milestone-summary.md +2 -2
  183. package/get-shit-done/workflows/new-milestone.md +34 -9
  184. package/get-shit-done/workflows/new-project.md +74 -25
  185. package/get-shit-done/workflows/new-workspace.md +7 -5
  186. package/get-shit-done/workflows/next.md +67 -11
  187. package/get-shit-done/workflows/note.md +9 -7
  188. package/get-shit-done/workflows/pause-work.md +76 -13
  189. package/get-shit-done/workflows/plan-milestone-gaps.md +9 -9
  190. package/get-shit-done/workflows/plan-phase.md +307 -44
  191. package/get-shit-done/workflows/plant-seed.md +7 -4
  192. package/get-shit-done/workflows/pr-branch.md +42 -14
  193. package/get-shit-done/workflows/profile-user.md +9 -7
  194. package/get-shit-done/workflows/progress.md +50 -50
  195. package/get-shit-done/workflows/quick.md +220 -47
  196. package/get-shit-done/workflows/remove-phase.md +6 -6
  197. package/get-shit-done/workflows/remove-workspace.md +3 -1
  198. package/get-shit-done/workflows/research-phase.md +11 -3
  199. package/get-shit-done/workflows/resume-project.md +17 -16
  200. package/get-shit-done/workflows/review.md +109 -9
  201. package/get-shit-done/workflows/scan.md +102 -0
  202. package/get-shit-done/workflows/secure-phase.md +166 -0
  203. package/get-shit-done/workflows/session-report.md +2 -2
  204. package/get-shit-done/workflows/settings.md +38 -12
  205. package/get-shit-done/workflows/ship.md +21 -9
  206. package/get-shit-done/workflows/stats.md +1 -1
  207. package/get-shit-done/workflows/transition.md +30 -30
  208. package/get-shit-done/workflows/ui-phase.md +27 -7
  209. package/get-shit-done/workflows/ui-review.md +37 -4
  210. package/get-shit-done/workflows/undo.md +314 -0
  211. package/get-shit-done/workflows/update.md +176 -25
  212. package/get-shit-done/workflows/validate-phase.md +14 -5
  213. package/get-shit-done/workflows/verify-phase.md +213 -9
  214. package/get-shit-done/workflows/verify-work.md +112 -24
  215. package/hooks/dist/gsd-check-update.js +34 -9
  216. package/hooks/dist/gsd-context-monitor.js +14 -5
  217. package/hooks/dist/gsd-phase-boundary.sh +27 -0
  218. package/hooks/dist/gsd-prompt-guard.js +1 -0
  219. package/hooks/dist/gsd-read-guard.js +82 -0
  220. package/hooks/dist/gsd-session-state.sh +33 -0
  221. package/hooks/dist/gsd-statusline.js +137 -15
  222. package/hooks/dist/gsd-validate-commit.sh +47 -0
  223. package/hooks/dist/gsd-workflow-guard.js +4 -4
  224. package/hooks/gsd-check-update.js +139 -0
  225. package/hooks/gsd-context-monitor.js +165 -0
  226. package/hooks/gsd-phase-boundary.sh +27 -0
  227. package/hooks/gsd-prompt-guard.js +97 -0
  228. package/hooks/gsd-read-guard.js +82 -0
  229. package/hooks/gsd-session-state.sh +33 -0
  230. package/hooks/gsd-statusline.js +241 -0
  231. package/hooks/gsd-validate-commit.sh +47 -0
  232. package/hooks/gsd-workflow-guard.js +94 -0
  233. package/package.json +4 -4
  234. package/scripts/base64-scan.sh +262 -0
  235. package/scripts/build-hooks.js +18 -7
  236. package/scripts/prompt-injection-scan.sh +199 -0
  237. package/scripts/run-tests.cjs +5 -1
  238. package/scripts/secret-scan.sh +227 -0
  239. package/get-shit-done/commands/gsd/workstreams.md +0 -63
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  **Solves context rot — the quality degradation that happens as Claude fills its context window.**
10
10
 
11
11
  [![License](https://img.shields.io/badge/license-MIT-blue?style=for-the-badge)](LICENSE)
12
- [![Based on GSD](https://img.shields.io/badge/Based_on-GSD_1.28.0-orange?style=for-the-badge)](https://github.com/gsd-build/get-shit-done)
12
+ [![Based on GSD](https://img.shields.io/badge/Based_on-GSD_1.30.0-orange?style=for-the-badge)](https://github.com/gsd-build/get-shit-done)
13
13
 
14
14
  ```bash
15
15
  npx get-shit-done-ios@latest
@@ -83,7 +83,7 @@ The installer prompts you to choose:
83
83
  1. **Runtime** — Claude Code (recommended for iOS), OpenCode, Gemini, Codex, Copilot, Cursor, or Antigravity
84
84
  2. **Location** — Global (all projects) or local (current iOS project only)
85
85
 
86
- Verify with `/gsd:help` inside Claude Code.
86
+ Verify with `/gsd-help` inside Claude Code.
87
87
 
88
88
  > **Requires:** macOS, Xcode, Node.js 20+, Claude Code.
89
89
 
@@ -93,7 +93,7 @@ Verify with `/gsd:help` inside Claude Code.
93
93
  npx get-shit-done-ios@latest
94
94
  ```
95
95
 
96
- Or use `/gsd:update` inside Claude Code for changelog preview before updating.
96
+ Or use `/gsd-update` inside Claude Code for changelog preview before updating.
97
97
 
98
98
  <details>
99
99
  <summary><strong>Non-Interactive Install (CI, Scripts)</strong></summary>
@@ -192,12 +192,12 @@ In practice: install whichever you use most as `--global`, and the other as `--l
192
192
 
193
193
  ## How It Works
194
194
 
195
- > **Already have code?** Run `/gsd:map-codebase` first. It spawns parallel agents to analyze your stack, architecture, conventions, and concerns. Then `/gsd:new-project` knows your codebase — questions focus on what you're adding, and planning automatically loads your patterns.
195
+ > **Already have code?** Run `/gsd-map-codebase` first. It spawns parallel agents to analyze your stack, architecture, conventions, and concerns. Then `/gsd-new-project` knows your codebase — questions focus on what you're adding, and planning automatically loads your patterns.
196
196
 
197
197
  ### 1. Initialize Project
198
198
 
199
199
  ```
200
- /gsd:new-project
200
+ /gsd-new-project
201
201
  ```
202
202
 
203
203
  One command, one flow. The system:
@@ -216,7 +216,7 @@ You approve the roadmap. Now you're ready to build.
216
216
  ### 2. Discuss Phase
217
217
 
218
218
  ```
219
- /gsd:discuss-phase 1
219
+ /gsd-discuss-phase 1
220
220
  ```
221
221
 
222
222
  **This is where you shape the implementation.**
@@ -244,7 +244,7 @@ The deeper you go here, the more the system builds what you actually want. Skip
244
244
  ### 3. Plan Phase
245
245
 
246
246
  ```
247
- /gsd:plan-phase 1
247
+ /gsd-plan-phase 1
248
248
  ```
249
249
 
250
250
  The system:
@@ -262,7 +262,7 @@ Each plan is small enough to execute in a fresh context window. No degradation,
262
262
  ### 4. Execute Phase
263
263
 
264
264
  ```
265
- /gsd:execute-phase 1
265
+ /gsd-execute-phase 1
266
266
  ```
267
267
 
268
268
  The system:
@@ -313,7 +313,7 @@ This is why "vertical slices" (Plan 01: User feature end-to-end) parallelize bet
313
313
  ### 5. Verify Work
314
314
 
315
315
  ```
316
- /gsd:verify-work 1
316
+ /gsd-verify-work 1
317
317
  ```
318
318
 
319
319
  **This is where you confirm it actually works.**
@@ -327,7 +327,7 @@ The system:
327
327
  3. **Diagnoses failures automatically** — Spawns debug agents to find root causes
328
328
  4. **Creates verified fix plans** — Ready for immediate re-execution
329
329
 
330
- If everything passes, you move on. If something's broken, you don't manually debug — you just run `/gsd:execute-phase` again with the fix plans it created.
330
+ If everything passes, you move on. If something's broken, you don't manually debug — you just run `/gsd-execute-phase` again with the fix plans it created.
331
331
 
332
332
  **Creates:** `{phase_num}-UAT.md`, fix plans if issues found
333
333
 
@@ -336,29 +336,29 @@ If everything passes, you move on. If something's broken, you don't manually deb
336
336
  ### 6. Repeat → Complete → Next Milestone
337
337
 
338
338
  ```
339
- /gsd:discuss-phase 2
340
- /gsd:plan-phase 2
341
- /gsd:execute-phase 2
342
- /gsd:verify-work 2
339
+ /gsd-discuss-phase 2
340
+ /gsd-plan-phase 2
341
+ /gsd-execute-phase 2
342
+ /gsd-verify-work 2
343
343
  ...
344
- /gsd:complete-milestone
345
- /gsd:new-milestone
344
+ /gsd-complete-milestone
345
+ /gsd-new-milestone
346
346
  ```
347
347
 
348
348
  Loop **discuss → plan → execute → verify** until milestone complete.
349
349
 
350
350
  Each phase gets your input (discuss), proper research (plan), clean execution (execute), and human verification (verify). Context stays fresh. Quality stays high.
351
351
 
352
- When all phases are done, `/gsd:complete-milestone` archives the milestone and tags the release.
352
+ When all phases are done, `/gsd-complete-milestone` archives the milestone and tags the release.
353
353
 
354
- Then `/gsd:new-milestone` starts the next version — same flow as `new-project` but for your existing codebase. You describe what you want to build next, the system researches the domain, you scope requirements, and it creates a fresh roadmap. Each milestone is a clean cycle: define → build → ship.
354
+ Then `/gsd-new-milestone` starts the next version — same flow as `new-project` but for your existing codebase. You describe what you want to build next, the system researches the domain, you scope requirements, and it creates a fresh roadmap. Each milestone is a clean cycle: define → build → ship.
355
355
 
356
356
  ---
357
357
 
358
358
  ### Quick Mode
359
359
 
360
360
  ```
361
- /gsd:quick
361
+ /gsd-quick
362
362
  ```
363
363
 
364
364
  **For ad-hoc tasks that don't need full planning.**
@@ -372,7 +372,7 @@ Quick mode gives you GSD guarantees (atomic commits, state tracking) with a fast
372
372
  Use for: bug fixes, small features, config changes, one-off tasks.
373
373
 
374
374
  ```
375
- /gsd:quick
375
+ /gsd-quick
376
376
  > What do you want to do? "Add haptic feedback to the save button"
377
377
  ```
378
378
 
@@ -473,82 +473,82 @@ You're never locked in. The system adapts.
473
473
 
474
474
  | Command | What it does |
475
475
  |---------|--------------|
476
- | `/gsd:new-project [--auto]` | Full initialization: questions → research → requirements → roadmap |
477
- | `/gsd:discuss-phase [N] [--auto] [--batch]` | Capture implementation decisions before planning |
478
- | `/gsd:plan-phase [N] [--auto] [--reviews]` | Research + plan + verify for a phase |
479
- | `/gsd:execute-phase <N> [--wave N] [--interactive]` | Execute all plans in parallel waves, verify when complete |
480
- | `/gsd:verify-work [N]` | Manual user acceptance testing ¹ |
481
- | `/gsd:audit-milestone` | Verify milestone achieved its definition of done |
482
- | `/gsd:complete-milestone` | Archive milestone, tag release |
483
- | `/gsd:new-milestone [name]` | Start next version: questions → research → requirements → roadmap |
484
- | `/gsd:next` | Automatically advance to next workflow step |
485
- | `/gsd:ship` | Create PR from verified phase work |
486
- | `/gsd:fast <desc>` | Trivial inline task without planning overhead |
476
+ | `/gsd-new-project [--auto]` | Full initialization: questions → research → requirements → roadmap |
477
+ | `/gsd-discuss-phase [N] [--auto] [--batch]` | Capture implementation decisions before planning |
478
+ | `/gsd-plan-phase [N] [--auto] [--reviews]` | Research + plan + verify for a phase |
479
+ | `/gsd-execute-phase <N> [--wave N] [--interactive]` | Execute all plans in parallel waves, verify when complete |
480
+ | `/gsd-verify-work [N]` | Manual user acceptance testing ¹ |
481
+ | `/gsd-audit-milestone` | Verify milestone achieved its definition of done |
482
+ | `/gsd-complete-milestone` | Archive milestone, tag release |
483
+ | `/gsd-new-milestone [name]` | Start next version: questions → research → requirements → roadmap |
484
+ | `/gsd-next` | Automatically advance to next workflow step |
485
+ | `/gsd-ship` | Create PR from verified phase work |
486
+ | `/gsd-fast <desc>` | Trivial inline task without planning overhead |
487
487
 
488
488
  ### Navigation
489
489
 
490
490
  | Command | What it does |
491
491
  |---------|--------------|
492
- | `/gsd:progress` | Where am I? What's next? |
493
- | `/gsd:help` | Show all commands and usage guide |
494
- | `/gsd:update` | Update GSD with changelog preview |
495
- | `/gsd:join-discord` | Join the GSD community Discord |
492
+ | `/gsd-progress` | Where am I? What's next? |
493
+ | `/gsd-help` | Show all commands and usage guide |
494
+ | `/gsd-update` | Update GSD with changelog preview |
495
+ | `/gsd-join-discord` | Join the GSD community Discord |
496
496
 
497
497
  ### Brownfield
498
498
 
499
499
  | Command | What it does |
500
500
  |---------|--------------|
501
- | `/gsd:map-codebase [area]` | Analyze existing codebase before new-project |
501
+ | `/gsd-map-codebase [area]` | Analyze existing codebase before new-project |
502
502
 
503
503
  ### Phase Management
504
504
 
505
505
  | Command | What it does |
506
506
  |---------|--------------|
507
- | `/gsd:add-phase` | Append phase to roadmap |
508
- | `/gsd:insert-phase [N]` | Insert urgent work between phases |
509
- | `/gsd:remove-phase [N]` | Remove future phase, renumber |
510
- | `/gsd:list-phase-assumptions [N]` | See Claude's intended approach before planning |
511
- | `/gsd:plan-milestone-gaps` | Create phases to close gaps from audit |
507
+ | `/gsd-add-phase` | Append phase to roadmap |
508
+ | `/gsd-insert-phase [N]` | Insert urgent work between phases |
509
+ | `/gsd-remove-phase [N]` | Remove future phase, renumber |
510
+ | `/gsd-list-phase-assumptions [N]` | See Claude's intended approach before planning |
511
+ | `/gsd-plan-milestone-gaps` | Create phases to close gaps from audit |
512
512
 
513
513
  ### Session
514
514
 
515
515
  | Command | What it does |
516
516
  |---------|--------------|
517
- | `/gsd:pause-work` | Create handoff when stopping mid-phase |
518
- | `/gsd:resume-work` | Restore from last session |
519
- | `/gsd:session-report` | Post-session activity report |
517
+ | `/gsd-pause-work` | Create handoff when stopping mid-phase |
518
+ | `/gsd-resume-work` | Restore from last session |
519
+ | `/gsd-session-report` | Post-session activity report |
520
520
 
521
521
  ### Utilities
522
522
 
523
523
  | Command | What it does |
524
524
  |---------|--------------|
525
- | `/gsd:settings` | Configure model profile and workflow agents |
526
- | `/gsd:set-profile <profile>` | Switch model profile (quality/balanced/budget/inherit) |
527
- | `/gsd:do <text>` | Execute a task directly without interactive prompt |
528
- | `/gsd:note <text>` | Add a note to the current session state |
529
- | `/gsd:stats` | Show project statistics and metrics |
530
- | `/gsd:add-todo [desc]` | Capture idea for later |
531
- | `/gsd:check-todos` | List pending todos |
532
- | `/gsd:debug [desc]` | Systematic debugging with persistent state |
533
- | `/gsd:quick [--discuss] [--full] [--research]` | Execute ad-hoc task with GSD guarantees (`--discuss` for pre-planning context, `--full` adds plan-checking and verification, `--research` adds domain research) |
534
- | `/gsd:health [--repair]` | Validate `.planning/` directory integrity, auto-repair with `--repair` |
535
- | `/gsd:profile-user` | Build developer behavioral profile |
536
- | `/gsd:review` | Cross-AI peer code review |
537
- | `/gsd:forensics` | Post-mortem workflow investigation |
538
- | `/gsd:milestone-summary` | Milestone onboarding summary |
539
- | `/gsd:manager` | Interactive command center |
540
- | `/gsd:plant-seed` | Backlog parking lot |
541
- | `/gsd:pr-branch` | Clean PR branch management |
542
- | `/gsd:audit-uat` | UAT/verification debt tracking |
543
- | `/gsd:thread` | Persistent context threads |
544
- | `/gsd:workstreams` | Parallel workstream management |
525
+ | `/gsd-settings` | Configure model profile and workflow agents |
526
+ | `/gsd-set-profile <profile>` | Switch model profile (quality/balanced/budget/inherit) |
527
+ | `/gsd-do <text>` | Execute a task directly without interactive prompt |
528
+ | `/gsd-note <text>` | Add a note to the current session state |
529
+ | `/gsd-stats` | Show project statistics and metrics |
530
+ | `/gsd-add-todo [desc]` | Capture idea for later |
531
+ | `/gsd-check-todos` | List pending todos |
532
+ | `/gsd-debug [desc]` | Systematic debugging with persistent state |
533
+ | `/gsd-quick [--discuss] [--full] [--research]` | Execute ad-hoc task with GSD guarantees (`--discuss` for pre-planning context, `--full` adds plan-checking and verification, `--research` adds domain research) |
534
+ | `/gsd-health [--repair]` | Validate `.planning/` directory integrity, auto-repair with `--repair` |
535
+ | `/gsd-profile-user` | Build developer behavioral profile |
536
+ | `/gsd-review` | Cross-AI peer code review |
537
+ | `/gsd-forensics` | Post-mortem workflow investigation |
538
+ | `/gsd-milestone-summary` | Milestone onboarding summary |
539
+ | `/gsd-manager` | Interactive command center |
540
+ | `/gsd-plant-seed` | Backlog parking lot |
541
+ | `/gsd-pr-branch` | Clean PR branch management |
542
+ | `/gsd-audit-uat` | UAT/verification debt tracking |
543
+ | `/gsd-thread` | Persistent context threads |
544
+ | `/gsd-workstreams` | Parallel workstream management |
545
545
 
546
546
  ### UI Design
547
547
 
548
548
  | Command | What it does |
549
549
  |---------|--------------|
550
- | `/gsd:ui-phase [N]` | Create SwiftUI design contract (color assets, typography tokens, accessibility) before planning |
551
- | `/gsd:ui-review [N]` | Retroactive 6-pillar visual audit of implemented SwiftUI views |
550
+ | `/gsd-ui-phase [N]` | Create SwiftUI design contract (color assets, typography tokens, accessibility) before planning |
551
+ | `/gsd-ui-review [N]` | Retroactive 6-pillar visual audit of implemented SwiftUI views |
552
552
 
553
553
  <sup>¹ Contributed by reddit user OracleGreyBeard</sup>
554
554
 
@@ -556,7 +556,7 @@ You're never locked in. The system adapts.
556
556
 
557
557
  ## Configuration
558
558
 
559
- GSD stores project settings in `.planning/config.json`. Configure during `/gsd:new-project` or update later with `/gsd:settings`. For the full config schema, workflow toggles, git branching options, and per-agent model breakdown, see the [User Guide](docs/USER-GUIDE.md#configuration-reference).
559
+ GSD stores project settings in `.planning/config.json`. Configure during `/gsd-new-project` or update later with `/gsd-settings`. For the full config schema, workflow toggles, git branching options, and per-agent model breakdown, see the [User Guide](docs/USER-GUIDE.md#configuration-reference).
560
560
 
561
561
  ### Core Settings
562
562
 
@@ -580,10 +580,10 @@ Use `inherit` to follow the current session model selection.
580
580
 
581
581
  Switch profiles:
582
582
  ```
583
- /gsd:set-profile budget
583
+ /gsd-set-profile budget
584
584
  ```
585
585
 
586
- Or configure via `/gsd:settings`.
586
+ Or configure via `/gsd-settings`.
587
587
 
588
588
  ### Workflow Agents
589
589
 
@@ -596,9 +596,9 @@ These spawn additional agents during planning/execution. They improve quality bu
596
596
  | `workflow.verifier` | `true` | Confirms must-haves were delivered after execution |
597
597
  | `workflow.auto_advance` | `false` | Auto-chain discuss → plan → execute without stopping |
598
598
 
599
- Use `/gsd:settings` to toggle these, or override per-invocation:
600
- - `/gsd:plan-phase --skip-research`
601
- - `/gsd:plan-phase --skip-verify`
599
+ Use `/gsd-settings` to toggle these, or override per-invocation:
600
+ - `/gsd-plan-phase --skip-research`
601
+ - `/gsd-plan-phase --skip-verify`
602
602
 
603
603
  ### Execution
604
604
 
@@ -668,7 +668,7 @@ This prevents Claude from reading these files entirely, regardless of what comma
668
668
  - Verify files exist in `~/.claude/commands/gsd/` (global) or `./.claude/commands/gsd/` (local)
669
669
 
670
670
  **Commands not working as expected?**
671
- - Run `/gsd:help` to verify installation
671
+ - Run `/gsd-help` to verify installation
672
672
  - Reinstall: `npx get-shit-done-ios@latest`
673
673
 
674
674
  **Updating to the latest version?**
@@ -677,7 +677,7 @@ npx get-shit-done-ios@latest
677
677
  ```
678
678
 
679
679
  **Xcode build fails after GSD changes?**
680
- GSD only writes to `.planning/` and generates Swift source files. If Xcode can't find new files, add them to your target in Xcode (File → Add Files to Project). If a generated file has compile errors, run `/gsd:debug` with the error message.
680
+ GSD only writes to `.planning/` and generates Swift source files. If Xcode can't find new files, add them to your target in Xcode (File → Add Files to Project). If a generated file has compile errors, run `/gsd-debug` with the error message.
681
681
 
682
682
  ### Uninstalling
683
683
 
@@ -17,6 +17,29 @@ Spawned by `discuss-phase` via `Task()`. You do NOT present output directly to t
17
17
  - Return structured markdown output for the main agent to synthesize
18
18
  </role>
19
19
 
20
+ <documentation_lookup>
21
+ When you need library or framework documentation, check in this order:
22
+
23
+ 1. If Context7 MCP tools (`mcp__context7__*`) are available in your environment, use them:
24
+ - Resolve library ID: `mcp__context7__resolve-library-id` with `libraryName`
25
+ - Fetch docs: `mcp__context7__get-library-docs` with `context7CompatibleLibraryId` and `topic`
26
+
27
+ 2. If Context7 MCP is not available (upstream bug anthropics/claude-code#13898 strips MCP
28
+ tools from agents with a `tools:` frontmatter restriction), use the CLI fallback via Bash:
29
+
30
+ Step 1 — Resolve library ID:
31
+ ```bash
32
+ npx --yes ctx7@latest library <name> "<query>"
33
+ ```
34
+ Step 2 — Fetch documentation:
35
+ ```bash
36
+ npx --yes ctx7@latest docs <libraryId> "<query>"
37
+ ```
38
+
39
+ Do not skip documentation lookups because MCP tools are unavailable — the CLI fallback
40
+ works via Bash and produces equivalent output.
41
+ </documentation_lookup>
42
+
20
43
  <input>
21
44
  Agent receives via prompt:
22
45
 
@@ -0,0 +1,133 @@
1
+ ---
2
+ name: gsd-ai-researcher
3
+ description: Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /gsd-ai-integration-phase orchestrator.
4
+ tools: Read, Write, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*
5
+ color: "#34D399"
6
+ # hooks:
7
+ # PostToolUse:
8
+ # - matcher: "Write|Edit"
9
+ # hooks:
10
+ # - type: command
11
+ # command: "echo 'AI-SPEC written' 2>/dev/null || true"
12
+ ---
13
+
14
+ <role>
15
+ You are a GSD AI researcher. Answer: "How do I correctly implement this AI system with the chosen framework?"
16
+ Write Sections 3–4b of AI-SPEC.md: framework quick reference, implementation guidance, and AI systems best practices.
17
+ </role>
18
+
19
+ <documentation_lookup>
20
+ When you need library or framework documentation, check in this order:
21
+
22
+ 1. If Context7 MCP tools (`mcp__context7__*`) are available in your environment, use them:
23
+ - Resolve library ID: `mcp__context7__resolve-library-id` with `libraryName`
24
+ - Fetch docs: `mcp__context7__get-library-docs` with `context7CompatibleLibraryId` and `topic`
25
+
26
+ 2. If Context7 MCP is not available (upstream bug anthropics/claude-code#13898 strips MCP
27
+ tools from agents with a `tools:` frontmatter restriction), use the CLI fallback via Bash:
28
+
29
+ Step 1 — Resolve library ID:
30
+ ```bash
31
+ npx --yes ctx7@latest library <name> "<query>"
32
+ ```
33
+ Step 2 — Fetch documentation:
34
+ ```bash
35
+ npx --yes ctx7@latest docs <libraryId> "<query>"
36
+ ```
37
+
38
+ Do not skip documentation lookups because MCP tools are unavailable — the CLI fallback
39
+ works via Bash and produces equivalent output.
40
+ </documentation_lookup>
41
+
42
+ <required_reading>
43
+ Read `~/.claude/get-shit-done/references/ai-frameworks.md` for framework profiles and known pitfalls before fetching docs.
44
+ </required_reading>
45
+
46
+ <input>
47
+ - `framework`: selected framework name and version
48
+ - `system_type`: RAG | Multi-Agent | Conversational | Extraction | Autonomous | Content | Code | Hybrid
49
+ - `model_provider`: OpenAI | Anthropic | Model-agnostic
50
+ - `ai_spec_path`: path to AI-SPEC.md
51
+ - `phase_context`: phase name and goal
52
+ - `context_path`: path to CONTEXT.md if it exists
53
+
54
+ **If prompt contains `<files_to_read>`, read every listed file before doing anything else.**
55
+ </input>
56
+
57
+ <documentation_sources>
58
+ Use context7 MCP first (fastest). Fall back to WebFetch.
59
+
60
+ | Framework | Official Docs URL |
61
+ |-----------|------------------|
62
+ | CrewAI | https://docs.crewai.com |
63
+ | LlamaIndex | https://docs.llamaindex.ai |
64
+ | LangChain | https://python.langchain.com/docs |
65
+ | LangGraph | https://langchain-ai.github.io/langgraph |
66
+ | OpenAI Agents SDK | https://openai.github.io/openai-agents-python |
67
+ | Claude Agent SDK | https://docs.anthropic.com/en/docs/claude-code/sdk |
68
+ | AutoGen / AG2 | https://ag2ai.github.io/ag2 |
69
+ | Google ADK | https://google.github.io/adk-docs |
70
+ | Haystack | https://docs.haystack.deepset.ai |
71
+ </documentation_sources>
72
+
73
+ <execution_flow>
74
+
75
+ <step name="fetch_docs">
76
+ Fetch 2-4 pages maximum — prioritize depth over breadth: quickstart, the `system_type`-specific pattern page, best practices/pitfalls.
77
+ Extract: installation command, key imports, minimal entry point for `system_type`, 3-5 abstractions, 3-5 pitfalls (prefer GitHub issues over docs), folder structure.
78
+ </step>
79
+
80
+ <step name="detect_integrations">
81
+ Based on `system_type` and `model_provider`, identify required supporting libraries: vector DB (RAG), embedding model, tracing tool, eval library.
82
+ Fetch brief setup docs for each.
83
+ </step>
84
+
85
+ <step name="write_sections_3_4">
86
+ **ALWAYS use the Write tool to create files** — never use `Bash(cat << 'EOF')` or heredoc commands for file creation.
87
+
88
+ Update AI-SPEC.md at `ai_spec_path`:
89
+
90
+ **Section 3 — Framework Quick Reference:** real installation command, actual imports, working entry point pattern for `system_type`, abstractions table (3-5 rows), pitfall list with why-it's-a-pitfall notes, folder structure, Sources subsection with URLs.
91
+
92
+ **Section 4 — Implementation Guidance:** specific model (e.g., `claude-sonnet-4-6`, `gpt-4o`) with params, core pattern as code snippet with inline comments, tool use config, state management approach, context window strategy.
93
+ </step>
94
+
95
+ <step name="write_section_4b">
96
+ Add **Section 4b — AI Systems Best Practices** to AI-SPEC.md. Always included, independent of framework choice.
97
+
98
+ **4b.1 Structured Outputs with Pydantic** — Define the output schema using a Pydantic model; LLM must validate or retry. Write for this specific `framework` + `system_type`:
99
+ - Example Pydantic model for the use case
100
+ - How the framework integrates (LangChain `.with_structured_output()`, `instructor` for direct API, LlamaIndex `PydanticOutputParser`, OpenAI `response_format`)
101
+ - Retry logic: how many retries, what to log, when to surface
102
+
103
+ **4b.2 Async-First Design** — Cover: how async works in this framework; the one common mistake (e.g., `asyncio.run()` in an event loop); stream vs. await (stream for UX, await for structured output validation).
104
+
105
+ **4b.3 Prompt Engineering Discipline** — System vs. user prompt separation; few-shot: inline vs. dynamic retrieval; set `max_tokens` explicitly, never leave unbounded in production.
106
+
107
+ **4b.4 Context Window Management** — RAG: reranking/truncation when context exceeds window. Multi-agent/Conversational: summarisation patterns. Autonomous: framework compaction handling.
108
+
109
+ **4b.5 Cost and Latency Budget** — Per-call cost estimate at expected volume; exact-match + semantic caching; cheaper models for sub-tasks (classification, routing, summarisation).
110
+ </step>
111
+
112
+ </execution_flow>
113
+
114
+ <quality_standards>
115
+ - All code snippets syntactically correct for the fetched version
116
+ - Imports match actual package structure (not approximate)
117
+ - Pitfalls specific — "use async where supported" is useless
118
+ - Entry point pattern is copy-paste runnable
119
+ - No hallucinated API methods — note "verify in docs" if unsure
120
+ - Section 4b examples specific to `framework` + `system_type`, not generic
121
+ </quality_standards>
122
+
123
+ <success_criteria>
124
+ - [ ] Official docs fetched (2-4 pages, not just homepage)
125
+ - [ ] Installation command correct for latest stable version
126
+ - [ ] Entry point pattern runs for `system_type`
127
+ - [ ] 3-5 abstractions in context of use case
128
+ - [ ] 3-5 specific pitfalls with explanations
129
+ - [ ] Sections 3 and 4 written and non-empty
130
+ - [ ] Section 4b: Pydantic example for this framework + system_type
131
+ - [ ] Section 4b: async pattern, prompt discipline, context management, cost budget
132
+ - [ ] Sources listed in Section 3
133
+ </success_criteria>