gsd-code-first 1.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 (238) hide show
  1. package/LICENSE +21 -0
  2. package/README.ja-JP.md +834 -0
  3. package/README.ko-KR.md +823 -0
  4. package/README.md +937 -0
  5. package/README.pt-BR.md +452 -0
  6. package/README.zh-CN.md +800 -0
  7. package/agents/gsd-advisor-researcher.md +104 -0
  8. package/agents/gsd-annotator.md +148 -0
  9. package/agents/gsd-arc-executor.md +537 -0
  10. package/agents/gsd-arc-planner.md +374 -0
  11. package/agents/gsd-assumptions-analyzer.md +105 -0
  12. package/agents/gsd-code-planner.md +155 -0
  13. package/agents/gsd-codebase-mapper.md +770 -0
  14. package/agents/gsd-debugger.md +1373 -0
  15. package/agents/gsd-executor.md +509 -0
  16. package/agents/gsd-integration-checker.md +443 -0
  17. package/agents/gsd-nyquist-auditor.md +176 -0
  18. package/agents/gsd-phase-researcher.md +698 -0
  19. package/agents/gsd-plan-checker.md +773 -0
  20. package/agents/gsd-planner.md +1354 -0
  21. package/agents/gsd-project-researcher.md +654 -0
  22. package/agents/gsd-prototyper.md +161 -0
  23. package/agents/gsd-research-synthesizer.md +247 -0
  24. package/agents/gsd-roadmapper.md +679 -0
  25. package/agents/gsd-ui-auditor.md +439 -0
  26. package/agents/gsd-ui-checker.md +300 -0
  27. package/agents/gsd-ui-researcher.md +357 -0
  28. package/agents/gsd-user-profiler.md +171 -0
  29. package/agents/gsd-verifier.md +700 -0
  30. package/bin/install.js +5009 -0
  31. package/commands/gsd/add-backlog.md +76 -0
  32. package/commands/gsd/add-phase.md +43 -0
  33. package/commands/gsd/add-tests.md +41 -0
  34. package/commands/gsd/add-todo.md +47 -0
  35. package/commands/gsd/annotate.md +54 -0
  36. package/commands/gsd/audit-milestone.md +36 -0
  37. package/commands/gsd/audit-uat.md +24 -0
  38. package/commands/gsd/autonomous.md +41 -0
  39. package/commands/gsd/check-todos.md +45 -0
  40. package/commands/gsd/cleanup.md +18 -0
  41. package/commands/gsd/complete-milestone.md +136 -0
  42. package/commands/gsd/debug.md +173 -0
  43. package/commands/gsd/deep-plan.md +52 -0
  44. package/commands/gsd/discuss-phase.md +64 -0
  45. package/commands/gsd/do.md +30 -0
  46. package/commands/gsd/execute-phase.md +59 -0
  47. package/commands/gsd/extract-plan.md +35 -0
  48. package/commands/gsd/fast.md +30 -0
  49. package/commands/gsd/forensics.md +56 -0
  50. package/commands/gsd/health.md +22 -0
  51. package/commands/gsd/help.md +22 -0
  52. package/commands/gsd/insert-phase.md +32 -0
  53. package/commands/gsd/iterate.md +124 -0
  54. package/commands/gsd/join-discord.md +18 -0
  55. package/commands/gsd/list-phase-assumptions.md +46 -0
  56. package/commands/gsd/list-workspaces.md +19 -0
  57. package/commands/gsd/manager.md +39 -0
  58. package/commands/gsd/map-codebase.md +71 -0
  59. package/commands/gsd/milestone-summary.md +51 -0
  60. package/commands/gsd/new-milestone.md +44 -0
  61. package/commands/gsd/new-project.md +42 -0
  62. package/commands/gsd/new-workspace.md +44 -0
  63. package/commands/gsd/next.md +24 -0
  64. package/commands/gsd/note.md +34 -0
  65. package/commands/gsd/pause-work.md +38 -0
  66. package/commands/gsd/plan-milestone-gaps.md +34 -0
  67. package/commands/gsd/plan-phase.md +47 -0
  68. package/commands/gsd/plant-seed.md +28 -0
  69. package/commands/gsd/pr-branch.md +25 -0
  70. package/commands/gsd/profile-user.md +46 -0
  71. package/commands/gsd/progress.md +24 -0
  72. package/commands/gsd/prototype.md +56 -0
  73. package/commands/gsd/quick.md +47 -0
  74. package/commands/gsd/reapply-patches.md +123 -0
  75. package/commands/gsd/remove-phase.md +31 -0
  76. package/commands/gsd/remove-workspace.md +26 -0
  77. package/commands/gsd/research-phase.md +195 -0
  78. package/commands/gsd/resume-work.md +40 -0
  79. package/commands/gsd/review-backlog.md +61 -0
  80. package/commands/gsd/review.md +37 -0
  81. package/commands/gsd/session-report.md +19 -0
  82. package/commands/gsd/set-mode.md +41 -0
  83. package/commands/gsd/set-profile.md +12 -0
  84. package/commands/gsd/settings.md +36 -0
  85. package/commands/gsd/ship.md +23 -0
  86. package/commands/gsd/stats.md +18 -0
  87. package/commands/gsd/thread.md +127 -0
  88. package/commands/gsd/ui-phase.md +34 -0
  89. package/commands/gsd/ui-review.md +32 -0
  90. package/commands/gsd/update.md +37 -0
  91. package/commands/gsd/validate-phase.md +35 -0
  92. package/commands/gsd/verify-work.md +38 -0
  93. package/commands/gsd/workstreams.md +63 -0
  94. package/get-shit-done/bin/gsd-tools.cjs +946 -0
  95. package/get-shit-done/bin/lib/arc-scanner.cjs +341 -0
  96. package/get-shit-done/bin/lib/commands.cjs +959 -0
  97. package/get-shit-done/bin/lib/config.cjs +466 -0
  98. package/get-shit-done/bin/lib/core.cjs +1230 -0
  99. package/get-shit-done/bin/lib/frontmatter.cjs +336 -0
  100. package/get-shit-done/bin/lib/init.cjs +1442 -0
  101. package/get-shit-done/bin/lib/milestone.cjs +252 -0
  102. package/get-shit-done/bin/lib/model-profiles.cjs +68 -0
  103. package/get-shit-done/bin/lib/phase.cjs +888 -0
  104. package/get-shit-done/bin/lib/profile-output.cjs +952 -0
  105. package/get-shit-done/bin/lib/profile-pipeline.cjs +539 -0
  106. package/get-shit-done/bin/lib/roadmap.cjs +329 -0
  107. package/get-shit-done/bin/lib/security.cjs +382 -0
  108. package/get-shit-done/bin/lib/state.cjs +1031 -0
  109. package/get-shit-done/bin/lib/template.cjs +222 -0
  110. package/get-shit-done/bin/lib/uat.cjs +282 -0
  111. package/get-shit-done/bin/lib/verify.cjs +888 -0
  112. package/get-shit-done/bin/lib/workstream.cjs +491 -0
  113. package/get-shit-done/commands/gsd/workstreams.md +63 -0
  114. package/get-shit-done/references/arc-standard.md +315 -0
  115. package/get-shit-done/references/checkpoints.md +778 -0
  116. package/get-shit-done/references/continuation-format.md +249 -0
  117. package/get-shit-done/references/decimal-phase-calculation.md +64 -0
  118. package/get-shit-done/references/git-integration.md +295 -0
  119. package/get-shit-done/references/git-planning-commit.md +38 -0
  120. package/get-shit-done/references/model-profile-resolution.md +36 -0
  121. package/get-shit-done/references/model-profiles.md +139 -0
  122. package/get-shit-done/references/phase-argument-parsing.md +61 -0
  123. package/get-shit-done/references/planning-config.md +202 -0
  124. package/get-shit-done/references/questioning.md +162 -0
  125. package/get-shit-done/references/tdd.md +263 -0
  126. package/get-shit-done/references/ui-brand.md +160 -0
  127. package/get-shit-done/references/user-profiling.md +681 -0
  128. package/get-shit-done/references/verification-patterns.md +612 -0
  129. package/get-shit-done/references/workstream-flag.md +58 -0
  130. package/get-shit-done/templates/DEBUG.md +164 -0
  131. package/get-shit-done/templates/UAT.md +265 -0
  132. package/get-shit-done/templates/UI-SPEC.md +100 -0
  133. package/get-shit-done/templates/VALIDATION.md +76 -0
  134. package/get-shit-done/templates/claude-md.md +122 -0
  135. package/get-shit-done/templates/codebase/architecture.md +255 -0
  136. package/get-shit-done/templates/codebase/concerns.md +310 -0
  137. package/get-shit-done/templates/codebase/conventions.md +307 -0
  138. package/get-shit-done/templates/codebase/integrations.md +280 -0
  139. package/get-shit-done/templates/codebase/stack.md +186 -0
  140. package/get-shit-done/templates/codebase/structure.md +285 -0
  141. package/get-shit-done/templates/codebase/testing.md +480 -0
  142. package/get-shit-done/templates/config.json +44 -0
  143. package/get-shit-done/templates/context.md +352 -0
  144. package/get-shit-done/templates/continue-here.md +78 -0
  145. package/get-shit-done/templates/copilot-instructions.md +7 -0
  146. package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
  147. package/get-shit-done/templates/dev-preferences.md +21 -0
  148. package/get-shit-done/templates/discovery.md +146 -0
  149. package/get-shit-done/templates/discussion-log.md +63 -0
  150. package/get-shit-done/templates/milestone-archive.md +123 -0
  151. package/get-shit-done/templates/milestone.md +115 -0
  152. package/get-shit-done/templates/phase-prompt.md +610 -0
  153. package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
  154. package/get-shit-done/templates/project.md +186 -0
  155. package/get-shit-done/templates/requirements.md +231 -0
  156. package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
  157. package/get-shit-done/templates/research-project/FEATURES.md +147 -0
  158. package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
  159. package/get-shit-done/templates/research-project/STACK.md +120 -0
  160. package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
  161. package/get-shit-done/templates/research.md +552 -0
  162. package/get-shit-done/templates/retrospective.md +54 -0
  163. package/get-shit-done/templates/roadmap.md +202 -0
  164. package/get-shit-done/templates/state.md +176 -0
  165. package/get-shit-done/templates/summary-complex.md +59 -0
  166. package/get-shit-done/templates/summary-minimal.md +41 -0
  167. package/get-shit-done/templates/summary-standard.md +48 -0
  168. package/get-shit-done/templates/summary.md +248 -0
  169. package/get-shit-done/templates/user-profile.md +146 -0
  170. package/get-shit-done/templates/user-setup.md +311 -0
  171. package/get-shit-done/templates/verification-report.md +322 -0
  172. package/get-shit-done/workflows/add-phase.md +112 -0
  173. package/get-shit-done/workflows/add-tests.md +351 -0
  174. package/get-shit-done/workflows/add-todo.md +158 -0
  175. package/get-shit-done/workflows/audit-milestone.md +340 -0
  176. package/get-shit-done/workflows/audit-uat.md +109 -0
  177. package/get-shit-done/workflows/autonomous.md +891 -0
  178. package/get-shit-done/workflows/check-todos.md +177 -0
  179. package/get-shit-done/workflows/cleanup.md +152 -0
  180. package/get-shit-done/workflows/complete-milestone.md +767 -0
  181. package/get-shit-done/workflows/diagnose-issues.md +231 -0
  182. package/get-shit-done/workflows/discovery-phase.md +289 -0
  183. package/get-shit-done/workflows/discuss-phase-assumptions.md +653 -0
  184. package/get-shit-done/workflows/discuss-phase.md +1049 -0
  185. package/get-shit-done/workflows/do.md +104 -0
  186. package/get-shit-done/workflows/execute-phase.md +846 -0
  187. package/get-shit-done/workflows/execute-plan.md +514 -0
  188. package/get-shit-done/workflows/fast.md +105 -0
  189. package/get-shit-done/workflows/forensics.md +265 -0
  190. package/get-shit-done/workflows/health.md +181 -0
  191. package/get-shit-done/workflows/help.md +634 -0
  192. package/get-shit-done/workflows/insert-phase.md +130 -0
  193. package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
  194. package/get-shit-done/workflows/list-workspaces.md +56 -0
  195. package/get-shit-done/workflows/manager.md +362 -0
  196. package/get-shit-done/workflows/map-codebase.md +377 -0
  197. package/get-shit-done/workflows/milestone-summary.md +223 -0
  198. package/get-shit-done/workflows/new-milestone.md +486 -0
  199. package/get-shit-done/workflows/new-project.md +1250 -0
  200. package/get-shit-done/workflows/new-workspace.md +237 -0
  201. package/get-shit-done/workflows/next.md +97 -0
  202. package/get-shit-done/workflows/node-repair.md +92 -0
  203. package/get-shit-done/workflows/note.md +156 -0
  204. package/get-shit-done/workflows/pause-work.md +176 -0
  205. package/get-shit-done/workflows/plan-milestone-gaps.md +273 -0
  206. package/get-shit-done/workflows/plan-phase.md +859 -0
  207. package/get-shit-done/workflows/plant-seed.md +169 -0
  208. package/get-shit-done/workflows/pr-branch.md +129 -0
  209. package/get-shit-done/workflows/profile-user.md +450 -0
  210. package/get-shit-done/workflows/progress.md +507 -0
  211. package/get-shit-done/workflows/quick.md +757 -0
  212. package/get-shit-done/workflows/remove-phase.md +155 -0
  213. package/get-shit-done/workflows/remove-workspace.md +90 -0
  214. package/get-shit-done/workflows/research-phase.md +82 -0
  215. package/get-shit-done/workflows/resume-project.md +326 -0
  216. package/get-shit-done/workflows/review.md +228 -0
  217. package/get-shit-done/workflows/session-report.md +146 -0
  218. package/get-shit-done/workflows/settings.md +283 -0
  219. package/get-shit-done/workflows/ship.md +228 -0
  220. package/get-shit-done/workflows/stats.md +60 -0
  221. package/get-shit-done/workflows/transition.md +671 -0
  222. package/get-shit-done/workflows/ui-phase.md +302 -0
  223. package/get-shit-done/workflows/ui-review.md +165 -0
  224. package/get-shit-done/workflows/update.md +323 -0
  225. package/get-shit-done/workflows/validate-phase.md +174 -0
  226. package/get-shit-done/workflows/verify-phase.md +254 -0
  227. package/get-shit-done/workflows/verify-work.md +637 -0
  228. package/hooks/dist/gsd-check-update.js +114 -0
  229. package/hooks/dist/gsd-context-monitor.js +156 -0
  230. package/hooks/dist/gsd-prompt-guard.js +96 -0
  231. package/hooks/dist/gsd-statusline.js +119 -0
  232. package/hooks/dist/gsd-workflow-guard.js +94 -0
  233. package/package.json +52 -0
  234. package/scripts/base64-scan.sh +262 -0
  235. package/scripts/build-hooks.js +82 -0
  236. package/scripts/prompt-injection-scan.sh +198 -0
  237. package/scripts/run-tests.cjs +29 -0
  238. package/scripts/secret-scan.sh +227 -0
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: gsd:resume-work
3
+ description: Resume work from previous session with full context restoration
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ - Write
8
+ - AskUserQuestion
9
+ - SlashCommand
10
+ ---
11
+
12
+ <objective>
13
+ Restore complete project context and resume work seamlessly from previous session.
14
+
15
+ Routes to the resume-project workflow which handles:
16
+
17
+ - STATE.md loading (or reconstruction if missing)
18
+ - Checkpoint detection (.continue-here files)
19
+ - Incomplete work detection (PLAN without SUMMARY)
20
+ - Status presentation
21
+ - Context-aware next action routing
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/get-shit-done/workflows/resume-project.md
26
+ </execution_context>
27
+
28
+ <process>
29
+ **Follow the resume-project workflow** from `@~/.claude/get-shit-done/workflows/resume-project.md`.
30
+
31
+ The workflow handles all resumption logic including:
32
+
33
+ 1. Project existence verification
34
+ 2. STATE.md loading or reconstruction
35
+ 3. Checkpoint and incomplete work detection
36
+ 4. Visual status presentation
37
+ 5. Context-aware option offering (checks CONTEXT.md before suggesting plan vs discuss)
38
+ 6. Routing to appropriate next command
39
+ 7. Session continuity updates
40
+ </process>
@@ -0,0 +1,61 @@
1
+ ---
2
+ name: gsd:review-backlog
3
+ description: Review and promote backlog items to active milestone
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ ---
9
+
10
+ <objective>
11
+ Review all 999.x backlog items and optionally promote them into the active
12
+ milestone sequence or remove stale entries.
13
+ </objective>
14
+
15
+ <process>
16
+
17
+ 1. **List backlog items:**
18
+ ```bash
19
+ ls -d .planning/phases/999* 2>/dev/null || echo "No backlog items found"
20
+ ```
21
+
22
+ 2. **Read ROADMAP.md** and extract all 999.x phase entries:
23
+ ```bash
24
+ cat .planning/ROADMAP.md
25
+ ```
26
+ Show each backlog item with its description, any accumulated context (CONTEXT.md, RESEARCH.md), and creation date.
27
+
28
+ 3. **Present the list to the user** via AskUserQuestion:
29
+ - For each backlog item, show: phase number, description, accumulated artifacts
30
+ - Options per item: **Promote** (move to active), **Keep** (leave in backlog), **Remove** (delete)
31
+
32
+ 4. **For items to PROMOTE:**
33
+ - Find the next sequential phase number in the active milestone
34
+ - Rename the directory from `999.x-slug` to `{new_num}-slug`:
35
+ ```bash
36
+ NEW_NUM=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" phase add "${DESCRIPTION}" --raw)
37
+ ```
38
+ - Move accumulated artifacts to the new phase directory
39
+ - Update ROADMAP.md: move the entry from `## Backlog` section to the active phase list
40
+ - Remove `(BACKLOG)` marker
41
+ - Add appropriate `**Depends on:**` field
42
+
43
+ 5. **For items to REMOVE:**
44
+ - Delete the phase directory
45
+ - Remove the entry from ROADMAP.md `## Backlog` section
46
+
47
+ 6. **Commit changes:**
48
+ ```bash
49
+ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs: review backlog — promoted N, removed M" --files .planning/ROADMAP.md
50
+ ```
51
+
52
+ 7. **Report summary:**
53
+ ```
54
+ ## 📋 Backlog Review Complete
55
+
56
+ Promoted: {list of promoted items with new phase numbers}
57
+ Kept: {list of items remaining in backlog}
58
+ Removed: {list of deleted items}
59
+ ```
60
+
61
+ </process>
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: gsd:review
3
+ description: Request cross-AI peer review of phase plans from external AI CLIs
4
+ argument-hint: "--phase N [--gemini] [--claude] [--codex] [--all]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ ---
12
+
13
+ <objective>
14
+ Invoke external AI CLIs (Gemini, Claude, Codex) to independently review phase plans.
15
+ Produces a structured REVIEWS.md with per-reviewer feedback that can be fed back into
16
+ planning via /gsd:plan-phase --reviews.
17
+
18
+ **Flow:** Detect CLIs → Build review prompt → Invoke each CLI → Collect responses → Write REVIEWS.md
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @~/.claude/get-shit-done/workflows/review.md
23
+ </execution_context>
24
+
25
+ <context>
26
+ Phase number: extracted from $ARGUMENTS (required)
27
+
28
+ **Flags:**
29
+ - `--gemini` — Include Gemini CLI review
30
+ - `--claude` — Include Claude CLI review (uses separate session)
31
+ - `--codex` — Include Codex CLI review
32
+ - `--all` — Include all available CLIs
33
+ </context>
34
+
35
+ <process>
36
+ Execute the review workflow from @~/.claude/get-shit-done/workflows/review.md end-to-end.
37
+ </process>
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: gsd:session-report
3
+ description: Generate a session report with token usage estimates, work summary, and outcomes
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ - Write
8
+ ---
9
+ <objective>
10
+ Generate a structured SESSION_REPORT.md document capturing session outcomes, work performed, and estimated resource usage. Provides a shareable artifact for post-session review.
11
+ </objective>
12
+
13
+ <execution_context>
14
+ @~/.claude/get-shit-done/workflows/session-report.md
15
+ </execution_context>
16
+
17
+ <process>
18
+ Execute the session-report workflow from @~/.claude/get-shit-done/workflows/session-report.md end-to-end.
19
+ </process>
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: gsd:set-mode
3
+ description: Configure the per-phase workflow mode (code-first, plan-first, hybrid) for gsd-code-first
4
+ argument-hint: "<code-first|plan-first|hybrid> [--phase N]"
5
+ allowed-tools:
6
+ - Bash
7
+ - Read
8
+ ---
9
+
10
+ <objective>
11
+ Sets the workflow mode for the current project. Without `--phase`, sets the global default (`default_phase_mode`) applied to all phases. With `--phase N`, overrides the mode for a specific phase only (`phase_modes.N`).
12
+
13
+ **Arguments:**
14
+ - `code-first` — prototype-first workflow (prototype → annotate → extract-plan → iterate)
15
+ - `plan-first` — discussion-first workflow (discuss → plan → execute)
16
+ - `hybrid` — mix per developer preference
17
+ - `--phase N` — scope the mode to phase N only; omit to set the global default
18
+
19
+ Valid modes: `code-first`, `plan-first`, `hybrid`
20
+ </objective>
21
+
22
+ <context>
23
+ $ARGUMENTS
24
+ </context>
25
+
26
+ <process>
27
+
28
+ 1. **Show current mode** so the user knows what they are changing from:
29
+ ```bash
30
+ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-get default_phase_mode
31
+ ```
32
+
33
+ 2. **Parse `$ARGUMENTS`** — extract the mode value (`code-first`, `plan-first`, or `hybrid`) and the optional `--phase N` flag.
34
+
35
+ 3. **Run set-mode** with the parsed arguments:
36
+ - Without `--phase`: `node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" set-mode MODE_VALUE`
37
+ - With `--phase N`: `node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" set-mode MODE_VALUE --phase N`
38
+
39
+ 4. **Show confirmation** with the new mode value and the config key that was written (e.g., `default_phase_mode = code-first` or `phase_modes.3 = plan-first`).
40
+
41
+ </process>
@@ -0,0 +1,12 @@
1
+ ---
2
+ name: gsd:set-profile
3
+ description: Switch model profile for GSD agents (quality/balanced/budget/inherit)
4
+ argument-hint: <profile (quality|balanced|budget|inherit)>
5
+ model: haiku
6
+ allowed-tools:
7
+ - Bash
8
+ ---
9
+
10
+ Show the following output to the user verbatim, with no extra commentary:
11
+
12
+ !`node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-set-model-profile $ARGUMENTS --raw`
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: gsd:settings
3
+ description: Configure GSD workflow toggles and model profile
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ - AskUserQuestion
9
+ ---
10
+
11
+ <objective>
12
+ Interactive configuration of GSD workflow agents and model profile via multi-question prompt.
13
+
14
+ Routes to the settings workflow which handles:
15
+ - Config existence ensuring
16
+ - Current settings reading and parsing
17
+ - Interactive 5-question prompt (model, research, plan_check, verifier, branching)
18
+ - Config merging and writing
19
+ - Confirmation display with quick command references
20
+ </objective>
21
+
22
+ <execution_context>
23
+ @~/.claude/get-shit-done/workflows/settings.md
24
+ </execution_context>
25
+
26
+ <process>
27
+ **Follow the settings workflow** from `@~/.claude/get-shit-done/workflows/settings.md`.
28
+
29
+ The workflow handles all logic including:
30
+ 1. Config file creation with defaults if missing
31
+ 2. Current config reading
32
+ 3. Interactive settings presentation with pre-selection
33
+ 4. Answer parsing and config merging
34
+ 5. File writing
35
+ 6. Confirmation display
36
+ </process>
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: gsd:ship
3
+ description: Create PR, run review, and prepare for merge after verification passes
4
+ argument-hint: "[phase number or milestone, e.g., '4' or 'v1.0']"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Grep
9
+ - Glob
10
+ - Write
11
+ - AskUserQuestion
12
+ ---
13
+ <objective>
14
+ Bridge local completion → merged PR. After /gsd:verify-work passes, ship the work: push branch, create PR with auto-generated body, optionally trigger review, and track the merge.
15
+
16
+ Closes the plan → execute → verify → ship loop.
17
+ </objective>
18
+
19
+ <execution_context>
20
+ @~/.claude/get-shit-done/workflows/ship.md
21
+ </execution_context>
22
+
23
+ Execute the ship workflow from @~/.claude/get-shit-done/workflows/ship.md end-to-end.
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: gsd:stats
3
+ description: Display project statistics — phases, plans, requirements, git metrics, and timeline
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ ---
8
+ <objective>
9
+ Display comprehensive project statistics including phase progress, plan execution metrics, requirements completion, git history stats, and project timeline.
10
+ </objective>
11
+
12
+ <execution_context>
13
+ @~/.claude/get-shit-done/workflows/stats.md
14
+ </execution_context>
15
+
16
+ <process>
17
+ Execute the stats workflow from @~/.claude/get-shit-done/workflows/stats.md end-to-end.
18
+ </process>
@@ -0,0 +1,127 @@
1
+ ---
2
+ name: gsd:thread
3
+ description: Manage persistent context threads for cross-session work
4
+ argument-hint: [name | description]
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ ---
10
+
11
+ <objective>
12
+ Create, list, or resume persistent context threads. Threads are lightweight
13
+ cross-session knowledge stores for work that spans multiple sessions but
14
+ doesn't belong to any specific phase.
15
+ </objective>
16
+
17
+ <process>
18
+
19
+ **Parse $ARGUMENTS to determine mode:**
20
+
21
+ <mode_list>
22
+ **If no arguments or $ARGUMENTS is empty:**
23
+
24
+ List all threads:
25
+ ```bash
26
+ ls .planning/threads/*.md 2>/dev/null
27
+ ```
28
+
29
+ For each thread, read the first few lines to show title and status:
30
+ ```
31
+ ## Active Threads
32
+
33
+ | Thread | Status | Last Updated |
34
+ |--------|--------|-------------|
35
+ | fix-deploy-key-auth | OPEN | 2026-03-15 |
36
+ | pasta-tcp-timeout | RESOLVED | 2026-03-12 |
37
+ | perf-investigation | IN PROGRESS | 2026-03-17 |
38
+ ```
39
+
40
+ If no threads exist, show:
41
+ ```
42
+ No threads found. Create one with: /gsd:thread <description>
43
+ ```
44
+ </mode_list>
45
+
46
+ <mode_resume>
47
+ **If $ARGUMENTS matches an existing thread name (file exists):**
48
+
49
+ Resume the thread — load its context into the current session:
50
+ ```bash
51
+ cat ".planning/threads/${THREAD_NAME}.md"
52
+ ```
53
+
54
+ Display the thread content and ask what the user wants to work on next.
55
+ Update the thread's status to `IN PROGRESS` if it was `OPEN`.
56
+ </mode_resume>
57
+
58
+ <mode_create>
59
+ **If $ARGUMENTS is a new description (no matching thread file):**
60
+
61
+ Create a new thread:
62
+
63
+ 1. Generate slug from description:
64
+ ```bash
65
+ SLUG=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" generate-slug "$ARGUMENTS")
66
+ ```
67
+
68
+ 2. Create the threads directory if needed:
69
+ ```bash
70
+ mkdir -p .planning/threads
71
+ ```
72
+
73
+ 3. Write the thread file:
74
+ ```bash
75
+ cat > ".planning/threads/${SLUG}.md" << 'EOF'
76
+ # Thread: {description}
77
+
78
+ ## Status: OPEN
79
+
80
+ ## Goal
81
+
82
+ {description}
83
+
84
+ ## Context
85
+
86
+ *Created from conversation on {today's date}.*
87
+
88
+ ## References
89
+
90
+ - *(add links, file paths, or issue numbers)*
91
+
92
+ ## Next Steps
93
+
94
+ - *(what the next session should do first)*
95
+ EOF
96
+ ```
97
+
98
+ 4. If there's relevant context in the current conversation (code snippets,
99
+ error messages, investigation results), extract and add it to the Context
100
+ section.
101
+
102
+ 5. Commit:
103
+ ```bash
104
+ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs: create thread — ${ARGUMENTS}" --files ".planning/threads/${SLUG}.md"
105
+ ```
106
+
107
+ 6. Report:
108
+ ```
109
+ ## 🧵 Thread Created
110
+
111
+ Thread: {slug}
112
+ File: .planning/threads/{slug}.md
113
+
114
+ Resume anytime with: /gsd:thread {slug}
115
+ ```
116
+ </mode_create>
117
+
118
+ </process>
119
+
120
+ <notes>
121
+ - Threads are NOT phase-scoped — they exist independently of the roadmap
122
+ - Lighter weight than /gsd:pause-work — no phase state, no plan context
123
+ - The value is in Context and Next Steps — a cold-start session can pick up immediately
124
+ - Threads can be promoted to phases or backlog items when they mature:
125
+ /gsd:add-phase or /gsd:add-backlog with context from the thread
126
+ - Thread files live in .planning/threads/ — no collision with phases or other GSD structures
127
+ </notes>
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: gsd:ui-phase
3
+ description: Generate UI design contract (UI-SPEC.md) for frontend phases
4
+ argument-hint: "[phase]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - Task
12
+ - WebFetch
13
+ - AskUserQuestion
14
+ - mcp__context7__*
15
+ ---
16
+ <objective>
17
+ Create a UI design contract (UI-SPEC.md) for a frontend phase.
18
+ Orchestrates gsd-ui-researcher and gsd-ui-checker.
19
+ Flow: Validate → Research UI → Verify UI-SPEC → Done
20
+ </objective>
21
+
22
+ <execution_context>
23
+ @~/.claude/get-shit-done/workflows/ui-phase.md
24
+ @~/.claude/get-shit-done/references/ui-brand.md
25
+ </execution_context>
26
+
27
+ <context>
28
+ Phase number: $ARGUMENTS — optional, auto-detects next unplanned phase if omitted.
29
+ </context>
30
+
31
+ <process>
32
+ Execute @~/.claude/get-shit-done/workflows/ui-phase.md end-to-end.
33
+ Preserve all workflow gates.
34
+ </process>
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: gsd:ui-review
3
+ description: Retroactive 6-pillar visual audit of implemented frontend code
4
+ argument-hint: "[phase]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - Task
12
+ - AskUserQuestion
13
+ ---
14
+ <objective>
15
+ Conduct a retroactive 6-pillar visual audit. Produces UI-REVIEW.md with
16
+ graded assessment (1-4 per pillar). Works on any project.
17
+ Output: {phase_num}-UI-REVIEW.md
18
+ </objective>
19
+
20
+ <execution_context>
21
+ @~/.claude/get-shit-done/workflows/ui-review.md
22
+ @~/.claude/get-shit-done/references/ui-brand.md
23
+ </execution_context>
24
+
25
+ <context>
26
+ Phase: $ARGUMENTS — optional, defaults to last completed phase.
27
+ </context>
28
+
29
+ <process>
30
+ Execute @~/.claude/get-shit-done/workflows/ui-review.md end-to-end.
31
+ Preserve all workflow gates.
32
+ </process>
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: gsd:update
3
+ description: Update GSD to latest version with changelog display
4
+ allowed-tools:
5
+ - Bash
6
+ - AskUserQuestion
7
+ ---
8
+
9
+ <objective>
10
+ Check for GSD updates, install if available, and display what changed.
11
+
12
+ Routes to the update workflow which handles:
13
+ - Version detection (local vs global installation)
14
+ - npm version checking
15
+ - Changelog fetching and display
16
+ - User confirmation with clean install warning
17
+ - Update execution and cache clearing
18
+ - Restart reminder
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @~/.claude/get-shit-done/workflows/update.md
23
+ </execution_context>
24
+
25
+ <process>
26
+ **Follow the update workflow** from `@~/.claude/get-shit-done/workflows/update.md`.
27
+
28
+ The workflow handles all logic including:
29
+ 1. Installed version detection (local/global)
30
+ 2. Latest version checking via npm
31
+ 3. Version comparison
32
+ 4. Changelog fetching and extraction
33
+ 5. Clean install warning display
34
+ 6. User confirmation
35
+ 7. Update execution
36
+ 8. Cache clearing
37
+ </process>
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: gsd:validate-phase
3
+ description: Retroactively audit and fill Nyquist validation gaps for a completed phase
4
+ argument-hint: "[phase number]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - AskUserQuestion
14
+ ---
15
+ <objective>
16
+ Audit Nyquist validation coverage for a completed phase. Three states:
17
+ - (A) VALIDATION.md exists — audit and fill gaps
18
+ - (B) No VALIDATION.md, SUMMARY.md exists — reconstruct from artifacts
19
+ - (C) Phase not executed — exit with guidance
20
+
21
+ Output: updated VALIDATION.md + generated test files.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/get-shit-done/workflows/validate-phase.md
26
+ </execution_context>
27
+
28
+ <context>
29
+ Phase: $ARGUMENTS — optional, defaults to last completed phase.
30
+ </context>
31
+
32
+ <process>
33
+ Execute @~/.claude/get-shit-done/workflows/validate-phase.md.
34
+ Preserve all workflow gates.
35
+ </process>
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: gsd:verify-work
3
+ description: Validate built features through conversational UAT
4
+ argument-hint: "[phase number, e.g., '4']"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - Edit
11
+ - Write
12
+ - Task
13
+ ---
14
+ <objective>
15
+ Validate built features through conversational testing with persistent state.
16
+
17
+ Purpose: Confirm what Claude built actually works from user's perspective. One test at a time, plain text responses, no interrogation. When issues are found, automatically diagnose, plan fixes, and prepare for execution.
18
+
19
+ Output: {phase_num}-UAT.md tracking all test results. If issues found: diagnosed gaps, verified fix plans ready for /gsd:execute-phase
20
+ </objective>
21
+
22
+ <execution_context>
23
+ @~/.claude/get-shit-done/workflows/verify-work.md
24
+ @~/.claude/get-shit-done/templates/UAT.md
25
+ </execution_context>
26
+
27
+ <context>
28
+ Phase: $ARGUMENTS (optional)
29
+ - If provided: Test specific phase (e.g., "4")
30
+ - If not provided: Check for active sessions or prompt for phase
31
+
32
+ Context files are resolved inside the workflow (`init verify-work`) and delegated via `<files_to_read>` blocks.
33
+ </context>
34
+
35
+ <process>
36
+ Execute the verify-work workflow from @~/.claude/get-shit-done/workflows/verify-work.md end-to-end.
37
+ Preserve all workflow gates (session management, test presentation, diagnosis, fix planning, routing).
38
+ </process>
@@ -0,0 +1,63 @@
1
+ ---
2
+ description: Manage parallel workstreams — list, create, switch, status, progress, complete, and resume
3
+ ---
4
+
5
+ # /gsd:workstreams
6
+
7
+ Manage parallel workstreams for concurrent milestone work.
8
+
9
+ ## Usage
10
+
11
+ `/gsd:workstreams [subcommand] [args]`
12
+
13
+ ### Subcommands
14
+
15
+ | Command | Description |
16
+ |---------|-------------|
17
+ | `list` | List all workstreams with status |
18
+ | `create <name>` | Create a new workstream |
19
+ | `status <name>` | Detailed status for one workstream |
20
+ | `switch <name>` | Set active workstream |
21
+ | `progress` | Progress summary across all workstreams |
22
+ | `complete <name>` | Archive a completed workstream |
23
+ | `resume <name>` | Resume work in a workstream |
24
+
25
+ ## Step 1: Parse Subcommand
26
+
27
+ Parse the user's input to determine which workstream operation to perform.
28
+ If no subcommand given, default to `list`.
29
+
30
+ ## Step 2: Execute Operation
31
+
32
+ ### list
33
+ Run: `node "$GSD_TOOLS" workstream list --raw --cwd "$CWD"`
34
+ Display the workstreams in a table format showing name, status, current phase, and progress.
35
+
36
+ ### create
37
+ Run: `node "$GSD_TOOLS" workstream create <name> --raw --cwd "$CWD"`
38
+ After creation, display the new workstream path and suggest next steps:
39
+ - `/gsd:new-milestone --ws <name>` to set up the milestone
40
+
41
+ ### status
42
+ Run: `node "$GSD_TOOLS" workstream status <name> --raw --cwd "$CWD"`
43
+ Display detailed phase breakdown and state information.
44
+
45
+ ### switch
46
+ Run: `node "$GSD_TOOLS" workstream set <name> --raw --cwd "$CWD"`
47
+ Also set `GSD_WORKSTREAM` env var for the current session.
48
+
49
+ ### progress
50
+ Run: `node "$GSD_TOOLS" workstream progress --raw --cwd "$CWD"`
51
+ Display a progress overview across all workstreams.
52
+
53
+ ### complete
54
+ Run: `node "$GSD_TOOLS" workstream complete <name> --raw --cwd "$CWD"`
55
+ Archive the workstream to milestones/.
56
+
57
+ ### resume
58
+ Set the workstream as active and suggest `/gsd:resume-work --ws <name>`.
59
+
60
+ ## Step 3: Display Results
61
+
62
+ Format the JSON output from gsd-tools into a human-readable display.
63
+ Include the `${GSD_WS}` flag in any routing suggestions.