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.
@@ -1,14 +1,42 @@
1
1
  <purpose>
2
- Orchestrate batched subagent research for domain ecosystems before roadmap creation.
2
+ Research implementation context for Claude Code before roadmap creation.
3
3
 
4
- Subagents write directly to `.planning/research/` to preserve main context.
5
- Maximum 4 parallel subagents, recommended batch size 3.
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 for each category
11
- 2. `~/.claude/get-shit-done/templates/project-research.md` - Output format subagents use
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 extract:
24
- - Domain keywords (technology mentions, problem space)
25
- - Constraints that affect ecosystem choices
26
- - Any mentioned preferences or requirements
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
- Standard research categories:
81
+ Three research categories, each PROJECT.md-driven:
31
82
 
32
- 1. **ecosystem.md** - Libraries, frameworks, tools for this domain
33
- 2. **architecture.md** - Patterns, project structure, component organization
34
- 3. **pitfalls.md** - Common mistakes, what NOT to do, performance traps
35
- 4. **standards.md** - Best practices, conventions, quality expectations
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
- Each subagent researches ONE category and writes directly to `.planning/research/{category}.md`
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="batch_execution">
41
- ## Batched Subagent Spawning
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
- **Batch 1: Foundation research** (spawn in parallel)
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 ecosystem for {domain}"
52
- prompt: [ecosystem_subagent_prompt template filled with PROJECT.md context]
110
+ description: "Research stack for [project]"
111
+ prompt: [stack_subagent_prompt with research manifest]
53
112
 
54
113
  Task 2:
55
- description: "Research architecture for {domain}"
56
- prompt: [architecture_subagent_prompt template filled with PROJECT.md context]
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 pitfalls for {domain}"
66
- prompt: [pitfalls_subagent_prompt template filled with PROJECT.md context]
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 BOTH Task calls in a single message. Wait for Batch 2 completion.
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
- - Domain context from PROJECT.md
81
- - Category assignment (ecosystem, architecture, pitfalls, standards)
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 to write directly to `.planning/research/{category}.md`
128
+ - Instruction: HIGH-CONFIDENCE ONLY
84
129
  </step>
85
130
 
86
131
  <step name="verify_outputs">
87
- After all batches complete:
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 ecosystem architecture pitfalls standards; do
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
- **If any file missing:**
100
- - Log which subagent failed
101
- - Optionally retry that specific subagent
102
- - Continue with available research (partial is better than none)
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
- Read key findings from each research file for summary:
159
+ Extract key findings for summary:
107
160
 
108
- ```bash
109
- # Extract first few lines of each for summary
110
- for f in .planning/research/*.md; do
111
- echo "=== $(basename $f) ==="
112
- head -20 "$f"
113
- echo ""
114
- done
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
- Extract for user summary:
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
- <batching_rules>
127
- ## Batching Configuration
178
+ <subagent_quality_rules>
179
+ ## Quality Rules for Subagents
128
180
 
129
- **Maximum parallel subagents:** 4 (API safety limit)
130
- **Recommended batch size:** 3 (reliable)
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
- **Batch ordering rationale:**
133
- - Batch 1 (ecosystem + architecture): Foundation knowledge that informs everything
134
- - Batch 2 (pitfalls + standards): Risk and quality that build on foundation
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
- **Between batches:**
137
- - Verify all subagents in batch completed
138
- - Check for failures, note for retry if needed
139
- - Proceed to next batch
140
- </batching_rules>
194
+ **Format for Claude consumption:**
195
+ ```markdown
196
+ ## [Feature Name] Implementation
141
197
 
142
- <subagent_template>
143
- ## Task Tool Invocation Pattern
198
+ **Use:** [Library] v[X.Y]
144
199
 
145
- For each subagent, use:
146
-
147
- ```
148
- Task tool parameters:
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
- **Prompt template (simplified):**
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
- </subagent_template>
213
+ </subagent_quality_rules>
184
214
 
185
215
  <success_criteria>
186
216
  Research workflow complete when:
187
- - [ ] All 4 research files exist in .planning/research/
188
- - [ ] Each file has substantive content (not empty/error)
189
- - [ ] Key findings extracted for summary
190
- - [ ] Main agent context preserved (minimal usage)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "get-shit-done-cc",
3
- "version": "1.1.2",
3
+ "version": "1.2.1",
4
4
  "description": "A meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.",
5
5
  "bin": {
6
6
  "get-shit-done-cc": "bin/install.js"