get-shit-done-cc 1.1.2 → 1.2.1
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 +12 -12
- package/commands/gsd/new-project.md +8 -9
- package/commands/gsd/research-project.md +92 -47
- package/get-shit-done/references/questioning.md +8 -10
- package/get-shit-done/references/research-subagent-prompts.md +294 -400
- package/get-shit-done/templates/project-research.md +184 -122
- package/get-shit-done/workflows/research-project.md +149 -117
- package/package.json +1 -1
|
@@ -1,14 +1,42 @@
|
|
|
1
1
|
<purpose>
|
|
2
|
-
|
|
2
|
+
Research implementation context for Claude Code before roadmap creation.
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
This is NOT research for human decision-making.
|
|
5
|
+
This is CONTEXT INJECTION so Claude Code implements correctly.
|
|
6
|
+
|
|
7
|
+
Research quality directly impacts implementation quality.
|
|
8
|
+
Claude's training data may have outdated APIs, deprecated patterns, old syntax.
|
|
9
|
+
This research provides current, accurate context to override stale knowledge.
|
|
6
10
|
</purpose>
|
|
7
11
|
|
|
12
|
+
<research_philosophy>
|
|
13
|
+
## What This Research Is
|
|
14
|
+
|
|
15
|
+
**Context injection for Claude Code implementation quality.**
|
|
16
|
+
|
|
17
|
+
Claude Code will read these files during implementation. The research should:
|
|
18
|
+
- Override outdated patterns Claude might default to
|
|
19
|
+
- Provide current API syntax and code examples
|
|
20
|
+
- Explicitly correct common mistakes Claude makes
|
|
21
|
+
- Include version-specific details (as of 2024-2025)
|
|
22
|
+
|
|
23
|
+
## What This Research Is NOT
|
|
24
|
+
|
|
25
|
+
- A survey of options for humans to choose from
|
|
26
|
+
- Generic "best practices" documentation
|
|
27
|
+
- Padding with low-confidence "might be useful" items
|
|
28
|
+
- Academic completeness over practical utility
|
|
29
|
+
|
|
30
|
+
## Quality Bar
|
|
31
|
+
|
|
32
|
+
**Include if:** High confidence, directly actionable, will improve Claude's implementation
|
|
33
|
+
**Exclude if:** Low confidence, tangential, "might be relevant", padding
|
|
34
|
+
</research_philosophy>
|
|
35
|
+
|
|
8
36
|
<required_reading>
|
|
9
37
|
**Read before executing:**
|
|
10
|
-
1. `~/.claude/get-shit-done/references/research-subagent-prompts.md` - Prompt templates
|
|
11
|
-
2. `~/.claude/get-shit-done/templates/project-research.md` - Output format
|
|
38
|
+
1. `~/.claude/get-shit-done/references/research-subagent-prompts.md` - Prompt templates
|
|
39
|
+
2. `~/.claude/get-shit-done/templates/project-research.md` - Output format
|
|
12
40
|
</required_reading>
|
|
13
41
|
|
|
14
42
|
<process>
|
|
@@ -20,172 +48,176 @@ Create research directory:
|
|
|
20
48
|
mkdir -p .planning/research
|
|
21
49
|
```
|
|
22
50
|
|
|
23
|
-
Parse PROJECT.md to
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
51
|
+
Parse PROJECT.md to create research manifest:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
## Research Manifest
|
|
55
|
+
|
|
56
|
+
### Features to Implement
|
|
57
|
+
[Extract from Scope > Building]
|
|
58
|
+
- Feature 1: [description]
|
|
59
|
+
- Feature 2: [description]
|
|
60
|
+
- Feature 3: [description]
|
|
61
|
+
|
|
62
|
+
### Stack Constraints
|
|
63
|
+
[Extract from Constraints]
|
|
64
|
+
- [constraint 1]
|
|
65
|
+
- [constraint 2]
|
|
66
|
+
|
|
67
|
+
### Open Questions to Answer
|
|
68
|
+
[Extract from Open Questions]
|
|
69
|
+
- [question 1]
|
|
70
|
+
- [question 2]
|
|
71
|
+
|
|
72
|
+
### Decisions to Validate
|
|
73
|
+
[Extract from Decisions Made]
|
|
74
|
+
- [decision 1]: Any gotchas?
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
This manifest drives ALL research. Subagents research these specific items, not generic domain knowledge.
|
|
27
78
|
</step>
|
|
28
79
|
|
|
29
80
|
<step name="define_research_categories">
|
|
30
|
-
|
|
81
|
+
Three research categories, each PROJECT.md-driven:
|
|
31
82
|
|
|
32
|
-
1. **
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
83
|
+
1. **stack.md** - What to use for each feature
|
|
84
|
+
- For each feature in Scope: what library/tool?
|
|
85
|
+
- For each constraint: what works within it?
|
|
86
|
+
- Current versions, import statements, setup code
|
|
36
87
|
|
|
37
|
-
|
|
88
|
+
2. **implementation.md** - How to implement correctly
|
|
89
|
+
- Current API patterns for chosen stack
|
|
90
|
+
- Actual code examples with correct syntax
|
|
91
|
+
- "Do this (current) not that (deprecated)"
|
|
92
|
+
|
|
93
|
+
3. **risks.md** - What Claude might get wrong
|
|
94
|
+
- Deprecated patterns Claude may default to
|
|
95
|
+
- Common implementation mistakes
|
|
96
|
+
- Version-specific gotchas
|
|
97
|
+
|
|
98
|
+
Each subagent writes directly to `.planning/research/{category}.md`
|
|
38
99
|
</step>
|
|
39
100
|
|
|
40
|
-
<step name="
|
|
41
|
-
##
|
|
101
|
+
<step name="spawn_subagents">
|
|
102
|
+
## Subagent Spawning
|
|
42
103
|
|
|
43
104
|
Read prompt templates from `~/.claude/get-shit-done/references/research-subagent-prompts.md`
|
|
44
105
|
|
|
45
|
-
**
|
|
46
|
-
|
|
47
|
-
Spawn using Task tool with `subagent_type="general-purpose"`:
|
|
106
|
+
**Single batch (spawn all 3 in parallel):**
|
|
48
107
|
|
|
49
108
|
```
|
|
50
109
|
Task 1:
|
|
51
|
-
description: "Research
|
|
52
|
-
prompt: [
|
|
110
|
+
description: "Research stack for [project]"
|
|
111
|
+
prompt: [stack_subagent_prompt with research manifest]
|
|
53
112
|
|
|
54
113
|
Task 2:
|
|
55
|
-
description: "Research
|
|
56
|
-
prompt: [
|
|
57
|
-
```
|
|
114
|
+
description: "Research implementation for [project]"
|
|
115
|
+
prompt: [implementation_subagent_prompt with research manifest]
|
|
58
116
|
|
|
59
|
-
Send BOTH Task calls in a single message. Wait for Batch 1 completion.
|
|
60
|
-
|
|
61
|
-
**Batch 2: Risk & quality research** (spawn in parallel)
|
|
62
|
-
|
|
63
|
-
```
|
|
64
117
|
Task 3:
|
|
65
|
-
description: "Research
|
|
66
|
-
prompt: [
|
|
67
|
-
|
|
68
|
-
Task 4:
|
|
69
|
-
description: "Research standards for {domain}"
|
|
70
|
-
prompt: [standards_subagent_prompt template filled with PROJECT.md context]
|
|
118
|
+
description: "Research risks for [project]"
|
|
119
|
+
prompt: [risks_subagent_prompt with research manifest]
|
|
71
120
|
```
|
|
72
121
|
|
|
73
|
-
Send
|
|
74
|
-
|
|
75
|
-
**Batch ordering rationale:**
|
|
76
|
-
- Batch 1 (ecosystem + architecture): Core understanding of what to build and how
|
|
77
|
-
- Batch 2 (pitfalls + standards): Refinements that build on core understanding
|
|
122
|
+
Send ALL Task calls in a single message. Wait for completion.
|
|
78
123
|
|
|
79
124
|
**Each subagent receives:**
|
|
80
|
-
-
|
|
81
|
-
- Category assignment (
|
|
125
|
+
- The research manifest (features, constraints, questions, decisions)
|
|
126
|
+
- Category assignment (stack, implementation, risks)
|
|
82
127
|
- Output format from templates/project-research.md
|
|
83
|
-
- Instruction
|
|
128
|
+
- Instruction: HIGH-CONFIDENCE ONLY
|
|
84
129
|
</step>
|
|
85
130
|
|
|
86
131
|
<step name="verify_outputs">
|
|
87
|
-
After
|
|
132
|
+
After subagents complete:
|
|
88
133
|
|
|
89
134
|
```bash
|
|
90
135
|
# Check all files exist
|
|
91
136
|
ls -la .planning/research/
|
|
92
137
|
|
|
93
138
|
# Verify each file has content
|
|
94
|
-
for f in
|
|
139
|
+
for f in stack implementation risks; do
|
|
95
140
|
[ -s ".planning/research/${f}.md" ] && echo "✓ ${f}.md" || echo "✗ ${f}.md MISSING"
|
|
96
141
|
done
|
|
97
142
|
```
|
|
98
143
|
|
|
99
|
-
**
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
-
|
|
144
|
+
**Quality verification (read each file):**
|
|
145
|
+
|
|
146
|
+
For each file, check:
|
|
147
|
+
- [ ] Addresses specific features from research manifest?
|
|
148
|
+
- [ ] Contains actual code examples?
|
|
149
|
+
- [ ] No low-confidence items included?
|
|
150
|
+
- [ ] Current syntax (2024-2025)?
|
|
151
|
+
|
|
152
|
+
**If quality issues found:**
|
|
153
|
+
- Note specific problems
|
|
154
|
+
- Consider re-running that subagent with stricter prompt
|
|
155
|
+
- Or flag for manual review
|
|
103
156
|
</step>
|
|
104
157
|
|
|
105
158
|
<step name="aggregate">
|
|
106
|
-
|
|
159
|
+
Extract key findings for summary:
|
|
107
160
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
161
|
+
From stack.md:
|
|
162
|
+
- Primary libraries chosen for each feature
|
|
163
|
+
- Any constraint-driven choices
|
|
164
|
+
|
|
165
|
+
From implementation.md:
|
|
166
|
+
- Most important API patterns
|
|
167
|
+
- Key code examples
|
|
168
|
+
|
|
169
|
+
From risks.md:
|
|
170
|
+
- Critical mistakes to avoid
|
|
171
|
+
- Deprecated patterns flagged
|
|
116
172
|
|
|
117
|
-
|
|
118
|
-
- Top library/framework recommendation from ecosystem.md
|
|
119
|
-
- Primary architecture pattern from architecture.md
|
|
120
|
-
- Most critical pitfall from pitfalls.md
|
|
121
|
-
- Key quality standard from standards.md
|
|
173
|
+
Present summary to user with next steps.
|
|
122
174
|
</step>
|
|
123
175
|
|
|
124
176
|
</process>
|
|
125
177
|
|
|
126
|
-
<
|
|
127
|
-
##
|
|
178
|
+
<subagent_quality_rules>
|
|
179
|
+
## Quality Rules for Subagents
|
|
128
180
|
|
|
129
|
-
**
|
|
130
|
-
|
|
181
|
+
**INCLUDE:**
|
|
182
|
+
- High-confidence, verified information
|
|
183
|
+
- Current API patterns with actual code
|
|
184
|
+
- Direct answers to Open Questions from PROJECT.md
|
|
185
|
+
- Specific recommendations for features in Scope
|
|
131
186
|
|
|
132
|
-
**
|
|
133
|
-
-
|
|
134
|
-
-
|
|
187
|
+
**EXCLUDE:**
|
|
188
|
+
- Low or medium confidence items
|
|
189
|
+
- "Might be useful" padding
|
|
190
|
+
- Generic advice not specific to this project
|
|
191
|
+
- Old repos/articles marked as outdated
|
|
192
|
+
- Options without clear recommendation
|
|
135
193
|
|
|
136
|
-
**
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
- Proceed to next batch
|
|
140
|
-
</batching_rules>
|
|
194
|
+
**Format for Claude consumption:**
|
|
195
|
+
```markdown
|
|
196
|
+
## [Feature Name] Implementation
|
|
141
197
|
|
|
142
|
-
|
|
143
|
-
## Task Tool Invocation Pattern
|
|
198
|
+
**Use:** [Library] v[X.Y]
|
|
144
199
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
- subagent_type: "general-purpose"
|
|
150
|
-
- description: "Research {category} for {domain}"
|
|
151
|
-
- prompt: [filled template from research-subagent-prompts.md]
|
|
200
|
+
```[language]
|
|
201
|
+
// Current pattern (2025)
|
|
202
|
+
import { Thing } from 'library'
|
|
203
|
+
const result = await Thing.doCorrectThing()
|
|
152
204
|
```
|
|
153
205
|
|
|
154
|
-
**
|
|
155
|
-
|
|
206
|
+
**NOT:**
|
|
207
|
+
```[language]
|
|
208
|
+
// Deprecated - Claude may generate this
|
|
209
|
+
import Thing from 'library' // Old syntax
|
|
210
|
+
Thing.doOldThing() // Removed in v2.0
|
|
156
211
|
```
|
|
157
|
-
Research and write {category}.md for {domain} domain.
|
|
158
|
-
|
|
159
|
-
## Context
|
|
160
|
-
{Paste relevant sections from PROJECT.md}
|
|
161
|
-
|
|
162
|
-
## Your Assignment
|
|
163
|
-
File: .planning/research/{category}.md
|
|
164
|
-
Category: {category}
|
|
165
|
-
Purpose: {category-specific purpose}
|
|
166
|
-
|
|
167
|
-
## Research Requirements
|
|
168
|
-
Use WebSearch to find current information. Verify:
|
|
169
|
-
- Libraries are actively maintained (commits in last 12 months)
|
|
170
|
-
- Patterns are current best practice (not deprecated)
|
|
171
|
-
- Examples are from 2024-2025 sources where possible
|
|
172
|
-
|
|
173
|
-
## Output
|
|
174
|
-
Write directly to .planning/research/{category}.md using the template structure:
|
|
175
|
-
- research_summary
|
|
176
|
-
- findings (specific discoveries with sources)
|
|
177
|
-
- recommendations (actionable guidance)
|
|
178
|
-
- sources (where info came from, confidence level)
|
|
179
|
-
- open_questions (what couldn't be resolved)
|
|
180
|
-
|
|
181
|
-
Quality bar: Someone reading this should be able to make informed decisions about the roadmap.
|
|
182
212
|
```
|
|
183
|
-
</
|
|
213
|
+
</subagent_quality_rules>
|
|
184
214
|
|
|
185
215
|
<success_criteria>
|
|
186
216
|
Research workflow complete when:
|
|
187
|
-
- [ ] All
|
|
188
|
-
- [ ] Each file
|
|
189
|
-
- [ ]
|
|
190
|
-
- [ ]
|
|
217
|
+
- [ ] All 3 research files exist in .planning/research/
|
|
218
|
+
- [ ] Each file addresses PROJECT.md features specifically
|
|
219
|
+
- [ ] Open Questions from PROJECT.md are answered
|
|
220
|
+
- [ ] Only high-confidence information included
|
|
221
|
+
- [ ] Code examples use current syntax
|
|
222
|
+
- [ ] Main agent context preserved
|
|
191
223
|
</success_criteria>
|
package/package.json
CHANGED