get-shit-done-cc 1.9.13 → 1.10.0-experimental.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +8 -0
  2. package/agents/design-specialist.md +222 -0
  3. package/agents/gsd-executor.md +37 -375
  4. package/agents/gsd-planner.md +15 -108
  5. package/bin/install.js +92 -5
  6. package/commands/gsd/autopilot.md +518 -0
  7. package/commands/gsd/checkpoints.md +229 -0
  8. package/commands/gsd/design-system.md +70 -0
  9. package/commands/gsd/discuss-design.md +77 -0
  10. package/commands/gsd/extend.md +80 -0
  11. package/commands/gsd/help.md +43 -0
  12. package/commands/gsd/new-project.md +94 -8
  13. package/commands/gsd/plan-phase.md +35 -5
  14. package/get-shit-done/references/ccr-integration.md +468 -0
  15. package/get-shit-done/references/checkpoint-execution.md +369 -0
  16. package/get-shit-done/references/checkpoint-types.md +728 -0
  17. package/get-shit-done/references/deviation-rules.md +215 -0
  18. package/get-shit-done/references/framework-patterns.md +543 -0
  19. package/get-shit-done/references/ui-principles.md +258 -0
  20. package/get-shit-done/references/verification-patterns.md +1 -1
  21. package/get-shit-done/skills/gsd-extend/SKILL.md +154 -0
  22. package/get-shit-done/skills/gsd-extend/references/agent-structure.md +305 -0
  23. package/get-shit-done/skills/gsd-extend/references/extension-anatomy.md +123 -0
  24. package/get-shit-done/skills/gsd-extend/references/reference-structure.md +408 -0
  25. package/get-shit-done/skills/gsd-extend/references/template-structure.md +370 -0
  26. package/get-shit-done/skills/gsd-extend/references/validation-rules.md +140 -0
  27. package/get-shit-done/skills/gsd-extend/references/workflow-structure.md +253 -0
  28. package/get-shit-done/skills/gsd-extend/templates/agent-template.md +234 -0
  29. package/get-shit-done/skills/gsd-extend/templates/reference-template.md +239 -0
  30. package/get-shit-done/skills/gsd-extend/templates/workflow-template.md +169 -0
  31. package/get-shit-done/skills/gsd-extend/workflows/create-approach.md +332 -0
  32. package/get-shit-done/skills/gsd-extend/workflows/list-extensions.md +133 -0
  33. package/get-shit-done/skills/gsd-extend/workflows/remove-extension.md +93 -0
  34. package/get-shit-done/skills/gsd-extend/workflows/validate-extension.md +184 -0
  35. package/get-shit-done/templates/autopilot-script-simple.sh +181 -0
  36. package/get-shit-done/templates/autopilot-script.sh +1142 -0
  37. package/get-shit-done/templates/autopilot-script.sh.backup +1142 -0
  38. package/get-shit-done/templates/design-system.md +238 -0
  39. package/get-shit-done/templates/phase-design.md +205 -0
  40. package/get-shit-done/templates/phase-models-template.json +71 -0
  41. package/get-shit-done/templates/phase-prompt.md +4 -4
  42. package/get-shit-done/templates/state.md +37 -0
  43. package/get-shit-done/tui/App.tsx +169 -0
  44. package/get-shit-done/tui/README.md +107 -0
  45. package/get-shit-done/tui/build.js +37 -0
  46. package/get-shit-done/tui/components/ActivityFeed.tsx +126 -0
  47. package/get-shit-done/tui/components/PhaseCard.tsx +86 -0
  48. package/get-shit-done/tui/components/StatsBar.tsx +147 -0
  49. package/get-shit-done/tui/dist/index.js +387 -0
  50. package/get-shit-done/tui/index.tsx +12 -0
  51. package/get-shit-done/tui/package-lock.json +1074 -0
  52. package/get-shit-done/tui/package.json +22 -0
  53. package/get-shit-done/tui/utils/pipeReader.ts +129 -0
  54. package/get-shit-done/workflows/design-system.md +245 -0
  55. package/get-shit-done/workflows/discuss-design.md +330 -0
  56. package/get-shit-done/workflows/execute-phase.md +44 -1
  57. package/get-shit-done/workflows/execute-plan-auth.md +122 -0
  58. package/get-shit-done/workflows/execute-plan-checkpoints.md +541 -0
  59. package/get-shit-done/workflows/execute-plan.md +34 -856
  60. package/package.json +8 -3
@@ -0,0 +1,229 @@
1
+ ---
2
+ name: gsd:checkpoints
3
+ description: Review and approve pending checkpoints from autopilot execution
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ - Glob
9
+ - AskUserQuestion
10
+ ---
11
+
12
+ <objective>
13
+ Interactive guided flow to review and complete pending checkpoints from autopilot.
14
+
15
+ Checkpoints are human tasks created when plans need manual intervention (adding secrets, external setup, design decisions). This command walks you through each one.
16
+ </objective>
17
+
18
+ <execution_context>
19
+ @~/.claude/get-shit-done/references/ui-brand.md
20
+ </execution_context>
21
+
22
+ <process>
23
+
24
+ ## 1. Check for Pending Checkpoints
25
+
26
+ ```bash
27
+ PENDING_DIR=".planning/checkpoints/pending"
28
+ PENDING_COUNT=$(ls "$PENDING_DIR"/*.json 2>/dev/null | wc -l | tr -d ' ')
29
+ ```
30
+
31
+ **If no checkpoints:**
32
+
33
+ ```
34
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
35
+ GSD ► CHECKPOINTS
36
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
37
+
38
+ No pending checkpoints.
39
+
40
+ Checkpoints are created when autopilot encounters tasks that need
41
+ your input—like adding API keys or making design decisions.
42
+
43
+ Run /gsd:autopilot to start autonomous execution.
44
+ ```
45
+
46
+ **Stop here if no checkpoints.**
47
+
48
+ ## 2. Present Checkpoint Selection
49
+
50
+ Build options from pending checkpoint files. Parse each JSON to extract:
51
+ - Phase number
52
+ - Plan name
53
+ - Brief description of what's awaiting
54
+
55
+ Use AskUserQuestion:
56
+ ```
57
+ question: "You have {N} pending checkpoints. Which would you like to handle?"
58
+ header: "Checkpoint"
59
+ options:
60
+ - label: "Phase {X}: {task_name}"
61
+ description: "{brief awaiting description}"
62
+ - label: "Phase {Y}: {task_name}"
63
+ description: "{brief awaiting description}"
64
+ - ... (up to 4, or summarize if more)
65
+ - label: "Skip for now"
66
+ description: "Exit without handling any checkpoints"
67
+ ```
68
+
69
+ **If "Skip for now":** End with "Run /gsd:checkpoints when you're ready."
70
+
71
+ ## 3. Show Checkpoint Instructions
72
+
73
+ For the selected checkpoint, read the full JSON and display:
74
+
75
+ ```
76
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
77
+ GSD ► CHECKPOINT: {task_name}
78
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
79
+
80
+ Phase {X}, Plan {Y} paused here waiting for you.
81
+
82
+ ## What you need to do
83
+
84
+ {instructions from checkpoint JSON, formatted as numbered steps}
85
+
86
+ ───────────────────────────────────────────────────────
87
+ ```
88
+
89
+ ## 4. Ask for Completion
90
+
91
+ Use AskUserQuestion:
92
+ ```
93
+ question: "Have you completed this task?"
94
+ header: "Status"
95
+ options:
96
+ - label: "Done"
97
+ description: "I've completed the steps above (Recommended)"
98
+ - label: "Skip this feature"
99
+ description: "Don't need this, continue without it"
100
+ - label: "Later"
101
+ description: "I'll handle this another time"
102
+ ```
103
+
104
+ ### If "Done":
105
+
106
+ Ask for optional note:
107
+ ```
108
+ question: "Any notes for the continuation? (e.g., 'Used different env var name')"
109
+ header: "Notes"
110
+ options:
111
+ - label: "No notes"
112
+ description: "Just continue with the plan"
113
+ - label: "Add a note"
114
+ description: "Provide context for the AI"
115
+ ```
116
+
117
+ **If "Add a note":** Use AskUserQuestion with text input for the note.
118
+
119
+ Create approval file:
120
+ ```json
121
+ {
122
+ "phase": "{phase}",
123
+ "plan": "{plan}",
124
+ "approved": true,
125
+ "note": "{user note or empty}",
126
+ "approved_at": "{ISO timestamp}"
127
+ }
128
+ ```
129
+
130
+ Write to `.planning/checkpoints/approved/{original_filename}`
131
+ Remove from `.planning/checkpoints/pending/`
132
+
133
+ ```
134
+ ✓ Checkpoint approved
135
+
136
+ Autopilot will continue this plan on next run.
137
+ ```
138
+
139
+ ### If "Skip this feature":
140
+
141
+ Create rejection file:
142
+ ```json
143
+ {
144
+ "phase": "{phase}",
145
+ "plan": "{plan}",
146
+ "approved": false,
147
+ "reason": "User skipped - feature not needed",
148
+ "rejected_at": "{ISO timestamp}"
149
+ }
150
+ ```
151
+
152
+ Write to `.planning/checkpoints/approved/{original_filename}`
153
+ Remove from `.planning/checkpoints/pending/`
154
+
155
+ ```
156
+ ✓ Checkpoint skipped
157
+
158
+ This plan will be marked as skipped during execution.
159
+ ```
160
+
161
+ ### If "Later":
162
+
163
+ Leave checkpoint in pending, no changes.
164
+
165
+ ```
166
+ Checkpoint remains pending. Run /gsd:checkpoints when ready.
167
+ ```
168
+
169
+ ## 5. Offer Next Checkpoint
170
+
171
+ If more pending checkpoints remain:
172
+
173
+ Use AskUserQuestion:
174
+ ```
175
+ question: "You have {N} more pending checkpoints."
176
+ header: "Continue"
177
+ options:
178
+ - label: "Handle next"
179
+ description: "{next checkpoint brief description}"
180
+ - label: "Done for now"
181
+ description: "Exit checkpoints"
182
+ ```
183
+
184
+ **If "Handle next":** Loop back to step 3 with the next checkpoint.
185
+
186
+ **If "Done for now":**
187
+ ```
188
+ ───────────────────────────────────────────────────────
189
+
190
+ {N} checkpoints remaining. Run /gsd:checkpoints to continue.
191
+
192
+ Autopilot will process approved checkpoints on next run,
193
+ or run it now: bash .planning/autopilot.sh
194
+ ```
195
+
196
+ </process>
197
+
198
+ <checkpoint_json_format>
199
+ Pending checkpoint files contain:
200
+
201
+ ```json
202
+ {
203
+ "phase": "03",
204
+ "plan": "02",
205
+ "plan_name": "OAuth Integration",
206
+ "task_name": "Add Google OAuth credentials",
207
+ "instructions": "1. Go to console.cloud.google.com\n2. Create OAuth 2.0 credential\n3. Add to .env.local:\n GOOGLE_CLIENT_ID=your-id\n GOOGLE_CLIENT_SECRET=your-secret",
208
+ "context": "Plan paused after task 2. Remaining tasks need OAuth configured.",
209
+ "completed_tasks": [
210
+ {"task": 1, "commit": "abc123", "name": "Create OAuth service skeleton"},
211
+ {"task": 2, "commit": "def456", "name": "Add config structure"}
212
+ ],
213
+ "created_at": "2026-01-26T14:30:00Z"
214
+ }
215
+ ```
216
+
217
+ The `instructions` field is what gets shown to the user. It should be actionable steps they can follow, not a request for data to paste.
218
+ </checkpoint_json_format>
219
+
220
+ <success_criteria>
221
+ - [ ] Graceful handling when no checkpoints exist
222
+ - [ ] Interactive selection when multiple checkpoints pending
223
+ - [ ] Clear instructions displayed for selected checkpoint
224
+ - [ ] Three completion options: Done / Skip / Later
225
+ - [ ] Optional notes on Done
226
+ - [ ] Approval/rejection files created correctly
227
+ - [ ] Loops to offer next checkpoint
228
+ - [ ] No secrets stored in checkpoint files
229
+ </success_criteria>
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: gsd:design-system
3
+ description: Establish project-wide design foundation through conversation
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - WebFetch
11
+ - AskUserQuestion
12
+ ---
13
+
14
+ <objective>
15
+
16
+ Establish the visual foundation for the entire project through conversational discovery. Creates `.planning/DESIGN-SYSTEM.md` that all UI work in the project respects.
17
+
18
+ **What it does:**
19
+ 1. Optionally analyze visual references (images, URLs) for aesthetic patterns
20
+ 2. Conversationally discover design preferences (colors, typography, spacing, components)
21
+ 3. Detect project framework for appropriate patterns
22
+ 4. Generate a comprehensive design system document
23
+
24
+ **Output:** `.planning/DESIGN-SYSTEM.md` — the visual foundation that `/gsd:discuss-design` and planning phases load as context
25
+
26
+ </objective>
27
+
28
+ <execution_context>
29
+ @~/.claude/get-shit-done/workflows/design-system.md
30
+ @~/.claude/get-shit-done/references/ui-principles.md
31
+ @~/.claude/get-shit-done/templates/design-system.md
32
+ </execution_context>
33
+
34
+ <context>
35
+
36
+ **When to use:**
37
+ - Starting a new project with UI
38
+ - Before first UI phase
39
+ - When suggested after `/gsd:new-project`
40
+ - When visual direction needs definition
41
+
42
+ </context>
43
+
44
+ <process>
45
+
46
+ Follow the workflow completely. Key phases:
47
+
48
+ 1. **Check existing** — If DESIGN-SYSTEM.md exists, offer update/replace/cancel
49
+ 2. **Detect framework** — React, SwiftUI, Python, HTML/CSS
50
+ 3. **Visual references** — Optionally analyze user-provided images/URLs
51
+ 4. **Aesthetic direction** — Conversationally discover style preferences
52
+ 5. **Color exploration** — Build or capture color palette
53
+ 6. **Typography** — Font selection and scale
54
+ 7. **Component style** — Border radius, shadows, borders
55
+ 8. **Spacing system** — Base unit and scale
56
+ 9. **Generate** — Create DESIGN-SYSTEM.md
57
+
58
+ </process>
59
+
60
+ <success_criteria>
61
+ - [ ] User's aesthetic vision understood
62
+ - [ ] Visual references analyzed (if provided)
63
+ - [ ] Color palette defined with tokens
64
+ - [ ] Typography scale established
65
+ - [ ] Spacing system determined
66
+ - [ ] Component patterns documented
67
+ - [ ] Framework-appropriate values included
68
+ - [ ] DESIGN-SYSTEM.md created
69
+ - [ ] User knows how system integrates with GSD
70
+ </success_criteria>
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: gsd:discuss-design
3
+ description: Design phase-specific UI through conversation before planning
4
+ argument-hint: "<phase>"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - WebFetch
12
+ - AskUserQuestion
13
+ - Task
14
+ ---
15
+
16
+ <objective>
17
+
18
+ Design phase-specific UI elements through conversation, then generate visual mockups for review. Ensures design decisions are made before implementation time is spent.
19
+
20
+ **What it does:**
21
+ 1. Load design system (if exists) as visual foundation
22
+ 2. Conversationally design components needed for the phase
23
+ 3. Generate framework-appropriate mockups (React, SwiftUI, HTML, Python)
24
+ 4. Iterate until user approves the visuals
25
+ 5. Create DESIGN.md that the planner automatically loads
26
+
27
+ **Output:**
28
+ - `.planning/phases/{phase}/{phase}-DESIGN.md` — component specs for planner
29
+ - `.planning/phases/{phase}/mockups/` — visual previews
30
+
31
+ </objective>
32
+
33
+ <execution_context>
34
+ @~/.claude/get-shit-done/workflows/discuss-design.md
35
+ @~/.claude/get-shit-done/references/ui-principles.md
36
+ @~/.claude/get-shit-done/references/framework-patterns.md
37
+ @~/.claude/get-shit-done/templates/phase-design.md
38
+ </execution_context>
39
+
40
+ <context>
41
+ Phase number: $ARGUMENTS (required)
42
+
43
+ **Load design system (if exists):**
44
+ @.planning/DESIGN-SYSTEM.md
45
+
46
+ **Load roadmap:**
47
+ @.planning/ROADMAP.md
48
+ </context>
49
+
50
+ <process>
51
+
52
+ Follow the workflow completely. Key phases:
53
+
54
+ 1. **Parse phase** — Validate phase number, load phase details
55
+ 2. **Load design system** — Use as foundation if exists
56
+ 3. **Detect framework** — React, SwiftUI, Python, HTML for mockup format
57
+ 4. **Visual references** — Optionally analyze phase-specific references
58
+ 5. **Component discovery** — Identify and spec all UI components
59
+ 6. **Layout discussion** — How components are arranged
60
+ 7. **Interaction discussion** — States, transitions, feedback
61
+ 8. **Generate mockups** — Spawn design specialist agent
62
+ 9. **Review loop** — Iterate until approved
63
+ 10. **Create DESIGN.md** — Specs for planner
64
+
65
+ </process>
66
+
67
+ <success_criteria>
68
+ - [ ] Phase requirements understood
69
+ - [ ] Design system loaded as context (if exists)
70
+ - [ ] All UI components identified and specified
71
+ - [ ] Component states documented (loading, error, empty, etc.)
72
+ - [ ] Layout and responsive behavior defined
73
+ - [ ] Framework-appropriate mockups generated
74
+ - [ ] User approved mockups visually
75
+ - [ ] DESIGN.md created for planner consumption
76
+ - [ ] User knows next steps (plan or edit)
77
+ </success_criteria>
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: gsd:extend
3
+ description: Create custom GSD approaches - workflows, agents, references, templates
4
+ argument-hint: "[list | create | remove <name>]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - AskUserQuestion
12
+ ---
13
+
14
+ <objective>
15
+
16
+ Create and manage custom GSD approaches. An approach is a complete methodology - a workflow with supporting references, agents, and templates that work together.
17
+
18
+ **Examples of approaches:**
19
+ - Spike-first planning (explore before formalizing)
20
+ - Security-focused execution (audit before each commit)
21
+ - API-first development (OpenAPI spec drives implementation)
22
+ - TDD-strict (enforce red-green-refactor cycle)
23
+
24
+ </objective>
25
+
26
+ <execution_context>
27
+
28
+ @~/.claude/get-shit-done/skills/gsd-extend/SKILL.md
29
+
30
+ </execution_context>
31
+
32
+ <context>
33
+
34
+ **Arguments:** $ARGUMENTS
35
+
36
+ **Extension locations:**
37
+ - Project: `.planning/extensions/`
38
+ - Global: `~/.claude/gsd-extensions/`
39
+
40
+ </context>
41
+
42
+ <process>
43
+
44
+ ## Parse Arguments
45
+
46
+ **If `$ARGUMENTS` is empty or "create":**
47
+ → Load `workflows/create-approach.md`
48
+ → Start conversational discovery
49
+
50
+ **If `$ARGUMENTS` is "list":**
51
+ → Load `workflows/list-extensions.md`
52
+ → Show all installed extensions
53
+
54
+ **If `$ARGUMENTS` starts with "remove":**
55
+ → Load `workflows/remove-extension.md`
56
+ → Parse the name and remove
57
+
58
+ **If ambiguous:**
59
+ Use AskUserQuestion:
60
+ - header: "Action"
61
+ - question: "What would you like to do?"
62
+ - options:
63
+ - "Create an approach" - Build a custom methodology through conversation
64
+ - "List extensions" - See what's installed
65
+ - "Remove an extension" - Delete something
66
+
67
+ ## Execute
68
+
69
+ Follow the loaded workflow completely.
70
+
71
+ </process>
72
+
73
+ <success_criteria>
74
+
75
+ - [ ] User intent understood
76
+ - [ ] Correct workflow loaded
77
+ - [ ] Workflow executed successfully
78
+ - [ ] User knows next steps
79
+
80
+ </success_criteria>
@@ -123,6 +123,31 @@ Execute all plans in a phase.
123
123
 
124
124
  Usage: `/gsd:execute-phase 5`
125
125
 
126
+ ### Autonomous Execution
127
+
128
+ **`/gsd:autopilot`**
129
+ Fully automated milestone execution.
130
+
131
+ - Generates shell script that runs in separate terminal
132
+ - Each phase gets fresh 200k context via `claude -p`
133
+ - Loops: plan → execute → verify → handle gaps → next phase
134
+ - Safe to interrupt and resume (state persists in `.planning/`)
135
+ - Tracks cost and enforces budget limits
136
+
137
+ Usage: `/gsd:autopilot`
138
+ Then run: `bash .planning/autopilot.sh`
139
+
140
+ **`/gsd:checkpoints`**
141
+ Review and complete pending checkpoints from autopilot.
142
+
143
+ - Interactive guided flow (no flags needed)
144
+ - Shows human tasks created when plans need manual intervention
145
+ - Checkpoints give instructions ("add these env vars") not data requests
146
+ - Options: Done / Skip / Later
147
+ - Approved checkpoints continue on next autopilot run
148
+
149
+ Usage: `/gsd:checkpoints`
150
+
126
151
  ### Quick Mode
127
152
 
128
153
  **`/gsd:quick`**
@@ -359,6 +384,11 @@ Usage: `/gsd:join-discord`
359
384
  │ └── done/ # Completed todos
360
385
  ├── debug/ # Active debug sessions
361
386
  │ └── resolved/ # Archived resolved issues
387
+ ├── checkpoints/ # Autopilot checkpoint queue
388
+ │ ├── pending/ # Awaiting human action
389
+ │ ├── approved/ # Ready for continuation
390
+ │ └── processed/ # Completed (audit trail)
391
+ ├── logs/ # Autopilot execution logs
362
392
  ├── codebase/ # Codebase map (brownfield projects)
363
393
  │ ├── STACK.md # Languages, frameworks, dependencies
364
394
  │ ├── ARCHITECTURE.md # Patterns, layers, data flow
@@ -455,6 +485,19 @@ Example config:
455
485
  /gsd:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
456
486
  ```
457
487
 
488
+ **Running autonomously (fire and forget):**
489
+
490
+ ```
491
+ /gsd:autopilot # Generate autopilot script
492
+ # In separate terminal:
493
+ bash .planning/autopilot.sh # Run attached (see output live)
494
+ # Or for overnight runs:
495
+ nohup bash .planning/autopilot.sh > .planning/logs/autopilot.log 2>&1 &
496
+
497
+ # Check on checkpoints anytime:
498
+ /gsd:checkpoints # Handle any tasks needing human input
499
+ ```
500
+
458
501
  **Capturing ideas during work:**
459
502
 
460
503
  ```
@@ -323,13 +323,13 @@ questions: [
323
323
  ]
324
324
  },
325
325
  {
326
- header: "Model Profile",
327
- question: "Which AI models for planning agents?",
326
+ header: "Planning Quality",
327
+ question: "How thorough should planning agents be?",
328
328
  multiSelect: false,
329
329
  options: [
330
- { label: "Balanced (Recommended)", description: "Sonnet for most agents — good quality/cost ratio" },
331
- { label: "Quality", description: "Opus for research/roadmap — higher cost, deeper analysis" },
332
- { label: "Budget", description: "Haiku where possible — fastest, lowest cost" }
330
+ { label: "Balanced (Recommended)", description: "Good quality/cost for planning agents" },
331
+ { label: "Quality", description: "Deeper analysis, higher cost" },
332
+ { label: "Budget", description: "Faster, lower cost" }
333
333
  ]
334
334
  }
335
335
  ]
@@ -343,21 +343,43 @@ Create `.planning/config.json` with all settings:
343
343
  "depth": "quick|standard|comprehensive",
344
344
  "parallelization": true|false,
345
345
  "commit_docs": true|false,
346
- "model_profile": "quality|balanced|budget",
346
+ "model_profile": "balanced|quality|budget",
347
347
  "workflow": {
348
348
  "research": true|false,
349
349
  "plan_check": true|false,
350
350
  "verifier": true|false
351
+ },
352
+ "autopilot": {
353
+ "checkpoint_mode": "queue|skip",
354
+ "max_retries": 3,
355
+ "budget_limit_usd": 0,
356
+ "notify_webhook": "",
357
+ "model": "default"
351
358
  }
352
359
  }
353
360
  ```
354
361
 
362
+ **Autopilot settings (defaults shown):**
363
+ - `checkpoint_mode`: How to handle plans needing human input
364
+ - `queue`: Write to `.planning/checkpoints/pending/`, continue with other work
365
+ - `skip`: Skip non-autonomous plans entirely
366
+ - `max_retries`: Retry count before marking phase as failed (default: 3)
367
+ - `budget_limit_usd`: Stop if estimated cost exceeds this (0 = unlimited)
368
+ - `notify_webhook`: URL to POST notifications (empty = disabled)
369
+
355
370
  **If commit_docs = No:**
356
371
  - Set `commit_docs: false` in config.json
357
372
  - Add `.planning/` to `.gitignore` (create if needed)
358
373
 
359
374
  **If commit_docs = Yes:**
360
- - No additional gitignore entries needed
375
+ - Add autopilot transient files to `.gitignore`:
376
+ ```
377
+ # GSD autopilot (transient files)
378
+ .planning/autopilot.sh
379
+ .planning/autopilot.lock
380
+ .planning/logs/
381
+ .planning/checkpoints/
382
+ ```
361
383
 
362
384
  **Commit config.json:**
363
385
 
@@ -949,6 +971,48 @@ Present completion with next steps:
949
971
 
950
972
  ───────────────────────────────────────────────────────────────
951
973
 
974
+ **Optional:** If your project has UI, establish design foundations first:
975
+
976
+ /gsd:design-system — conversational design system creation
977
+
978
+ ───────────────────────────────────────────────────────────────
979
+ ```
980
+
981
+ Use AskUserQuestion to offer next steps:
982
+
983
+ - header: "Next"
984
+ - question: "How would you like to proceed?"
985
+ - options:
986
+ - "Run autopilot" — Execute entire milestone autonomously (Recommended)
987
+ - "Plan phase 1" — Start with manual phase-by-phase execution
988
+ - "Discuss phase 1" — Gather context before planning
989
+ - "Create design system" — Establish visual foundations first (UI projects)
990
+
991
+ **If "Run autopilot":**
992
+ ```
993
+ /gsd:autopilot
994
+ ```
995
+ Route to autopilot command.
996
+
997
+ **If "Plan phase 1":**
998
+ ```
999
+ ───────────────────────────────────────────────────────────────
1000
+
1001
+ ## ▶ Next Up
1002
+
1003
+ **Phase 1: [Phase Name]** — [Goal from ROADMAP.md]
1004
+
1005
+ /gsd:plan-phase 1
1006
+
1007
+ <sub>/clear first → fresh context window</sub>
1008
+
1009
+ ───────────────────────────────────────────────────────────────
1010
+ ```
1011
+
1012
+ **If "Discuss phase 1":**
1013
+ ```
1014
+ ───────────────────────────────────────────────────────────────
1015
+
952
1016
  ## ▶ Next Up
953
1017
 
954
1018
  **Phase 1: [Phase Name]** — [Goal from ROADMAP.md]
@@ -957,10 +1021,32 @@ Present completion with next steps:
957
1021
 
958
1022
  <sub>/clear first → fresh context window</sub>
959
1023
 
960
- ---
1024
+ ───────────────────────────────────────────────────────────────
961
1025
 
962
1026
  **Also available:**
963
1027
  - /gsd:plan-phase 1 — skip discussion, plan directly
1028
+ - /gsd:autopilot — execute entire milestone autonomously
1029
+
1030
+ ───────────────────────────────────────────────────────────────
1031
+ ```
1032
+
1033
+ **If "Create design system":**
1034
+ ```
1035
+ ───────────────────────────────────────────────────────────────
1036
+
1037
+ ## ▶ Design System
1038
+
1039
+ Establish visual foundations before building UI phases.
1040
+
1041
+ /gsd:design-system
1042
+
1043
+ <sub>/clear first → fresh context window</sub>
1044
+
1045
+ ───────────────────────────────────────────────────────────────
1046
+
1047
+ After design system is created, continue with:
1048
+ - /gsd:discuss-design 1 — design phase-specific UI
1049
+ - /gsd:plan-phase 1 — plan the first phase
964
1050
 
965
1051
  ───────────────────────────────────────────────────────────────
966
1052
  ```