@undeemed/get-shit-done-codex 1.6.11 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -3
- package/agents/gsd-codebase-mapper.md +761 -0
- package/agents/gsd-debugger.md +1198 -0
- package/agents/gsd-executor.md +419 -0
- package/agents/gsd-integration-checker.md +423 -0
- package/agents/gsd-phase-researcher.md +469 -0
- package/agents/gsd-plan-checker.md +622 -0
- package/agents/gsd-planner.md +1159 -0
- package/agents/gsd-project-researcher.md +618 -0
- package/agents/gsd-research-synthesizer.md +236 -0
- package/agents/gsd-roadmapper.md +639 -0
- package/agents/gsd-verifier.md +541 -0
- package/bin/install.js +106 -100
- package/commands/gsd/add-phase.md +17 -185
- package/commands/gsd/add-todo.md +23 -163
- package/commands/gsd/audit-milestone.md +3 -219
- package/commands/gsd/check-todos.md +20 -196
- package/commands/gsd/cleanup.md +18 -0
- package/commands/gsd/debug.md +13 -0
- package/commands/gsd/discuss-phase.md +10 -3
- package/commands/gsd/execute-phase.md +3 -265
- package/commands/gsd/health.md +22 -0
- package/commands/gsd/help.md +8 -369
- package/commands/gsd/insert-phase.md +9 -203
- package/commands/gsd/join-discord.md +18 -0
- package/commands/gsd/new-milestone.md +12 -678
- package/commands/gsd/new-project.md +8 -862
- package/commands/gsd/new-project.md.bak +1041 -0
- package/commands/gsd/pause-work.md +17 -105
- package/commands/gsd/plan-milestone-gaps.md +3 -247
- package/commands/gsd/plan-phase.md +13 -444
- package/commands/gsd/progress.md +5 -337
- package/commands/gsd/quick.md +40 -0
- package/commands/gsd/reapply-patches.md +110 -0
- package/commands/gsd/remove-phase.md +9 -315
- package/commands/gsd/research-phase.md +26 -19
- package/commands/gsd/set-profile.md +34 -0
- package/commands/gsd/settings.md +36 -0
- package/commands/gsd/update.md +25 -160
- package/commands/gsd/verify-work.md +3 -183
- package/get-shit-done/bin/gsd-tools.cjs +5243 -0
- package/get-shit-done/bin/gsd-tools.test.cjs +2273 -0
- package/get-shit-done/references/checkpoints.md +254 -267
- package/get-shit-done/references/decimal-phase-calculation.md +65 -0
- package/get-shit-done/references/git-integration.md +3 -9
- package/get-shit-done/references/git-planning-commit.md +38 -0
- package/get-shit-done/references/model-profile-resolution.md +34 -0
- package/get-shit-done/references/model-profiles.md +92 -0
- package/get-shit-done/references/phase-argument-parsing.md +61 -0
- package/get-shit-done/references/planning-config.md +196 -0
- package/get-shit-done/references/questioning.md +4 -0
- package/get-shit-done/references/verification-patterns.md +17 -0
- package/get-shit-done/templates/UAT.md +1 -1
- package/get-shit-done/templates/codebase/structure.md +3 -3
- package/get-shit-done/templates/config.json +10 -0
- package/get-shit-done/templates/context.md +2 -10
- package/get-shit-done/templates/phase-prompt.md +18 -27
- package/get-shit-done/templates/planner-subagent-prompt.md +4 -4
- package/get-shit-done/templates/research-project/ARCHITECTURE.md +1 -1
- package/get-shit-done/templates/research.md +25 -2
- package/get-shit-done/templates/state.md +0 -30
- package/get-shit-done/templates/summary-complex.md +59 -0
- package/get-shit-done/templates/summary-minimal.md +41 -0
- package/get-shit-done/templates/summary-standard.md +48 -0
- package/get-shit-done/templates/summary.md +5 -28
- package/get-shit-done/templates/user-setup.md +1 -13
- package/get-shit-done/templates/verification-report.md +1 -1
- package/get-shit-done/workflows/add-phase.md +111 -0
- package/get-shit-done/workflows/add-todo.md +157 -0
- package/get-shit-done/workflows/audit-milestone.md +242 -0
- package/get-shit-done/workflows/check-todos.md +176 -0
- package/get-shit-done/workflows/cleanup.md +152 -0
- package/get-shit-done/workflows/complete-milestone.md +225 -301
- package/get-shit-done/workflows/diagnose-issues.md +3 -17
- package/get-shit-done/workflows/discovery-phase.md +6 -10
- package/get-shit-done/workflows/discuss-phase.md +99 -36
- package/get-shit-done/workflows/execute-phase.md +205 -349
- package/get-shit-done/workflows/execute-plan.md +179 -1569
- package/get-shit-done/workflows/health.md +156 -0
- package/get-shit-done/workflows/help.md +486 -0
- package/get-shit-done/workflows/insert-phase.md +129 -0
- package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
- package/get-shit-done/workflows/map-codebase.md +55 -17
- package/get-shit-done/workflows/new-milestone.md +373 -0
- package/get-shit-done/workflows/new-project.md +1113 -0
- package/get-shit-done/workflows/pause-work.md +122 -0
- package/get-shit-done/workflows/plan-milestone-gaps.md +256 -0
- package/get-shit-done/workflows/plan-phase.md +448 -0
- package/get-shit-done/workflows/progress.md +393 -0
- package/get-shit-done/workflows/quick.md +444 -0
- package/get-shit-done/workflows/remove-phase.md +154 -0
- package/get-shit-done/workflows/research-phase.md +74 -0
- package/get-shit-done/workflows/resume-project.md +18 -23
- package/get-shit-done/workflows/set-profile.md +80 -0
- package/get-shit-done/workflows/settings.md +200 -0
- package/get-shit-done/workflows/transition.md +78 -103
- package/get-shit-done/workflows/update.md +214 -0
- package/get-shit-done/workflows/verify-phase.md +107 -494
- package/get-shit-done/workflows/verify-work.md +18 -11
- package/hooks/dist/gsd-check-update.js +66 -0
- package/hooks/dist/gsd-statusline.js +91 -0
- package/package.json +19 -3
- package/scripts/build-hooks.js +42 -0
- package/commands/gsd/whats-new.md +0 -124
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans. Optionally repairs auto-fixable issues.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<required_reading>
|
|
6
|
+
Read all files referenced by the invoking prompt's execution_context before starting.
|
|
7
|
+
</required_reading>
|
|
8
|
+
|
|
9
|
+
<process>
|
|
10
|
+
|
|
11
|
+
<step name="parse_args">
|
|
12
|
+
**Parse arguments:**
|
|
13
|
+
|
|
14
|
+
Check if `--repair` flag is present in the command arguments.
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
REPAIR_FLAG=""
|
|
18
|
+
if arguments contain "--repair"; then
|
|
19
|
+
REPAIR_FLAG="--repair"
|
|
20
|
+
fi
|
|
21
|
+
```
|
|
22
|
+
</step>
|
|
23
|
+
|
|
24
|
+
<step name="run_health_check">
|
|
25
|
+
**Run health validation:**
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
node ~/.claude/get-shit-done/bin/gsd-tools.cjs validate health $REPAIR_FLAG
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Parse JSON output:
|
|
32
|
+
- `status`: "healthy" | "degraded" | "broken"
|
|
33
|
+
- `errors[]`: Critical issues (code, message, fix, repairable)
|
|
34
|
+
- `warnings[]`: Non-critical issues
|
|
35
|
+
- `info[]`: Informational notes
|
|
36
|
+
- `repairable_count`: Number of auto-fixable issues
|
|
37
|
+
- `repairs_performed[]`: Actions taken if --repair was used
|
|
38
|
+
</step>
|
|
39
|
+
|
|
40
|
+
<step name="format_output">
|
|
41
|
+
**Format and display results:**
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
45
|
+
GSD Health Check
|
|
46
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
47
|
+
|
|
48
|
+
Status: HEALTHY | DEGRADED | BROKEN
|
|
49
|
+
Errors: N | Warnings: N | Info: N
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**If repairs were performed:**
|
|
53
|
+
```
|
|
54
|
+
## Repairs Performed
|
|
55
|
+
|
|
56
|
+
- ✓ config.json: Created with defaults
|
|
57
|
+
- ✓ STATE.md: Regenerated from roadmap
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**If errors exist:**
|
|
61
|
+
```
|
|
62
|
+
## Errors
|
|
63
|
+
|
|
64
|
+
- [E001] config.json: JSON parse error at line 5
|
|
65
|
+
Fix: Run /gsd:health --repair to reset to defaults
|
|
66
|
+
|
|
67
|
+
- [E002] PROJECT.md not found
|
|
68
|
+
Fix: Run /gsd:new-project to create
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**If warnings exist:**
|
|
72
|
+
```
|
|
73
|
+
## Warnings
|
|
74
|
+
|
|
75
|
+
- [W001] STATE.md references phase 5, but only phases 1-3 exist
|
|
76
|
+
Fix: Run /gsd:health --repair to regenerate
|
|
77
|
+
|
|
78
|
+
- [W005] Phase directory "1-setup" doesn't follow NN-name format
|
|
79
|
+
Fix: Rename to match pattern (e.g., 01-setup)
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**If info exists:**
|
|
83
|
+
```
|
|
84
|
+
## Info
|
|
85
|
+
|
|
86
|
+
- [I001] 02-implementation/02-01-PLAN.md has no SUMMARY.md
|
|
87
|
+
Note: May be in progress
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Footer (if repairable issues exist and --repair was NOT used):**
|
|
91
|
+
```
|
|
92
|
+
---
|
|
93
|
+
N issues can be auto-repaired. Run: /gsd:health --repair
|
|
94
|
+
```
|
|
95
|
+
</step>
|
|
96
|
+
|
|
97
|
+
<step name="offer_repair">
|
|
98
|
+
**If repairable issues exist and --repair was NOT used:**
|
|
99
|
+
|
|
100
|
+
Ask user if they want to run repairs:
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
Would you like to run /gsd:health --repair to fix N issues automatically?
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
If yes, re-run with --repair flag and display results.
|
|
107
|
+
</step>
|
|
108
|
+
|
|
109
|
+
<step name="verify_repairs">
|
|
110
|
+
**If repairs were performed:**
|
|
111
|
+
|
|
112
|
+
Re-run health check without --repair to confirm issues are resolved:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
node ~/.claude/get-shit-done/bin/gsd-tools.cjs validate health
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Report final status.
|
|
119
|
+
</step>
|
|
120
|
+
|
|
121
|
+
</process>
|
|
122
|
+
|
|
123
|
+
<error_codes>
|
|
124
|
+
|
|
125
|
+
| Code | Severity | Description | Repairable |
|
|
126
|
+
|------|----------|-------------|------------|
|
|
127
|
+
| E001 | error | .planning/ directory not found | No |
|
|
128
|
+
| E002 | error | PROJECT.md not found | No |
|
|
129
|
+
| E003 | error | ROADMAP.md not found | No |
|
|
130
|
+
| E004 | error | STATE.md not found | Yes |
|
|
131
|
+
| E005 | error | config.json parse error | Yes |
|
|
132
|
+
| W001 | warning | PROJECT.md missing required section | No |
|
|
133
|
+
| W002 | warning | STATE.md references invalid phase | Yes |
|
|
134
|
+
| W003 | warning | config.json not found | Yes |
|
|
135
|
+
| W004 | warning | config.json invalid field value | No |
|
|
136
|
+
| W005 | warning | Phase directory naming mismatch | No |
|
|
137
|
+
| W006 | warning | Phase in ROADMAP but no directory | No |
|
|
138
|
+
| W007 | warning | Phase on disk but not in ROADMAP | No |
|
|
139
|
+
| I001 | info | Plan without SUMMARY (may be in progress) | No |
|
|
140
|
+
|
|
141
|
+
</error_codes>
|
|
142
|
+
|
|
143
|
+
<repair_actions>
|
|
144
|
+
|
|
145
|
+
| Action | Effect | Risk |
|
|
146
|
+
|--------|--------|------|
|
|
147
|
+
| createConfig | Create config.json with defaults | None |
|
|
148
|
+
| resetConfig | Delete + recreate config.json | Loses custom settings |
|
|
149
|
+
| regenerateState | Create STATE.md from ROADMAP structure | Loses session history |
|
|
150
|
+
|
|
151
|
+
**Not repairable (too risky):**
|
|
152
|
+
- PROJECT.md, ROADMAP.md content
|
|
153
|
+
- Phase directory renaming
|
|
154
|
+
- Orphaned plan cleanup
|
|
155
|
+
|
|
156
|
+
</repair_actions>
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Display the complete GSD command reference. Output ONLY the reference content. Do NOT add project-specific analysis, git status, next-step suggestions, or any commentary beyond the reference.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<reference>
|
|
6
|
+
# GSD Command Reference
|
|
7
|
+
|
|
8
|
+
**GSD** (Get Shit Done) creates hierarchical project plans optimized for solo agentic development with Claude Code.
|
|
9
|
+
|
|
10
|
+
## Quick Start
|
|
11
|
+
|
|
12
|
+
1. `/gsd:new-project` - Initialize project (includes research, requirements, roadmap)
|
|
13
|
+
2. `/gsd:plan-phase 1` - Create detailed plan for first phase
|
|
14
|
+
3. `/gsd:execute-phase 1` - Execute the phase
|
|
15
|
+
|
|
16
|
+
## Staying Updated
|
|
17
|
+
|
|
18
|
+
GSD evolves fast. Update periodically:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx get-shit-done-cc@latest
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Core Workflow
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
/gsd:new-project → /gsd:plan-phase → /gsd:execute-phase → repeat
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Project Initialization
|
|
31
|
+
|
|
32
|
+
**`/gsd:new-project`**
|
|
33
|
+
Initialize new project through unified flow.
|
|
34
|
+
|
|
35
|
+
One command takes you from idea to ready-for-planning:
|
|
36
|
+
- Deep questioning to understand what you're building
|
|
37
|
+
- Optional domain research (spawns 4 parallel researcher agents)
|
|
38
|
+
- Requirements definition with v1/v2/out-of-scope scoping
|
|
39
|
+
- Roadmap creation with phase breakdown and success criteria
|
|
40
|
+
|
|
41
|
+
Creates all `.planning/` artifacts:
|
|
42
|
+
- `PROJECT.md` — vision and requirements
|
|
43
|
+
- `config.json` — workflow mode (interactive/yolo)
|
|
44
|
+
- `research/` — domain research (if selected)
|
|
45
|
+
- `REQUIREMENTS.md` — scoped requirements with REQ-IDs
|
|
46
|
+
- `ROADMAP.md` — phases mapped to requirements
|
|
47
|
+
- `STATE.md` — project memory
|
|
48
|
+
|
|
49
|
+
Usage: `/gsd:new-project`
|
|
50
|
+
|
|
51
|
+
**`/gsd:map-codebase`**
|
|
52
|
+
Map an existing codebase for brownfield projects.
|
|
53
|
+
|
|
54
|
+
- Analyzes codebase with parallel Explore agents
|
|
55
|
+
- Creates `.planning/codebase/` with 7 focused documents
|
|
56
|
+
- Covers stack, architecture, structure, conventions, testing, integrations, concerns
|
|
57
|
+
- Use before `/gsd:new-project` on existing codebases
|
|
58
|
+
|
|
59
|
+
Usage: `/gsd:map-codebase`
|
|
60
|
+
|
|
61
|
+
### Phase Planning
|
|
62
|
+
|
|
63
|
+
**`/gsd:discuss-phase <number>`**
|
|
64
|
+
Help articulate your vision for a phase before planning.
|
|
65
|
+
|
|
66
|
+
- Captures how you imagine this phase working
|
|
67
|
+
- Creates CONTEXT.md with your vision, essentials, and boundaries
|
|
68
|
+
- Use when you have ideas about how something should look/feel
|
|
69
|
+
|
|
70
|
+
Usage: `/gsd:discuss-phase 2`
|
|
71
|
+
|
|
72
|
+
**`/gsd:research-phase <number>`**
|
|
73
|
+
Comprehensive ecosystem research for niche/complex domains.
|
|
74
|
+
|
|
75
|
+
- Discovers standard stack, architecture patterns, pitfalls
|
|
76
|
+
- Creates RESEARCH.md with "how experts build this" knowledge
|
|
77
|
+
- Use for 3D, games, audio, shaders, ML, and other specialized domains
|
|
78
|
+
- Goes beyond "which library" to ecosystem knowledge
|
|
79
|
+
|
|
80
|
+
Usage: `/gsd:research-phase 3`
|
|
81
|
+
|
|
82
|
+
**`/gsd:list-phase-assumptions <number>`**
|
|
83
|
+
See what Claude is planning to do before it starts.
|
|
84
|
+
|
|
85
|
+
- Shows Claude's intended approach for a phase
|
|
86
|
+
- Lets you course-correct if Claude misunderstood your vision
|
|
87
|
+
- No files created - conversational output only
|
|
88
|
+
|
|
89
|
+
Usage: `/gsd:list-phase-assumptions 3`
|
|
90
|
+
|
|
91
|
+
**`/gsd:plan-phase <number>`**
|
|
92
|
+
Create detailed execution plan for a specific phase.
|
|
93
|
+
|
|
94
|
+
- Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
|
|
95
|
+
- Breaks phase into concrete, actionable tasks
|
|
96
|
+
- Includes verification criteria and success measures
|
|
97
|
+
- Multiple plans per phase supported (XX-01, XX-02, etc.)
|
|
98
|
+
|
|
99
|
+
Usage: `/gsd:plan-phase 1`
|
|
100
|
+
Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
|
|
101
|
+
|
|
102
|
+
### Execution
|
|
103
|
+
|
|
104
|
+
**`/gsd:execute-phase <phase-number>`**
|
|
105
|
+
Execute all plans in a phase.
|
|
106
|
+
|
|
107
|
+
- Groups plans by wave (from frontmatter), executes waves sequentially
|
|
108
|
+
- Plans within each wave run in parallel via Task tool
|
|
109
|
+
- Verifies phase goal after all plans complete
|
|
110
|
+
- Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
|
|
111
|
+
|
|
112
|
+
Usage: `/gsd:execute-phase 5`
|
|
113
|
+
|
|
114
|
+
### Quick Mode
|
|
115
|
+
|
|
116
|
+
**`/gsd:quick`**
|
|
117
|
+
Execute small, ad-hoc tasks with GSD guarantees but skip optional agents.
|
|
118
|
+
|
|
119
|
+
Quick mode uses the same system with a shorter path:
|
|
120
|
+
- Spawns planner + executor (skips researcher, checker, verifier)
|
|
121
|
+
- Quick tasks live in `.planning/quick/` separate from planned phases
|
|
122
|
+
- Updates STATE.md tracking (not ROADMAP.md)
|
|
123
|
+
|
|
124
|
+
Use when you know exactly what to do and the task is small enough to not need research or verification.
|
|
125
|
+
|
|
126
|
+
Usage: `/gsd:quick`
|
|
127
|
+
Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
|
|
128
|
+
|
|
129
|
+
### Roadmap Management
|
|
130
|
+
|
|
131
|
+
**`/gsd:add-phase <description>`**
|
|
132
|
+
Add new phase to end of current milestone.
|
|
133
|
+
|
|
134
|
+
- Appends to ROADMAP.md
|
|
135
|
+
- Uses next sequential number
|
|
136
|
+
- Updates phase directory structure
|
|
137
|
+
|
|
138
|
+
Usage: `/gsd:add-phase "Add admin dashboard"`
|
|
139
|
+
|
|
140
|
+
**`/gsd:insert-phase <after> <description>`**
|
|
141
|
+
Insert urgent work as decimal phase between existing phases.
|
|
142
|
+
|
|
143
|
+
- Creates intermediate phase (e.g., 7.1 between 7 and 8)
|
|
144
|
+
- Useful for discovered work that must happen mid-milestone
|
|
145
|
+
- Maintains phase ordering
|
|
146
|
+
|
|
147
|
+
Usage: `/gsd:insert-phase 7 "Fix critical auth bug"`
|
|
148
|
+
Result: Creates Phase 7.1
|
|
149
|
+
|
|
150
|
+
**`/gsd:remove-phase <number>`**
|
|
151
|
+
Remove a future phase and renumber subsequent phases.
|
|
152
|
+
|
|
153
|
+
- Deletes phase directory and all references
|
|
154
|
+
- Renumbers all subsequent phases to close the gap
|
|
155
|
+
- Only works on future (unstarted) phases
|
|
156
|
+
- Git commit preserves historical record
|
|
157
|
+
|
|
158
|
+
Usage: `/gsd:remove-phase 17`
|
|
159
|
+
Result: Phase 17 deleted, phases 18-20 become 17-19
|
|
160
|
+
|
|
161
|
+
### Milestone Management
|
|
162
|
+
|
|
163
|
+
**`/gsd:new-milestone <name>`**
|
|
164
|
+
Start a new milestone through unified flow.
|
|
165
|
+
|
|
166
|
+
- Deep questioning to understand what you're building next
|
|
167
|
+
- Optional domain research (spawns 4 parallel researcher agents)
|
|
168
|
+
- Requirements definition with scoping
|
|
169
|
+
- Roadmap creation with phase breakdown
|
|
170
|
+
|
|
171
|
+
Mirrors `/gsd:new-project` flow for brownfield projects (existing PROJECT.md).
|
|
172
|
+
|
|
173
|
+
Usage: `/gsd:new-milestone "v2.0 Features"`
|
|
174
|
+
|
|
175
|
+
**`/gsd:complete-milestone <version>`**
|
|
176
|
+
Archive completed milestone and prepare for next version.
|
|
177
|
+
|
|
178
|
+
- Creates MILESTONES.md entry with stats
|
|
179
|
+
- Archives full details to milestones/ directory
|
|
180
|
+
- Creates git tag for the release
|
|
181
|
+
- Prepares workspace for next version
|
|
182
|
+
|
|
183
|
+
Usage: `/gsd:complete-milestone 1.0.0`
|
|
184
|
+
|
|
185
|
+
### Progress Tracking
|
|
186
|
+
|
|
187
|
+
**`/gsd:progress`**
|
|
188
|
+
Check project status and intelligently route to next action.
|
|
189
|
+
|
|
190
|
+
- Shows visual progress bar and completion percentage
|
|
191
|
+
- Summarizes recent work from SUMMARY files
|
|
192
|
+
- Displays current position and what's next
|
|
193
|
+
- Lists key decisions and open issues
|
|
194
|
+
- Offers to execute next plan or create it if missing
|
|
195
|
+
- Detects 100% milestone completion
|
|
196
|
+
|
|
197
|
+
Usage: `/gsd:progress`
|
|
198
|
+
|
|
199
|
+
### Session Management
|
|
200
|
+
|
|
201
|
+
**`/gsd:resume-work`**
|
|
202
|
+
Resume work from previous session with full context restoration.
|
|
203
|
+
|
|
204
|
+
- Reads STATE.md for project context
|
|
205
|
+
- Shows current position and recent progress
|
|
206
|
+
- Offers next actions based on project state
|
|
207
|
+
|
|
208
|
+
Usage: `/gsd:resume-work`
|
|
209
|
+
|
|
210
|
+
**`/gsd:pause-work`**
|
|
211
|
+
Create context handoff when pausing work mid-phase.
|
|
212
|
+
|
|
213
|
+
- Creates .continue-here file with current state
|
|
214
|
+
- Updates STATE.md session continuity section
|
|
215
|
+
- Captures in-progress work context
|
|
216
|
+
|
|
217
|
+
Usage: `/gsd:pause-work`
|
|
218
|
+
|
|
219
|
+
### Debugging
|
|
220
|
+
|
|
221
|
+
**`/gsd:debug [issue description]`**
|
|
222
|
+
Systematic debugging with persistent state across context resets.
|
|
223
|
+
|
|
224
|
+
- Gathers symptoms through adaptive questioning
|
|
225
|
+
- Creates `.planning/debug/[slug].md` to track investigation
|
|
226
|
+
- Investigates using scientific method (evidence → hypothesis → test)
|
|
227
|
+
- Survives `/clear` — run `/gsd:debug` with no args to resume
|
|
228
|
+
- Archives resolved issues to `.planning/debug/resolved/`
|
|
229
|
+
|
|
230
|
+
Usage: `/gsd:debug "login button doesn't work"`
|
|
231
|
+
Usage: `/gsd:debug` (resume active session)
|
|
232
|
+
|
|
233
|
+
### Todo Management
|
|
234
|
+
|
|
235
|
+
**`/gsd:add-todo [description]`**
|
|
236
|
+
Capture idea or task as todo from current conversation.
|
|
237
|
+
|
|
238
|
+
- Extracts context from conversation (or uses provided description)
|
|
239
|
+
- Creates structured todo file in `.planning/todos/pending/`
|
|
240
|
+
- Infers area from file paths for grouping
|
|
241
|
+
- Checks for duplicates before creating
|
|
242
|
+
- Updates STATE.md todo count
|
|
243
|
+
|
|
244
|
+
Usage: `/gsd:add-todo` (infers from conversation)
|
|
245
|
+
Usage: `/gsd:add-todo Add auth token refresh`
|
|
246
|
+
|
|
247
|
+
**`/gsd:check-todos [area]`**
|
|
248
|
+
List pending todos and select one to work on.
|
|
249
|
+
|
|
250
|
+
- Lists all pending todos with title, area, age
|
|
251
|
+
- Optional area filter (e.g., `/gsd:check-todos api`)
|
|
252
|
+
- Loads full context for selected todo
|
|
253
|
+
- Routes to appropriate action (work now, add to phase, brainstorm)
|
|
254
|
+
- Moves todo to done/ when work begins
|
|
255
|
+
|
|
256
|
+
Usage: `/gsd:check-todos`
|
|
257
|
+
Usage: `/gsd:check-todos api`
|
|
258
|
+
|
|
259
|
+
### User Acceptance Testing
|
|
260
|
+
|
|
261
|
+
**`/gsd:verify-work [phase]`**
|
|
262
|
+
Validate built features through conversational UAT.
|
|
263
|
+
|
|
264
|
+
- Extracts testable deliverables from SUMMARY.md files
|
|
265
|
+
- Presents tests one at a time (yes/no responses)
|
|
266
|
+
- Automatically diagnoses failures and creates fix plans
|
|
267
|
+
- Ready for re-execution if issues found
|
|
268
|
+
|
|
269
|
+
Usage: `/gsd:verify-work 3`
|
|
270
|
+
|
|
271
|
+
### Milestone Auditing
|
|
272
|
+
|
|
273
|
+
**`/gsd:audit-milestone [version]`**
|
|
274
|
+
Audit milestone completion against original intent.
|
|
275
|
+
|
|
276
|
+
- Reads all phase VERIFICATION.md files
|
|
277
|
+
- Checks requirements coverage
|
|
278
|
+
- Spawns integration checker for cross-phase wiring
|
|
279
|
+
- Creates MILESTONE-AUDIT.md with gaps and tech debt
|
|
280
|
+
|
|
281
|
+
Usage: `/gsd:audit-milestone`
|
|
282
|
+
|
|
283
|
+
**`/gsd:plan-milestone-gaps`**
|
|
284
|
+
Create phases to close gaps identified by audit.
|
|
285
|
+
|
|
286
|
+
- Reads MILESTONE-AUDIT.md and groups gaps into phases
|
|
287
|
+
- Prioritizes by requirement priority (must/should/nice)
|
|
288
|
+
- Adds gap closure phases to ROADMAP.md
|
|
289
|
+
- Ready for `/gsd:plan-phase` on new phases
|
|
290
|
+
|
|
291
|
+
Usage: `/gsd:plan-milestone-gaps`
|
|
292
|
+
|
|
293
|
+
### Configuration
|
|
294
|
+
|
|
295
|
+
**`/gsd:settings`**
|
|
296
|
+
Configure workflow toggles and model profile interactively.
|
|
297
|
+
|
|
298
|
+
- Toggle researcher, plan checker, verifier agents
|
|
299
|
+
- Select model profile (quality/balanced/budget)
|
|
300
|
+
- Updates `.planning/config.json`
|
|
301
|
+
|
|
302
|
+
Usage: `/gsd:settings`
|
|
303
|
+
|
|
304
|
+
**`/gsd:set-profile <profile>`**
|
|
305
|
+
Quick switch model profile for GSD agents.
|
|
306
|
+
|
|
307
|
+
- `quality` — Opus everywhere except verification
|
|
308
|
+
- `balanced` — Opus for planning, Sonnet for execution (default)
|
|
309
|
+
- `budget` — Sonnet for writing, Haiku for research/verification
|
|
310
|
+
|
|
311
|
+
Usage: `/gsd:set-profile budget`
|
|
312
|
+
|
|
313
|
+
### Utility Commands
|
|
314
|
+
|
|
315
|
+
**`/gsd:cleanup`**
|
|
316
|
+
Archive accumulated phase directories from completed milestones.
|
|
317
|
+
|
|
318
|
+
- Identifies phases from completed milestones still in `.planning/phases/`
|
|
319
|
+
- Shows dry-run summary before moving anything
|
|
320
|
+
- Moves phase dirs to `.planning/milestones/v{X.Y}-phases/`
|
|
321
|
+
- Use after multiple milestones to reduce `.planning/phases/` clutter
|
|
322
|
+
|
|
323
|
+
Usage: `/gsd:cleanup`
|
|
324
|
+
|
|
325
|
+
**`/gsd:help`**
|
|
326
|
+
Show this command reference.
|
|
327
|
+
|
|
328
|
+
**`/gsd:update`**
|
|
329
|
+
Update GSD to latest version with changelog preview.
|
|
330
|
+
|
|
331
|
+
- Shows installed vs latest version comparison
|
|
332
|
+
- Displays changelog entries for versions you've missed
|
|
333
|
+
- Highlights breaking changes
|
|
334
|
+
- Confirms before running install
|
|
335
|
+
- Better than raw `npx get-shit-done-cc`
|
|
336
|
+
|
|
337
|
+
Usage: `/gsd:update`
|
|
338
|
+
|
|
339
|
+
**`/gsd:join-discord`**
|
|
340
|
+
Join the GSD Discord community.
|
|
341
|
+
|
|
342
|
+
- Get help, share what you're building, stay updated
|
|
343
|
+
- Connect with other GSD users
|
|
344
|
+
|
|
345
|
+
Usage: `/gsd:join-discord`
|
|
346
|
+
|
|
347
|
+
## Files & Structure
|
|
348
|
+
|
|
349
|
+
```
|
|
350
|
+
.planning/
|
|
351
|
+
├── PROJECT.md # Project vision
|
|
352
|
+
├── ROADMAP.md # Current phase breakdown
|
|
353
|
+
├── STATE.md # Project memory & context
|
|
354
|
+
├── config.json # Workflow mode & gates
|
|
355
|
+
├── todos/ # Captured ideas and tasks
|
|
356
|
+
│ ├── pending/ # Todos waiting to be worked on
|
|
357
|
+
│ └── done/ # Completed todos
|
|
358
|
+
├── debug/ # Active debug sessions
|
|
359
|
+
│ └── resolved/ # Archived resolved issues
|
|
360
|
+
├── milestones/
|
|
361
|
+
│ ├── v1.0-ROADMAP.md # Archived roadmap snapshot
|
|
362
|
+
│ ├── v1.0-REQUIREMENTS.md # Archived requirements
|
|
363
|
+
│ └── v1.0-phases/ # Archived phase dirs (via /gsd:cleanup or --archive-phases)
|
|
364
|
+
│ ├── 01-foundation/
|
|
365
|
+
│ └── 02-core-features/
|
|
366
|
+
├── codebase/ # Codebase map (brownfield projects)
|
|
367
|
+
│ ├── STACK.md # Languages, frameworks, dependencies
|
|
368
|
+
│ ├── ARCHITECTURE.md # Patterns, layers, data flow
|
|
369
|
+
│ ├── STRUCTURE.md # Directory layout, key files
|
|
370
|
+
│ ├── CONVENTIONS.md # Coding standards, naming
|
|
371
|
+
│ ├── TESTING.md # Test setup, patterns
|
|
372
|
+
│ ├── INTEGRATIONS.md # External services, APIs
|
|
373
|
+
│ └── CONCERNS.md # Tech debt, known issues
|
|
374
|
+
└── phases/
|
|
375
|
+
├── 01-foundation/
|
|
376
|
+
│ ├── 01-01-PLAN.md
|
|
377
|
+
│ └── 01-01-SUMMARY.md
|
|
378
|
+
└── 02-core-features/
|
|
379
|
+
├── 02-01-PLAN.md
|
|
380
|
+
└── 02-01-SUMMARY.md
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
## Workflow Modes
|
|
384
|
+
|
|
385
|
+
Set during `/gsd:new-project`:
|
|
386
|
+
|
|
387
|
+
**Interactive Mode**
|
|
388
|
+
|
|
389
|
+
- Confirms each major decision
|
|
390
|
+
- Pauses at checkpoints for approval
|
|
391
|
+
- More guidance throughout
|
|
392
|
+
|
|
393
|
+
**YOLO Mode**
|
|
394
|
+
|
|
395
|
+
- Auto-approves most decisions
|
|
396
|
+
- Executes plans without confirmation
|
|
397
|
+
- Only stops for critical checkpoints
|
|
398
|
+
|
|
399
|
+
Change anytime by editing `.planning/config.json`
|
|
400
|
+
|
|
401
|
+
## Planning Configuration
|
|
402
|
+
|
|
403
|
+
Configure how planning artifacts are managed in `.planning/config.json`:
|
|
404
|
+
|
|
405
|
+
**`planning.commit_docs`** (default: `true`)
|
|
406
|
+
- `true`: Planning artifacts committed to git (standard workflow)
|
|
407
|
+
- `false`: Planning artifacts kept local-only, not committed
|
|
408
|
+
|
|
409
|
+
When `commit_docs: false`:
|
|
410
|
+
- Add `.planning/` to your `.gitignore`
|
|
411
|
+
- Useful for OSS contributions, client projects, or keeping planning private
|
|
412
|
+
- All planning files still work normally, just not tracked in git
|
|
413
|
+
|
|
414
|
+
**`planning.search_gitignored`** (default: `false`)
|
|
415
|
+
- `true`: Add `--no-ignore` to broad ripgrep searches
|
|
416
|
+
- Only needed when `.planning/` is gitignored and you want project-wide searches to include it
|
|
417
|
+
|
|
418
|
+
Example config:
|
|
419
|
+
```json
|
|
420
|
+
{
|
|
421
|
+
"planning": {
|
|
422
|
+
"commit_docs": false,
|
|
423
|
+
"search_gitignored": true
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
## Common Workflows
|
|
429
|
+
|
|
430
|
+
**Starting a new project:**
|
|
431
|
+
|
|
432
|
+
```
|
|
433
|
+
/gsd:new-project # Unified flow: questioning → research → requirements → roadmap
|
|
434
|
+
/clear
|
|
435
|
+
/gsd:plan-phase 1 # Create plans for first phase
|
|
436
|
+
/clear
|
|
437
|
+
/gsd:execute-phase 1 # Execute all plans in phase
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
**Resuming work after a break:**
|
|
441
|
+
|
|
442
|
+
```
|
|
443
|
+
/gsd:progress # See where you left off and continue
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
**Adding urgent mid-milestone work:**
|
|
447
|
+
|
|
448
|
+
```
|
|
449
|
+
/gsd:insert-phase 5 "Critical security fix"
|
|
450
|
+
/gsd:plan-phase 5.1
|
|
451
|
+
/gsd:execute-phase 5.1
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
**Completing a milestone:**
|
|
455
|
+
|
|
456
|
+
```
|
|
457
|
+
/gsd:complete-milestone 1.0.0
|
|
458
|
+
/clear
|
|
459
|
+
/gsd:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
**Capturing ideas during work:**
|
|
463
|
+
|
|
464
|
+
```
|
|
465
|
+
/gsd:add-todo # Capture from conversation context
|
|
466
|
+
/gsd:add-todo Fix modal z-index # Capture with explicit description
|
|
467
|
+
/gsd:check-todos # Review and work on todos
|
|
468
|
+
/gsd:check-todos api # Filter by area
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
**Debugging an issue:**
|
|
472
|
+
|
|
473
|
+
```
|
|
474
|
+
/gsd:debug "form submission fails silently" # Start debug session
|
|
475
|
+
# ... investigation happens, context fills up ...
|
|
476
|
+
/clear
|
|
477
|
+
/gsd:debug # Resume from where you left off
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
## Getting Help
|
|
481
|
+
|
|
482
|
+
- Read `.planning/PROJECT.md` for project vision
|
|
483
|
+
- Read `.planning/STATE.md` for current context
|
|
484
|
+
- Check `.planning/ROADMAP.md` for phase status
|
|
485
|
+
- Run `/gsd:progress` to check where you're up to
|
|
486
|
+
</reference>
|