squad-station 0.5.2 → 0.5.4
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/.squad/sdd/bmad-playbook.md +303 -114
- package/.squad/sdd/gsd-playbook.md +229 -285
- package/.squad/sdd/superpowers-playbook.md +158 -104
- package/bin/run.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# GSD (Get Shit Done) — Playbook v1.
|
|
1
|
+
# GSD (Get Shit Done) — Operational Playbook v1.26
|
|
2
2
|
|
|
3
|
-
> Practical operational handbook for the GSD system for developers — from installation, Day 1 workflow, to best practices and advanced troubleshooting.
|
|
3
|
+
> This is an **action-oriented** document. Practical operational handbook for the GSD v1.26 system for developers — from installation, Day 1 workflow, to best practices and advanced troubleshooting.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ npx get-shit-done-cc@latest
|
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
The installer will ask you 2 questions:
|
|
16
|
-
1. **Runtime:** Claude Code, OpenCode, Gemini, Codex, or All
|
|
16
|
+
1. **Runtime:** Claude Code, OpenCode, Gemini, Codex, Copilot, Antigravity, or All
|
|
17
17
|
2. **Location:** Global (all projects) or Local (current project only)
|
|
18
18
|
|
|
19
19
|
**Verify successful installation:**
|
|
@@ -24,8 +24,10 @@ The installer will ask you 2 questions:
|
|
|
24
24
|
| Gemini CLI | `/gsd:help` |
|
|
25
25
|
| OpenCode | `/gsd-help` |
|
|
26
26
|
| Codex | `$gsd-help` |
|
|
27
|
+
| Copilot CLI | `/gsd:help` |
|
|
28
|
+
| Antigravity | `/gsd:help` |
|
|
27
29
|
|
|
28
|
-
### 1.2. Non-Interactive Installation
|
|
30
|
+
### 1.2. Non-Interactive Installation
|
|
29
31
|
|
|
30
32
|
```bash
|
|
31
33
|
# Claude Code
|
|
@@ -41,7 +43,13 @@ npx get-shit-done-cc --opencode --global # → ~/.config/opencode/
|
|
|
41
43
|
# Codex
|
|
42
44
|
npx get-shit-done-cc --codex --global # → ~/.codex/
|
|
43
45
|
|
|
44
|
-
#
|
|
46
|
+
# Copilot CLI (NEW v1.23)
|
|
47
|
+
npx get-shit-done-cc --copilot --global
|
|
48
|
+
|
|
49
|
+
# Antigravity (NEW v1.25)
|
|
50
|
+
npx get-shit-done-cc --antigravity --global
|
|
51
|
+
|
|
52
|
+
# All runtimes
|
|
45
53
|
npx get-shit-done-cc --all --global
|
|
46
54
|
```
|
|
47
55
|
|
|
@@ -53,13 +61,15 @@ npx get-shit-done-cc@latest
|
|
|
53
61
|
|
|
54
62
|
From v1.17+, the installer automatically backs up local modifications to `gsd-local-patches/`. Use `/gsd:reapply-patches` to restore them.
|
|
55
63
|
|
|
64
|
+
> **TIP:** `/gsd:update` is the way to update from within a session — it shows a changelog preview and targets the correct runtime directory.
|
|
65
|
+
|
|
56
66
|
### 1.4. Skip Permissions Mode (Recommended)
|
|
57
67
|
|
|
58
68
|
```bash
|
|
59
69
|
claude --dangerously-skip-permissions
|
|
60
70
|
```
|
|
61
71
|
|
|
62
|
-
GSD is designed for continuous automation. Stopping to approve `date` and `git commit` 50 times per session breaks the "flow" and significantly reduces productivity.
|
|
72
|
+
> **TIP:** GSD is designed for continuous automation. Stopping to approve `date` and `git commit` 50 times per session breaks the "flow" and significantly reduces productivity.
|
|
63
73
|
|
|
64
74
|
**Alternative — Granular Permissions:**
|
|
65
75
|
|
|
@@ -79,7 +89,7 @@ GSD is designed for continuous automation. Stopping to approve `date` and `git c
|
|
|
79
89
|
|
|
80
90
|
### 1.5. Security — Configuring Deny List
|
|
81
91
|
|
|
82
|
-
**Mandatory** configuration before using GSD with any project containing secrets.
|
|
92
|
+
> ⚠️ **Mandatory** configuration before using GSD with any project containing secrets.
|
|
83
93
|
|
|
84
94
|
Add to `.claude/settings.json`:
|
|
85
95
|
|
|
@@ -87,23 +97,21 @@ Add to `.claude/settings.json`:
|
|
|
87
97
|
{
|
|
88
98
|
"permissions": {
|
|
89
99
|
"deny": [
|
|
90
|
-
"Read(.env)",
|
|
91
|
-
"Read(
|
|
92
|
-
"Read(
|
|
93
|
-
"Read(**/*credential*)",
|
|
94
|
-
"Read(**/*.pem)",
|
|
95
|
-
"Read(**/*.key)"
|
|
100
|
+
"Read(.env)", "Read(.env.*)",
|
|
101
|
+
"Read(**/secrets/*)", "Read(**/*credential*)",
|
|
102
|
+
"Read(**/*.pem)", "Read(**/*.key)"
|
|
96
103
|
]
|
|
97
104
|
}
|
|
98
105
|
}
|
|
99
106
|
```
|
|
100
107
|
|
|
101
|
-
### 1.6. Docker/Container Environments
|
|
102
|
-
|
|
103
|
-
If you encounter tilde (`~`) path errors:
|
|
108
|
+
### 1.6. Docker/Container/WSL Environments
|
|
104
109
|
|
|
105
110
|
```bash
|
|
111
|
+
# Docker — tilde path overflow
|
|
106
112
|
CLAUDE_CONFIG_DIR=/home/youruser/.claude npx get-shit-done-cc --global
|
|
113
|
+
|
|
114
|
+
# WSL — GSD will detect WSL + Windows Node.js mismatch and warn
|
|
107
115
|
```
|
|
108
116
|
|
|
109
117
|
---
|
|
@@ -122,28 +130,32 @@ claude --dangerously-skip-permissions
|
|
|
122
130
|
# Step 2: Clear context, begin phase loop
|
|
123
131
|
/clear
|
|
124
132
|
|
|
125
|
-
# Steps 3-
|
|
133
|
+
# Steps 3-7: Loop for each phase
|
|
126
134
|
/gsd:discuss-phase 1 # Lock in preferences
|
|
135
|
+
/gsd:ui-phase 1 # UI design contract (frontend phases)
|
|
127
136
|
/gsd:plan-phase 1 # Research + Plan + Verify
|
|
128
|
-
/gsd:execute-phase 1 # Parallel wave execution
|
|
137
|
+
/gsd:execute-phase 1 # Parallel wave execution + regression gate
|
|
129
138
|
/gsd:verify-work 1 # Manual UAT
|
|
139
|
+
/gsd:ui-review 1 # Visual audit (frontend phases)
|
|
130
140
|
/clear
|
|
131
141
|
|
|
132
142
|
# Repeat for phase 2, 3, ...
|
|
133
|
-
/gsd:discuss-phase 2
|
|
134
|
-
/gsd:plan-phase 2
|
|
135
|
-
/gsd:execute-phase 2
|
|
136
|
-
/gsd:verify-work 2
|
|
137
|
-
/clear
|
|
138
143
|
|
|
139
144
|
# When all phases are complete
|
|
140
145
|
/gsd:audit-milestone # Check DoD
|
|
146
|
+
/gsd:ship # Create PR from planning artifacts
|
|
141
147
|
/gsd:complete-milestone # Archive + Tag release
|
|
142
148
|
```
|
|
143
149
|
|
|
144
|
-
### 2.2.
|
|
150
|
+
### 2.2. Quick Flow — `/gsd:next` (NEW v1.26)
|
|
145
151
|
|
|
146
|
-
|
|
152
|
+
Can't remember the next step? Just run:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
/gsd:next # Auto-advance to next logical step
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### 2.3. Initialize from Existing Document
|
|
147
159
|
|
|
148
160
|
```bash
|
|
149
161
|
/gsd:new-project --auto @prd.md
|
|
@@ -151,13 +163,14 @@ If you already have a PRD or idea doc:
|
|
|
151
163
|
|
|
152
164
|
The system automatically runs research → requirements → roadmap from the document. Continue the normal workflow from discuss-phase.
|
|
153
165
|
|
|
154
|
-
### 2.
|
|
166
|
+
### 2.4. Autonomous Mode
|
|
155
167
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
168
|
+
Want to run all remaining phases automatically:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
/gsd:autonomous # All remaining phases
|
|
172
|
+
/gsd:autonomous --from 3 # Start from phase 3
|
|
173
|
+
```
|
|
161
174
|
|
|
162
175
|
---
|
|
163
176
|
|
|
@@ -166,25 +179,18 @@ The system automatically runs research → requirements → roadmap from the doc
|
|
|
166
179
|
### 3.1. Map Codebase First
|
|
167
180
|
|
|
168
181
|
```bash
|
|
169
|
-
#
|
|
170
|
-
/gsd:map-codebase
|
|
171
|
-
|
|
172
|
-
# Output:
|
|
173
|
-
# codebase/STACK.md → Tech stack, dependencies
|
|
174
|
-
# codebase/ARCHITECTURE.md → Code structure, patterns
|
|
175
|
-
# codebase/CONVENTIONS.md → Naming, style, practices
|
|
176
|
-
# codebase/CONCERNS.md → Tech debt, security, risks
|
|
177
|
-
|
|
178
|
-
# Step 1: Initialize (questions focus on NEW features)
|
|
179
|
-
/gsd:new-project
|
|
180
|
-
# (normal workflow from here)
|
|
182
|
+
/gsd:map-codebase # Full codebase analysis (4 parallel mappers)
|
|
183
|
+
/gsd:map-codebase auth # Focus on specific area
|
|
181
184
|
```
|
|
182
185
|
|
|
183
|
-
### 3.2.
|
|
186
|
+
### 3.2. Output
|
|
184
187
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
```
|
|
189
|
+
codebase/STACK.md → Tech stack, dependencies
|
|
190
|
+
codebase/ARCHITECTURE.md → Code structure, patterns
|
|
191
|
+
codebase/CONVENTIONS.md → Naming, style, practices
|
|
192
|
+
codebase/CONCERNS.md → Tech debt, security, risks
|
|
193
|
+
```
|
|
188
194
|
|
|
189
195
|
---
|
|
190
196
|
|
|
@@ -194,43 +200,33 @@ The system automatically runs research → requirements → roadmap from the doc
|
|
|
194
200
|
|
|
195
201
|
```bash
|
|
196
202
|
/gsd:discuss-phase 1
|
|
203
|
+
/gsd:discuss-phase 3 --auto # Auto-select defaults
|
|
204
|
+
/gsd:discuss-phase --batch # Grouped question intake (v1.23)
|
|
197
205
|
```
|
|
198
206
|
|
|
199
|
-
**
|
|
207
|
+
**Code-aware discuss (v1.22):** GSD analyzes relevant source files before asking — doesn't re-ask things already clear in the code.
|
|
200
208
|
|
|
201
|
-
|
|
209
|
+
### 4.2. UI Design Phase (NEW v1.23)
|
|
202
210
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
| **APIs/CLIs** | Response format, flags, error handling, verbosity, authentication |
|
|
207
|
-
| **Content** | Structure, tone, depth, flow, localization |
|
|
208
|
-
| **Organization** | Grouping criteria, naming conventions, duplicates, exceptions |
|
|
211
|
+
```bash
|
|
212
|
+
/gsd:ui-phase 2 # Generate UI design contract
|
|
213
|
+
```
|
|
209
214
|
|
|
210
|
-
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
215
|
+
- Detects design system state (shadcn, Tailwind config, existing tokens)
|
|
216
|
+
- Auto-offers shadcn initialization for React/Next.js/Vite
|
|
217
|
+
- Registry safety gate for third-party components
|
|
218
|
+
- Validation loop (max 2 iterations): BLOCK/FLAG/PASS
|
|
214
219
|
|
|
215
|
-
### 4.
|
|
220
|
+
### 4.3. Plan Phase — "Blueprint the Build"
|
|
216
221
|
|
|
217
222
|
```bash
|
|
218
223
|
/gsd:plan-phase 1
|
|
224
|
+
/gsd:plan-phase 3 --skip-research # Skip research
|
|
225
|
+
/gsd:plan-phase --skip-verify # Skip plan checker
|
|
226
|
+
/gsd:plan-phase --auto # Non-interactive
|
|
219
227
|
```
|
|
220
228
|
|
|
221
|
-
**
|
|
222
|
-
|
|
223
|
-
**Automated 3-step process:**
|
|
224
|
-
1. **Research** — 4 researchers in parallel (stack, features, architecture, pitfalls)
|
|
225
|
-
2. **Plan** — Create 2-3 atomic plans with XML structure
|
|
226
|
-
3. **Verify** — Plan checker validates 8 dimensions, loops up to 3 times
|
|
227
|
-
|
|
228
|
-
**Useful flags:**
|
|
229
|
-
|
|
230
|
-
| Flag | Effect |
|
|
231
|
-
|---|---|
|
|
232
|
-
| `--skip-research` | Skip research (familiar domain) |
|
|
233
|
-
| `--skip-verify` | Skip plan checker (quick iterations) |
|
|
229
|
+
**v1.25:** Plan-phase asks user about research instead of silently deciding.
|
|
234
230
|
|
|
235
231
|
**Before planning — see what AI intends:**
|
|
236
232
|
|
|
@@ -238,310 +234,253 @@ The system automatically runs research → requirements → roadmap from the doc
|
|
|
238
234
|
/gsd:list-phase-assumptions 1
|
|
239
235
|
```
|
|
240
236
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
### 4.3. Execute Phase — "Build It"
|
|
237
|
+
### 4.4. Execute Phase — "Build It"
|
|
244
238
|
|
|
245
239
|
```bash
|
|
246
240
|
/gsd:execute-phase 1
|
|
247
241
|
```
|
|
248
242
|
|
|
249
|
-
**
|
|
243
|
+
**v1.23+:** Node repair operator auto RETRY/DECOMPOSE/PRUNE when task verification fails.
|
|
250
244
|
|
|
251
|
-
**
|
|
252
|
-
- Plans run in **waves** (parallel when independent, sequential when dependent)
|
|
253
|
-
- Each executor receives **200K clean tokens** + PROJECT.md + plan
|
|
254
|
-
- **Atomic commit** as soon as each task completes
|
|
255
|
-
- Auto-verify when all plans finish
|
|
245
|
+
**v1.26:** Cross-phase regression gate — runs prior phases' test suites after execution.
|
|
256
246
|
|
|
257
|
-
**
|
|
247
|
+
**v1.26:** Interactive executor mode for pair-programming style execution.
|
|
258
248
|
|
|
259
|
-
### 4.
|
|
249
|
+
### 4.5. Verify Work — "Test It"
|
|
260
250
|
|
|
261
251
|
```bash
|
|
262
252
|
/gsd:verify-work 1
|
|
263
253
|
```
|
|
264
254
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
1. System lists **testable deliverables**
|
|
269
|
-
2. Guides you to test **each one**: "Can you login with email?"
|
|
270
|
-
3. You respond: ✅ Yes / ❌ No + error description
|
|
255
|
+
- Cold-start smoke test auto-inject for phases modifying server/database/seed/startup files (v1.22.3)
|
|
256
|
+
- Debug agents auto-diagnose root cause + create fix plans
|
|
257
|
+
- Debug sessions save to persistent knowledge base (v1.24)
|
|
271
258
|
|
|
272
|
-
|
|
273
|
-
- Debug agents automatically diagnose root cause
|
|
274
|
-
- Create specific fix plans
|
|
275
|
-
- Re-run `/gsd:execute-phase 1` → fix plans are applied
|
|
276
|
-
- **You DON'T need to manually debug**
|
|
277
|
-
|
|
278
|
-
### 4.5. Context Management Between Phases
|
|
279
|
-
|
|
280
|
-
`/clear` between phases is a **best practice**. GSD is designed around fresh contexts.
|
|
259
|
+
### 4.6. UI Review (NEW v1.23)
|
|
281
260
|
|
|
282
261
|
```bash
|
|
283
|
-
/gsd:
|
|
284
|
-
/gsd:verify-work 1
|
|
285
|
-
/clear # ← Clear context before new phase
|
|
286
|
-
/gsd:discuss-phase 2
|
|
262
|
+
/gsd:ui-review 1 # 6-pillar visual audit
|
|
287
263
|
```
|
|
288
264
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
## Part V: Milestone Management
|
|
265
|
+
6 Pillars (scored 1-4): Copywriting, Visuals, Color, Typography, Spacing, Experience Design.
|
|
292
266
|
|
|
293
|
-
###
|
|
267
|
+
### 4.7. Ship (NEW v1.26)
|
|
294
268
|
|
|
295
269
|
```bash
|
|
296
|
-
/gsd:
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
Check if the milestone has met the **Definition of Done**:
|
|
300
|
-
- All requirements implemented?
|
|
301
|
-
- Any stubs/placeholder code?
|
|
302
|
-
- Test coverage meets requirements?
|
|
303
|
-
|
|
304
|
-
### 5.2. Complete Milestone
|
|
305
|
-
|
|
306
|
-
```bash
|
|
307
|
-
/gsd:complete-milestone
|
|
308
|
-
```
|
|
309
|
-
|
|
310
|
-
- Archive milestone documents
|
|
311
|
-
- Tag release on git
|
|
312
|
-
- Clean up state for the next milestone
|
|
313
|
-
|
|
314
|
-
### 5.3. Starting a New Milestone
|
|
315
|
-
|
|
316
|
-
```bash
|
|
317
|
-
/gsd:new-milestone [name]
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
Like `/gsd:new-project` but for an existing codebase:
|
|
321
|
-
- Describe the new milestone goals
|
|
322
|
-
- Research domain for new features
|
|
323
|
-
- Scope new requirements
|
|
324
|
-
- Create a new roadmap
|
|
325
|
-
|
|
326
|
-
### 5.4. Handling Gaps After Audit
|
|
327
|
-
|
|
328
|
-
```bash
|
|
329
|
-
/gsd:audit-milestone # Discover gaps
|
|
330
|
-
/gsd:plan-milestone-gaps # Create phases to close gaps
|
|
331
|
-
# (normal phase workflow)
|
|
332
|
-
/gsd:complete-milestone # Archive when done
|
|
270
|
+
/gsd:ship 4 # Ship phase 4 as PR
|
|
271
|
+
/gsd:ship 4 --draft # Draft PR
|
|
333
272
|
```
|
|
334
273
|
|
|
335
274
|
---
|
|
336
275
|
|
|
337
|
-
## Part
|
|
338
|
-
|
|
339
|
-
### 6.1. Add Phase
|
|
340
|
-
|
|
341
|
-
```bash
|
|
342
|
-
/gsd:add-phase # Append to end of roadmap
|
|
343
|
-
```
|
|
276
|
+
## Part V: Milestone Management
|
|
344
277
|
|
|
345
|
-
###
|
|
278
|
+
### 5.1. Audit → Ship → Complete
|
|
346
279
|
|
|
347
280
|
```bash
|
|
348
|
-
/gsd:
|
|
281
|
+
/gsd:audit-milestone # Check DoD
|
|
282
|
+
/gsd:plan-milestone-gaps # Create phases for gaps
|
|
283
|
+
/gsd:ship # Create PR
|
|
284
|
+
/gsd:complete-milestone # Archive + Tag release
|
|
285
|
+
/gsd:new-milestone [name] # Start new milestone
|
|
349
286
|
```
|
|
350
287
|
|
|
351
|
-
###
|
|
288
|
+
### 5.2. Stats Dashboard (NEW v1.23)
|
|
352
289
|
|
|
353
290
|
```bash
|
|
354
|
-
/gsd:
|
|
291
|
+
/gsd:stats # Phases, plans, requirements, git metrics, timeline
|
|
355
292
|
```
|
|
356
293
|
|
|
357
294
|
---
|
|
358
295
|
|
|
359
|
-
## Part
|
|
360
|
-
|
|
361
|
-
### 7.1. Quick Task
|
|
362
|
-
|
|
363
|
-
```bash
|
|
364
|
-
/gsd:quick
|
|
365
|
-
> "Fix login button not responding on mobile Safari"
|
|
366
|
-
```
|
|
367
|
-
|
|
368
|
-
- **Same quality agents** (planner + executor)
|
|
369
|
-
- **Skip:** Research, plan checker, verifier
|
|
370
|
-
- **Separate tracking:** `.planning/quick/001-fix-login-button/`
|
|
371
|
-
- **Use for:** Bug fixes, small features, config changes
|
|
296
|
+
## Part VI: Quick Mode — Ad-hoc Tasks
|
|
372
297
|
|
|
373
|
-
###
|
|
298
|
+
### 6.1. Quick Task (Enhanced v1.24)
|
|
374
299
|
|
|
375
300
|
```bash
|
|
376
|
-
/gsd:quick
|
|
301
|
+
/gsd:quick # Basic quick task
|
|
302
|
+
/gsd:quick --discuss # Pre-planning discussion
|
|
303
|
+
/gsd:quick --research # Spawn focused researcher (v1.24)
|
|
304
|
+
/gsd:quick --full # Plan checking + verification
|
|
305
|
+
/gsd:quick --discuss --research --full # Maximum quality
|
|
377
306
|
```
|
|
378
307
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
```bash
|
|
382
|
-
/gsd:quick --discuss # Pre-planning discussion before execute
|
|
383
|
-
```
|
|
308
|
+
Flags are composable. Quick mode uses `YYMMDD-xxx` timestamp IDs (v1.23).
|
|
384
309
|
|
|
385
310
|
---
|
|
386
311
|
|
|
387
|
-
## Part
|
|
312
|
+
## Part VII: Productivity Commands (NEW)
|
|
388
313
|
|
|
389
|
-
###
|
|
314
|
+
### 7.1. Natural Language Router (v1.25)
|
|
390
315
|
|
|
391
316
|
```bash
|
|
392
|
-
/gsd:
|
|
317
|
+
/gsd:do # Describe what you want → auto-route
|
|
393
318
|
```
|
|
394
319
|
|
|
395
|
-
###
|
|
320
|
+
### 7.2. Zero-Friction Notes (v1.25)
|
|
396
321
|
|
|
397
322
|
```bash
|
|
398
|
-
/gsd:
|
|
399
|
-
#
|
|
400
|
-
/gsd:
|
|
323
|
+
/gsd:note "Consider caching strategy" # Capture idea
|
|
324
|
+
/gsd:note list # List all notes
|
|
325
|
+
/gsd:note promote 3 # Promote to structured todo
|
|
326
|
+
/gsd:note --global "..." # Global scope
|
|
401
327
|
```
|
|
402
328
|
|
|
403
|
-
###
|
|
329
|
+
### 7.3. Developer Profiling (v1.26)
|
|
404
330
|
|
|
405
331
|
```bash
|
|
406
|
-
/gsd:
|
|
332
|
+
/gsd:profile-user # Analyze sessions → behavioral profile
|
|
333
|
+
/gsd:profile-user --questionnaire # Interactive fallback
|
|
334
|
+
/gsd:profile-user --refresh # Re-analyze
|
|
407
335
|
```
|
|
408
336
|
|
|
409
|
-
-
|
|
410
|
-
- Root cause analysis
|
|
411
|
-
- Fix plan generation
|
|
412
|
-
|
|
413
|
-
---
|
|
414
|
-
|
|
415
|
-
## Part IX: Strategic Configuration
|
|
416
|
-
|
|
417
|
-
### 9.1. Switching Model Profiles
|
|
418
|
-
|
|
419
|
-
```bash
|
|
420
|
-
/gsd:set-profile quality # Max quality, Opus heavy
|
|
421
|
-
/gsd:set-profile balanced # Default - Opus for planning only
|
|
422
|
-
/gsd:set-profile budget # Cost-effective - Sonnet/Haiku
|
|
423
|
-
```
|
|
337
|
+
**Output:** `USER-PROFILE.md`, `/gsd:dev-preferences`, `CLAUDE.md` profile section.
|
|
424
338
|
|
|
425
|
-
###
|
|
339
|
+
### 7.4. Session Management
|
|
426
340
|
|
|
427
341
|
```bash
|
|
428
|
-
/gsd:
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
| Strategy | When to use | Branch name template |
|
|
434
|
-
|---|---|---|
|
|
435
|
-
| `none` | Solo dev, simple projects | N/A |
|
|
436
|
-
| `phase` | Code review per phase | `gsd/phase-{phase}-{slug}` |
|
|
437
|
-
| `milestone` | Release branches | `gsd/{milestone}-{slug}` |
|
|
438
|
-
|
|
439
|
-
### 9.4. Workflow Presets by Scenario
|
|
440
|
-
|
|
441
|
-
```bash
|
|
442
|
-
# Rapid prototyping - speed > quality
|
|
443
|
-
/gsd:settings
|
|
444
|
-
→ mode: yolo, granularity: coarse, profile: budget
|
|
445
|
-
→ research: off, plan_check: off, verifier: off
|
|
446
|
-
|
|
447
|
-
# Normal development
|
|
448
|
-
/gsd:settings
|
|
449
|
-
→ mode: interactive, granularity: standard, profile: balanced
|
|
450
|
-
→ research: on, plan_check: on, verifier: on
|
|
451
|
-
|
|
452
|
-
# Production code - quality > speed
|
|
453
|
-
/gsd:settings
|
|
454
|
-
→ mode: interactive, granularity: fine, profile: quality
|
|
455
|
-
→ research: on, plan_check: on, verifier: on
|
|
342
|
+
/gsd:pause-work # HANDOFF.json + continue-here.md
|
|
343
|
+
/gsd:resume-work # Full context restoration
|
|
344
|
+
/gsd:progress # "Where am I? What's next?"
|
|
345
|
+
/gsd:next # Auto-advance to next step (v1.26)
|
|
346
|
+
/gsd:session-report # Session summary (v1.26)
|
|
456
347
|
```
|
|
457
348
|
|
|
458
349
|
---
|
|
459
350
|
|
|
460
|
-
## Part
|
|
351
|
+
## Part VIII: Cheat Sheet — Quick Reference (42 commands)
|
|
461
352
|
|
|
462
353
|
### Group 1: Initialization
|
|
463
354
|
|
|
464
|
-
| Command |
|
|
355
|
+
| Command | Description |
|
|
465
356
|
|---|---|
|
|
466
|
-
| `/gsd:map-codebase` | Analyze existing codebase (
|
|
357
|
+
| `/gsd:map-codebase [area]` | Analyze existing codebase (4 parallel mappers) |
|
|
467
358
|
| `/gsd:new-project [--auto @file.md]` | Initialize project: Q&A → Research → Roadmap |
|
|
468
359
|
| `/gsd:new-milestone [name]` | Start new milestone for current project |
|
|
469
360
|
|
|
470
361
|
### Group 2: Core Phase Loop
|
|
471
362
|
|
|
472
|
-
| Command |
|
|
363
|
+
| Command | Description |
|
|
473
364
|
|---|---|
|
|
474
|
-
| `/gsd:discuss-phase [N] [--auto]` | Lock in preferences before planning |
|
|
475
|
-
| `/gsd:
|
|
476
|
-
| `/gsd:
|
|
365
|
+
| `/gsd:discuss-phase [N] [--auto] [--batch]` | Lock in preferences before planning |
|
|
366
|
+
| `/gsd:ui-phase [N]` | UI design contract (frontend phases) |
|
|
367
|
+
| `/gsd:plan-phase [N] [--auto] [--skip-research] [--skip-verify]` | Research + Plan + Verify |
|
|
368
|
+
| `/gsd:execute-phase <N>` | Parallel wave execution + node repair + regression gate |
|
|
477
369
|
| `/gsd:verify-work [N]` | Manual UAT + auto-diagnosis |
|
|
370
|
+
| `/gsd:ui-review [N]` | 6-pillar visual audit (frontend) |
|
|
478
371
|
| `/gsd:validate-phase [N]` | Retroactive test coverage audit (Nyquist) |
|
|
372
|
+
| `/gsd:ship [N] [--draft]` | Create PR from planning artifacts |
|
|
479
373
|
|
|
480
374
|
### Group 3: Milestone Management
|
|
481
375
|
|
|
482
|
-
| Command |
|
|
376
|
+
| Command | Description |
|
|
483
377
|
|---|---|
|
|
484
378
|
| `/gsd:audit-milestone` | Check DoD |
|
|
485
379
|
| `/gsd:complete-milestone` | Archive + Tag release |
|
|
486
380
|
| `/gsd:plan-milestone-gaps` | Create phases for gaps from audit |
|
|
381
|
+
| `/gsd:stats` | Project statistics dashboard |
|
|
487
382
|
|
|
488
383
|
### Group 4: Phase Management
|
|
489
384
|
|
|
490
|
-
| Command |
|
|
385
|
+
| Command | Description |
|
|
491
386
|
|---|---|
|
|
492
387
|
| `/gsd:add-phase` | Add phase to end of roadmap |
|
|
493
|
-
| `/gsd:insert-phase [N]` | Insert emergency phase |
|
|
388
|
+
| `/gsd:insert-phase [N]` | Insert emergency phase (decimal numbering) |
|
|
494
389
|
| `/gsd:remove-phase [N]` | Remove phase + renumber |
|
|
495
390
|
| `/gsd:list-phase-assumptions [N]` | View Claude's intended approach |
|
|
496
391
|
| `/gsd:research-phase [N]` | Dedicated deep research |
|
|
392
|
+
| `/gsd:add-tests [N]` | Generate tests for completed phase |
|
|
497
393
|
|
|
498
394
|
### Group 5: Session & Navigation
|
|
499
395
|
|
|
500
|
-
| Command |
|
|
396
|
+
| Command | Description |
|
|
501
397
|
|---|---|
|
|
502
|
-
| `/gsd:progress` | Where am I?
|
|
398
|
+
| `/gsd:progress` | Where am I? What's next? |
|
|
399
|
+
| `/gsd:next` | Auto-advance to next logical step |
|
|
503
400
|
| `/gsd:resume-work` | Restore context from previous session |
|
|
504
|
-
| `/gsd:pause-work` |
|
|
401
|
+
| `/gsd:pause-work` | HANDOFF.json + continue-here.md |
|
|
402
|
+
| `/gsd:session-report` | Session summary |
|
|
505
403
|
| `/gsd:help` | All commands |
|
|
506
|
-
| `/gsd:update` | Update GSD |
|
|
404
|
+
| `/gsd:update` | Update GSD + changelog preview |
|
|
507
405
|
|
|
508
406
|
### Group 6: Utilities
|
|
509
407
|
|
|
510
|
-
| Command |
|
|
408
|
+
| Command | Description |
|
|
511
409
|
|---|---|
|
|
512
|
-
| `/gsd:quick [--
|
|
513
|
-
| `/gsd:
|
|
410
|
+
| `/gsd:quick [--discuss] [--research] [--full]` | Ad-hoc task with GSD guarantees |
|
|
411
|
+
| `/gsd:autonomous [--from N]` | Run all remaining phases autonomously |
|
|
412
|
+
| `/gsd:do` | Freeform text → auto-route to right command |
|
|
413
|
+
| `/gsd:note [text/list/promote N] [--global]` | Zero-friction idea capture |
|
|
414
|
+
| `/gsd:debug [desc]` | Systematic debugging + persistent knowledge base |
|
|
415
|
+
| `/gsd:profile-user [--questionnaire] [--refresh]` | Developer behavioral profile |
|
|
514
416
|
| `/gsd:add-todo [desc]` | Jot down an idea |
|
|
515
417
|
| `/gsd:check-todos` | View pending todos |
|
|
516
418
|
| `/gsd:settings` | Configure workflow + model |
|
|
517
|
-
| `/gsd:set-profile <profile>` | Switch quality/balanced/budget |
|
|
419
|
+
| `/gsd:set-profile <profile>` | Switch quality/balanced/budget/inherit |
|
|
518
420
|
| `/gsd:health [--repair]` | Check + repair `.planning/` integrity |
|
|
421
|
+
| `/gsd:cleanup` | Archive completed milestone directories |
|
|
519
422
|
| `/gsd:reapply-patches` | Restore local edits after update |
|
|
423
|
+
| `/gsd:join-discord` | Join community |
|
|
424
|
+
|
|
425
|
+
---
|
|
426
|
+
|
|
427
|
+
## Part IX: Strategic Configuration
|
|
428
|
+
|
|
429
|
+
### 9.1. Model Profiles
|
|
430
|
+
|
|
431
|
+
```bash
|
|
432
|
+
/gsd:set-profile quality # Max quality, Opus heavy
|
|
433
|
+
/gsd:set-profile balanced # Default - Opus for planning only
|
|
434
|
+
/gsd:set-profile budget # Cost-effective - Sonnet/Haiku
|
|
435
|
+
/gsd:set-profile inherit # Use runtime's current model (OpenCode)
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
**v1.24:** `/gsd:set-profile` runs as a programmatic script — completes in seconds instead of 30-40s LLM-driven.
|
|
439
|
+
|
|
440
|
+
### 9.2. Workflow Presets
|
|
441
|
+
|
|
442
|
+
| Scenario | mode | granularity | profile | research | plan_check | verifier | ui_phase | node_repair |
|
|
443
|
+
|---|---|---|---|---|---|---|---|---|
|
|
444
|
+
| Prototyping | yolo | coarse | budget | off | off | off | off | off |
|
|
445
|
+
| Normal dev | interactive | standard | balanced | on | on | on | on | on |
|
|
446
|
+
| Production | interactive | fine | quality | on | on | on | on | on |
|
|
447
|
+
|
|
448
|
+
### 9.3. Context Window Control (v1.25)
|
|
449
|
+
|
|
450
|
+
Disable context monitor warnings:
|
|
451
|
+
|
|
452
|
+
```json
|
|
453
|
+
// .planning/config.json
|
|
454
|
+
{ "hooks": { "context_warnings": false } }
|
|
455
|
+
```
|
|
520
456
|
|
|
521
457
|
---
|
|
522
458
|
|
|
523
|
-
## Part
|
|
459
|
+
## Part X: Troubleshooting
|
|
524
460
|
|
|
525
|
-
###
|
|
461
|
+
### 10.1. Command Not Found
|
|
526
462
|
|
|
527
463
|
- **Restart runtime** to reload commands/skills
|
|
528
464
|
- **Verify files:**
|
|
529
465
|
- Claude: `~/.claude/commands/gsd/` (global) or `./.claude/commands/gsd/` (local)
|
|
530
466
|
- Codex: `~/.codex/skills/gsd-*/SKILL.md`
|
|
467
|
+
- OpenCode: `.config/opencode/` config
|
|
468
|
+
- Copilot: Maps to GitHub Copilot tools
|
|
469
|
+
- Antigravity: Agent Skills format
|
|
531
470
|
- **Reinstall:** `npx get-shit-done-cc@latest`
|
|
532
471
|
|
|
533
|
-
###
|
|
472
|
+
### 10.2. "Project already initialized"
|
|
534
473
|
|
|
535
474
|
`.planning/PROJECT.md` already exists. If you want to start over: delete the `.planning/` directory.
|
|
536
475
|
|
|
537
|
-
###
|
|
476
|
+
### 10.3. AI Quality Degradation
|
|
538
477
|
|
|
539
478
|
```bash
|
|
540
479
|
/clear # Clear context window
|
|
541
480
|
/gsd:resume-work # Restore state from files
|
|
542
481
|
```
|
|
543
482
|
|
|
544
|
-
###
|
|
483
|
+
### 10.4. Plans Going Wrong Direction
|
|
545
484
|
|
|
546
485
|
```bash
|
|
547
486
|
/gsd:list-phase-assumptions 1 # See what Claude intends
|
|
@@ -549,73 +488,78 @@ Like `/gsd:new-project` but for an existing codebase:
|
|
|
549
488
|
/gsd:plan-phase 1 # Re-plan
|
|
550
489
|
```
|
|
551
490
|
|
|
552
|
-
###
|
|
491
|
+
### 10.5. Execution Creates Stubs/Incomplete Code
|
|
492
|
+
|
|
493
|
+
- Plans too large → break them down (2-3 tasks/plan max)
|
|
494
|
+
- Check `read_first` section has enough context (v1.23+)
|
|
553
495
|
|
|
554
|
-
|
|
555
|
-
- Re-plan with smaller scope
|
|
496
|
+
### 10.6. Node Repair Exhausted Budget
|
|
556
497
|
|
|
557
|
-
|
|
498
|
+
- Increase `workflow.node_repair_budget` in config.json
|
|
499
|
+
- Or fix manually → re-execute
|
|
500
|
+
|
|
501
|
+
### 10.7. Agent Suggests Non-Existent Commands
|
|
502
|
+
|
|
503
|
+
Fixed v1.26: Agent no longer suggests `/gsd:transition` (doesn't exist). If still occurring, run `/gsd:update`.
|
|
504
|
+
|
|
505
|
+
### 10.8. Costs Too High
|
|
558
506
|
|
|
559
507
|
```bash
|
|
560
508
|
/gsd:set-profile budget # Switch to Sonnet/Haiku
|
|
561
509
|
/gsd:settings # Turn off research, plan_check, verifier
|
|
562
510
|
```
|
|
563
511
|
|
|
564
|
-
###
|
|
512
|
+
### 10.9. Windows-specific Issues
|
|
565
513
|
|
|
566
|
-
|
|
514
|
+
- `@file:` protocol resolution for large payloads (>50KB) — fixed v1.22.4
|
|
515
|
+
- EPERM/EACCES when scanning protected directories — fixed v1.24
|
|
516
|
+
- WSL + Windows Node.js mismatch → GSD will detect and warn (v1.23)
|
|
517
|
+
- CRLF frontmatter parsing — fixed v1.26
|
|
567
518
|
|
|
568
|
-
###
|
|
519
|
+
### 10.10. Uninstall
|
|
569
520
|
|
|
570
521
|
```bash
|
|
571
|
-
# Global
|
|
572
522
|
npx get-shit-done-cc --claude --global --uninstall
|
|
573
523
|
npx get-shit-done-cc --opencode --global --uninstall
|
|
574
524
|
npx get-shit-done-cc --codex --global --uninstall
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
npx get-shit-done-cc --claude --local --uninstall
|
|
578
|
-
npx get-shit-done-cc --opencode --local --uninstall
|
|
579
|
-
npx get-shit-done-cc --codex --local --uninstall
|
|
525
|
+
npx get-shit-done-cc --copilot --global --uninstall
|
|
526
|
+
npx get-shit-done-cc --antigravity --global --uninstall
|
|
580
527
|
```
|
|
581
528
|
|
|
582
529
|
---
|
|
583
530
|
|
|
584
|
-
## Part
|
|
531
|
+
## Part XI: Best Practices from the Field
|
|
585
532
|
|
|
586
|
-
###
|
|
533
|
+
### 11.1. Gold Rules — 9 Golden Rules
|
|
587
534
|
|
|
588
535
|
1. **`/clear` between phases.** Clean context window = peak quality.
|
|
589
536
|
2. **Invest time in Discuss.** The clearer you are, the more accurate AI becomes.
|
|
590
537
|
3. **Vertical Slices > Horizontal Layers.** Split features E2E, don't split by layer.
|
|
591
|
-
4. **Use `/gsd:progress` frequently.**
|
|
538
|
+
4. **Use `/gsd:progress` or `/gsd:next` frequently.** These are your compass.
|
|
592
539
|
5. **No manual debugging.** Use `/gsd:verify-work` or `/gsd:debug` to let AI self-diagnose.
|
|
593
540
|
6. **Commit initial docs.** `commit_docs: true` so team members and future-you understand context.
|
|
594
541
|
7. **Configure deny list BEFORE starting.** Defense-in-depth for secrets.
|
|
542
|
+
8. **Use `/gsd:ui-phase` for frontend.** UI design contract prevents "vibe-design".
|
|
543
|
+
9. **Use `/gsd:note` when you have ideas.** Capture ideas immediately, promote later.
|
|
595
544
|
|
|
596
|
-
###
|
|
597
|
-
|
|
598
|
-
- **Atomic commits** enable `git bisect` to find the exact failing task
|
|
599
|
-
- **Branch per phase** when code review is needed
|
|
600
|
-
- **Squash merge milestones** for a clean main branch
|
|
601
|
-
|
|
602
|
-
### 12.3. When to Use Quick vs Full Workflow?
|
|
603
|
-
|
|
604
|
-
| Scenario | Use |
|
|
605
|
-
|---|---|
|
|
606
|
-
| Small bug fix | `/gsd:quick` |
|
|
607
|
-
| Config change | `/gsd:quick` |
|
|
608
|
-
| Small feature, familiar domain | `/gsd:quick --full` |
|
|
609
|
-
| Complex feature, new domain | Full workflow (discuss → plan → execute → verify) |
|
|
610
|
-
| Critical system, production | Full workflow + `fine` granularity + `quality` profile |
|
|
611
|
-
|
|
612
|
-
### 12.4. Anti-Patterns — What to Avoid
|
|
545
|
+
### 11.2. Anti-Patterns — What to Avoid
|
|
613
546
|
|
|
614
547
|
| ❌ Anti-Pattern | ✅ Best Practice |
|
|
615
548
|
|---|---|
|
|
616
549
|
| Accepting defaults through Discuss too quickly | Answer in detail, describe your personal vision |
|
|
617
550
|
| Not using `/clear` between phases | Clear context after every verify |
|
|
618
551
|
| Manual debugging when verify fails | Let GSD spawn debug agents |
|
|
619
|
-
| Re-running `/gsd:execute-phase` when fixes are needed | Use `/gsd:quick` for targeted fixes |
|
|
620
552
|
| Plans too large (5+ tasks) | Keep 2-3 tasks/plan, use `fine` granularity |
|
|
621
553
|
| Skipping audit before complete | ALWAYS audit → plan gaps → complete |
|
|
554
|
+
| Skip `/gsd:ui-phase` for frontend | UI-SPEC creates design contract, reduces revisions |
|
|
555
|
+
| Not using `/gsd:note` | Ideas are lost when context is cleared |
|
|
556
|
+
|
|
557
|
+
---
|
|
558
|
+
|
|
559
|
+
## Resources
|
|
560
|
+
|
|
561
|
+
| Resource | Link |
|
|
562
|
+
|---|---|
|
|
563
|
+
| **User Guide** | [User Guide](https://github.com/gsd-build/get-shit-done/blob/main/docs/USER-GUIDE.md) |
|
|
564
|
+
| **GitHub** | [gsd-build/get-shit-done](https://github.com/gsd-build/get-shit-done) |
|
|
565
|
+
| **Discord** | [Join Community](https://discord.gg/gsd) |
|