@bhargavvc/sdd-cc 1.30.1 → 1.35.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 (242) hide show
  1. package/README.ja-JP.md +144 -110
  2. package/README.ko-KR.md +143 -107
  3. package/README.md +183 -112
  4. package/README.pt-BR.md +90 -52
  5. package/README.zh-CN.md +141 -101
  6. package/agents/sdd-advisor-researcher.md +23 -0
  7. package/agents/sdd-ai-researcher.md +133 -0
  8. package/agents/sdd-code-fixer.md +516 -0
  9. package/agents/sdd-code-reviewer.md +355 -0
  10. package/agents/sdd-codebase-mapper.md +3 -3
  11. package/agents/sdd-debugger.md +17 -5
  12. package/agents/sdd-doc-verifier.md +201 -0
  13. package/agents/sdd-doc-writer.md +602 -0
  14. package/agents/sdd-domain-researcher.md +153 -0
  15. package/agents/sdd-eval-auditor.md +164 -0
  16. package/agents/sdd-eval-planner.md +154 -0
  17. package/agents/sdd-executor.md +87 -4
  18. package/agents/sdd-framework-selector.md +160 -0
  19. package/agents/sdd-intel-updater.md +314 -0
  20. package/agents/sdd-nyquist-auditor.md +1 -1
  21. package/agents/sdd-phase-researcher.md +71 -4
  22. package/agents/sdd-plan-checker.md +100 -6
  23. package/agents/sdd-planner.md +145 -206
  24. package/agents/sdd-project-researcher.md +25 -2
  25. package/agents/sdd-research-synthesizer.md +3 -3
  26. package/agents/sdd-roadmapper.md +6 -6
  27. package/agents/sdd-security-auditor.md +128 -0
  28. package/agents/sdd-ui-auditor.md +43 -3
  29. package/agents/sdd-ui-checker.md +5 -5
  30. package/agents/sdd-ui-researcher.md +27 -4
  31. package/agents/sdd-user-profiler.md +2 -2
  32. package/agents/sdd-verifier.md +142 -22
  33. package/bin/install.js +2145 -545
  34. package/commands/sdd/add-backlog.md +5 -5
  35. package/commands/sdd/add-tests.md +2 -2
  36. package/commands/sdd/ai-integration-phase.md +36 -0
  37. package/commands/sdd/analyze-dependencies.md +34 -0
  38. package/commands/sdd/audit-fix.md +33 -0
  39. package/commands/sdd/autonomous.md +7 -2
  40. package/commands/sdd/cleanup.md +5 -0
  41. package/commands/sdd/code-review-fix.md +52 -0
  42. package/commands/sdd/code-review.md +55 -0
  43. package/commands/sdd/complete-milestone.md +6 -6
  44. package/commands/sdd/debug.md +22 -9
  45. package/commands/sdd/discuss-phase.md +7 -2
  46. package/commands/sdd/do.md +1 -1
  47. package/commands/sdd/docs-update.md +48 -0
  48. package/commands/sdd/eval-review.md +32 -0
  49. package/commands/sdd/execute-phase.md +4 -0
  50. package/commands/sdd/explore.md +27 -0
  51. package/commands/sdd/fast.md +2 -2
  52. package/commands/sdd/from-sdd2.md +45 -0
  53. package/commands/sdd/help.md +2 -0
  54. package/commands/sdd/import.md +36 -0
  55. package/commands/sdd/intel.md +179 -0
  56. package/commands/sdd/join-discord.md +2 -1
  57. package/commands/sdd/manager.md +1 -0
  58. package/commands/sdd/map-codebase.md +3 -3
  59. package/commands/sdd/new-milestone.md +1 -1
  60. package/commands/sdd/new-project.md +5 -1
  61. package/commands/sdd/new-workspace.md +1 -1
  62. package/commands/sdd/next.md +2 -0
  63. package/commands/sdd/plan-milestone-gaps.md +2 -2
  64. package/commands/sdd/plan-phase.md +6 -1
  65. package/commands/sdd/plant-seed.md +1 -1
  66. package/commands/sdd/profile-user.md +1 -1
  67. package/commands/sdd/quick.md +5 -3
  68. package/commands/sdd/reapply-patches.md +230 -42
  69. package/commands/sdd/research-phase.md +3 -3
  70. package/commands/sdd/review-backlog.md +1 -0
  71. package/commands/sdd/review.md +6 -3
  72. package/commands/sdd/scan.md +26 -0
  73. package/commands/sdd/secure-phase.md +35 -0
  74. package/commands/sdd/ship.md +1 -1
  75. package/commands/sdd/thread.md +5 -5
  76. package/commands/sdd/undo.md +34 -0
  77. package/commands/sdd/verify-work.md +1 -1
  78. package/commands/sdd/workstreams.md +17 -11
  79. package/hooks/dist/sdd-check-update.js +33 -8
  80. package/hooks/dist/sdd-context-monitor.js +17 -8
  81. package/hooks/dist/sdd-phase-boundary.sh +27 -0
  82. package/hooks/dist/sdd-prompt-guard.js +1 -0
  83. package/hooks/dist/sdd-read-guard.js +82 -0
  84. package/hooks/dist/sdd-session-state.sh +33 -0
  85. package/hooks/dist/sdd-statusline.js +137 -15
  86. package/hooks/dist/sdd-validate-commit.sh +47 -0
  87. package/hooks/dist/sdd-workflow-guard.js +4 -4
  88. package/hooks/sdd-check-update.js +139 -0
  89. package/hooks/sdd-context-monitor.js +165 -0
  90. package/hooks/sdd-phase-boundary.sh +27 -0
  91. package/hooks/sdd-prompt-guard.js +97 -0
  92. package/hooks/sdd-read-guard.js +82 -0
  93. package/hooks/sdd-session-state.sh +33 -0
  94. package/hooks/sdd-statusline.js +241 -0
  95. package/hooks/sdd-validate-commit.sh +47 -0
  96. package/hooks/sdd-workflow-guard.js +94 -0
  97. package/package.json +3 -3
  98. package/scripts/build-hooks.js +18 -7
  99. package/scripts/prompt-injection-scan.sh +1 -0
  100. package/scripts/rebrand-gsd-to-sdd.sh +221 -220
  101. package/scripts/run-tests.cjs +5 -1
  102. package/scripts/sync-upstream.sh +1 -1
  103. package/sdd/bin/lib/commands.cjs +79 -17
  104. package/sdd/bin/lib/config.cjs +90 -48
  105. package/sdd/bin/lib/core.cjs +452 -87
  106. package/sdd/bin/lib/docs.cjs +267 -0
  107. package/sdd/bin/lib/frontmatter.cjs +381 -336
  108. package/sdd/bin/lib/init.cjs +110 -16
  109. package/sdd/bin/lib/intel.cjs +660 -0
  110. package/sdd/bin/lib/learnings.cjs +378 -0
  111. package/sdd/bin/lib/milestone.cjs +42 -11
  112. package/sdd/bin/lib/model-profiles.cjs +17 -15
  113. package/sdd/bin/lib/phase.cjs +367 -288
  114. package/sdd/bin/lib/profile-output.cjs +106 -10
  115. package/sdd/bin/lib/roadmap.cjs +146 -115
  116. package/sdd/bin/lib/schema-detect.cjs +238 -0
  117. package/sdd/bin/lib/sdd2-import.cjs +511 -0
  118. package/sdd/bin/lib/security.cjs +124 -3
  119. package/sdd/bin/lib/state.cjs +648 -264
  120. package/sdd/bin/lib/template.cjs +8 -4
  121. package/sdd/bin/lib/verify.cjs +209 -28
  122. package/sdd/bin/lib/workstream.cjs +7 -3
  123. package/sdd/bin/sdd-tools.cjs +184 -12
  124. package/sdd/contexts/dev.md +21 -0
  125. package/sdd/contexts/research.md +22 -0
  126. package/sdd/contexts/review.md +22 -0
  127. package/sdd/references/agent-contracts.md +79 -0
  128. package/sdd/references/ai-evals.md +156 -0
  129. package/sdd/references/ai-frameworks.md +186 -0
  130. package/sdd/references/artifact-types.md +113 -0
  131. package/sdd/references/common-bug-patterns.md +114 -0
  132. package/sdd/references/context-budget.md +49 -0
  133. package/sdd/references/continuation-format.md +25 -25
  134. package/sdd/references/domain-probes.md +125 -0
  135. package/sdd/references/few-shot-examples/plan-checker.md +73 -0
  136. package/sdd/references/few-shot-examples/verifier.md +109 -0
  137. package/sdd/references/gate-prompts.md +100 -0
  138. package/sdd/references/gates.md +70 -0
  139. package/sdd/references/git-integration.md +1 -1
  140. package/sdd/references/ios-scaffold.md +123 -0
  141. package/sdd/references/model-profile-resolution.md +2 -0
  142. package/sdd/references/model-profiles.md +24 -18
  143. package/sdd/references/planner-gap-closure.md +62 -0
  144. package/sdd/references/planner-reviews.md +39 -0
  145. package/sdd/references/planner-revision.md +87 -0
  146. package/sdd/references/planning-config.md +252 -0
  147. package/sdd/references/revision-loop.md +97 -0
  148. package/sdd/references/thinking-models-debug.md +44 -0
  149. package/sdd/references/thinking-models-execution.md +50 -0
  150. package/sdd/references/thinking-models-planning.md +62 -0
  151. package/sdd/references/thinking-models-research.md +50 -0
  152. package/sdd/references/thinking-models-verification.md +55 -0
  153. package/sdd/references/thinking-partner.md +96 -0
  154. package/sdd/references/ui-brand.md +4 -4
  155. package/sdd/references/universal-anti-patterns.md +63 -0
  156. package/sdd/references/verification-overrides.md +227 -0
  157. package/sdd/references/workstream-flag.md +56 -3
  158. package/sdd/templates/AI-SPEC.md +246 -0
  159. package/sdd/templates/DEBUG.md +1 -1
  160. package/sdd/templates/SECURITY.md +61 -0
  161. package/sdd/templates/UAT.md +4 -4
  162. package/sdd/templates/VALIDATION.md +4 -4
  163. package/sdd/templates/claude-md.md +32 -9
  164. package/sdd/templates/config.json +4 -0
  165. package/sdd/templates/debug-subagent-prompt.md +1 -1
  166. package/sdd/templates/dev-preferences.md +1 -1
  167. package/sdd/templates/discovery.md +2 -2
  168. package/sdd/templates/phase-prompt.md +1 -1
  169. package/sdd/templates/planner-subagent-prompt.md +3 -3
  170. package/sdd/templates/project.md +1 -1
  171. package/sdd/templates/research.md +1 -1
  172. package/sdd/templates/state.md +2 -2
  173. package/sdd/workflows/add-phase.md +8 -8
  174. package/sdd/workflows/add-tests.md +12 -9
  175. package/sdd/workflows/add-todo.md +5 -3
  176. package/sdd/workflows/ai-integration-phase.md +284 -0
  177. package/sdd/workflows/analyze-dependencies.md +96 -0
  178. package/sdd/workflows/audit-fix.md +157 -0
  179. package/sdd/workflows/audit-milestone.md +11 -11
  180. package/sdd/workflows/audit-uat.md +2 -2
  181. package/sdd/workflows/autonomous.md +195 -27
  182. package/sdd/workflows/check-todos.md +12 -10
  183. package/sdd/workflows/cleanup.md +2 -0
  184. package/sdd/workflows/code-review-fix.md +497 -0
  185. package/sdd/workflows/code-review.md +515 -0
  186. package/sdd/workflows/complete-milestone.md +56 -22
  187. package/sdd/workflows/diagnose-issues.md +10 -3
  188. package/sdd/workflows/discovery-phase.md +5 -3
  189. package/sdd/workflows/discuss-phase-assumptions.md +24 -6
  190. package/sdd/workflows/discuss-phase-power.md +291 -0
  191. package/sdd/workflows/discuss-phase.md +173 -21
  192. package/sdd/workflows/do.md +23 -21
  193. package/sdd/workflows/docs-update.md +1155 -0
  194. package/sdd/workflows/eval-review.md +155 -0
  195. package/sdd/workflows/execute-phase.md +594 -38
  196. package/sdd/workflows/execute-plan.md +67 -96
  197. package/sdd/workflows/explore.md +139 -0
  198. package/sdd/workflows/fast.md +5 -5
  199. package/sdd/workflows/forensics.md +2 -2
  200. package/sdd/workflows/health.md +4 -4
  201. package/sdd/workflows/help.md +122 -119
  202. package/sdd/workflows/import.md +276 -0
  203. package/sdd/workflows/inbox.md +387 -0
  204. package/sdd/workflows/insert-phase.md +7 -7
  205. package/sdd/workflows/list-phase-assumptions.md +4 -4
  206. package/sdd/workflows/list-workspaces.md +2 -2
  207. package/sdd/workflows/manager.md +35 -32
  208. package/sdd/workflows/map-codebase.md +7 -5
  209. package/sdd/workflows/milestone-summary.md +2 -2
  210. package/sdd/workflows/new-milestone.md +17 -9
  211. package/sdd/workflows/new-project.md +50 -25
  212. package/sdd/workflows/new-workspace.md +7 -5
  213. package/sdd/workflows/next.md +67 -11
  214. package/sdd/workflows/note.md +9 -7
  215. package/sdd/workflows/pause-work.md +75 -12
  216. package/sdd/workflows/plan-milestone-gaps.md +8 -8
  217. package/sdd/workflows/plan-phase.md +294 -42
  218. package/sdd/workflows/plant-seed.md +6 -3
  219. package/sdd/workflows/pr-branch.md +42 -14
  220. package/sdd/workflows/profile-user.md +9 -7
  221. package/sdd/workflows/progress.md +45 -45
  222. package/sdd/workflows/quick.md +195 -47
  223. package/sdd/workflows/remove-phase.md +6 -6
  224. package/sdd/workflows/remove-workspace.md +3 -1
  225. package/sdd/workflows/research-phase.md +2 -2
  226. package/sdd/workflows/resume-project.md +12 -12
  227. package/sdd/workflows/review.md +109 -9
  228. package/sdd/workflows/scan.md +102 -0
  229. package/sdd/workflows/secure-phase.md +166 -0
  230. package/sdd/workflows/session-report.md +2 -2
  231. package/sdd/workflows/settings.md +38 -12
  232. package/sdd/workflows/ship.md +21 -9
  233. package/sdd/workflows/stats.md +1 -1
  234. package/sdd/workflows/transition.md +23 -23
  235. package/sdd/workflows/ui-phase.md +15 -7
  236. package/sdd/workflows/ui-review.md +29 -4
  237. package/sdd/workflows/undo.md +314 -0
  238. package/sdd/workflows/update.md +171 -20
  239. package/sdd/workflows/validate-phase.md +6 -4
  240. package/sdd/workflows/verify-phase.md +210 -6
  241. package/sdd/workflows/verify-work.md +83 -9
  242. package/sdd/commands/sdd/workstreams.md +0 -63
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: sdd:import
3
+ description: Ingest external plans with conflict detection against project decisions before writing anything.
4
+ argument-hint: "--from <filepath>"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - AskUserQuestion
13
+ - Task
14
+ ---
15
+
16
+ <objective>
17
+ Import external plan files into the SDD planning system with conflict detection against PROJECT.md decisions.
18
+
19
+ - **--from**: Import an external plan file, detect conflicts, write as SDD PLAN.md, validate via sdd-plan-checker.
20
+
21
+ Future: `--prd` mode for PRD extraction is planned for a follow-up PR.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/sdd/workflows/import.md
26
+ @~/.claude/sdd/references/ui-brand.md
27
+ @~/.claude/sdd/references/gate-prompts.md
28
+ </execution_context>
29
+
30
+ <context>
31
+ $ARGUMENTS
32
+ </context>
33
+
34
+ <process>
35
+ Execute the import workflow end-to-end.
36
+ </process>
@@ -0,0 +1,179 @@
1
+ ---
2
+ name: sdd:intel
3
+ description: "Query, inspect, or refresh codebase intelligence files in .planning/intel/"
4
+ argument-hint: "[query <term>|status|diff|refresh]"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Task
9
+ ---
10
+
11
+ **STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.**
12
+
13
+ ## Step 0 -- Banner
14
+
15
+ **Before ANY tool calls**, display this banner:
16
+
17
+ ```
18
+ SDD > INTEL
19
+ ```
20
+
21
+ Then proceed to Step 1.
22
+
23
+ ## Step 1 -- Config Gate
24
+
25
+ Check if intel is enabled by reading `.planning/config.json` directly using the Read tool.
26
+
27
+ **DO NOT use the sdd-tools config get-value command** -- it hard-exits on missing keys.
28
+
29
+ 1. Read `.planning/config.json` using the Read tool
30
+ 2. If the file does not exist: display the disabled message below and **STOP**
31
+ 3. Parse the JSON content. Check if `config.intel && config.intel.enabled === true`
32
+ 4. If `intel.enabled` is NOT explicitly `true`: display the disabled message below and **STOP**
33
+ 5. If `intel.enabled` is `true`: proceed to Step 2
34
+
35
+ **Disabled message:**
36
+
37
+ ```
38
+ SDD > INTEL
39
+
40
+ Intel system is disabled. To activate:
41
+
42
+ node $HOME/.claude/sdd/bin/sdd-tools.cjs config-set intel.enabled true
43
+
44
+ Then run /sdd-intel refresh to build the initial index.
45
+ ```
46
+
47
+ ---
48
+
49
+ ## Step 2 -- Parse Argument
50
+
51
+ Parse `$ARGUMENTS` to determine the operation mode:
52
+
53
+ | Argument | Action |
54
+ |----------|--------|
55
+ | `query <term>` | Run inline query (Step 2a) |
56
+ | `status` | Run inline status check (Step 2b) |
57
+ | `diff` | Run inline diff check (Step 2c) |
58
+ | `refresh` | Spawn intel-updater agent (Step 3) |
59
+ | No argument or unknown | Show usage message |
60
+
61
+ **Usage message** (shown when no argument or unrecognized argument):
62
+
63
+ ```
64
+ SDD > INTEL
65
+
66
+ Usage: /sdd-intel <mode>
67
+
68
+ Modes:
69
+ query <term> Search intel files for a term
70
+ status Show intel file freshness and staleness
71
+ diff Show changes since last snapshot
72
+ refresh Rebuild all intel files from codebase analysis
73
+ ```
74
+
75
+ ### Step 2a -- Query
76
+
77
+ Run:
78
+
79
+ ```bash
80
+ node $HOME/.claude/sdd/bin/sdd-tools.cjs intel query <term>
81
+ ```
82
+
83
+ Parse the JSON output and display results:
84
+ - If the output contains `"disabled": true`, display the disabled message from Step 1 and **STOP**
85
+ - If no matches found, display: `No intel matches for '<term>'. Try /sdd-intel refresh to build the index.`
86
+ - Otherwise, display matching entries grouped by intel file
87
+
88
+ **STOP** after displaying results. Do not spawn an agent.
89
+
90
+ ### Step 2b -- Status
91
+
92
+ Run:
93
+
94
+ ```bash
95
+ node $HOME/.claude/sdd/bin/sdd-tools.cjs intel status
96
+ ```
97
+
98
+ Parse the JSON output and display each intel file with:
99
+ - File name
100
+ - Last `updated_at` timestamp
101
+ - STALE or FRESH status (stale if older than 24 hours or missing)
102
+
103
+ **STOP** after displaying status. Do not spawn an agent.
104
+
105
+ ### Step 2c -- Diff
106
+
107
+ Run:
108
+
109
+ ```bash
110
+ node $HOME/.claude/sdd/bin/sdd-tools.cjs intel diff
111
+ ```
112
+
113
+ Parse the JSON output and display:
114
+ - Added entries since last snapshot
115
+ - Removed entries since last snapshot
116
+ - Changed entries since last snapshot
117
+
118
+ If no snapshot exists, suggest running `refresh` first.
119
+
120
+ **STOP** after displaying diff. Do not spawn an agent.
121
+
122
+ ---
123
+
124
+ ## Step 3 -- Refresh (Agent Spawn)
125
+
126
+ Display before spawning:
127
+
128
+ ```
129
+ SDD > Spawning intel-updater agent to analyze codebase...
130
+ ```
131
+
132
+ Spawn a Task:
133
+
134
+ ```
135
+ Task(
136
+ description="Refresh codebase intelligence files",
137
+ prompt="You are the sdd-intel-updater agent. Your job is to analyze this codebase and write/update intelligence files in .planning/intel/.
138
+
139
+ Project root: ${CWD}
140
+ sdd-tools path: $HOME/.claude/sdd/bin/sdd-tools.cjs
141
+
142
+ Instructions:
143
+ 1. Analyze the codebase structure, dependencies, APIs, and architecture
144
+ 2. Write JSON intel files to .planning/intel/ (stack.json, api-map.json, dependency-graph.json, file-roles.json, arch-decisions.json)
145
+ 3. Each file must have a _meta object with updated_at timestamp
146
+ 4. Use sdd-tools intel extract-exports <file> to analyze source files
147
+ 5. Use sdd-tools intel patch-meta <file> to update timestamps after writing
148
+ 6. Use sdd-tools intel validate to check your output
149
+
150
+ When complete, output: ## INTEL UPDATE COMPLETE
151
+ If something fails, output: ## INTEL UPDATE FAILED with details."
152
+ )
153
+ ```
154
+
155
+ Wait for the agent to complete.
156
+
157
+ ---
158
+
159
+ ## Step 4 -- Post-Refresh Summary
160
+
161
+ After the agent completes, run:
162
+
163
+ ```bash
164
+ node $HOME/.claude/sdd/bin/sdd-tools.cjs intel status
165
+ ```
166
+
167
+ Display a summary showing:
168
+ - Which intel files were written or updated
169
+ - Last update timestamps
170
+ - Overall health of the intel index
171
+
172
+ ---
173
+
174
+ ## Anti-Patterns
175
+
176
+ 1. DO NOT spawn an agent for query/status/diff operations -- these are inline CLI calls
177
+ 2. DO NOT modify intel files directly -- the agent handles writes during refresh
178
+ 3. DO NOT skip the config gate check
179
+ 4. DO NOT use the sdd-tools config get-value CLI for the config gate -- it exits on missing keys
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: sdd:join-discord
3
3
  description: Join the SDD Discord community
4
+ allowed-tools: []
4
5
  ---
5
6
 
6
7
  <objective>
@@ -12,7 +13,7 @@ Display the Discord invite link for the SDD community server.
12
13
 
13
14
  Connect with other SDD users, get help, share what you're building, and stay updated.
14
15
 
15
- **Invite link:** https://discord.gg/sdd
16
+ **Invite link:** https://discord.gg/mYgfVNfA2r
16
17
 
17
18
  Click the link or paste it into your browser to join.
18
19
  </output>
@@ -8,6 +8,7 @@ allowed-tools:
8
8
  - Glob
9
9
  - Grep
10
10
  - AskUserQuestion
11
+ - Skill
11
12
  - Task
12
13
  ---
13
14
  <objective>
@@ -30,8 +30,8 @@ Focus area: $ARGUMENTS (optional - if provided, tells agents to focus on specifi
30
30
  Check for .planning/STATE.md - loads context if project already initialized
31
31
 
32
32
  **This command can run:**
33
- - Before /sdd:new-project (brownfield codebases) - creates codebase map first
34
- - After /sdd:new-project (greenfield codebases) - updates codebase map as code evolves
33
+ - Before /sdd-new-project (brownfield codebases) - creates codebase map first
34
+ - After /sdd-new-project (greenfield codebases) - updates codebase map as code evolves
35
35
  - Anytime to refresh codebase understanding
36
36
  </context>
37
37
 
@@ -59,7 +59,7 @@ Check for .planning/STATE.md - loads context if project already initialized
59
59
  4. Wait for agents to complete, collect confirmations (NOT document contents)
60
60
  5. Verify all 7 documents exist with line counts
61
61
  6. Commit codebase map
62
- 7. Offer next steps (typically: /sdd:new-project or /sdd:plan-phase)
62
+ 7. Offer next steps (typically: /sdd-new-project or /sdd-plan-phase)
63
63
  </process>
64
64
 
65
65
  <success_criteria>
@@ -21,7 +21,7 @@ Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Ga
21
21
  - `.planning/ROADMAP.md` — phase structure (continues numbering)
22
22
  - `.planning/STATE.md` — reset for new milestone
23
23
 
24
- **After:** `/sdd:plan-phase [N]` to start execution.
24
+ **After:** `/sdd-plan-phase [N]` to start execution.
25
25
  </objective>
26
26
 
27
27
  <execution_context>
@@ -9,6 +9,10 @@ allowed-tools:
9
9
  - Task
10
10
  - AskUserQuestion
11
11
  ---
12
+ <runtime_note>
13
+ **Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
14
+ </runtime_note>
15
+
12
16
  <context>
13
17
  **Flags:**
14
18
  - `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
@@ -25,7 +29,7 @@ Initialize a new project through unified flow: questioning → research (optiona
25
29
  - `.planning/ROADMAP.md` — phase structure
26
30
  - `.planning/STATE.md` — project memory
27
31
 
28
- **After this command:** Run `/sdd:plan-phase 1` to start execution.
32
+ **After this command:** Run `/sdd-plan-phase 1` to start execution.
29
33
  </objective>
30
34
 
31
35
  <execution_context>
@@ -30,7 +30,7 @@ Create a physical workspace directory containing copies of specified git repos (
30
30
  - `<path>/.planning/` — independent planning directory
31
31
  - `<path>/<repo>/` — git worktree or clone for each specified repo
32
32
 
33
- **After this command:** `cd` into the workspace and run `/sdd:new-project` to initialize SDD.
33
+ **After this command:** `cd` into the workspace and run `/sdd-new-project` to initialize SDD.
34
34
  </objective>
35
35
 
36
36
  <execution_context>
@@ -13,6 +13,8 @@ Detect the current project state and automatically invoke the next logical SDD w
13
13
  No arguments needed — reads STATE.md, ROADMAP.md, and phase directories to determine what comes next.
14
14
 
15
15
  Designed for rapid multi-project workflows where remembering which phase/step you're on is overhead.
16
+
17
+ Supports `--force` flag to bypass safety gates (checkpoint, error state, verification failures).
16
18
  </objective>
17
19
 
18
20
  <execution_context>
@@ -10,11 +10,11 @@ allowed-tools:
10
10
  - AskUserQuestion
11
11
  ---
12
12
  <objective>
13
- Create all phases necessary to close gaps identified by `/sdd:audit-milestone`.
13
+ Create all phases necessary to close gaps identified by `/sdd-audit-milestone`.
14
14
 
15
15
  Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase.
16
16
 
17
- One command creates all fix phases — no manual `/sdd:add-phase` per gap.
17
+ One command creates all fix phases — no manual `/sdd-add-phase` per gap.
18
18
  </objective>
19
19
 
20
20
  <execution_context>
@@ -10,6 +10,7 @@ allowed-tools:
10
10
  - Glob
11
11
  - Grep
12
12
  - Task
13
+ - AskUserQuestion
13
14
  - WebFetch
14
15
  - mcp__context7__*
15
16
  ---
@@ -26,6 +27,10 @@ Create executable phase prompts (PLAN.md files) for a roadmap phase with integra
26
27
  @~/.claude/sdd/references/ui-brand.md
27
28
  </execution_context>
28
29
 
30
+ <runtime_note>
31
+ **Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API. Do not skip questioning steps because `AskUserQuestion` appears unavailable; use `vscode_askquestions` instead.
32
+ </runtime_note>
33
+
29
34
  <context>
30
35
  Phase number: $ARGUMENTS (optional — auto-detects next unplanned phase if omitted)
31
36
 
@@ -35,7 +40,7 @@ Phase number: $ARGUMENTS (optional — auto-detects next unplanned phase if omit
35
40
  - `--gaps` — Gap closure mode (reads VERIFICATION.md, skips research)
36
41
  - `--skip-verify` — Skip verification loop
37
42
  - `--prd <file>` — Use a PRD/acceptance criteria file instead of discuss-phase. Parses requirements into CONTEXT.md automatically. Skips discuss-phase entirely.
38
- - `--reviews` — Replan incorporating cross-AI review feedback from REVIEWS.md (produced by `/sdd:review`)
43
+ - `--reviews` — Replan incorporating cross-AI review feedback from REVIEWS.md (produced by `/sdd-review`)
39
44
  - `--text` — Use plain-text numbered lists instead of TUI menus (required for `/rc` remote sessions)
40
45
 
41
46
  Normalize phase input in step 2 before any directory lookups.
@@ -16,7 +16,7 @@ milestone arrives. Seeds solve context rot: instead of a one-liner in Deferred t
16
16
  reads, a seed preserves the full WHY, WHEN to surface, and breadcrumbs to details.
17
17
 
18
18
  Creates: .planning/seeds/SEED-NNN-slug.md
19
- Consumed by: /sdd:new-milestone (scans seeds and presents matches)
19
+ Consumed by: /sdd-new-milestone (scans seeds and presents matches)
20
20
  </objective>
21
21
 
22
22
  <execution_context>
@@ -13,7 +13,7 @@ allowed-tools:
13
13
  ---
14
14
 
15
15
  <objective>
16
- Generate a developer behavioral profile from session analysis (or questionnaire) and produce artifacts (USER-PROFILE.md, /sdd:dev-preferences, CLAUDE.md section) that personalize Claude's responses.
16
+ Generate a developer behavioral profile from session analysis (or questionnaire) and produce artifacts (USER-PROFILE.md, /sdd-dev-preferences, CLAUDE.md section) that personalize Claude's responses.
17
17
 
18
18
  Routes to the profile-user workflow which orchestrates the full flow: consent gate, session analysis or questionnaire fallback, profile generation, result display, and artifact selection.
19
19
  </objective>
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: sdd:quick
3
3
  description: Execute a quick task with SDD guarantees (atomic commits, state tracking) but skip optional agents
4
- argument-hint: "[--full] [--discuss] [--research]"
4
+ argument-hint: "[--full] [--validate] [--discuss] [--research]"
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Write
@@ -24,11 +24,13 @@ Quick mode is the same system with a shorter path:
24
24
 
25
25
  **`--discuss` flag:** Lightweight discussion phase before planning. Surfaces assumptions, clarifies gray areas, captures decisions in CONTEXT.md. Use when the task has ambiguity worth resolving upfront.
26
26
 
27
- **`--full` flag:** Enables plan-checking (max 2 iterations) and post-execution verification. Use when you want quality guarantees without full milestone ceremony.
27
+ **`--full` flag:** Enables the complete quality pipeline discussion + research + plan-checking + verification. One flag for everything.
28
+
29
+ **`--validate` flag:** Enables plan-checking (max 2 iterations) and post-execution verification only. Use when you want quality guarantees without discussion or research.
28
30
 
29
31
  **`--research` flag:** Spawns a focused research agent before planning. Investigates implementation approaches, library options, and pitfalls for the task. Use when you're unsure of the best approach.
30
32
 
31
- Flags are composable: `--discuss --research --full` gives discussion + research + plan-checking + verification.
33
+ Granular flags are composable: `--discuss --research --validate` gives the same result as `--full`.
32
34
  </objective>
33
35
 
34
36
  <execution_context>