get-shit-done-cc 1.0.10 → 1.0.11
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/commands/gsd/help.md +19 -0
- package/commands/gsd/research-phase.md +90 -0
- package/get-shit-done/references/git-integration.md +2 -2
- package/get-shit-done/references/plan-format.md +1 -1
- package/get-shit-done/references/scope-estimation.md +3 -3
- package/get-shit-done/templates/{research-prompt.md → discovery.md} +35 -22
- package/get-shit-done/templates/phase-prompt.md +2 -2
- package/get-shit-done/templates/research.md +529 -0
- package/get-shit-done/workflows/discovery-phase.md +293 -0
- package/get-shit-done/workflows/plan-phase.md +50 -22
- package/get-shit-done/workflows/research-phase.md +325 -202
- package/package.json +1 -1
package/commands/gsd/help.md
CHANGED
|
@@ -55,6 +55,16 @@ Gather phase context through adaptive questioning before planning.
|
|
|
55
55
|
|
|
56
56
|
Usage: `/gsd:discuss-phase 2`
|
|
57
57
|
|
|
58
|
+
**`/gsd:research-phase <number>`**
|
|
59
|
+
Comprehensive ecosystem research for niche/complex domains.
|
|
60
|
+
|
|
61
|
+
- Discovers standard stack, architecture patterns, pitfalls
|
|
62
|
+
- Creates RESEARCH.md with "how experts build this" knowledge
|
|
63
|
+
- Use for 3D, games, audio, shaders, ML, and other specialized domains
|
|
64
|
+
- Goes beyond "which library" to ecosystem knowledge
|
|
65
|
+
|
|
66
|
+
Usage: `/gsd:research-phase 3`
|
|
67
|
+
|
|
58
68
|
**`/gsd:list-phase-assumptions <number>`**
|
|
59
69
|
Surface Claude's assumptions about a phase before planning.
|
|
60
70
|
|
|
@@ -236,6 +246,15 @@ Change anytime by editing `.planning/config.json`
|
|
|
236
246
|
/gsd:execute-plan .planning/phases/01-foundation/01-01-PLAN.md
|
|
237
247
|
```
|
|
238
248
|
|
|
249
|
+
**Building something in a niche domain (3D, games, audio, shaders):**
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
/gsd:new-project
|
|
253
|
+
/gsd:research-phase 1 # Learn how experts build this
|
|
254
|
+
/gsd:plan-phase 1 # Plan using research findings
|
|
255
|
+
/gsd:execute-plan .planning/phases/01-foundation/01-01-PLAN.md
|
|
256
|
+
```
|
|
257
|
+
|
|
239
258
|
**Resuming work after a break:**
|
|
240
259
|
|
|
241
260
|
```
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Research how to implement a phase before planning
|
|
3
|
+
argument-hint: "[phase]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash
|
|
7
|
+
- Glob
|
|
8
|
+
- Grep
|
|
9
|
+
- Write
|
|
10
|
+
- WebFetch
|
|
11
|
+
- WebSearch
|
|
12
|
+
- mcp__context7__*
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<objective>
|
|
16
|
+
Comprehensive research on HOW to implement a phase before planning.
|
|
17
|
+
|
|
18
|
+
This is for niche/complex domains where Claude's training data is sparse or outdated. Research discovers:
|
|
19
|
+
- What libraries exist for this problem
|
|
20
|
+
- What architecture patterns experts use
|
|
21
|
+
- What the standard stack looks like
|
|
22
|
+
- What problems people commonly hit
|
|
23
|
+
- What NOT to hand-roll (use existing solutions)
|
|
24
|
+
|
|
25
|
+
Output: RESEARCH.md with ecosystem knowledge that informs quality planning.
|
|
26
|
+
</objective>
|
|
27
|
+
|
|
28
|
+
<execution_context>
|
|
29
|
+
@~/.claude/get-shit-done/workflows/research-phase.md
|
|
30
|
+
@~/.claude/get-shit-done/templates/research.md
|
|
31
|
+
@~/.claude/get-shit-done/references/research-pitfalls.md
|
|
32
|
+
</execution_context>
|
|
33
|
+
|
|
34
|
+
<context>
|
|
35
|
+
Phase number: $ARGUMENTS (required)
|
|
36
|
+
|
|
37
|
+
**Load project state:**
|
|
38
|
+
@.planning/STATE.md
|
|
39
|
+
|
|
40
|
+
**Load roadmap:**
|
|
41
|
+
@.planning/ROADMAP.md
|
|
42
|
+
|
|
43
|
+
**Load phase context if exists:**
|
|
44
|
+
Check for `.planning/phases/XX-name/{phase}-CONTEXT.md` - bonus context from discuss-phase.
|
|
45
|
+
</context>
|
|
46
|
+
|
|
47
|
+
<process>
|
|
48
|
+
1. Validate phase number argument (error if missing or invalid)
|
|
49
|
+
2. Check if phase exists in roadmap - extract phase description
|
|
50
|
+
3. Check if RESEARCH.md already exists (offer to update or use existing)
|
|
51
|
+
4. Load CONTEXT.md if it exists (bonus context for research direction)
|
|
52
|
+
5. Follow research-phase.md workflow:
|
|
53
|
+
- Analyze phase to identify knowledge gaps
|
|
54
|
+
- Determine research domains (architecture, ecosystem, patterns, pitfalls)
|
|
55
|
+
- Execute comprehensive research via Context7, official docs, WebSearch
|
|
56
|
+
- Cross-verify all findings
|
|
57
|
+
- Create RESEARCH.md with actionable ecosystem knowledge
|
|
58
|
+
6. Offer next steps (plan the phase)
|
|
59
|
+
</process>
|
|
60
|
+
|
|
61
|
+
<when_to_use>
|
|
62
|
+
**Use research-phase for:**
|
|
63
|
+
- 3D graphics (Three.js, WebGL, procedural generation)
|
|
64
|
+
- Game development (physics, collision, AI, procedural content)
|
|
65
|
+
- Audio/music (Web Audio API, DSP, synthesis)
|
|
66
|
+
- Shaders (GLSL, Metal, ISF)
|
|
67
|
+
- ML/AI integration (model serving, inference, pipelines)
|
|
68
|
+
- Real-time systems (WebSockets, WebRTC, sync)
|
|
69
|
+
- Specialized frameworks with active ecosystems
|
|
70
|
+
- Any domain where "how do experts do this" matters
|
|
71
|
+
|
|
72
|
+
**Skip research-phase for:**
|
|
73
|
+
- Standard web dev (auth, CRUD, REST APIs)
|
|
74
|
+
- Well-known patterns (forms, validation, testing)
|
|
75
|
+
- Simple integrations (Stripe, SendGrid with clear docs)
|
|
76
|
+
- Commodity features Claude handles well
|
|
77
|
+
</when_to_use>
|
|
78
|
+
|
|
79
|
+
<success_criteria>
|
|
80
|
+
- [ ] Phase validated against roadmap
|
|
81
|
+
- [ ] Domain/ecosystem identified from phase description
|
|
82
|
+
- [ ] Comprehensive research executed (Context7 + official docs + WebSearch)
|
|
83
|
+
- [ ] All WebSearch findings cross-verified with authoritative sources
|
|
84
|
+
- [ ] RESEARCH.md created with ecosystem knowledge
|
|
85
|
+
- [ ] Standard stack/libraries identified
|
|
86
|
+
- [ ] Architecture patterns documented
|
|
87
|
+
- [ ] Common pitfalls catalogued
|
|
88
|
+
- [ ] What NOT to hand-roll is clear
|
|
89
|
+
- [ ] User knows next steps (plan phase)
|
|
90
|
+
</success_criteria>
|
|
@@ -16,7 +16,7 @@ The git log should read like a changelog of what shipped, not a diary of plannin
|
|
|
16
16
|
| BRIEF + ROADMAP created | YES | Project initialization |
|
|
17
17
|
| PLAN.md created | NO | Intermediate - commit with completion |
|
|
18
18
|
| RESEARCH.md created | NO | Intermediate |
|
|
19
|
-
|
|
|
19
|
+
| DISCOVERY.md created | NO | Intermediate |
|
|
20
20
|
| **Phase completed** | YES | Actual code shipped |
|
|
21
21
|
| Handoff created | YES | WIP state preserved |
|
|
22
22
|
|
|
@@ -118,7 +118,7 @@ e]2f4a8 docs: initialize ecommerce-app (5 phases)
|
|
|
118
118
|
|
|
119
119
|
- PLAN.md creation (wait for phase completion)
|
|
120
120
|
- RESEARCH.md (intermediate)
|
|
121
|
-
-
|
|
121
|
+
- DISCOVERY.md (intermediate)
|
|
122
122
|
- Minor planning tweaks
|
|
123
123
|
- "Fixed typo in roadmap"
|
|
124
124
|
|
|
@@ -250,7 +250,7 @@ Use @file references to load context for the prompt:
|
|
|
250
250
|
<context>
|
|
251
251
|
@.planning/PROJECT.md # Project vision
|
|
252
252
|
@.planning/ROADMAP.md # Phase structure
|
|
253
|
-
@.planning/phases/02-auth/
|
|
253
|
+
@.planning/phases/02-auth/DISCOVERY.md # Discovery results
|
|
254
254
|
@src/lib/db.ts # Existing database setup
|
|
255
255
|
@src/types/user.ts # Existing type definitions
|
|
256
256
|
</context>
|
|
@@ -130,9 +130,9 @@ Total: 16 files, 3 plans → consistent quality
|
|
|
130
130
|
- 02-01-PLAN.md: Setup (checkpoint: decision on auth provider)
|
|
131
131
|
- 02-02-PLAN.md: Implement chosen auth solution
|
|
132
132
|
|
|
133
|
-
**5.
|
|
134
|
-
-
|
|
135
|
-
- Implementation consumes
|
|
133
|
+
**5. Discovery + implementation**
|
|
134
|
+
- Discovery produces DISCOVERY.md (separate plan)
|
|
135
|
+
- Implementation consumes DISCOVERY.md (separate plan)
|
|
136
136
|
- Clear boundary, clean handoff
|
|
137
137
|
</always_split>
|
|
138
138
|
|
|
@@ -1,31 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Discovery Template
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Template for `.planning/phases/XX-name/DISCOVERY.md` - shallow research for library/option decisions.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Answer "which library/option should we use" questions during mandatory discovery in plan-phase.
|
|
6
|
+
|
|
7
|
+
For deep ecosystem research ("how do experts build this"), use `/gsd:research-phase` which produces RESEARCH.md.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## File Template
|
|
4
12
|
|
|
5
13
|
```markdown
|
|
6
14
|
---
|
|
7
15
|
phase: XX-name
|
|
8
|
-
type:
|
|
9
|
-
topic: [
|
|
16
|
+
type: discovery
|
|
17
|
+
topic: [discovery-topic]
|
|
10
18
|
---
|
|
11
19
|
|
|
12
20
|
<session_initialization>
|
|
13
|
-
Before beginning
|
|
21
|
+
Before beginning discovery, verify today's date:
|
|
14
22
|
!`date +%Y-%m-%d`
|
|
15
23
|
|
|
16
24
|
Use this date when searching for "current" or "latest" information.
|
|
17
25
|
Example: If today is 2025-11-22, search for "2025" not "2024".
|
|
18
26
|
</session_initialization>
|
|
19
27
|
|
|
20
|
-
<
|
|
21
|
-
|
|
28
|
+
<discovery_objective>
|
|
29
|
+
Discover [topic] to inform [phase name] implementation.
|
|
22
30
|
|
|
23
31
|
Purpose: [What decision/implementation this enables]
|
|
24
32
|
Scope: [Boundaries]
|
|
25
|
-
Output:
|
|
26
|
-
</
|
|
33
|
+
Output: DISCOVERY.md with recommendation
|
|
34
|
+
</discovery_objective>
|
|
27
35
|
|
|
28
|
-
<
|
|
36
|
+
<discovery_scope>
|
|
29
37
|
<include>
|
|
30
38
|
- [Question to answer]
|
|
31
39
|
- [Area to investigate]
|
|
@@ -33,12 +41,12 @@ Output: FINDINGS.md with structured recommendations
|
|
|
33
41
|
</include>
|
|
34
42
|
|
|
35
43
|
<exclude>
|
|
36
|
-
- [Out of scope for this
|
|
44
|
+
- [Out of scope for this discovery]
|
|
37
45
|
- [Defer to implementation phase]
|
|
38
46
|
</exclude>
|
|
39
|
-
</
|
|
47
|
+
</discovery_scope>
|
|
40
48
|
|
|
41
|
-
<
|
|
49
|
+
<discovery_protocol>
|
|
42
50
|
|
|
43
51
|
**Source Priority:**
|
|
44
52
|
1. **Context7 MCP** - For library/framework documentation (current, authoritative)
|
|
@@ -46,7 +54,7 @@ Output: FINDINGS.md with structured recommendations
|
|
|
46
54
|
3. **WebSearch** - For comparisons, trends, community patterns (verify all findings)
|
|
47
55
|
|
|
48
56
|
**Quality Checklist:**
|
|
49
|
-
Before completing
|
|
57
|
+
Before completing discovery, verify:
|
|
50
58
|
- [ ] All claims have authoritative sources (Context7 or official docs)
|
|
51
59
|
- [ ] Negative claims ("X is not possible") verified with official documentation
|
|
52
60
|
- [ ] API syntax/configuration from Context7 or official docs (never WebSearch alone)
|
|
@@ -59,14 +67,14 @@ Before completing research, verify:
|
|
|
59
67
|
- MEDIUM: WebSearch + Context7/official docs confirm
|
|
60
68
|
- LOW: WebSearch only or training knowledge only (mark for validation)
|
|
61
69
|
|
|
62
|
-
</
|
|
70
|
+
</discovery_protocol>
|
|
63
71
|
|
|
64
72
|
|
|
65
73
|
<output_structure>
|
|
66
|
-
Create `.planning/phases/XX-name/
|
|
74
|
+
Create `.planning/phases/XX-name/DISCOVERY.md`:
|
|
67
75
|
|
|
68
76
|
```markdown
|
|
69
|
-
# [Topic]
|
|
77
|
+
# [Topic] Discovery
|
|
70
78
|
|
|
71
79
|
## Summary
|
|
72
80
|
[2-3 paragraph executive summary - what was researched, what was found, what's recommended]
|
|
@@ -119,15 +127,20 @@ Create `.planning/phases/XX-name/FINDINGS.md`:
|
|
|
119
127
|
</success_criteria>
|
|
120
128
|
|
|
121
129
|
<guidelines>
|
|
122
|
-
**When to use
|
|
123
|
-
- Technology choice unclear
|
|
124
|
-
- Best practices needed for unfamiliar
|
|
130
|
+
**When to use discovery:**
|
|
131
|
+
- Technology choice unclear (library A vs B)
|
|
132
|
+
- Best practices needed for unfamiliar integration
|
|
125
133
|
- API/library investigation required
|
|
126
|
-
-
|
|
127
|
-
- Multiple valid approaches exist
|
|
134
|
+
- Single decision pending
|
|
128
135
|
|
|
129
136
|
**When NOT to use:**
|
|
130
137
|
- Established patterns (CRUD, auth with known library)
|
|
131
138
|
- Implementation details (defer to execution)
|
|
132
139
|
- Questions answerable from existing project context
|
|
140
|
+
|
|
141
|
+
**When to use RESEARCH.md instead:**
|
|
142
|
+
- Niche/complex domains (3D, games, audio, shaders)
|
|
143
|
+
- Need ecosystem knowledge, not just library choice
|
|
144
|
+
- "How do experts build this" questions
|
|
145
|
+
- Use `/gsd:research-phase` for these
|
|
133
146
|
</guidelines>
|
|
@@ -32,8 +32,8 @@ Output: [What artifacts will be created]
|
|
|
32
32
|
<context>
|
|
33
33
|
@.planning/PROJECT.md
|
|
34
34
|
@.planning/ROADMAP.md
|
|
35
|
-
[If
|
|
36
|
-
@.planning/phases/XX-name/
|
|
35
|
+
[If discovery exists:]
|
|
36
|
+
@.planning/phases/XX-name/DISCOVERY.md
|
|
37
37
|
[Relevant source files:]
|
|
38
38
|
@src/path/to/relevant.ts
|
|
39
39
|
</context>
|