gsd-opencode 1.22.1 → 1.33.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 (188) hide show
  1. package/agents/gsd-advisor-researcher.md +112 -0
  2. package/agents/gsd-assumptions-analyzer.md +110 -0
  3. package/agents/gsd-codebase-mapper.md +0 -2
  4. package/agents/gsd-debugger.md +117 -2
  5. package/agents/gsd-doc-verifier.md +207 -0
  6. package/agents/gsd-doc-writer.md +608 -0
  7. package/agents/gsd-executor.md +45 -4
  8. package/agents/gsd-integration-checker.md +0 -2
  9. package/agents/gsd-nyquist-auditor.md +0 -2
  10. package/agents/gsd-phase-researcher.md +191 -5
  11. package/agents/gsd-plan-checker.md +152 -5
  12. package/agents/gsd-planner.md +131 -157
  13. package/agents/gsd-project-researcher.md +28 -3
  14. package/agents/gsd-research-synthesizer.md +0 -2
  15. package/agents/gsd-roadmapper.md +29 -2
  16. package/agents/gsd-security-auditor.md +129 -0
  17. package/agents/gsd-ui-auditor.md +485 -0
  18. package/agents/gsd-ui-checker.md +305 -0
  19. package/agents/gsd-ui-researcher.md +368 -0
  20. package/agents/gsd-user-profiler.md +173 -0
  21. package/agents/gsd-verifier.md +207 -22
  22. package/commands/gsd/gsd-add-backlog.md +76 -0
  23. package/commands/gsd/gsd-analyze-dependencies.md +34 -0
  24. package/commands/gsd/gsd-audit-uat.md +24 -0
  25. package/commands/gsd/gsd-autonomous.md +45 -0
  26. package/commands/gsd/gsd-cleanup.md +5 -0
  27. package/commands/gsd/gsd-debug.md +29 -21
  28. package/commands/gsd/gsd-discuss-phase.md +15 -36
  29. package/commands/gsd/gsd-do.md +30 -0
  30. package/commands/gsd/gsd-docs-update.md +48 -0
  31. package/commands/gsd/gsd-execute-phase.md +24 -2
  32. package/commands/gsd/gsd-fast.md +30 -0
  33. package/commands/gsd/gsd-forensics.md +56 -0
  34. package/commands/gsd/gsd-help.md +2 -0
  35. package/commands/gsd/gsd-join-discord.md +2 -1
  36. package/commands/gsd/gsd-list-workspaces.md +19 -0
  37. package/commands/gsd/gsd-manager.md +40 -0
  38. package/commands/gsd/gsd-milestone-summary.md +51 -0
  39. package/commands/gsd/gsd-new-project.md +4 -0
  40. package/commands/gsd/gsd-new-workspace.md +44 -0
  41. package/commands/gsd/gsd-next.md +24 -0
  42. package/commands/gsd/gsd-note.md +34 -0
  43. package/commands/gsd/gsd-plan-phase.md +8 -1
  44. package/commands/gsd/gsd-plant-seed.md +28 -0
  45. package/commands/gsd/gsd-pr-branch.md +25 -0
  46. package/commands/gsd/gsd-profile-user.md +46 -0
  47. package/commands/gsd/gsd-quick.md +7 -3
  48. package/commands/gsd/gsd-reapply-patches.md +178 -45
  49. package/commands/gsd/gsd-remove-workspace.md +26 -0
  50. package/commands/gsd/gsd-research-phase.md +7 -12
  51. package/commands/gsd/gsd-review-backlog.md +62 -0
  52. package/commands/gsd/gsd-review.md +38 -0
  53. package/commands/gsd/gsd-secure-phase.md +35 -0
  54. package/commands/gsd/gsd-session-report.md +19 -0
  55. package/commands/gsd/gsd-set-profile.md +24 -23
  56. package/commands/gsd/gsd-ship.md +23 -0
  57. package/commands/gsd/gsd-stats.md +18 -0
  58. package/commands/gsd/gsd-thread.md +127 -0
  59. package/commands/gsd/gsd-ui-phase.md +34 -0
  60. package/commands/gsd/gsd-ui-review.md +32 -0
  61. package/commands/gsd/gsd-workstreams.md +71 -0
  62. package/get-shit-done/bin/gsd-tools.cjs +450 -90
  63. package/get-shit-done/bin/lib/commands.cjs +489 -24
  64. package/get-shit-done/bin/lib/config.cjs +329 -48
  65. package/get-shit-done/bin/lib/core.cjs +1143 -102
  66. package/get-shit-done/bin/lib/docs.cjs +267 -0
  67. package/get-shit-done/bin/lib/frontmatter.cjs +125 -43
  68. package/get-shit-done/bin/lib/init.cjs +918 -106
  69. package/get-shit-done/bin/lib/milestone.cjs +65 -33
  70. package/get-shit-done/bin/lib/model-profiles.cjs +70 -0
  71. package/get-shit-done/bin/lib/phase.cjs +434 -404
  72. package/get-shit-done/bin/lib/profile-output.cjs +1048 -0
  73. package/get-shit-done/bin/lib/profile-pipeline.cjs +539 -0
  74. package/get-shit-done/bin/lib/roadmap.cjs +156 -101
  75. package/get-shit-done/bin/lib/schema-detect.cjs +238 -0
  76. package/get-shit-done/bin/lib/security.cjs +384 -0
  77. package/get-shit-done/bin/lib/state.cjs +711 -79
  78. package/get-shit-done/bin/lib/template.cjs +2 -2
  79. package/get-shit-done/bin/lib/uat.cjs +282 -0
  80. package/get-shit-done/bin/lib/verify.cjs +254 -42
  81. package/get-shit-done/bin/lib/workstream.cjs +495 -0
  82. package/get-shit-done/references/agent-contracts.md +79 -0
  83. package/get-shit-done/references/artifact-types.md +113 -0
  84. package/get-shit-done/references/checkpoints.md +12 -10
  85. package/get-shit-done/references/context-budget.md +49 -0
  86. package/get-shit-done/references/continuation-format.md +15 -15
  87. package/get-shit-done/references/decimal-phase-calculation.md +2 -3
  88. package/get-shit-done/references/domain-probes.md +125 -0
  89. package/get-shit-done/references/gate-prompts.md +100 -0
  90. package/get-shit-done/references/git-integration.md +47 -0
  91. package/get-shit-done/references/model-profile-resolution.md +2 -0
  92. package/get-shit-done/references/model-profiles.md +62 -16
  93. package/get-shit-done/references/phase-argument-parsing.md +2 -2
  94. package/get-shit-done/references/planner-gap-closure.md +62 -0
  95. package/get-shit-done/references/planner-reviews.md +39 -0
  96. package/get-shit-done/references/planner-revision.md +87 -0
  97. package/get-shit-done/references/planning-config.md +18 -1
  98. package/get-shit-done/references/revision-loop.md +97 -0
  99. package/get-shit-done/references/ui-brand.md +2 -2
  100. package/get-shit-done/references/universal-anti-patterns.md +58 -0
  101. package/get-shit-done/references/user-profiling.md +681 -0
  102. package/get-shit-done/references/workstream-flag.md +111 -0
  103. package/get-shit-done/templates/SECURITY.md +61 -0
  104. package/get-shit-done/templates/UAT.md +21 -3
  105. package/get-shit-done/templates/UI-SPEC.md +100 -0
  106. package/get-shit-done/templates/VALIDATION.md +3 -3
  107. package/get-shit-done/templates/claude-md.md +145 -0
  108. package/get-shit-done/templates/config.json +14 -3
  109. package/get-shit-done/templates/context.md +61 -6
  110. package/get-shit-done/templates/debug-subagent-prompt.md +2 -6
  111. package/get-shit-done/templates/dev-preferences.md +21 -0
  112. package/get-shit-done/templates/discussion-log.md +63 -0
  113. package/get-shit-done/templates/phase-prompt.md +46 -5
  114. package/get-shit-done/templates/planner-subagent-prompt.md +2 -10
  115. package/get-shit-done/templates/project.md +2 -0
  116. package/get-shit-done/templates/state.md +2 -2
  117. package/get-shit-done/templates/user-profile.md +146 -0
  118. package/get-shit-done/workflows/add-phase.md +4 -4
  119. package/get-shit-done/workflows/add-tests.md +4 -4
  120. package/get-shit-done/workflows/add-todo.md +4 -4
  121. package/get-shit-done/workflows/analyze-dependencies.md +96 -0
  122. package/get-shit-done/workflows/audit-milestone.md +20 -16
  123. package/get-shit-done/workflows/audit-uat.md +109 -0
  124. package/get-shit-done/workflows/autonomous.md +1036 -0
  125. package/get-shit-done/workflows/check-todos.md +4 -4
  126. package/get-shit-done/workflows/cleanup.md +4 -4
  127. package/get-shit-done/workflows/complete-milestone.md +22 -10
  128. package/get-shit-done/workflows/diagnose-issues.md +21 -7
  129. package/get-shit-done/workflows/discovery-phase.md +2 -2
  130. package/get-shit-done/workflows/discuss-phase-assumptions.md +671 -0
  131. package/get-shit-done/workflows/discuss-phase-power.md +291 -0
  132. package/get-shit-done/workflows/discuss-phase.md +558 -47
  133. package/get-shit-done/workflows/do.md +104 -0
  134. package/get-shit-done/workflows/docs-update.md +1093 -0
  135. package/get-shit-done/workflows/execute-phase.md +741 -58
  136. package/get-shit-done/workflows/execute-plan.md +77 -12
  137. package/get-shit-done/workflows/fast.md +105 -0
  138. package/get-shit-done/workflows/forensics.md +265 -0
  139. package/get-shit-done/workflows/health.md +28 -6
  140. package/get-shit-done/workflows/help.md +127 -7
  141. package/get-shit-done/workflows/insert-phase.md +4 -4
  142. package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
  143. package/get-shit-done/workflows/list-workspaces.md +56 -0
  144. package/get-shit-done/workflows/manager.md +363 -0
  145. package/get-shit-done/workflows/map-codebase.md +83 -44
  146. package/get-shit-done/workflows/milestone-summary.md +223 -0
  147. package/get-shit-done/workflows/new-milestone.md +133 -25
  148. package/get-shit-done/workflows/new-project.md +216 -54
  149. package/get-shit-done/workflows/new-workspace.md +237 -0
  150. package/get-shit-done/workflows/next.md +97 -0
  151. package/get-shit-done/workflows/node-repair.md +92 -0
  152. package/get-shit-done/workflows/note.md +156 -0
  153. package/get-shit-done/workflows/pause-work.md +132 -15
  154. package/get-shit-done/workflows/plan-milestone-gaps.md +6 -7
  155. package/get-shit-done/workflows/plan-phase.md +513 -62
  156. package/get-shit-done/workflows/plant-seed.md +169 -0
  157. package/get-shit-done/workflows/pr-branch.md +129 -0
  158. package/get-shit-done/workflows/profile-user.md +450 -0
  159. package/get-shit-done/workflows/progress.md +154 -29
  160. package/get-shit-done/workflows/quick.md +285 -111
  161. package/get-shit-done/workflows/remove-phase.md +2 -2
  162. package/get-shit-done/workflows/remove-workspace.md +90 -0
  163. package/get-shit-done/workflows/research-phase.md +13 -9
  164. package/get-shit-done/workflows/resume-project.md +37 -18
  165. package/get-shit-done/workflows/review.md +281 -0
  166. package/get-shit-done/workflows/secure-phase.md +154 -0
  167. package/get-shit-done/workflows/session-report.md +146 -0
  168. package/get-shit-done/workflows/set-profile.md +2 -2
  169. package/get-shit-done/workflows/settings.md +91 -11
  170. package/get-shit-done/workflows/ship.md +237 -0
  171. package/get-shit-done/workflows/stats.md +60 -0
  172. package/get-shit-done/workflows/transition.md +150 -23
  173. package/get-shit-done/workflows/ui-phase.md +292 -0
  174. package/get-shit-done/workflows/ui-review.md +183 -0
  175. package/get-shit-done/workflows/update.md +262 -30
  176. package/get-shit-done/workflows/validate-phase.md +14 -17
  177. package/get-shit-done/workflows/verify-phase.md +143 -11
  178. package/get-shit-done/workflows/verify-work.md +141 -39
  179. package/package.json +1 -1
  180. package/skills/gsd-audit-milestone/SKILL.md +29 -0
  181. package/skills/gsd-cleanup/SKILL.md +19 -0
  182. package/skills/gsd-complete-milestone/SKILL.md +131 -0
  183. package/skills/gsd-discuss-phase/SKILL.md +54 -0
  184. package/skills/gsd-execute-phase/SKILL.md +49 -0
  185. package/skills/gsd-plan-phase/SKILL.md +37 -0
  186. package/skills/gsd-ui-phase/SKILL.md +24 -0
  187. package/skills/gsd-ui-review/SKILL.md +24 -0
  188. package/skills/gsd-verify-work/SKILL.md +30 -0
@@ -0,0 +1,38 @@
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] [--OpenCode] [--codex] [--opencode] [--all]"
5
+ permissions:
6
+ read: true
7
+ write: true
8
+ bash: true
9
+ glob: true
10
+ grep: true
11
+ ---
12
+
13
+ <objective>
14
+ Invoke external AI CLIs (Gemini, OpenCode, Codex, OpenCode) 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
+ @$HOME/.config/opencode/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
+ - `--OpenCode` — Include OpenCode CLI review (uses separate session)
31
+ - `--codex` — Include Codex CLI review
32
+ - `--opencode` — Include OpenCode review (uses model from user's OpenCode config)
33
+ - `--all` — Include all available CLIs
34
+ </context>
35
+
36
+ <process>
37
+ Execute the review workflow from @$HOME/.config/opencode/get-shit-done/workflows/review.md end-to-end.
38
+ </process>
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: gsd-secure-phase
3
+ description: Retroactively verify threat mitigations for a completed phase
4
+ argument-hint: "[phase number]"
5
+ permissions:
6
+ read: true
7
+ write: true
8
+ edit: true
9
+ bash: true
10
+ glob: true
11
+ grep: true
12
+ task: true
13
+ question: true
14
+ ---
15
+ <objective>
16
+ Verify threat mitigations for a completed phase. Three states:
17
+ - (A) SECURITY.md exists — audit and verify mitigations
18
+ - (B) No SECURITY.md, PLAN.md with threat model exists — run from artifacts
19
+ - (C) Phase not executed — exit with guidance
20
+
21
+ Output: updated SECURITY.md.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @$HOME/.config/opencode/get-shit-done/workflows/secure-phase.md
26
+ </execution_context>
27
+
28
+ <context>
29
+ Phase: $ARGUMENTS — optional, defaults to last completed phase.
30
+ </context>
31
+
32
+ <process>
33
+ Execute @$HOME/.config/opencode/get-shit-done/workflows/secure-phase.md.
34
+ Preserve all workflow gates.
35
+ </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
+ permissions:
5
+ read: true
6
+ bash: true
7
+ write: true
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
+ @$HOME/.config/opencode/get-shit-done/workflows/session-report.md
15
+ </execution_context>
16
+
17
+ <process>
18
+ Execute the session-report workflow from @$HOME/.config/opencode/get-shit-done/workflows/session-report.md end-to-end.
19
+ </process>
@@ -1,34 +1,35 @@
1
1
  ---
2
2
  name: gsd-set-profile
3
- description: Switch model profile for GSD agents (simple/smart/genius)
4
- argument-hint: <profile>
3
+ description: Switch model profile for GSD agents (simple/smart/genius/inherit)
4
+ argument-hint: <profile (simple|smart|genius|inherit)>
5
+ model: haiku
5
6
  permissions:
6
- read: true
7
- write: true
8
7
  bash: true
9
8
  ---
10
9
 
10
+
11
+
11
12
  <objective>
12
- Switch the model profile used by GSD agents. Controls which OpenCode model each agent uses, balancing quality vs token spend.
13
+ Switch the model profile used by GSD agents. Controls which OpenCode model each agent uses, balancing quality vs token spend.
13
14
 
14
- Routes to the set-profile workflow which handles:
15
- - Argument validation (simple/smart/genius)
16
- - Config file creation if missing
17
- - Profile update in config.json
18
- - Confirmation with model table display
19
- </objective>
15
+ Routes to the set-profile workflow which handles:
16
+ - Argument validation (simple/smart/genius)
17
+ - Config file creation if missing
18
+ - Profile update in config.json
19
+ - Confirmation with model table display
20
+ </objective>
20
21
 
21
- <execution_context>
22
- @$HOME/.config/opencode/get-shit-done/workflows/oc-set-profile.md
23
- </execution_context>
22
+ <execution_context>
23
+ @$HOME/.config/opencode/get-shit-done/workflows/oc-set-profile.md
24
+ </execution_context>
24
25
 
25
- <process>
26
- **Follow the set-profile workflow** from `@$HOME/.config/opencode/get-shit-done/workflows/oc-set-profile.md`.
26
+ <process>
27
+ **Follow the set-profile workflow** from `@$HOME/.config/opencode/get-shit-done/workflows/oc-set-profile.md`.
27
28
 
28
- The workflow handles all logic including:
29
- 1. Profile argument validation
30
- 2. Config file ensuring
31
- 3. Config reading and updating
32
- 4. Model table generation from MODEL_PROFILES
33
- 5. Confirmation display
34
- </process>
29
+ The workflow handles all logic including:
30
+ 1. Profile argument validation
31
+ 2. Config file ensuring
32
+ 3. Config reading and updating
33
+ 4. Model table generation from MODEL_PROFILES
34
+ 5. Confirmation display
35
+ </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
+ permissions:
6
+ read: true
7
+ bash: true
8
+ grep: true
9
+ glob: true
10
+ write: true
11
+ question: true
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
+ @$HOME/.config/opencode/get-shit-done/workflows/ship.md
21
+ </execution_context>
22
+
23
+ Execute the ship workflow from @$HOME/.config/opencode/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
+ permissions:
5
+ read: true
6
+ bash: true
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
+ @$HOME/.config/opencode/get-shit-done/workflows/stats.md
14
+ </execution_context>
15
+
16
+ <process>
17
+ Execute the stats workflow from @$HOME/.config/opencode/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
+ permissions:
6
+ read: true
7
+ write: true
8
+ bash: true
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/.config/opencode/get-shit-done/bin/gsd-tools.cjs" generate-slug "$ARGUMENTS" --raw)
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/.config/opencode/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
+ permissions:
6
+ read: true
7
+ write: true
8
+ bash: true
9
+ glob: true
10
+ grep: true
11
+ task: true
12
+ webfetch: true
13
+ question: true
14
+ mcp__context7__*: true
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
+ @$HOME/.config/opencode/get-shit-done/workflows/ui-phase.md
24
+ @$HOME/.config/opencode/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 @$HOME/.config/opencode/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
+ permissions:
6
+ read: true
7
+ write: true
8
+ bash: true
9
+ glob: true
10
+ grep: true
11
+ task: true
12
+ question: true
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
+ @$HOME/.config/opencode/get-shit-done/workflows/ui-review.md
22
+ @$HOME/.config/opencode/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 @$HOME/.config/opencode/get-shit-done/workflows/ui-review.md end-to-end.
31
+ Preserve all workflow gates.
32
+ </process>
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: gsd-workstreams
3
+ description: Manage parallel workstreams — list, create, switch, status, progress, complete, and resume
4
+ permissions:
5
+ read: true
6
+ bash: true
7
+ ---
8
+
9
+ # /gsd-workstreams
10
+
11
+ <objective>
12
+ Manage parallel workstreams for concurrent milestone work.
13
+ </objective>
14
+
15
+ ## Usage
16
+
17
+ `/gsd-workstreams [subcommand] [args]`
18
+
19
+ ### Subcommands
20
+
21
+ | Command | Description |
22
+ |---------|-------------|
23
+ | `list` | List all workstreams with status |
24
+ | `create <name>` | Create a new workstream |
25
+ | `status <name>` | Detailed status for one workstream |
26
+ | `switch <name>` | Set active workstream |
27
+ | `progress` | Progress summary across all workstreams |
28
+ | `complete <name>` | Archive a completed workstream |
29
+ | `resume <name>` | Resume work in a workstream |
30
+
31
+ ## Step 1: Parse Subcommand
32
+
33
+ Parse the user's input to determine which workstream operation to perform.
34
+ If no subcommand given, default to `list`.
35
+
36
+ ## Step 2: Execute Operation
37
+
38
+ ### list
39
+ Run: `node "$GSD_TOOLS" workstream list --raw --cwd "$CWD"`
40
+ Display the workstreams in a table format showing name, status, current phase, and progress.
41
+
42
+ ### create
43
+ Run: `node "$GSD_TOOLS" workstream create <name> --raw --cwd "$CWD"`
44
+ After creation, display the new workstream path and suggest next steps:
45
+ - `/gsd-new-milestone --ws <name>` to set up the milestone
46
+
47
+ ### status
48
+ Run: `node "$GSD_TOOLS" workstream status <name> --raw --cwd "$CWD"`
49
+ Display detailed phase breakdown and state information.
50
+
51
+ ### switch
52
+ Run: `node "$GSD_TOOLS" workstream set <name> --raw --cwd "$CWD"`
53
+ Also set `GSD_WORKSTREAM` for the current session when the runtime supports it.
54
+ If the runtime exposes a session identifier, GSD also stores the active workstream
55
+ session-locally so concurrent sessions do not overwrite each other.
56
+
57
+ ### progress
58
+ Run: `node "$GSD_TOOLS" workstream progress --raw --cwd "$CWD"`
59
+ Display a progress overview across all workstreams.
60
+
61
+ ### complete
62
+ Run: `node "$GSD_TOOLS" workstream complete <name> --raw --cwd "$CWD"`
63
+ Archive the workstream to milestones/.
64
+
65
+ ### resume
66
+ Set the workstream as active and suggest `/gsd-resume-work --ws <name>`.
67
+
68
+ ## Step 3: Display Results
69
+
70
+ Format the JSON output from gsd-tools into a human-readable display.
71
+ Include the `${GSD_WS}` flag in any routing suggestions.