@undeemed/get-shit-done-codex 1.6.5
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.md +183 -0
- package/LICENSE +21 -0
- package/README.md +179 -0
- package/bin/install.js +214 -0
- package/commands/gsd/add-phase.md +207 -0
- package/commands/gsd/add-todo.md +182 -0
- package/commands/gsd/audit-milestone.md +258 -0
- package/commands/gsd/check-todos.md +217 -0
- package/commands/gsd/complete-milestone.md +136 -0
- package/commands/gsd/debug.md +149 -0
- package/commands/gsd/discuss-phase.md +80 -0
- package/commands/gsd/execute-phase.md +304 -0
- package/commands/gsd/help.md +383 -0
- package/commands/gsd/insert-phase.md +227 -0
- package/commands/gsd/list-phase-assumptions.md +50 -0
- package/commands/gsd/map-codebase.md +71 -0
- package/commands/gsd/new-milestone.md +717 -0
- package/commands/gsd/new-project.md +896 -0
- package/commands/gsd/pause-work.md +123 -0
- package/commands/gsd/plan-milestone-gaps.md +284 -0
- package/commands/gsd/plan-phase.md +475 -0
- package/commands/gsd/progress.md +356 -0
- package/commands/gsd/remove-phase.md +338 -0
- package/commands/gsd/research-phase.md +180 -0
- package/commands/gsd/resume-work.md +40 -0
- package/commands/gsd/update.md +172 -0
- package/commands/gsd/verify-work.md +219 -0
- package/commands/gsd/whats-new.md +124 -0
- package/get-shit-done/references/checkpoints.md +788 -0
- package/get-shit-done/references/continuation-format.md +249 -0
- package/get-shit-done/references/git-integration.md +254 -0
- package/get-shit-done/references/questioning.md +141 -0
- package/get-shit-done/references/tdd.md +263 -0
- package/get-shit-done/references/ui-brand.md +160 -0
- package/get-shit-done/references/verification-patterns.md +595 -0
- package/get-shit-done/templates/DEBUG.md +159 -0
- package/get-shit-done/templates/UAT.md +247 -0
- package/get-shit-done/templates/codebase/architecture.md +255 -0
- package/get-shit-done/templates/codebase/concerns.md +310 -0
- package/get-shit-done/templates/codebase/conventions.md +307 -0
- package/get-shit-done/templates/codebase/integrations.md +280 -0
- package/get-shit-done/templates/codebase/stack.md +186 -0
- package/get-shit-done/templates/codebase/structure.md +285 -0
- package/get-shit-done/templates/codebase/testing.md +480 -0
- package/get-shit-done/templates/config.json +26 -0
- package/get-shit-done/templates/context.md +291 -0
- package/get-shit-done/templates/continue-here.md +78 -0
- package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
- package/get-shit-done/templates/discovery.md +146 -0
- package/get-shit-done/templates/milestone-archive.md +123 -0
- package/get-shit-done/templates/milestone.md +115 -0
- package/get-shit-done/templates/phase-prompt.md +576 -0
- package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
- package/get-shit-done/templates/project.md +184 -0
- package/get-shit-done/templates/requirements.md +231 -0
- package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
- package/get-shit-done/templates/research-project/FEATURES.md +147 -0
- package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
- package/get-shit-done/templates/research-project/STACK.md +120 -0
- package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
- package/get-shit-done/templates/research.md +529 -0
- package/get-shit-done/templates/roadmap.md +202 -0
- package/get-shit-done/templates/state.md +206 -0
- package/get-shit-done/templates/summary.md +269 -0
- package/get-shit-done/templates/user-setup.md +323 -0
- package/get-shit-done/templates/verification-report.md +322 -0
- package/get-shit-done/workflows/complete-milestone.md +750 -0
- package/get-shit-done/workflows/diagnose-issues.md +233 -0
- package/get-shit-done/workflows/discovery-phase.md +293 -0
- package/get-shit-done/workflows/discuss-phase.md +422 -0
- package/get-shit-done/workflows/execute-phase.md +552 -0
- package/get-shit-done/workflows/execute-plan.md +1831 -0
- package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
- package/get-shit-done/workflows/map-codebase.md +289 -0
- package/get-shit-done/workflows/resume-project.md +311 -0
- package/get-shit-done/workflows/transition.md +564 -0
- package/get-shit-done/workflows/verify-phase.md +629 -0
- package/get-shit-done/workflows/verify-work.md +563 -0
- package/package.json +39 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:research-phase
|
|
3
|
+
description: Research how to implement a phase (standalone - usually use /gsd:plan-phase instead)
|
|
4
|
+
argument-hint: "[phase]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Task
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Research how to implement a phase. Spawns gsd-phase-researcher agent with phase context.
|
|
13
|
+
|
|
14
|
+
**Note:** This is a standalone research command. For most workflows, use `/gsd:plan-phase` which integrates research automatically.
|
|
15
|
+
|
|
16
|
+
**Use this command when:**
|
|
17
|
+
- You want to research without planning yet
|
|
18
|
+
- You want to re-research after planning is complete
|
|
19
|
+
- You need to investigate before deciding if a phase is feasible
|
|
20
|
+
|
|
21
|
+
**Orchestrator role:** Parse phase, validate against roadmap, check existing research, gather context, spawn researcher agent, present results.
|
|
22
|
+
|
|
23
|
+
**Why subagent:** Research burns context fast (WebSearch, Context7 queries, source verification). Fresh 200k context for investigation. Main context stays lean for user interaction.
|
|
24
|
+
</objective>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
Phase number: $ARGUMENTS (required)
|
|
28
|
+
|
|
29
|
+
Normalize phase input in step 1 before any directory lookups.
|
|
30
|
+
</context>
|
|
31
|
+
|
|
32
|
+
<process>
|
|
33
|
+
|
|
34
|
+
## 1. Normalize and Validate Phase
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Normalize phase number (8 → 08, but preserve decimals like 2.1 → 02.1)
|
|
38
|
+
if [[ "$ARGUMENTS" =~ ^[0-9]+$ ]]; then
|
|
39
|
+
PHASE=$(printf "%02d" "$ARGUMENTS")
|
|
40
|
+
elif [[ "$ARGUMENTS" =~ ^([0-9]+)\.([0-9]+)$ ]]; then
|
|
41
|
+
PHASE=$(printf "%02d.%s" "${BASH_REMATCH[1]}" "${BASH_REMATCH[2]}")
|
|
42
|
+
else
|
|
43
|
+
PHASE="$ARGUMENTS"
|
|
44
|
+
fi
|
|
45
|
+
|
|
46
|
+
grep -A5 "Phase ${PHASE}:" .planning/ROADMAP.md 2>/dev/null
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**If not found:** Error and exit. **If found:** Extract phase number, name, description.
|
|
50
|
+
|
|
51
|
+
## 2. Check Existing Research
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
ls .planning/phases/${PHASE}-*/RESEARCH.md 2>/dev/null
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**If exists:** Offer: 1) Update research, 2) View existing, 3) Skip. Wait for response.
|
|
58
|
+
|
|
59
|
+
**If doesn't exist:** Continue.
|
|
60
|
+
|
|
61
|
+
## 3. Gather Phase Context
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
grep -A20 "Phase ${PHASE}:" .planning/ROADMAP.md
|
|
65
|
+
cat .planning/REQUIREMENTS.md 2>/dev/null
|
|
66
|
+
cat .planning/phases/${PHASE}-*/${PHASE}-CONTEXT.md 2>/dev/null
|
|
67
|
+
grep -A30 "### Decisions Made" .planning/STATE.md 2>/dev/null
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Present summary with phase description, requirements, prior decisions.
|
|
71
|
+
|
|
72
|
+
## 4. Spawn gsd-researcher Agent
|
|
73
|
+
|
|
74
|
+
Research modes: ecosystem (default), feasibility, implementation, comparison.
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
<research_type>
|
|
78
|
+
Phase Research — investigating HOW to implement a specific phase well.
|
|
79
|
+
</research_type>
|
|
80
|
+
|
|
81
|
+
<key_insight>
|
|
82
|
+
The question is NOT "which library should I use?"
|
|
83
|
+
|
|
84
|
+
The question is: "What do I not know that I don't know?"
|
|
85
|
+
|
|
86
|
+
For this phase, discover:
|
|
87
|
+
- What's the established architecture pattern?
|
|
88
|
+
- What libraries form the standard stack?
|
|
89
|
+
- What problems do people commonly hit?
|
|
90
|
+
- What's SOTA vs what Claude's training thinks is SOTA?
|
|
91
|
+
- What should NOT be hand-rolled?
|
|
92
|
+
</key_insight>
|
|
93
|
+
|
|
94
|
+
<objective>
|
|
95
|
+
Research implementation approach for Phase {phase_number}: {phase_name}
|
|
96
|
+
Mode: ecosystem
|
|
97
|
+
</objective>
|
|
98
|
+
|
|
99
|
+
<context>
|
|
100
|
+
**Phase description:** {phase_description}
|
|
101
|
+
**Requirements:** {requirements_list}
|
|
102
|
+
**Prior decisions:** {decisions_if_any}
|
|
103
|
+
**Phase context:** {context_md_content}
|
|
104
|
+
</context>
|
|
105
|
+
|
|
106
|
+
<downstream_consumer>
|
|
107
|
+
Your RESEARCH.md will be loaded by `/gsd:plan-phase` which uses specific sections:
|
|
108
|
+
- `## Standard Stack` → Plans use these libraries
|
|
109
|
+
- `## Architecture Patterns` → Task structure follows these
|
|
110
|
+
- `## Don't Hand-Roll` → Tasks NEVER build custom solutions for listed problems
|
|
111
|
+
- `## Common Pitfalls` → Verification steps check for these
|
|
112
|
+
- `## Code Examples` → Task actions reference these patterns
|
|
113
|
+
|
|
114
|
+
Be prescriptive, not exploratory. "Use X" not "Consider X or Y."
|
|
115
|
+
</downstream_consumer>
|
|
116
|
+
|
|
117
|
+
<quality_gate>
|
|
118
|
+
Before declaring complete, verify:
|
|
119
|
+
- [ ] All domains investigated (not just some)
|
|
120
|
+
- [ ] Negative claims verified with official docs
|
|
121
|
+
- [ ] Multiple sources for critical claims
|
|
122
|
+
- [ ] Confidence levels assigned honestly
|
|
123
|
+
- [ ] Section names match what plan-phase expects
|
|
124
|
+
</quality_gate>
|
|
125
|
+
|
|
126
|
+
<output>
|
|
127
|
+
Write to: .planning/phases/${PHASE}-{slug}/${PHASE}-RESEARCH.md
|
|
128
|
+
</output>
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
Task(
|
|
133
|
+
prompt=filled_prompt,
|
|
134
|
+
subagent_type="gsd-phase-researcher",
|
|
135
|
+
description="Research Phase {phase}"
|
|
136
|
+
)
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## 5. Handle Agent Return
|
|
140
|
+
|
|
141
|
+
**`## RESEARCH COMPLETE`:** Display summary, offer: Plan phase, Dig deeper, Review full, Done.
|
|
142
|
+
|
|
143
|
+
**`## CHECKPOINT REACHED`:** Present to user, get response, spawn continuation.
|
|
144
|
+
|
|
145
|
+
**`## RESEARCH INCONCLUSIVE`:** Show what was attempted, offer: Add context, Try different mode, Manual.
|
|
146
|
+
|
|
147
|
+
## 6. Spawn Continuation Agent
|
|
148
|
+
|
|
149
|
+
```markdown
|
|
150
|
+
<objective>
|
|
151
|
+
Continue research for Phase {phase_number}: {phase_name}
|
|
152
|
+
</objective>
|
|
153
|
+
|
|
154
|
+
<prior_state>
|
|
155
|
+
Research file: @.planning/phases/${PHASE}-{slug}/${PHASE}-RESEARCH.md
|
|
156
|
+
</prior_state>
|
|
157
|
+
|
|
158
|
+
<checkpoint_response>
|
|
159
|
+
**Type:** {checkpoint_type}
|
|
160
|
+
**Response:** {user_response}
|
|
161
|
+
</checkpoint_response>
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
Task(
|
|
166
|
+
prompt=continuation_prompt,
|
|
167
|
+
subagent_type="gsd-phase-researcher",
|
|
168
|
+
description="Continue research Phase {phase}"
|
|
169
|
+
)
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
</process>
|
|
173
|
+
|
|
174
|
+
<success_criteria>
|
|
175
|
+
- [ ] Phase validated against roadmap
|
|
176
|
+
- [ ] Existing research checked
|
|
177
|
+
- [ ] gsd-phase-researcher spawned with context
|
|
178
|
+
- [ ] Checkpoints handled correctly
|
|
179
|
+
- [ ] User knows next steps
|
|
180
|
+
</success_criteria>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:resume-work
|
|
3
|
+
description: Resume work from previous session with full context restoration
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash
|
|
7
|
+
- Write
|
|
8
|
+
- AskUserQuestion
|
|
9
|
+
- SlashCommand
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Restore complete project context and resume work seamlessly from previous session.
|
|
14
|
+
|
|
15
|
+
Routes to the resume-project workflow which handles:
|
|
16
|
+
|
|
17
|
+
- STATE.md loading (or reconstruction if missing)
|
|
18
|
+
- Checkpoint detection (.continue-here files)
|
|
19
|
+
- Incomplete work detection (PLAN without SUMMARY)
|
|
20
|
+
- Status presentation
|
|
21
|
+
- Context-aware next action routing
|
|
22
|
+
</objective>
|
|
23
|
+
|
|
24
|
+
<execution_context>
|
|
25
|
+
@~/.claude/get-shit-done/workflows/resume-project.md
|
|
26
|
+
</execution_context>
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
**Follow the resume-project workflow** from `@~/.claude/get-shit-done/workflows/resume-project.md`.
|
|
30
|
+
|
|
31
|
+
The workflow handles all resumption logic including:
|
|
32
|
+
|
|
33
|
+
1. Project existence verification
|
|
34
|
+
2. STATE.md loading or reconstruction
|
|
35
|
+
3. Checkpoint and incomplete work detection
|
|
36
|
+
4. Visual status presentation
|
|
37
|
+
5. Context-aware option offering (checks CONTEXT.md before suggesting plan vs discuss)
|
|
38
|
+
6. Routing to appropriate next command
|
|
39
|
+
7. Session continuity updates
|
|
40
|
+
</process>
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:update
|
|
3
|
+
description: Update GSD to latest version with changelog display
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Check for GSD updates, install if available, and display what changed.
|
|
8
|
+
|
|
9
|
+
Provides a better update experience than raw `npx get-shit-done-cc` by showing version diff and changelog entries.
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<process>
|
|
13
|
+
|
|
14
|
+
<step name="get_installed_version">
|
|
15
|
+
Read installed version:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
cat ~/.claude/get-shit-done/VERSION 2>/dev/null
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**If VERSION file missing:**
|
|
22
|
+
```
|
|
23
|
+
## GSD Update
|
|
24
|
+
|
|
25
|
+
**Installed version:** Unknown
|
|
26
|
+
|
|
27
|
+
Your installation doesn't include version tracking.
|
|
28
|
+
|
|
29
|
+
Running fresh install...
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Proceed to install step (treat as version 0.0.0 for comparison).
|
|
33
|
+
</step>
|
|
34
|
+
|
|
35
|
+
<step name="check_latest_version">
|
|
36
|
+
Check npm for latest version:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm view get-shit-done-cc version 2>/dev/null
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**If npm check fails:**
|
|
43
|
+
```
|
|
44
|
+
Couldn't check for updates (offline or npm unavailable).
|
|
45
|
+
|
|
46
|
+
To update manually: `npx get-shit-done-cc --global`
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
STOP here if npm unavailable.
|
|
50
|
+
</step>
|
|
51
|
+
|
|
52
|
+
<step name="compare_versions">
|
|
53
|
+
Compare installed vs latest:
|
|
54
|
+
|
|
55
|
+
**If installed == latest:**
|
|
56
|
+
```
|
|
57
|
+
## GSD Update
|
|
58
|
+
|
|
59
|
+
**Installed:** X.Y.Z
|
|
60
|
+
**Latest:** X.Y.Z
|
|
61
|
+
|
|
62
|
+
You're already on the latest version.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
STOP here if already up to date.
|
|
66
|
+
|
|
67
|
+
**If installed > latest:**
|
|
68
|
+
```
|
|
69
|
+
## GSD Update
|
|
70
|
+
|
|
71
|
+
**Installed:** X.Y.Z
|
|
72
|
+
**Latest:** A.B.C
|
|
73
|
+
|
|
74
|
+
You're ahead of the latest release (development version?).
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
STOP here if ahead.
|
|
78
|
+
</step>
|
|
79
|
+
|
|
80
|
+
<step name="show_changes_and_confirm">
|
|
81
|
+
**If update available**, fetch and show what's new BEFORE updating:
|
|
82
|
+
|
|
83
|
+
1. Fetch changelog (same as fetch_changelog step)
|
|
84
|
+
2. Extract entries between installed and latest versions
|
|
85
|
+
3. Display preview and ask for confirmation:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
## GSD Update Available
|
|
89
|
+
|
|
90
|
+
**Installed:** 1.5.10
|
|
91
|
+
**Latest:** 1.5.15
|
|
92
|
+
|
|
93
|
+
### What's New
|
|
94
|
+
────────────────────────────────────────────────────────────
|
|
95
|
+
|
|
96
|
+
## [1.5.15] - 2026-01-20
|
|
97
|
+
|
|
98
|
+
### Added
|
|
99
|
+
- Feature X
|
|
100
|
+
|
|
101
|
+
## [1.5.14] - 2026-01-18
|
|
102
|
+
|
|
103
|
+
### Fixed
|
|
104
|
+
- Bug fix Y
|
|
105
|
+
|
|
106
|
+
────────────────────────────────────────────────────────────
|
|
107
|
+
|
|
108
|
+
⚠️ **Note:** The installer performs a clean install of GSD folders:
|
|
109
|
+
- `~/.claude/commands/gsd/` will be wiped and replaced
|
|
110
|
+
- `~/.claude/get-shit-done/` will be wiped and replaced
|
|
111
|
+
- `~/.claude/agents/gsd-*` files will be replaced
|
|
112
|
+
|
|
113
|
+
Your custom files in other locations are preserved:
|
|
114
|
+
- Custom commands in `~/.claude/commands/your-stuff/` ✓
|
|
115
|
+
- Custom agents not prefixed with `gsd-` ✓
|
|
116
|
+
- Custom hooks ✓
|
|
117
|
+
- Your CLAUDE.md files ✓
|
|
118
|
+
|
|
119
|
+
If you've modified any GSD files directly, back them up first.
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Use AskUserQuestion:
|
|
123
|
+
- Question: "Proceed with update?"
|
|
124
|
+
- Options:
|
|
125
|
+
- "Yes, update now"
|
|
126
|
+
- "No, cancel"
|
|
127
|
+
|
|
128
|
+
**If user cancels:** STOP here.
|
|
129
|
+
</step>
|
|
130
|
+
|
|
131
|
+
<step name="run_update">
|
|
132
|
+
Run the update:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
npx get-shit-done-cc --global
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Capture output. If install fails, show error and STOP.
|
|
139
|
+
|
|
140
|
+
Clear the update cache so statusline indicator disappears:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
rm -f ~/.claude/cache/gsd-update-check.json
|
|
144
|
+
```
|
|
145
|
+
</step>
|
|
146
|
+
|
|
147
|
+
<step name="display_result">
|
|
148
|
+
Format completion message (changelog was already shown in confirmation step):
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
╔═══════════════════════════════════════════════════════════╗
|
|
152
|
+
║ GSD Updated: v1.5.10 → v1.5.15 ║
|
|
153
|
+
╚═══════════════════════════════════════════════════════════╝
|
|
154
|
+
|
|
155
|
+
⚠️ Restart Claude Code to pick up the new commands.
|
|
156
|
+
|
|
157
|
+
[View full changelog](https://github.com/glittercowboy/get-shit-done/blob/main/CHANGELOG.md)
|
|
158
|
+
```
|
|
159
|
+
</step>
|
|
160
|
+
|
|
161
|
+
</process>
|
|
162
|
+
|
|
163
|
+
<success_criteria>
|
|
164
|
+
- [ ] Installed version read correctly
|
|
165
|
+
- [ ] Latest version checked via npm
|
|
166
|
+
- [ ] Update skipped if already current
|
|
167
|
+
- [ ] Changelog fetched and displayed BEFORE update
|
|
168
|
+
- [ ] Clean install warning shown
|
|
169
|
+
- [ ] User confirmation obtained
|
|
170
|
+
- [ ] Update executed successfully
|
|
171
|
+
- [ ] Restart reminder shown
|
|
172
|
+
</success_criteria>
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:verify-work
|
|
3
|
+
description: Validate built features through conversational UAT
|
|
4
|
+
argument-hint: "[phase number, e.g., '4']"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Edit
|
|
11
|
+
- Write
|
|
12
|
+
- Task
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<objective>
|
|
16
|
+
Validate built features through conversational testing with persistent state.
|
|
17
|
+
|
|
18
|
+
Purpose: Confirm what Claude built actually works from user's perspective. One test at a time, plain text responses, no interrogation. When issues are found, automatically diagnose, plan fixes, and prepare for execution.
|
|
19
|
+
|
|
20
|
+
Output: {phase}-UAT.md tracking all test results. If issues found: diagnosed gaps, verified fix plans ready for /gsd:execute-phase
|
|
21
|
+
</objective>
|
|
22
|
+
|
|
23
|
+
<execution_context>
|
|
24
|
+
@~/.claude/get-shit-done/workflows/verify-work.md
|
|
25
|
+
@~/.claude/get-shit-done/templates/UAT.md
|
|
26
|
+
</execution_context>
|
|
27
|
+
|
|
28
|
+
<context>
|
|
29
|
+
Phase: $ARGUMENTS (optional)
|
|
30
|
+
- If provided: Test specific phase (e.g., "4")
|
|
31
|
+
- If not provided: Check for active sessions or prompt for phase
|
|
32
|
+
|
|
33
|
+
@.planning/STATE.md
|
|
34
|
+
@.planning/ROADMAP.md
|
|
35
|
+
</context>
|
|
36
|
+
|
|
37
|
+
<process>
|
|
38
|
+
1. Check for active UAT sessions (resume or start new)
|
|
39
|
+
2. Find SUMMARY.md files for the phase
|
|
40
|
+
3. Extract testable deliverables (user-observable outcomes)
|
|
41
|
+
4. Create {phase}-UAT.md with test list
|
|
42
|
+
5. Present tests one at a time:
|
|
43
|
+
- Show expected behavior
|
|
44
|
+
- Wait for plain text response
|
|
45
|
+
- "yes/y/next" = pass, anything else = issue (severity inferred)
|
|
46
|
+
6. Update UAT.md after each response
|
|
47
|
+
7. On completion: commit, present summary
|
|
48
|
+
8. If issues found:
|
|
49
|
+
- Spawn parallel debug agents to diagnose root causes
|
|
50
|
+
- Spawn gsd-planner in --gaps mode to create fix plans
|
|
51
|
+
- Spawn gsd-plan-checker to verify fix plans
|
|
52
|
+
- Iterate planner ↔ checker until plans pass (max 3)
|
|
53
|
+
- Present ready status with `/clear` then `/gsd:execute-phase`
|
|
54
|
+
</process>
|
|
55
|
+
|
|
56
|
+
<anti_patterns>
|
|
57
|
+
- Don't use AskUserQuestion for test responses — plain text conversation
|
|
58
|
+
- Don't ask severity — infer from description
|
|
59
|
+
- Don't present full checklist upfront — one test at a time
|
|
60
|
+
- Don't run automated tests — this is manual user validation
|
|
61
|
+
- Don't fix issues during testing — log as gaps, diagnose after all tests complete
|
|
62
|
+
</anti_patterns>
|
|
63
|
+
|
|
64
|
+
<offer_next>
|
|
65
|
+
Output this markdown directly (not as a code block). Route based on UAT results:
|
|
66
|
+
|
|
67
|
+
| Status | Route |
|
|
68
|
+
|--------|-------|
|
|
69
|
+
| All tests pass + more phases | Route A (next phase) |
|
|
70
|
+
| All tests pass + last phase | Route B (milestone complete) |
|
|
71
|
+
| Issues found + fix plans ready | Route C (execute fixes) |
|
|
72
|
+
| Issues found + planning blocked | Route D (manual intervention) |
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
**Route A: All tests pass, more phases remain**
|
|
77
|
+
|
|
78
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
79
|
+
GSD ► PHASE {Z} VERIFIED ✓
|
|
80
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
81
|
+
|
|
82
|
+
**Phase {Z}: {Name}**
|
|
83
|
+
|
|
84
|
+
{N}/{N} tests passed
|
|
85
|
+
UAT complete ✓
|
|
86
|
+
|
|
87
|
+
───────────────────────────────────────────────────────────────
|
|
88
|
+
|
|
89
|
+
## ▶ Next Up
|
|
90
|
+
|
|
91
|
+
**Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
|
|
92
|
+
|
|
93
|
+
/gsd:discuss-phase {Z+1} — gather context and clarify approach
|
|
94
|
+
|
|
95
|
+
<sub>/clear first → fresh context window</sub>
|
|
96
|
+
|
|
97
|
+
───────────────────────────────────────────────────────────────
|
|
98
|
+
|
|
99
|
+
**Also available:**
|
|
100
|
+
- /gsd:plan-phase {Z+1} — skip discussion, plan directly
|
|
101
|
+
- /gsd:execute-phase {Z+1} — skip to execution (if already planned)
|
|
102
|
+
|
|
103
|
+
───────────────────────────────────────────────────────────────
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
**Route B: All tests pass, milestone complete**
|
|
108
|
+
|
|
109
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
110
|
+
GSD ► PHASE {Z} VERIFIED ✓
|
|
111
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
112
|
+
|
|
113
|
+
**Phase {Z}: {Name}**
|
|
114
|
+
|
|
115
|
+
{N}/{N} tests passed
|
|
116
|
+
Final phase verified ✓
|
|
117
|
+
|
|
118
|
+
───────────────────────────────────────────────────────────────
|
|
119
|
+
|
|
120
|
+
## ▶ Next Up
|
|
121
|
+
|
|
122
|
+
**Audit milestone** — verify requirements, cross-phase integration, E2E flows
|
|
123
|
+
|
|
124
|
+
/gsd:audit-milestone
|
|
125
|
+
|
|
126
|
+
<sub>/clear first → fresh context window</sub>
|
|
127
|
+
|
|
128
|
+
───────────────────────────────────────────────────────────────
|
|
129
|
+
|
|
130
|
+
**Also available:**
|
|
131
|
+
- /gsd:complete-milestone — skip audit, archive directly
|
|
132
|
+
|
|
133
|
+
───────────────────────────────────────────────────────────────
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
**Route C: Issues found, fix plans ready**
|
|
138
|
+
|
|
139
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
140
|
+
GSD ► PHASE {Z} ISSUES FOUND ⚠
|
|
141
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
142
|
+
|
|
143
|
+
**Phase {Z}: {Name}**
|
|
144
|
+
|
|
145
|
+
{N}/{M} tests passed
|
|
146
|
+
{X} issues diagnosed
|
|
147
|
+
Fix plans verified ✓
|
|
148
|
+
|
|
149
|
+
### Issues Found
|
|
150
|
+
|
|
151
|
+
{List issues with severity from UAT.md}
|
|
152
|
+
|
|
153
|
+
───────────────────────────────────────────────────────────────
|
|
154
|
+
|
|
155
|
+
## ▶ Next Up
|
|
156
|
+
|
|
157
|
+
**Execute fix plans** — run diagnosed fixes
|
|
158
|
+
|
|
159
|
+
/gsd:execute-phase {Z} --gaps-only
|
|
160
|
+
|
|
161
|
+
<sub>/clear first → fresh context window</sub>
|
|
162
|
+
|
|
163
|
+
───────────────────────────────────────────────────────────────
|
|
164
|
+
|
|
165
|
+
**Also available:**
|
|
166
|
+
- cat .planning/phases/{phase_dir}/*-PLAN.md — review fix plans
|
|
167
|
+
- /gsd:plan-phase {Z} --gaps — regenerate fix plans
|
|
168
|
+
|
|
169
|
+
───────────────────────────────────────────────────────────────
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
**Route D: Issues found, planning blocked**
|
|
174
|
+
|
|
175
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
176
|
+
GSD ► PHASE {Z} BLOCKED ✗
|
|
177
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
178
|
+
|
|
179
|
+
**Phase {Z}: {Name}**
|
|
180
|
+
|
|
181
|
+
{N}/{M} tests passed
|
|
182
|
+
Fix planning blocked after {X} iterations
|
|
183
|
+
|
|
184
|
+
### Unresolved Issues
|
|
185
|
+
|
|
186
|
+
{List blocking issues from planner/checker output}
|
|
187
|
+
|
|
188
|
+
───────────────────────────────────────────────────────────────
|
|
189
|
+
|
|
190
|
+
## ▶ Next Up
|
|
191
|
+
|
|
192
|
+
**Manual intervention required**
|
|
193
|
+
|
|
194
|
+
Review the issues above and either:
|
|
195
|
+
1. Provide guidance for fix planning
|
|
196
|
+
2. Manually address blockers
|
|
197
|
+
3. Accept current state and continue
|
|
198
|
+
|
|
199
|
+
───────────────────────────────────────────────────────────────
|
|
200
|
+
|
|
201
|
+
**Options:**
|
|
202
|
+
- /gsd:plan-phase {Z} --gaps — retry fix planning with guidance
|
|
203
|
+
- /gsd:discuss-phase {Z} — gather more context before replanning
|
|
204
|
+
|
|
205
|
+
───────────────────────────────────────────────────────────────
|
|
206
|
+
</offer_next>
|
|
207
|
+
|
|
208
|
+
<success_criteria>
|
|
209
|
+
- [ ] UAT.md created with tests from SUMMARY.md
|
|
210
|
+
- [ ] Tests presented one at a time with expected behavior
|
|
211
|
+
- [ ] Plain text responses (no structured forms)
|
|
212
|
+
- [ ] Severity inferred, never asked
|
|
213
|
+
- [ ] Batched writes: on issue, every 5 passes, or completion
|
|
214
|
+
- [ ] Committed on completion
|
|
215
|
+
- [ ] If issues: parallel debug agents diagnose root causes
|
|
216
|
+
- [ ] If issues: gsd-planner creates fix plans from diagnosed gaps
|
|
217
|
+
- [ ] If issues: gsd-plan-checker verifies fix plans (max 3 iterations)
|
|
218
|
+
- [ ] Ready for `/gsd:execute-phase` when complete
|
|
219
|
+
</success_criteria>
|