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.
- package/agents/gsd-advisor-researcher.md +112 -0
- package/agents/gsd-assumptions-analyzer.md +110 -0
- package/agents/gsd-codebase-mapper.md +0 -2
- package/agents/gsd-debugger.md +117 -2
- package/agents/gsd-doc-verifier.md +207 -0
- package/agents/gsd-doc-writer.md +608 -0
- package/agents/gsd-executor.md +45 -4
- package/agents/gsd-integration-checker.md +0 -2
- package/agents/gsd-nyquist-auditor.md +0 -2
- package/agents/gsd-phase-researcher.md +191 -5
- package/agents/gsd-plan-checker.md +152 -5
- package/agents/gsd-planner.md +131 -157
- package/agents/gsd-project-researcher.md +28 -3
- package/agents/gsd-research-synthesizer.md +0 -2
- package/agents/gsd-roadmapper.md +29 -2
- package/agents/gsd-security-auditor.md +129 -0
- package/agents/gsd-ui-auditor.md +485 -0
- package/agents/gsd-ui-checker.md +305 -0
- package/agents/gsd-ui-researcher.md +368 -0
- package/agents/gsd-user-profiler.md +173 -0
- package/agents/gsd-verifier.md +207 -22
- package/commands/gsd/gsd-add-backlog.md +76 -0
- package/commands/gsd/gsd-analyze-dependencies.md +34 -0
- package/commands/gsd/gsd-audit-uat.md +24 -0
- package/commands/gsd/gsd-autonomous.md +45 -0
- package/commands/gsd/gsd-cleanup.md +5 -0
- package/commands/gsd/gsd-debug.md +29 -21
- package/commands/gsd/gsd-discuss-phase.md +15 -36
- package/commands/gsd/gsd-do.md +30 -0
- package/commands/gsd/gsd-docs-update.md +48 -0
- package/commands/gsd/gsd-execute-phase.md +24 -2
- package/commands/gsd/gsd-fast.md +30 -0
- package/commands/gsd/gsd-forensics.md +56 -0
- package/commands/gsd/gsd-help.md +2 -0
- package/commands/gsd/gsd-join-discord.md +2 -1
- package/commands/gsd/gsd-list-workspaces.md +19 -0
- package/commands/gsd/gsd-manager.md +40 -0
- package/commands/gsd/gsd-milestone-summary.md +51 -0
- package/commands/gsd/gsd-new-project.md +4 -0
- package/commands/gsd/gsd-new-workspace.md +44 -0
- package/commands/gsd/gsd-next.md +24 -0
- package/commands/gsd/gsd-note.md +34 -0
- package/commands/gsd/gsd-plan-phase.md +8 -1
- package/commands/gsd/gsd-plant-seed.md +28 -0
- package/commands/gsd/gsd-pr-branch.md +25 -0
- package/commands/gsd/gsd-profile-user.md +46 -0
- package/commands/gsd/gsd-quick.md +7 -3
- package/commands/gsd/gsd-reapply-patches.md +178 -45
- package/commands/gsd/gsd-remove-workspace.md +26 -0
- package/commands/gsd/gsd-research-phase.md +7 -12
- package/commands/gsd/gsd-review-backlog.md +62 -0
- package/commands/gsd/gsd-review.md +38 -0
- package/commands/gsd/gsd-secure-phase.md +35 -0
- package/commands/gsd/gsd-session-report.md +19 -0
- package/commands/gsd/gsd-set-profile.md +24 -23
- package/commands/gsd/gsd-ship.md +23 -0
- package/commands/gsd/gsd-stats.md +18 -0
- package/commands/gsd/gsd-thread.md +127 -0
- package/commands/gsd/gsd-ui-phase.md +34 -0
- package/commands/gsd/gsd-ui-review.md +32 -0
- package/commands/gsd/gsd-workstreams.md +71 -0
- package/get-shit-done/bin/gsd-tools.cjs +450 -90
- package/get-shit-done/bin/lib/commands.cjs +489 -24
- package/get-shit-done/bin/lib/config.cjs +329 -48
- package/get-shit-done/bin/lib/core.cjs +1143 -102
- package/get-shit-done/bin/lib/docs.cjs +267 -0
- package/get-shit-done/bin/lib/frontmatter.cjs +125 -43
- package/get-shit-done/bin/lib/init.cjs +918 -106
- package/get-shit-done/bin/lib/milestone.cjs +65 -33
- package/get-shit-done/bin/lib/model-profiles.cjs +70 -0
- package/get-shit-done/bin/lib/phase.cjs +434 -404
- package/get-shit-done/bin/lib/profile-output.cjs +1048 -0
- package/get-shit-done/bin/lib/profile-pipeline.cjs +539 -0
- package/get-shit-done/bin/lib/roadmap.cjs +156 -101
- package/get-shit-done/bin/lib/schema-detect.cjs +238 -0
- package/get-shit-done/bin/lib/security.cjs +384 -0
- package/get-shit-done/bin/lib/state.cjs +711 -79
- package/get-shit-done/bin/lib/template.cjs +2 -2
- package/get-shit-done/bin/lib/uat.cjs +282 -0
- package/get-shit-done/bin/lib/verify.cjs +254 -42
- package/get-shit-done/bin/lib/workstream.cjs +495 -0
- package/get-shit-done/references/agent-contracts.md +79 -0
- package/get-shit-done/references/artifact-types.md +113 -0
- package/get-shit-done/references/checkpoints.md +12 -10
- package/get-shit-done/references/context-budget.md +49 -0
- package/get-shit-done/references/continuation-format.md +15 -15
- package/get-shit-done/references/decimal-phase-calculation.md +2 -3
- package/get-shit-done/references/domain-probes.md +125 -0
- package/get-shit-done/references/gate-prompts.md +100 -0
- package/get-shit-done/references/git-integration.md +47 -0
- package/get-shit-done/references/model-profile-resolution.md +2 -0
- package/get-shit-done/references/model-profiles.md +62 -16
- package/get-shit-done/references/phase-argument-parsing.md +2 -2
- package/get-shit-done/references/planner-gap-closure.md +62 -0
- package/get-shit-done/references/planner-reviews.md +39 -0
- package/get-shit-done/references/planner-revision.md +87 -0
- package/get-shit-done/references/planning-config.md +18 -1
- package/get-shit-done/references/revision-loop.md +97 -0
- package/get-shit-done/references/ui-brand.md +2 -2
- package/get-shit-done/references/universal-anti-patterns.md +58 -0
- package/get-shit-done/references/user-profiling.md +681 -0
- package/get-shit-done/references/workstream-flag.md +111 -0
- package/get-shit-done/templates/SECURITY.md +61 -0
- package/get-shit-done/templates/UAT.md +21 -3
- package/get-shit-done/templates/UI-SPEC.md +100 -0
- package/get-shit-done/templates/VALIDATION.md +3 -3
- package/get-shit-done/templates/claude-md.md +145 -0
- package/get-shit-done/templates/config.json +14 -3
- package/get-shit-done/templates/context.md +61 -6
- package/get-shit-done/templates/debug-subagent-prompt.md +2 -6
- package/get-shit-done/templates/dev-preferences.md +21 -0
- package/get-shit-done/templates/discussion-log.md +63 -0
- package/get-shit-done/templates/phase-prompt.md +46 -5
- package/get-shit-done/templates/planner-subagent-prompt.md +2 -10
- package/get-shit-done/templates/project.md +2 -0
- package/get-shit-done/templates/state.md +2 -2
- package/get-shit-done/templates/user-profile.md +146 -0
- package/get-shit-done/workflows/add-phase.md +4 -4
- package/get-shit-done/workflows/add-tests.md +4 -4
- package/get-shit-done/workflows/add-todo.md +4 -4
- package/get-shit-done/workflows/analyze-dependencies.md +96 -0
- package/get-shit-done/workflows/audit-milestone.md +20 -16
- package/get-shit-done/workflows/audit-uat.md +109 -0
- package/get-shit-done/workflows/autonomous.md +1036 -0
- package/get-shit-done/workflows/check-todos.md +4 -4
- package/get-shit-done/workflows/cleanup.md +4 -4
- package/get-shit-done/workflows/complete-milestone.md +22 -10
- package/get-shit-done/workflows/diagnose-issues.md +21 -7
- package/get-shit-done/workflows/discovery-phase.md +2 -2
- package/get-shit-done/workflows/discuss-phase-assumptions.md +671 -0
- package/get-shit-done/workflows/discuss-phase-power.md +291 -0
- package/get-shit-done/workflows/discuss-phase.md +558 -47
- package/get-shit-done/workflows/do.md +104 -0
- package/get-shit-done/workflows/docs-update.md +1093 -0
- package/get-shit-done/workflows/execute-phase.md +741 -58
- package/get-shit-done/workflows/execute-plan.md +77 -12
- package/get-shit-done/workflows/fast.md +105 -0
- package/get-shit-done/workflows/forensics.md +265 -0
- package/get-shit-done/workflows/health.md +28 -6
- package/get-shit-done/workflows/help.md +127 -7
- package/get-shit-done/workflows/insert-phase.md +4 -4
- package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
- package/get-shit-done/workflows/list-workspaces.md +56 -0
- package/get-shit-done/workflows/manager.md +363 -0
- package/get-shit-done/workflows/map-codebase.md +83 -44
- package/get-shit-done/workflows/milestone-summary.md +223 -0
- package/get-shit-done/workflows/new-milestone.md +133 -25
- package/get-shit-done/workflows/new-project.md +216 -54
- package/get-shit-done/workflows/new-workspace.md +237 -0
- package/get-shit-done/workflows/next.md +97 -0
- package/get-shit-done/workflows/node-repair.md +92 -0
- package/get-shit-done/workflows/note.md +156 -0
- package/get-shit-done/workflows/pause-work.md +132 -15
- package/get-shit-done/workflows/plan-milestone-gaps.md +6 -7
- package/get-shit-done/workflows/plan-phase.md +513 -62
- package/get-shit-done/workflows/plant-seed.md +169 -0
- package/get-shit-done/workflows/pr-branch.md +129 -0
- package/get-shit-done/workflows/profile-user.md +450 -0
- package/get-shit-done/workflows/progress.md +154 -29
- package/get-shit-done/workflows/quick.md +285 -111
- package/get-shit-done/workflows/remove-phase.md +2 -2
- package/get-shit-done/workflows/remove-workspace.md +90 -0
- package/get-shit-done/workflows/research-phase.md +13 -9
- package/get-shit-done/workflows/resume-project.md +37 -18
- package/get-shit-done/workflows/review.md +281 -0
- package/get-shit-done/workflows/secure-phase.md +154 -0
- package/get-shit-done/workflows/session-report.md +146 -0
- package/get-shit-done/workflows/set-profile.md +2 -2
- package/get-shit-done/workflows/settings.md +91 -11
- package/get-shit-done/workflows/ship.md +237 -0
- package/get-shit-done/workflows/stats.md +60 -0
- package/get-shit-done/workflows/transition.md +150 -23
- package/get-shit-done/workflows/ui-phase.md +292 -0
- package/get-shit-done/workflows/ui-review.md +183 -0
- package/get-shit-done/workflows/update.md +262 -30
- package/get-shit-done/workflows/validate-phase.md +14 -17
- package/get-shit-done/workflows/verify-phase.md +143 -11
- package/get-shit-done/workflows/verify-work.md +141 -39
- package/package.json +1 -1
- package/skills/gsd-audit-milestone/SKILL.md +29 -0
- package/skills/gsd-cleanup/SKILL.md +19 -0
- package/skills/gsd-complete-milestone/SKILL.md +131 -0
- package/skills/gsd-discuss-phase/SKILL.md +54 -0
- package/skills/gsd-execute-phase/SKILL.md +49 -0
- package/skills/gsd-plan-phase/SKILL.md +37 -0
- package/skills/gsd-ui-phase/SKILL.md +24 -0
- package/skills/gsd-ui-review/SKILL.md +24 -0
- package/skills/gsd-verify-work/SKILL.md +30 -0
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
<
|
|
1
|
+
<objective>
|
|
2
2
|
Initialize a new project through unified flow: questioning, research (optional), requirements, roadmap. This is the most leveraged moment in any project — deep questioning here means better plans, better execution, better outcomes. One workflow takes you from idea to ready-for-planning.
|
|
3
|
-
</
|
|
3
|
+
</objective>
|
|
4
4
|
|
|
5
5
|
<required_reading>
|
|
6
6
|
read all files referenced by the invoking prompt's execution_context before starting.
|
|
7
7
|
</required_reading>
|
|
8
8
|
|
|
9
|
+
<available_agent_types>
|
|
10
|
+
Valid GSD subagent types (use exact names — do not fall back to 'general'):
|
|
11
|
+
- gsd-project-researcher — Researches project-level technical decisions
|
|
12
|
+
- gsd-research-synthesizer — Synthesizes findings from parallel research agents
|
|
13
|
+
- gsd-roadmapper — Creates phased execution roadmaps
|
|
14
|
+
</available_agent_types>
|
|
15
|
+
|
|
9
16
|
<auto_mode>
|
|
17
|
+
|
|
10
18
|
## Auto Mode Detection
|
|
11
19
|
|
|
12
20
|
Check if `--auto` flag is present in $ARGUMENTS.
|
|
13
21
|
|
|
14
22
|
**If auto mode:**
|
|
23
|
+
|
|
15
24
|
- Skip brownfield mapping offer (assume greenfield)
|
|
16
25
|
- Skip deep questioning (extract context from provided document)
|
|
17
26
|
- Config: YOLO mode is implicit (skip that question), but ask granularity/git/agents FIRST (Step 2a)
|
|
@@ -23,6 +32,7 @@ Check if `--auto` flag is present in $ARGUMENTS.
|
|
|
23
32
|
|
|
24
33
|
**Document requirement:**
|
|
25
34
|
Auto mode requires an idea document — either:
|
|
35
|
+
|
|
26
36
|
- File reference: `/gsd-new-project --auto @prd.md`
|
|
27
37
|
- Pasted/written text in the prompt
|
|
28
38
|
|
|
@@ -37,6 +47,7 @@ Usage:
|
|
|
37
47
|
|
|
38
48
|
The document should describe what you want to build.
|
|
39
49
|
```
|
|
50
|
+
|
|
40
51
|
</auto_mode>
|
|
41
52
|
|
|
42
53
|
<process>
|
|
@@ -48,13 +59,40 @@ The document should describe what you want to build.
|
|
|
48
59
|
```bash
|
|
49
60
|
INIT=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" init new-project)
|
|
50
61
|
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
|
62
|
+
AGENT_SKILLS_RESEARCHER=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" agent-skills gsd-project-researcher 2>/dev/null)
|
|
63
|
+
AGENT_SKILLS_SYNTHESIZER=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" agent-skills gsd-synthesizer 2>/dev/null)
|
|
64
|
+
AGENT_SKILLS_ROADMAPPER=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" agent-skills gsd-roadmapper 2>/dev/null)
|
|
51
65
|
```
|
|
52
66
|
|
|
53
67
|
Parse JSON for: `researcher_model`, `synthesizer_model`, `roadmapper_model`, `commit_docs`, `project_exists`, `has_codebase_map`, `planning_exists`, `has_existing_code`, `has_package_file`, `is_brownfield`, `needs_codebase_map`, `has_git`, `project_path`.
|
|
54
68
|
|
|
69
|
+
**Detect runtime and set instruction file name:**
|
|
70
|
+
|
|
71
|
+
Derive `RUNTIME` from the invoking prompt's `execution_context` path:
|
|
72
|
+
- Path contains `/.codex/` → `RUNTIME=codex`
|
|
73
|
+
- Path contains `/.gemini/` → `RUNTIME=gemini`
|
|
74
|
+
- Path contains `/.config/opencode/` or `/.opencode/` → `RUNTIME=opencode`
|
|
75
|
+
- Otherwise → `RUNTIME=OpenCode`
|
|
76
|
+
|
|
77
|
+
If `execution_context` path is not available, fall back to env vars:
|
|
78
|
+
```bash
|
|
79
|
+
if [ -n "$CODEX_HOME" ]; then RUNTIME="codex"
|
|
80
|
+
elif [ -n "$GEMINI_CONFIG_DIR" ]; then RUNTIME="gemini"
|
|
81
|
+
elif [ -n "$OPENCODE_CONFIG_DIR" ] || [ -n "$OPENCODE_CONFIG" ]; then RUNTIME="opencode"
|
|
82
|
+
else RUNTIME="OpenCode"; fi
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Set the instruction file variable:
|
|
86
|
+
```bash
|
|
87
|
+
if [ "$RUNTIME" = "codex" ]; then INSTRUCTION_FILE="AGENTS.md"; else INSTRUCTION_FILE="AGENTS.md"; fi
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
All subsequent references to the project instruction file use `$INSTRUCTION_FILE`.
|
|
91
|
+
|
|
55
92
|
**If `project_exists` is true:** Error — project already initialized. Use `/gsd-progress`.
|
|
56
93
|
|
|
57
94
|
**If `has_git` is false:** Initialize git:
|
|
95
|
+
|
|
58
96
|
```bash
|
|
59
97
|
git init
|
|
60
98
|
```
|
|
@@ -66,6 +104,7 @@ git init
|
|
|
66
104
|
**If `needs_codebase_map` is true** (from init — existing code detected but no codebase map):
|
|
67
105
|
|
|
68
106
|
Use question:
|
|
107
|
+
|
|
69
108
|
- header: "Codebase"
|
|
70
109
|
- question: "I detected existing code in this directory. Would you like to map the codebase first?"
|
|
71
110
|
- options:
|
|
@@ -73,9 +112,11 @@ Use question:
|
|
|
73
112
|
- "Skip mapping" — Proceed with project initialization
|
|
74
113
|
|
|
75
114
|
**If "Map codebase first":**
|
|
115
|
+
|
|
76
116
|
```
|
|
77
117
|
Run `/gsd-map-codebase` first, then return to `/gsd-new-project`
|
|
78
118
|
```
|
|
119
|
+
|
|
79
120
|
Exit command.
|
|
80
121
|
|
|
81
122
|
**If "Skip mapping" OR `needs_codebase_map` is false:** Continue to Step 3.
|
|
@@ -159,29 +200,18 @@ question([
|
|
|
159
200
|
options: [
|
|
160
201
|
{ label: "Smart (Recommended)", description: "Two models: one for reseach and planing, other for execution and verification" },
|
|
161
202
|
{ label: "Simple", description: Description: "One model for all agents (not flexible)" },
|
|
162
|
-
{ label: "Genius (most flexible)", description: "Three models: different for every stage" }
|
|
203
|
+
{ label: "Genius (most flexible)", description: "Three models: different for every stage" },
|
|
204
|
+
{ label: "Inherit", description: "Use the current session model for all agents (OpenCode /model)" }
|
|
163
205
|
]
|
|
164
206
|
}
|
|
165
207
|
])
|
|
166
208
|
```
|
|
167
209
|
|
|
168
|
-
Create `.planning/config.json` with
|
|
169
|
-
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
"granularity": "[selected]",
|
|
174
|
-
"parallelization": true|false,
|
|
175
|
-
"commit_docs": true|false,
|
|
176
|
-
"model_profile": "simple|smart|genius",
|
|
177
|
-
"workflow": {
|
|
178
|
-
"research": true|false,
|
|
179
|
-
"plan_check": true|false,
|
|
180
|
-
"verifier": true|false,
|
|
181
|
-
"nyquist_validation": depth !== "quick",
|
|
182
|
-
"auto_advance": true
|
|
183
|
-
}
|
|
184
|
-
}
|
|
210
|
+
Create `.planning/config.json` with all settings (CLI fills in remaining defaults automatically):
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
mkdir -p .planning
|
|
214
|
+
node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" config-new-project '{"mode":"yolo","granularity":"[selected]","parallelization":true|false,"commit_docs":true|false,"model_profile":"simple|smart|genius|inherit","workflow":{"research":true|false,"plan_check":true|false,"verifier":true|false,"nyquist_validation":true|false,"auto_advance":true}}'
|
|
185
215
|
```
|
|
186
216
|
|
|
187
217
|
**If commit_docs = No:** Add `.planning/` to `.gitignore`.
|
|
@@ -221,11 +251,20 @@ Ask inline (freeform, NOT question):
|
|
|
221
251
|
|
|
222
252
|
Wait for their response. This gives you the context needed to ask intelligent follow-up questions.
|
|
223
253
|
|
|
254
|
+
**Research-before-questions mode:** Check if `workflow.research_before_questions` is enabled in `.planning/config.json` (or the config from init context). When enabled, before asking follow-up questions about a topic area:
|
|
255
|
+
|
|
256
|
+
1. Do a brief web search for best practices related to what the user described
|
|
257
|
+
2. Mention key findings naturally as you ask questions (e.g., "Most projects like this use X — is that what you're thinking, or something different?")
|
|
258
|
+
3. This makes questions more informed without changing the conversational flow
|
|
259
|
+
|
|
260
|
+
When disabled (default), ask questions directly as before.
|
|
261
|
+
|
|
224
262
|
**Follow the thread:**
|
|
225
263
|
|
|
226
264
|
Based on what they said, ask follow-up questions that dig into their response. Use question with options that probe what they mentioned — interpretations, clarifications, concrete examples.
|
|
227
265
|
|
|
228
266
|
Keep following threads. Each answer opens new threads to explore. Ask about:
|
|
267
|
+
|
|
229
268
|
- What excited them
|
|
230
269
|
- What problem sparked this
|
|
231
270
|
- What they mean by vague terms
|
|
@@ -233,6 +272,7 @@ Keep following threads. Each answer opens new threads to explore. Ask about:
|
|
|
233
272
|
- What's already decided
|
|
234
273
|
|
|
235
274
|
Consult `questioning.md` for techniques:
|
|
275
|
+
|
|
236
276
|
- Challenge vagueness
|
|
237
277
|
- Make abstract concrete
|
|
238
278
|
- Surface assumptions
|
|
@@ -334,6 +374,27 @@ Initialize with any decisions made during questioning:
|
|
|
334
374
|
*Last updated: [date] after initialization*
|
|
335
375
|
```
|
|
336
376
|
|
|
377
|
+
**Evolution section** (include at the end of PROJECT.md, before the footer):
|
|
378
|
+
|
|
379
|
+
```markdown
|
|
380
|
+
## Evolution
|
|
381
|
+
|
|
382
|
+
This document evolves at phase transitions and milestone boundaries.
|
|
383
|
+
|
|
384
|
+
**After each phase transition** (via `/gsd-transition`):
|
|
385
|
+
1. Requirements invalidated? → Move to Out of Scope with reason
|
|
386
|
+
2. Requirements validated? → Move to Validated with phase reference
|
|
387
|
+
3. New requirements emerged? → Add to Active
|
|
388
|
+
4. Decisions to log? → Add to Key Decisions
|
|
389
|
+
5. "What This Is" still accurate? → Update if drifted
|
|
390
|
+
|
|
391
|
+
**After each milestone** (via `/gsd-complete-milestone`):
|
|
392
|
+
1. Full review of all sections
|
|
393
|
+
2. Core Value check — still the right priority?
|
|
394
|
+
3. Audit Out of Scope — reasons still valid?
|
|
395
|
+
4. Update Context with current state
|
|
396
|
+
```
|
|
397
|
+
|
|
337
398
|
Do not compress. Capture everything gathered.
|
|
338
399
|
|
|
339
400
|
**Commit PROJECT.md:**
|
|
@@ -459,35 +520,29 @@ questions: [
|
|
|
459
520
|
options: [
|
|
460
521
|
{ label: "Smart (Recommended)", description: "Two models: one for reseach and planing, other for execution and verification" },
|
|
461
522
|
{ label: "Simple", description: Description: "One model for all agents (not flexible)" },
|
|
462
|
-
{ label: "Genius (most flexible)", description: "Three models: different for every stage" }
|
|
523
|
+
{ label: "Genius (most flexible)", description: "Three models: different for every stage" },
|
|
524
|
+
{ label: "Inherit", description: "Use the current session model for all agents (OpenCode /model)" }
|
|
463
525
|
]
|
|
464
526
|
}
|
|
465
527
|
]
|
|
466
528
|
```
|
|
467
529
|
|
|
468
|
-
Create `.planning/config.json` with all settings:
|
|
469
|
-
|
|
470
|
-
```
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
"granularity": "coarse|standard|fine",
|
|
474
|
-
"parallelization": true|false,
|
|
475
|
-
"commit_docs": true|false,
|
|
476
|
-
"model_profile": "simple|smart|genius",
|
|
477
|
-
"workflow": {
|
|
478
|
-
"research": true|false,
|
|
479
|
-
"plan_check": true|false,
|
|
480
|
-
"verifier": true|false,
|
|
481
|
-
"nyquist_validation": depth !== "quick"
|
|
482
|
-
}
|
|
483
|
-
}
|
|
530
|
+
Create `.planning/config.json` with all settings (CLI fills in remaining defaults automatically):
|
|
531
|
+
|
|
532
|
+
```bash
|
|
533
|
+
mkdir -p .planning
|
|
534
|
+
node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" config-new-project '{"mode":"[yolo|interactive]","granularity":"[selected]","parallelization":true|false,"commit_docs":true|false,"model_profile":"simple|smart|genius|inherit","workflow":{"research":true|false,"plan_check":true|false,"verifier":true|false,"nyquist_validation":[false if granularity=coarse, true otherwise]}}'
|
|
484
535
|
```
|
|
485
536
|
|
|
537
|
+
**Note:** Run `/gsd-settings` anytime to update model profile, workflow agents, branching strategy, and other preferences.
|
|
538
|
+
|
|
486
539
|
**If commit_docs = No:**
|
|
540
|
+
|
|
487
541
|
- Set `commit_docs: false` in config.json
|
|
488
542
|
- Add `.planning/` to `.gitignore` (create if needed)
|
|
489
543
|
|
|
490
544
|
**If commit_docs = Yes:**
|
|
545
|
+
|
|
491
546
|
- No additional gitignore entries needed
|
|
492
547
|
|
|
493
548
|
**Commit config.json:**
|
|
@@ -496,7 +551,37 @@ Create `.planning/config.json` with all settings:
|
|
|
496
551
|
node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" commit "chore: add project config" --files .planning/config.json
|
|
497
552
|
```
|
|
498
553
|
|
|
499
|
-
|
|
554
|
+
## 5.1. Sub-Repo Detection
|
|
555
|
+
|
|
556
|
+
**Detect multi-repo workspace:**
|
|
557
|
+
|
|
558
|
+
Check for directories with their own `.git` folders (separate repos within the workspace):
|
|
559
|
+
|
|
560
|
+
```bash
|
|
561
|
+
find . -maxdepth 1 -type d -not -name ".*" -not -name "node_modules" -exec test -d "{}/.git" \; -print
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
**If sub-repos found:**
|
|
565
|
+
|
|
566
|
+
Strip the `./` prefix to get directory names (e.g., `./backend` → `backend`).
|
|
567
|
+
|
|
568
|
+
Use question:
|
|
569
|
+
|
|
570
|
+
- header: "Multi-Repo Workspace"
|
|
571
|
+
- question: "I detected separate git repos in this workspace. Which directories contain code that GSD should commit to?"
|
|
572
|
+
- multiSelect: true
|
|
573
|
+
- options: one option per detected directory
|
|
574
|
+
- "[directory name]" — Separate git repo
|
|
575
|
+
|
|
576
|
+
**If user selects one or more directories:**
|
|
577
|
+
|
|
578
|
+
- Set `planning.sub_repos` in config.json to the selected directory names array (e.g., `["backend", "frontend"]`)
|
|
579
|
+
- Auto-set `planning.commit_docs` to `false` (planning docs stay local in multi-repo workspaces)
|
|
580
|
+
- Add `.planning/` to `.gitignore` if not already present
|
|
581
|
+
|
|
582
|
+
Config changes are saved locally — no commit needed since `commit_docs` is `false` in multi-repo mode.
|
|
583
|
+
|
|
584
|
+
**If no sub-repos found or user selects none:** Continue with no changes to config.
|
|
500
585
|
|
|
501
586
|
## 5.5. Resolve Model Profile
|
|
502
587
|
|
|
@@ -507,6 +592,7 @@ Use models from init: `researcher_model`, `synthesizer_model`, `roadmapper_model
|
|
|
507
592
|
**If auto mode:** Default to "Research first" without asking.
|
|
508
593
|
|
|
509
594
|
Use question:
|
|
595
|
+
|
|
510
596
|
- header: "Research"
|
|
511
597
|
- question: "Research the domain ecosystem before defining requirements?"
|
|
512
598
|
- options:
|
|
@@ -516,6 +602,7 @@ Use question:
|
|
|
516
602
|
**If "Research first":**
|
|
517
603
|
|
|
518
604
|
Display stage banner:
|
|
605
|
+
|
|
519
606
|
```
|
|
520
607
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
521
608
|
GSD ► RESEARCHING
|
|
@@ -525,6 +612,7 @@ Researching [domain] ecosystem...
|
|
|
525
612
|
```
|
|
526
613
|
|
|
527
614
|
Create research directory:
|
|
615
|
+
|
|
528
616
|
```bash
|
|
529
617
|
mkdir -p .planning/research
|
|
530
618
|
```
|
|
@@ -532,10 +620,12 @@ mkdir -p .planning/research
|
|
|
532
620
|
**Determine milestone context:**
|
|
533
621
|
|
|
534
622
|
Check if this is greenfield or subsequent milestone:
|
|
623
|
+
|
|
535
624
|
- If no "Validated" requirements in PROJECT.md → Greenfield (building from scratch)
|
|
536
625
|
- If "Validated" requirements exist → Subsequent milestone (adding to existing app)
|
|
537
626
|
|
|
538
627
|
Display spawning indicator:
|
|
628
|
+
|
|
539
629
|
```
|
|
540
630
|
◆ Spawning 4 researchers in parallel...
|
|
541
631
|
→ Stack research
|
|
@@ -547,7 +637,7 @@ Display spawning indicator:
|
|
|
547
637
|
Spawn 4 parallel gsd-project-researcher agents with path references:
|
|
548
638
|
|
|
549
639
|
```
|
|
550
|
-
|
|
640
|
+
@gsd-project-researcher "<research_type>
|
|
551
641
|
Project Research — Stack dimension for [domain].
|
|
552
642
|
</research_type>
|
|
553
643
|
|
|
@@ -566,6 +656,8 @@ What's the standard 2025 stack for [domain]?
|
|
|
566
656
|
- {project_path} (Project context and goals)
|
|
567
657
|
</files_to_read>
|
|
568
658
|
|
|
659
|
+
${AGENT_SKILLS_RESEARCHER}
|
|
660
|
+
|
|
569
661
|
<downstream_consumer>
|
|
570
662
|
Your STACK.md feeds into roadmap creation. Be prescriptive:
|
|
571
663
|
- Specific libraries with versions
|
|
@@ -583,9 +675,9 @@ Your STACK.md feeds into roadmap creation. Be prescriptive:
|
|
|
583
675
|
write to: .planning/research/STACK.md
|
|
584
676
|
Use template: $HOME/.config/opencode/get-shit-done/templates/research-project/STACK.md
|
|
585
677
|
</output>
|
|
586
|
-
"
|
|
678
|
+
"
|
|
587
679
|
|
|
588
|
-
|
|
680
|
+
@gsd-project-researcher "<research_type>
|
|
589
681
|
Project Research — Features dimension for [domain].
|
|
590
682
|
</research_type>
|
|
591
683
|
|
|
@@ -604,6 +696,8 @@ What features do [domain] products have? What's table stakes vs differentiating?
|
|
|
604
696
|
- {project_path} (Project context)
|
|
605
697
|
</files_to_read>
|
|
606
698
|
|
|
699
|
+
${AGENT_SKILLS_RESEARCHER}
|
|
700
|
+
|
|
607
701
|
<downstream_consumer>
|
|
608
702
|
Your FEATURES.md feeds into requirements definition. Categorize clearly:
|
|
609
703
|
- Table stakes (must have or users leave)
|
|
@@ -621,9 +715,9 @@ Your FEATURES.md feeds into requirements definition. Categorize clearly:
|
|
|
621
715
|
write to: .planning/research/FEATURES.md
|
|
622
716
|
Use template: $HOME/.config/opencode/get-shit-done/templates/research-project/FEATURES.md
|
|
623
717
|
</output>
|
|
624
|
-
"
|
|
718
|
+
"
|
|
625
719
|
|
|
626
|
-
|
|
720
|
+
@gsd-project-researcher "<research_type>
|
|
627
721
|
Project Research — Architecture dimension for [domain].
|
|
628
722
|
</research_type>
|
|
629
723
|
|
|
@@ -642,6 +736,8 @@ How are [domain] systems typically structured? What are major components?
|
|
|
642
736
|
- {project_path} (Project context)
|
|
643
737
|
</files_to_read>
|
|
644
738
|
|
|
739
|
+
${AGENT_SKILLS_RESEARCHER}
|
|
740
|
+
|
|
645
741
|
<downstream_consumer>
|
|
646
742
|
Your ARCHITECTURE.md informs phase structure in roadmap. Include:
|
|
647
743
|
- Component boundaries (what talks to what)
|
|
@@ -659,9 +755,9 @@ Your ARCHITECTURE.md informs phase structure in roadmap. Include:
|
|
|
659
755
|
write to: .planning/research/ARCHITECTURE.md
|
|
660
756
|
Use template: $HOME/.config/opencode/get-shit-done/templates/research-project/ARCHITECTURE.md
|
|
661
757
|
</output>
|
|
662
|
-
"
|
|
758
|
+
"
|
|
663
759
|
|
|
664
|
-
|
|
760
|
+
@gsd-project-researcher "<research_type>
|
|
665
761
|
Project Research — Pitfalls dimension for [domain].
|
|
666
762
|
</research_type>
|
|
667
763
|
|
|
@@ -680,6 +776,8 @@ What do [domain] projects commonly get wrong? Critical mistakes?
|
|
|
680
776
|
- {project_path} (Project context)
|
|
681
777
|
</files_to_read>
|
|
682
778
|
|
|
779
|
+
${AGENT_SKILLS_RESEARCHER}
|
|
780
|
+
|
|
683
781
|
<downstream_consumer>
|
|
684
782
|
Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall:
|
|
685
783
|
- Warning signs (how to detect early)
|
|
@@ -697,13 +795,13 @@ Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall:
|
|
|
697
795
|
write to: .planning/research/PITFALLS.md
|
|
698
796
|
Use template: $HOME/.config/opencode/get-shit-done/templates/research-project/PITFALLS.md
|
|
699
797
|
</output>
|
|
700
|
-
"
|
|
798
|
+
"
|
|
701
799
|
```
|
|
702
800
|
|
|
703
801
|
After all 4 agents complete, spawn synthesizer to create SUMMARY.md:
|
|
704
802
|
|
|
705
803
|
```
|
|
706
|
-
|
|
804
|
+
@gsd-research-synthesizer "
|
|
707
805
|
<task>
|
|
708
806
|
Synthesize research outputs into SUMMARY.md.
|
|
709
807
|
</task>
|
|
@@ -715,15 +813,18 @@ Synthesize research outputs into SUMMARY.md.
|
|
|
715
813
|
- .planning/research/PITFALLS.md
|
|
716
814
|
</files_to_read>
|
|
717
815
|
|
|
816
|
+
${AGENT_SKILLS_SYNTHESIZER}
|
|
817
|
+
|
|
718
818
|
<output>
|
|
719
819
|
write to: .planning/research/SUMMARY.md
|
|
720
820
|
Use template: $HOME/.config/opencode/get-shit-done/templates/research-project/SUMMARY.md
|
|
721
821
|
Commit after writing.
|
|
722
822
|
</output>
|
|
723
|
-
"
|
|
823
|
+
"
|
|
724
824
|
```
|
|
725
825
|
|
|
726
826
|
Display research complete banner and key findings:
|
|
827
|
+
|
|
727
828
|
```
|
|
728
829
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
729
830
|
GSD ► RESEARCH COMPLETE ✓
|
|
@@ -743,6 +844,7 @@ Files: `.planning/research/`
|
|
|
743
844
|
## 7. Define Requirements
|
|
744
845
|
|
|
745
846
|
Display stage banner:
|
|
847
|
+
|
|
746
848
|
```
|
|
747
849
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
748
850
|
GSD ► DEFINING REQUIREMENTS
|
|
@@ -752,6 +854,7 @@ Display stage banner:
|
|
|
752
854
|
**Load context:**
|
|
753
855
|
|
|
754
856
|
read PROJECT.md and extract:
|
|
857
|
+
|
|
755
858
|
- Core value (the ONE thing that must work)
|
|
756
859
|
- Stated constraints (budget, timeline, tech limitations)
|
|
757
860
|
- Any explicit scope boundaries
|
|
@@ -759,6 +862,7 @@ read PROJECT.md and extract:
|
|
|
759
862
|
**If research exists:** read research/FEATURES.md and extract feature categories.
|
|
760
863
|
|
|
761
864
|
**If auto mode:**
|
|
865
|
+
|
|
762
866
|
- Auto-include all table stakes features (users expect these)
|
|
763
867
|
- Include features explicitly mentioned in provided document
|
|
764
868
|
- Auto-defer differentiators not mentioned in document
|
|
@@ -797,6 +901,7 @@ Here are the features for [domain]:
|
|
|
797
901
|
Ask: "What are the main things users need to be able to do?"
|
|
798
902
|
|
|
799
903
|
For each capability mentioned:
|
|
904
|
+
|
|
800
905
|
- Ask clarifying questions to make it specific
|
|
801
906
|
- Probe for related capabilities
|
|
802
907
|
- Group into categories
|
|
@@ -815,6 +920,7 @@ For each category, use question:
|
|
|
815
920
|
- "None for v1" — Defer entire category
|
|
816
921
|
|
|
817
922
|
Track responses:
|
|
923
|
+
|
|
818
924
|
- Selected features → v1 requirements
|
|
819
925
|
- Unselected table stakes → v2 (users expect these)
|
|
820
926
|
- Unselected differentiators → out of scope
|
|
@@ -822,6 +928,7 @@ Track responses:
|
|
|
822
928
|
**Identify gaps:**
|
|
823
929
|
|
|
824
930
|
Use question:
|
|
931
|
+
|
|
825
932
|
- header: "Additions"
|
|
826
933
|
- question: "Any requirements research missed? (Features specific to your vision)"
|
|
827
934
|
- options:
|
|
@@ -835,6 +942,7 @@ Cross-check requirements against Core Value from PROJECT.md. If gaps detected, s
|
|
|
835
942
|
**Generate REQUIREMENTS.md:**
|
|
836
943
|
|
|
837
944
|
Create `.planning/REQUIREMENTS.md` with:
|
|
945
|
+
|
|
838
946
|
- v1 Requirements grouped by category (checkboxes, REQ-IDs)
|
|
839
947
|
- v2 Requirements (deferred)
|
|
840
948
|
- Out of Scope (explicit exclusions with reasoning)
|
|
@@ -845,12 +953,14 @@ Create `.planning/REQUIREMENTS.md` with:
|
|
|
845
953
|
**Requirement quality criteria:**
|
|
846
954
|
|
|
847
955
|
Good requirements are:
|
|
956
|
+
|
|
848
957
|
- **Specific and testable:** "User can reset password via email link" (not "Handle password reset")
|
|
849
958
|
- **User-centric:** "User can X" (not "System does Y")
|
|
850
959
|
- **Atomic:** One capability per requirement (not "User can login and manage profile")
|
|
851
960
|
- **Independent:** Minimal dependencies on other requirements
|
|
852
961
|
|
|
853
962
|
Reject vague requirements. Push for specificity:
|
|
963
|
+
|
|
854
964
|
- "Handle authentication" → "User can log in with email/password and stay logged in across sessions"
|
|
855
965
|
- "Support sharing" → "User can share post via link that opens in recipient's browser"
|
|
856
966
|
|
|
@@ -888,6 +998,7 @@ node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" commit "docs: defi
|
|
|
888
998
|
## 8. Create Roadmap
|
|
889
999
|
|
|
890
1000
|
Display stage banner:
|
|
1001
|
+
|
|
891
1002
|
```
|
|
892
1003
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
893
1004
|
GSD ► CREATING ROADMAP
|
|
@@ -899,7 +1010,7 @@ Display stage banner:
|
|
|
899
1010
|
Spawn gsd-roadmapper agent with path references:
|
|
900
1011
|
|
|
901
1012
|
```
|
|
902
|
-
|
|
1013
|
+
@gsd-roadmapper "
|
|
903
1014
|
<planning_context>
|
|
904
1015
|
|
|
905
1016
|
<files_to_read>
|
|
@@ -909,6 +1020,8 @@ task(prompt="
|
|
|
909
1020
|
- .planning/config.json (Granularity and mode settings)
|
|
910
1021
|
</files_to_read>
|
|
911
1022
|
|
|
1023
|
+
${AGENT_SKILLS_ROADMAPPER}
|
|
1024
|
+
|
|
912
1025
|
</planning_context>
|
|
913
1026
|
|
|
914
1027
|
<instructions>
|
|
@@ -922,12 +1035,13 @@ Create roadmap:
|
|
|
922
1035
|
|
|
923
1036
|
write files first, then return. This ensures artifacts persist even if context is lost.
|
|
924
1037
|
</instructions>
|
|
925
|
-
"
|
|
1038
|
+
"
|
|
926
1039
|
```
|
|
927
1040
|
|
|
928
1041
|
**Handle roadmapper return:**
|
|
929
1042
|
|
|
930
1043
|
**If `## ROADMAP BLOCKED`:**
|
|
1044
|
+
|
|
931
1045
|
- Present blocker information
|
|
932
1046
|
- Work with user to resolve
|
|
933
1047
|
- Re-spawn when resolved
|
|
@@ -977,6 +1091,7 @@ Success criteria:
|
|
|
977
1091
|
**CRITICAL: Ask for approval before committing (interactive mode only):**
|
|
978
1092
|
|
|
979
1093
|
Use question:
|
|
1094
|
+
|
|
980
1095
|
- header: "Roadmap"
|
|
981
1096
|
- question: "Does this roadmap structure work for you?"
|
|
982
1097
|
- options:
|
|
@@ -987,10 +1102,12 @@ Use question:
|
|
|
987
1102
|
**If "Approve":** Continue to commit.
|
|
988
1103
|
|
|
989
1104
|
**If "Adjust phases":**
|
|
1105
|
+
|
|
990
1106
|
- Get user's adjustment notes
|
|
991
1107
|
- Re-spawn roadmapper with revision context:
|
|
1108
|
+
|
|
992
1109
|
```
|
|
993
|
-
|
|
1110
|
+
@gsd-roadmapper "
|
|
994
1111
|
<revision>
|
|
995
1112
|
User feedback on roadmap:
|
|
996
1113
|
[user's notes]
|
|
@@ -999,20 +1116,31 @@ Use question:
|
|
|
999
1116
|
- .planning/ROADMAP.md (Current roadmap to revise)
|
|
1000
1117
|
</files_to_read>
|
|
1001
1118
|
|
|
1119
|
+
${AGENT_SKILLS_ROADMAPPER}
|
|
1120
|
+
|
|
1002
1121
|
Update the roadmap based on feedback. edit files in place.
|
|
1003
1122
|
Return ROADMAP REVISED with changes made.
|
|
1004
1123
|
</revision>
|
|
1005
|
-
"
|
|
1124
|
+
"
|
|
1006
1125
|
```
|
|
1126
|
+
|
|
1007
1127
|
- Present revised roadmap
|
|
1008
1128
|
- Loop until user approves
|
|
1009
1129
|
|
|
1010
1130
|
**If "Review full file":** Display raw `cat .planning/ROADMAP.md`, then re-ask.
|
|
1011
1131
|
|
|
1132
|
+
**Generate or refresh project instruction file before final commit:**
|
|
1133
|
+
|
|
1134
|
+
```bash
|
|
1135
|
+
node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" generate-OpenCode-md --output "$INSTRUCTION_FILE"
|
|
1136
|
+
```
|
|
1137
|
+
|
|
1138
|
+
This ensures new projects get the default GSD workflow-enforcement guidance and current project context in `$INSTRUCTION_FILE`.
|
|
1139
|
+
|
|
1012
1140
|
**Commit roadmap (after approval or auto mode):**
|
|
1013
1141
|
|
|
1014
1142
|
```bash
|
|
1015
|
-
node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" commit "docs: create roadmap ([N] phases)" --files .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
|
|
1143
|
+
node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" commit "docs: create roadmap ([N] phases)" --files .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md "$INSTRUCTION_FILE"
|
|
1016
1144
|
```
|
|
1017
1145
|
|
|
1018
1146
|
## 9. Done
|
|
@@ -1033,6 +1161,7 @@ Present completion summary:
|
|
|
1033
1161
|
| Research | `.planning/research/` |
|
|
1034
1162
|
| Requirements | `.planning/REQUIREMENTS.md` |
|
|
1035
1163
|
| Roadmap | `.planning/ROADMAP.md` |
|
|
1164
|
+
| Project guide | `$INSTRUCTION_FILE` |
|
|
1036
1165
|
|
|
1037
1166
|
**[N] phases** | **[X] requirements** | Ready to build ✓
|
|
1038
1167
|
```
|
|
@@ -1049,6 +1178,15 @@ Exit skill and invoke command("/gsd-discuss-phase 1 --auto")
|
|
|
1049
1178
|
|
|
1050
1179
|
**If interactive mode:**
|
|
1051
1180
|
|
|
1181
|
+
Check if Phase 1 has UI indicators (look for `**UI hint**: yes` in Phase 1 detail section of ROADMAP.md):
|
|
1182
|
+
|
|
1183
|
+
```bash
|
|
1184
|
+
PHASE1_SECTION=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" roadmap get-phase 1 2>/dev/null)
|
|
1185
|
+
PHASE1_HAS_UI=$(echo "$PHASE1_SECTION" | grep -qi "UI hint.*yes" && echo "true" || echo "false")
|
|
1186
|
+
```
|
|
1187
|
+
|
|
1188
|
+
**If Phase 1 has UI (`PHASE1_HAS_UI` is `true`):**
|
|
1189
|
+
|
|
1052
1190
|
```
|
|
1053
1191
|
───────────────────────────────────────────────────────────────
|
|
1054
1192
|
|
|
@@ -1056,9 +1194,31 @@ Exit skill and invoke command("/gsd-discuss-phase 1 --auto")
|
|
|
1056
1194
|
|
|
1057
1195
|
**Phase 1: [Phase Name]** — [Goal from ROADMAP.md]
|
|
1058
1196
|
|
|
1197
|
+
/new then:
|
|
1198
|
+
|
|
1059
1199
|
/gsd-discuss-phase 1 — gather context and clarify approach
|
|
1060
1200
|
|
|
1061
|
-
|
|
1201
|
+
---
|
|
1202
|
+
|
|
1203
|
+
**Also available:**
|
|
1204
|
+
- /gsd-ui-phase 1 — generate UI design contract (recommended for frontend phases)
|
|
1205
|
+
- /gsd-plan-phase 1 — skip discussion, plan directly
|
|
1206
|
+
|
|
1207
|
+
───────────────────────────────────────────────────────────────
|
|
1208
|
+
```
|
|
1209
|
+
|
|
1210
|
+
**If Phase 1 has no UI:**
|
|
1211
|
+
|
|
1212
|
+
```
|
|
1213
|
+
───────────────────────────────────────────────────────────────
|
|
1214
|
+
|
|
1215
|
+
## ▶ Next Up
|
|
1216
|
+
|
|
1217
|
+
**Phase 1: [Phase Name]** — [Goal from ROADMAP.md]
|
|
1218
|
+
|
|
1219
|
+
/new then:
|
|
1220
|
+
|
|
1221
|
+
/gsd-discuss-phase 1 — gather context and clarify approach
|
|
1062
1222
|
|
|
1063
1223
|
---
|
|
1064
1224
|
|
|
@@ -1083,6 +1243,7 @@ Exit skill and invoke command("/gsd-discuss-phase 1 --auto")
|
|
|
1083
1243
|
- `.planning/REQUIREMENTS.md`
|
|
1084
1244
|
- `.planning/ROADMAP.md`
|
|
1085
1245
|
- `.planning/STATE.md`
|
|
1246
|
+
- `$INSTRUCTION_FILE` (`AGENTS.md` for Codex, `AGENTS.md` for all other runtimes)
|
|
1086
1247
|
|
|
1087
1248
|
</output>
|
|
1088
1249
|
|
|
@@ -1104,6 +1265,7 @@ Exit skill and invoke command("/gsd-discuss-phase 1 --auto")
|
|
|
1104
1265
|
- [ ] ROADMAP.md created with phases, requirement mappings, success criteria
|
|
1105
1266
|
- [ ] STATE.md initialized
|
|
1106
1267
|
- [ ] REQUIREMENTS.md traceability updated
|
|
1268
|
+
- [ ] `$INSTRUCTION_FILE` generated with GSD workflow guidance (AGENTS.md for Codex, AGENTS.md otherwise)
|
|
1107
1269
|
- [ ] User knows next step is `/gsd-discuss-phase 1`
|
|
1108
1270
|
|
|
1109
1271
|
**Atomic commits:** Each phase commits its artifacts immediately. If context is lost, artifacts persist.
|