@bhargavvc/sdd-cc 1.30.0 → 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.
- package/README.ja-JP.md +144 -110
- package/README.ko-KR.md +143 -107
- package/README.md +183 -112
- package/README.pt-BR.md +90 -52
- package/README.zh-CN.md +141 -101
- package/agents/sdd-advisor-researcher.md +23 -0
- package/agents/sdd-ai-researcher.md +133 -0
- package/agents/sdd-code-fixer.md +516 -0
- package/agents/sdd-code-reviewer.md +355 -0
- package/agents/sdd-codebase-mapper.md +3 -3
- package/agents/sdd-debugger.md +17 -5
- package/agents/sdd-doc-verifier.md +201 -0
- package/agents/sdd-doc-writer.md +602 -0
- package/agents/sdd-domain-researcher.md +153 -0
- package/agents/sdd-eval-auditor.md +164 -0
- package/agents/sdd-eval-planner.md +154 -0
- package/agents/sdd-executor.md +87 -4
- package/agents/sdd-framework-selector.md +160 -0
- package/agents/sdd-intel-updater.md +314 -0
- package/agents/sdd-nyquist-auditor.md +1 -1
- package/agents/sdd-phase-researcher.md +71 -4
- package/agents/sdd-plan-checker.md +100 -6
- package/agents/sdd-planner.md +145 -206
- package/agents/sdd-project-researcher.md +25 -2
- package/agents/sdd-research-synthesizer.md +3 -3
- package/agents/sdd-roadmapper.md +6 -6
- package/agents/sdd-security-auditor.md +128 -0
- package/agents/sdd-ui-auditor.md +43 -3
- package/agents/sdd-ui-checker.md +5 -5
- package/agents/sdd-ui-researcher.md +27 -4
- package/agents/sdd-user-profiler.md +2 -2
- package/agents/sdd-verifier.md +142 -22
- package/bin/install.js +2151 -551
- package/commands/sdd/add-backlog.md +5 -5
- package/commands/sdd/add-tests.md +2 -2
- package/commands/sdd/ai-integration-phase.md +36 -0
- package/commands/sdd/analyze-dependencies.md +34 -0
- package/commands/sdd/audit-fix.md +33 -0
- package/commands/sdd/autonomous.md +7 -2
- package/commands/sdd/cleanup.md +5 -0
- package/commands/sdd/code-review-fix.md +52 -0
- package/commands/sdd/code-review.md +55 -0
- package/commands/sdd/complete-milestone.md +6 -6
- package/commands/sdd/debug.md +22 -9
- package/commands/sdd/discuss-phase.md +7 -2
- package/commands/sdd/do.md +1 -1
- package/commands/sdd/docs-update.md +48 -0
- package/commands/sdd/eval-review.md +32 -0
- package/commands/sdd/execute-phase.md +4 -0
- package/commands/sdd/explore.md +27 -0
- package/commands/sdd/fast.md +2 -2
- package/commands/sdd/from-sdd2.md +45 -0
- package/commands/sdd/help.md +2 -0
- package/commands/sdd/import.md +36 -0
- package/commands/sdd/intel.md +179 -0
- package/commands/sdd/join-discord.md +2 -1
- package/commands/sdd/manager.md +1 -0
- package/commands/sdd/map-codebase.md +3 -3
- package/commands/sdd/new-milestone.md +1 -1
- package/commands/sdd/new-project.md +5 -1
- package/commands/sdd/new-workspace.md +1 -1
- package/commands/sdd/next.md +2 -0
- package/commands/sdd/plan-milestone-gaps.md +2 -2
- package/commands/sdd/plan-phase.md +6 -1
- package/commands/sdd/plant-seed.md +1 -1
- package/commands/sdd/profile-user.md +1 -1
- package/commands/sdd/quick.md +5 -3
- package/commands/sdd/reapply-patches.md +230 -42
- package/commands/sdd/research-phase.md +3 -3
- package/commands/sdd/review-backlog.md +1 -0
- package/commands/sdd/review.md +6 -3
- package/commands/sdd/scan.md +26 -0
- package/commands/sdd/secure-phase.md +35 -0
- package/commands/sdd/ship.md +1 -1
- package/commands/sdd/thread.md +5 -5
- package/commands/sdd/undo.md +34 -0
- package/commands/sdd/verify-work.md +1 -1
- package/commands/sdd/workstreams.md +17 -11
- package/hooks/dist/sdd-check-update.js +33 -8
- package/hooks/dist/sdd-context-monitor.js +17 -8
- package/hooks/dist/sdd-phase-boundary.sh +27 -0
- package/hooks/dist/sdd-prompt-guard.js +1 -0
- package/hooks/dist/sdd-read-guard.js +82 -0
- package/hooks/dist/sdd-session-state.sh +33 -0
- package/hooks/dist/sdd-statusline.js +137 -15
- package/hooks/dist/sdd-validate-commit.sh +47 -0
- package/hooks/dist/sdd-workflow-guard.js +4 -4
- package/hooks/sdd-check-update.js +139 -0
- package/hooks/sdd-context-monitor.js +165 -0
- package/hooks/sdd-phase-boundary.sh +27 -0
- package/hooks/sdd-prompt-guard.js +97 -0
- package/hooks/sdd-read-guard.js +82 -0
- package/hooks/sdd-session-state.sh +33 -0
- package/hooks/sdd-statusline.js +241 -0
- package/hooks/sdd-validate-commit.sh +47 -0
- package/hooks/sdd-workflow-guard.js +94 -0
- package/package.json +3 -3
- package/scripts/build-hooks.js +18 -7
- package/scripts/prompt-injection-scan.sh +1 -0
- package/scripts/rebrand-gsd-to-sdd.sh +221 -220
- package/scripts/run-tests.cjs +5 -1
- package/scripts/sync-upstream.sh +1 -1
- package/sdd/bin/lib/commands.cjs +79 -17
- package/sdd/bin/lib/config.cjs +90 -48
- package/sdd/bin/lib/core.cjs +452 -87
- package/sdd/bin/lib/docs.cjs +267 -0
- package/sdd/bin/lib/frontmatter.cjs +381 -336
- package/sdd/bin/lib/init.cjs +110 -16
- package/sdd/bin/lib/intel.cjs +660 -0
- package/sdd/bin/lib/learnings.cjs +378 -0
- package/sdd/bin/lib/milestone.cjs +42 -11
- package/sdd/bin/lib/model-profiles.cjs +17 -15
- package/sdd/bin/lib/phase.cjs +367 -288
- package/sdd/bin/lib/profile-output.cjs +106 -10
- package/sdd/bin/lib/roadmap.cjs +146 -115
- package/sdd/bin/lib/schema-detect.cjs +238 -0
- package/sdd/bin/lib/sdd2-import.cjs +511 -0
- package/sdd/bin/lib/security.cjs +124 -3
- package/sdd/bin/lib/state.cjs +648 -264
- package/sdd/bin/lib/template.cjs +8 -4
- package/sdd/bin/lib/verify.cjs +209 -28
- package/sdd/bin/lib/workstream.cjs +7 -3
- package/sdd/bin/sdd-tools.cjs +184 -12
- package/sdd/contexts/dev.md +21 -0
- package/sdd/contexts/research.md +22 -0
- package/sdd/contexts/review.md +22 -0
- package/sdd/references/agent-contracts.md +79 -0
- package/sdd/references/ai-evals.md +156 -0
- package/sdd/references/ai-frameworks.md +186 -0
- package/sdd/references/artifact-types.md +113 -0
- package/sdd/references/common-bug-patterns.md +114 -0
- package/sdd/references/context-budget.md +49 -0
- package/sdd/references/continuation-format.md +25 -25
- package/sdd/references/domain-probes.md +125 -0
- package/sdd/references/few-shot-examples/plan-checker.md +73 -0
- package/sdd/references/few-shot-examples/verifier.md +109 -0
- package/sdd/references/gate-prompts.md +100 -0
- package/sdd/references/gates.md +70 -0
- package/sdd/references/git-integration.md +1 -1
- package/sdd/references/ios-scaffold.md +123 -0
- package/sdd/references/model-profile-resolution.md +2 -0
- package/sdd/references/model-profiles.md +24 -18
- package/sdd/references/planner-gap-closure.md +62 -0
- package/sdd/references/planner-reviews.md +39 -0
- package/sdd/references/planner-revision.md +87 -0
- package/sdd/references/planning-config.md +252 -0
- package/sdd/references/revision-loop.md +97 -0
- package/sdd/references/thinking-models-debug.md +44 -0
- package/sdd/references/thinking-models-execution.md +50 -0
- package/sdd/references/thinking-models-planning.md +62 -0
- package/sdd/references/thinking-models-research.md +50 -0
- package/sdd/references/thinking-models-verification.md +55 -0
- package/sdd/references/thinking-partner.md +96 -0
- package/sdd/references/ui-brand.md +4 -4
- package/sdd/references/universal-anti-patterns.md +63 -0
- package/sdd/references/verification-overrides.md +227 -0
- package/sdd/references/workstream-flag.md +56 -3
- package/sdd/templates/AI-SPEC.md +246 -0
- package/sdd/templates/DEBUG.md +1 -1
- package/sdd/templates/SECURITY.md +61 -0
- package/sdd/templates/UAT.md +4 -4
- package/sdd/templates/VALIDATION.md +4 -4
- package/sdd/templates/claude-md.md +32 -9
- package/sdd/templates/config.json +4 -0
- package/sdd/templates/debug-subagent-prompt.md +1 -1
- package/sdd/templates/dev-preferences.md +1 -1
- package/sdd/templates/discovery.md +2 -2
- package/sdd/templates/phase-prompt.md +1 -1
- package/sdd/templates/planner-subagent-prompt.md +3 -3
- package/sdd/templates/project.md +1 -1
- package/sdd/templates/research.md +1 -1
- package/sdd/templates/state.md +2 -2
- package/sdd/workflows/add-phase.md +8 -8
- package/sdd/workflows/add-tests.md +12 -9
- package/sdd/workflows/add-todo.md +5 -3
- package/sdd/workflows/ai-integration-phase.md +284 -0
- package/sdd/workflows/analyze-dependencies.md +96 -0
- package/sdd/workflows/audit-fix.md +157 -0
- package/sdd/workflows/audit-milestone.md +11 -11
- package/sdd/workflows/audit-uat.md +2 -2
- package/sdd/workflows/autonomous.md +195 -27
- package/sdd/workflows/check-todos.md +12 -10
- package/sdd/workflows/cleanup.md +2 -0
- package/sdd/workflows/code-review-fix.md +497 -0
- package/sdd/workflows/code-review.md +515 -0
- package/sdd/workflows/complete-milestone.md +56 -22
- package/sdd/workflows/diagnose-issues.md +10 -3
- package/sdd/workflows/discovery-phase.md +5 -3
- package/sdd/workflows/discuss-phase-assumptions.md +24 -6
- package/sdd/workflows/discuss-phase-power.md +291 -0
- package/sdd/workflows/discuss-phase.md +173 -21
- package/sdd/workflows/do.md +23 -21
- package/sdd/workflows/docs-update.md +1155 -0
- package/sdd/workflows/eval-review.md +155 -0
- package/sdd/workflows/execute-phase.md +594 -38
- package/sdd/workflows/execute-plan.md +67 -96
- package/sdd/workflows/explore.md +139 -0
- package/sdd/workflows/fast.md +5 -5
- package/sdd/workflows/forensics.md +2 -2
- package/sdd/workflows/health.md +4 -4
- package/sdd/workflows/help.md +122 -119
- package/sdd/workflows/import.md +276 -0
- package/sdd/workflows/inbox.md +387 -0
- package/sdd/workflows/insert-phase.md +7 -7
- package/sdd/workflows/list-phase-assumptions.md +4 -4
- package/sdd/workflows/list-workspaces.md +2 -2
- package/sdd/workflows/manager.md +35 -32
- package/sdd/workflows/map-codebase.md +7 -5
- package/sdd/workflows/milestone-summary.md +2 -2
- package/sdd/workflows/new-milestone.md +17 -9
- package/sdd/workflows/new-project.md +50 -25
- package/sdd/workflows/new-workspace.md +7 -5
- package/sdd/workflows/next.md +67 -11
- package/sdd/workflows/note.md +9 -7
- package/sdd/workflows/pause-work.md +75 -12
- package/sdd/workflows/plan-milestone-gaps.md +8 -8
- package/sdd/workflows/plan-phase.md +294 -42
- package/sdd/workflows/plant-seed.md +6 -3
- package/sdd/workflows/pr-branch.md +42 -14
- package/sdd/workflows/profile-user.md +9 -7
- package/sdd/workflows/progress.md +45 -45
- package/sdd/workflows/quick.md +195 -47
- package/sdd/workflows/remove-phase.md +6 -6
- package/sdd/workflows/remove-workspace.md +3 -1
- package/sdd/workflows/research-phase.md +2 -2
- package/sdd/workflows/resume-project.md +12 -12
- package/sdd/workflows/review.md +109 -9
- package/sdd/workflows/scan.md +102 -0
- package/sdd/workflows/secure-phase.md +166 -0
- package/sdd/workflows/session-report.md +2 -2
- package/sdd/workflows/settings.md +38 -12
- package/sdd/workflows/ship.md +21 -9
- package/sdd/workflows/stats.md +1 -1
- package/sdd/workflows/transition.md +23 -23
- package/sdd/workflows/ui-phase.md +15 -7
- package/sdd/workflows/ui-review.md +29 -4
- package/sdd/workflows/undo.md +314 -0
- package/sdd/workflows/update.md +171 -20
- package/sdd/workflows/validate-phase.md +6 -4
- package/sdd/workflows/verify-phase.md +210 -6
- package/sdd/workflows/verify-work.md +83 -9
- 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/
|
|
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>
|
package/commands/sdd/manager.md
CHANGED
|
@@ -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
|
|
34
|
-
- After /sdd
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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>
|
package/commands/sdd/next.md
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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>
|
package/commands/sdd/quick.md
CHANGED
|
@@ -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
|
|
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
|
-
|
|
33
|
+
Granular flags are composable: `--discuss --research --validate` gives the same result as `--full`.
|
|
32
34
|
</objective>
|
|
33
35
|
|
|
34
36
|
<execution_context>
|