get-shit-done-cc 1.0.0

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.
Files changed (49) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +192 -0
  3. package/bin/install.js +53 -0
  4. package/commands/gsd/add-phase.md +201 -0
  5. package/commands/gsd/complete-milestone.md +105 -0
  6. package/commands/gsd/discuss-milestone.md +45 -0
  7. package/commands/gsd/discuss-phase.md +47 -0
  8. package/commands/gsd/execute-plan.md +108 -0
  9. package/commands/gsd/help.md +252 -0
  10. package/commands/gsd/insert-phase.md +218 -0
  11. package/commands/gsd/list-phase-assumptions.md +49 -0
  12. package/commands/gsd/new-milestone.md +58 -0
  13. package/commands/gsd/new-project.md +177 -0
  14. package/commands/gsd/pause-work.md +123 -0
  15. package/commands/gsd/plan-phase.md +60 -0
  16. package/commands/gsd/progress.md +182 -0
  17. package/commands/gsd/resume-work.md +50 -0
  18. package/get-shit-done/references/checkpoints.md +594 -0
  19. package/get-shit-done/references/cli-automation.md +527 -0
  20. package/get-shit-done/references/git-integration.md +126 -0
  21. package/get-shit-done/references/plan-format.md +397 -0
  22. package/get-shit-done/references/principles.md +97 -0
  23. package/get-shit-done/references/questioning.md +138 -0
  24. package/get-shit-done/references/research-pitfalls.md +215 -0
  25. package/get-shit-done/references/scope-estimation.md +451 -0
  26. package/get-shit-done/templates/config.json +17 -0
  27. package/get-shit-done/templates/context.md +385 -0
  28. package/get-shit-done/templates/continue-here.md +78 -0
  29. package/get-shit-done/templates/issues.md +32 -0
  30. package/get-shit-done/templates/milestone-archive.md +123 -0
  31. package/get-shit-done/templates/milestone.md +115 -0
  32. package/get-shit-done/templates/phase-prompt.md +290 -0
  33. package/get-shit-done/templates/project.md +207 -0
  34. package/get-shit-done/templates/research-prompt.md +133 -0
  35. package/get-shit-done/templates/roadmap.md +196 -0
  36. package/get-shit-done/templates/state.md +226 -0
  37. package/get-shit-done/templates/summary.md +200 -0
  38. package/get-shit-done/workflows/complete-milestone.md +490 -0
  39. package/get-shit-done/workflows/create-milestone.md +379 -0
  40. package/get-shit-done/workflows/create-roadmap.md +443 -0
  41. package/get-shit-done/workflows/discuss-milestone.md +144 -0
  42. package/get-shit-done/workflows/discuss-phase.md +254 -0
  43. package/get-shit-done/workflows/execute-phase.md +1261 -0
  44. package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
  45. package/get-shit-done/workflows/plan-phase.md +783 -0
  46. package/get-shit-done/workflows/research-phase.md +293 -0
  47. package/get-shit-done/workflows/resume-project.md +248 -0
  48. package/get-shit-done/workflows/transition.md +488 -0
  49. package/package.json +30 -0
@@ -0,0 +1,293 @@
1
+ <purpose>
2
+ Execute discovery/research at the appropriate depth level.
3
+ Produces FINDINGS.md (for Level 2-3) that informs PLAN.md creation.
4
+
5
+ Called from plan-phase.md's mandatory_discovery step with a depth parameter.
6
+ </purpose>
7
+
8
+ <depth_levels>
9
+ **This workflow supports three depth levels:**
10
+
11
+ | Level | Name | Time | Output | When |
12
+ | ----- | ------------ | --------- | ------------------------------------------ | ----------------------------------------- |
13
+ | 1 | Quick Verify | 2-5 min | No file, proceed with verified knowledge | Single library, confirming current syntax |
14
+ | 2 | Standard | 15-30 min | FINDINGS.md | Choosing between options, new integration |
15
+ | 3 | Deep Dive | 1+ hour | Detailed FINDINGS.md with validation gates | Architectural decisions, novel problems |
16
+
17
+ **Depth is determined by plan-phase.md before routing here.**
18
+ </depth_levels>
19
+
20
+ <source_hierarchy>
21
+ **MANDATORY: Context7 BEFORE WebSearch**
22
+
23
+ Claude's training data is 6-18 months stale. Always verify.
24
+
25
+ 1. **Context7 MCP FIRST** - Current docs, no hallucination
26
+ 2. **Official docs** - When Context7 lacks coverage
27
+ 3. **WebSearch LAST** - For comparisons and trends only
28
+
29
+ See ~/.claude/get-shit-done/templates/research-prompt.md `<source_hierarchy>` for full protocol.
30
+ </source_hierarchy>
31
+
32
+ <process>
33
+
34
+ <step name="determine_depth">
35
+ Check the depth parameter passed from plan-phase.md:
36
+ - `depth=verify` → Level 1 (Quick Verification)
37
+ - `depth=standard` → Level 2 (Standard Research)
38
+ - `depth=deep` → Level 3 (Deep Dive)
39
+
40
+ Route to appropriate level workflow below.
41
+ </step>
42
+
43
+ <step name="level_1_quick_verify">
44
+ **Level 1: Quick Verification (2-5 minutes)**
45
+
46
+ For: Single known library, confirming syntax/version still correct.
47
+
48
+ **Process:**
49
+
50
+ 1. Resolve library in Context7:
51
+
52
+ ```
53
+ mcp__context7__resolve-library-id with libraryName: "[library]"
54
+ ```
55
+
56
+ 2. Fetch relevant docs:
57
+
58
+ ```
59
+ mcp__context7__get-library-docs with:
60
+ - context7CompatibleLibraryID: [from step 1]
61
+ - topic: [specific concern]
62
+ ```
63
+
64
+ 3. Verify:
65
+
66
+ - Current version matches expectations
67
+ - API syntax unchanged
68
+ - No breaking changes in recent versions
69
+
70
+ 4. **If verified:** Return to plan-phase.md with confirmation. No FINDINGS.md needed.
71
+
72
+ 5. **If concerns found:** Escalate to Level 2.
73
+
74
+ **Output:** Verbal confirmation to proceed, or escalation to Level 2.
75
+ </step>
76
+
77
+ <step name="level_2_standard">
78
+ **Level 2: Standard Research (15-30 minutes)**
79
+
80
+ For: Choosing between options, new external integration.
81
+
82
+ **Process:**
83
+
84
+ 1. **Identify what to research:**
85
+
86
+ - What options exist?
87
+ - What are the key comparison criteria?
88
+ - What's our specific use case?
89
+
90
+ 2. **Context7 for each option:**
91
+
92
+ ```
93
+ For each library/framework:
94
+ - mcp__context7__resolve-library-id
95
+ - mcp__context7__get-library-docs (mode: "code" for API, "info" for concepts)
96
+ ```
97
+
98
+ 3. **Official docs** for anything Context7 lacks.
99
+
100
+ 4. **WebSearch** for comparisons:
101
+
102
+ - "[option A] vs [option B] {current_year}"
103
+ - "[option] known issues"
104
+ - "[option] with [our stack]"
105
+
106
+ 5. **Cross-verify:** Any WebSearch finding → confirm with Context7/official docs.
107
+
108
+ 6. **Quality check:** Before finalizing findings, consult ~/.claude/get-shit-done/references/research-pitfalls.md to avoid common research gaps.
109
+
110
+ 7. **Create FINDINGS.md** using ~/.claude/get-shit-done/templates/research-prompt.md structure:
111
+
112
+ - Summary with recommendation
113
+ - Key findings per option
114
+ - Code examples from Context7
115
+ - Confidence level (should be MEDIUM-HIGH for Level 2)
116
+
117
+ 8. Return to plan-phase.md.
118
+
119
+ **Output:** `.planning/phases/XX-name/FINDINGS.md`
120
+ </step>
121
+
122
+ <step name="level_3_deep_dive">
123
+ **Level 3: Deep Dive (1+ hour)**
124
+
125
+ For: Architectural decisions, novel problems, high-risk choices.
126
+
127
+ **Process:**
128
+
129
+ 1. **Scope the research** using ~/.claude/get-shit-done/templates/research-prompt.md:
130
+
131
+ - Create RESEARCH.md with clear scope
132
+ - Define include/exclude boundaries
133
+ - List specific questions to answer
134
+
135
+ 2. **Exhaustive Context7 research:**
136
+
137
+ - All relevant libraries
138
+ - Related patterns and concepts
139
+ - Multiple topics per library if needed
140
+
141
+ 3. **Official documentation deep read:**
142
+
143
+ - Architecture guides
144
+ - Best practices sections
145
+ - Migration/upgrade guides
146
+ - Known limitations
147
+
148
+ 4. **WebSearch for ecosystem context:**
149
+
150
+ - How others solved similar problems
151
+ - Production experiences
152
+ - Gotchas and anti-patterns
153
+ - Recent changes/announcements
154
+
155
+ 5. **Cross-verify ALL findings:**
156
+
157
+ - Every WebSearch claim → verify with authoritative source
158
+ - Mark what's verified vs assumed
159
+ - Flag contradictions
160
+
161
+ 6. **Quality check:** Before finalizing findings, consult ~/.claude/get-shit-done/references/research-pitfalls.md to ensure comprehensive coverage and avoid common research gaps.
162
+
163
+ 7. **Create comprehensive FINDINGS.md:**
164
+
165
+ - Full structure from ~/.claude/get-shit-done/templates/research-prompt.md
166
+ - Quality report with source attribution
167
+ - Confidence by finding
168
+ - If LOW confidence on any critical finding → add validation checkpoints
169
+
170
+ 8. **Confidence gate:** If overall confidence is LOW, present options before proceeding.
171
+
172
+ 9. Return to plan-phase.md.
173
+
174
+ **Output:** `.planning/phases/XX-name/FINDINGS.md` (comprehensive)
175
+ </step>
176
+
177
+ <step name="identify_unknowns">
178
+ **For Level 2-3:** Define what we need to learn.
179
+
180
+ Ask: What do we need to learn before we can plan this phase?
181
+
182
+ - Technology choices?
183
+ - Best practices?
184
+ - API patterns?
185
+ - Architecture approach?
186
+ </step>
187
+
188
+ <step name="create_research_prompt">
189
+ Use ~/.claude/get-shit-done/templates/research-prompt.md.
190
+ Write to `.planning/phases/XX-name/RESEARCH.md`
191
+
192
+ Include:
193
+
194
+ - Clear research objective
195
+ - Scoped include/exclude lists
196
+ - Source preferences (official docs, Context7, current year)
197
+ - Output structure for FINDINGS.md
198
+ </step>
199
+
200
+ <step name="execute_research">
201
+ Run the research prompt:
202
+ - Use web search for current info
203
+ - Use Context7 MCP for library docs
204
+ - Prefer current year sources
205
+ - Structure findings per template
206
+ </step>
207
+
208
+ <step name="create_findings">
209
+ Write `.planning/phases/XX-name/FINDINGS.md`:
210
+ - Summary with recommendation
211
+ - Key findings with sources
212
+ - Code examples if applicable
213
+ - Metadata (confidence, dependencies, open questions, assumptions)
214
+ </step>
215
+
216
+ <step name="confidence_gate">
217
+ After creating FINDINGS.md, check confidence level.
218
+
219
+ If confidence is LOW:
220
+ Use AskUserQuestion:
221
+
222
+ - header: "Low Confidence"
223
+ - question: "Research confidence is LOW: [reason]. How would you like to proceed?"
224
+ - options:
225
+ - "Dig deeper" - Do more research before planning
226
+ - "Proceed anyway" - Accept uncertainty, plan with caveats
227
+ - "Pause" - I need to think about this
228
+
229
+ If confidence is MEDIUM:
230
+ Inline: "Research complete (medium confidence). [brief reason]. Proceed to planning?"
231
+
232
+ If confidence is HIGH:
233
+ Proceed directly, just note: "Research complete (high confidence)."
234
+ </step>
235
+
236
+ <step name="open_questions_gate">
237
+ If FINDINGS.md has open_questions:
238
+
239
+ Present them inline:
240
+ "Open questions from research:
241
+
242
+ - [Question 1]
243
+ - [Question 2]
244
+
245
+ These may affect implementation. Acknowledge and proceed? (yes / address first)"
246
+
247
+ If "address first": Gather user input on questions, update findings.
248
+ </step>
249
+
250
+ <step name="offer_next">
251
+ ```
252
+ Research complete: .planning/phases/XX-name/FINDINGS.md
253
+ Recommendation: [one-liner]
254
+ Confidence: [level]
255
+
256
+ What's next?
257
+
258
+ 1. Discuss phase context (/gsd:discuss-phase [current-phase])
259
+ 2. Create phase plan (/gsd:plan-phase [current-phase])
260
+ 3. Refine research (dig deeper)
261
+ 4. Review findings
262
+
263
+ ```
264
+
265
+ NOTE: FINDINGS.md is NOT committed separately. It will be committed with phase completion.
266
+ </step>
267
+
268
+ </process>
269
+
270
+ <success_criteria>
271
+ **Level 1 (Quick Verify):**
272
+ - Context7 consulted for library/topic
273
+ - Current state verified or concerns escalated
274
+ - Verbal confirmation to proceed (no files)
275
+
276
+ **Level 2 (Standard):**
277
+ - Context7 consulted for all options
278
+ - WebSearch findings cross-verified
279
+ - FINDINGS.md created with recommendation
280
+ - Confidence level MEDIUM or higher
281
+ - Ready to inform PLAN.md creation
282
+
283
+ **Level 3 (Deep Dive):**
284
+ - RESEARCH.md exists with clear scope
285
+ - Context7 exhaustively consulted
286
+ - All WebSearch findings verified against authoritative sources
287
+ - FINDINGS.md created with comprehensive analysis
288
+ - Quality report with source attribution
289
+ - If LOW confidence findings → validation checkpoints defined
290
+ - Confidence gate passed
291
+ - Ready to inform PLAN.md creation
292
+ </success_criteria>
293
+ ```
@@ -0,0 +1,248 @@
1
+ <trigger>
2
+ Use this workflow when:
3
+ - Starting a new session on an existing project
4
+ - User says "continue", "what's next", "where were we", "resume"
5
+ - Any planning operation when .planning/ already exists
6
+ - User returns after time away from project
7
+ </trigger>
8
+
9
+ <purpose>
10
+ Instantly restore full project context and present clear status.
11
+ Enables seamless session continuity for fully autonomous workflows.
12
+
13
+ "Where were we?" should have an immediate, complete answer.
14
+ </purpose>
15
+
16
+ <process>
17
+
18
+ <step name="detect_existing_project">
19
+ Check if this is an existing project:
20
+
21
+ ```bash
22
+ ls .planning/STATE.md 2>/dev/null && echo "Project exists"
23
+ ls .planning/ROADMAP.md 2>/dev/null && echo "Roadmap exists"
24
+ ls .planning/PROJECT.md 2>/dev/null && echo "Project file exists"
25
+ ```
26
+
27
+ **If STATE.md exists:** Proceed to load_state
28
+ **If only ROADMAP.md/PROJECT.md exist:** Offer to reconstruct STATE.md
29
+ **If .planning/ doesn't exist:** This is a new project - route to /gsd:new-project
30
+ </step>
31
+
32
+ <step name="load_state">
33
+ Read and parse STATE.md:
34
+
35
+ ```bash
36
+ cat .planning/STATE.md
37
+ ```
38
+
39
+ Extract:
40
+
41
+ - **Brief Summary**: What we're building (immutable reminder)
42
+ - **Current Position**: Phase X of Y, Plan A of B, Status
43
+ - **Progress**: Visual progress bar
44
+ - **Decisions Made**: Key decisions that constrain future work
45
+ - **Deferred Issues**: Open items awaiting attention
46
+ - **Blockers/Concerns**: Issues carried forward
47
+ - **Brief Alignment**: Are we on track?
48
+ - **Session Continuity**: Where we left off, any resume files
49
+ </step>
50
+
51
+ <step name="check_incomplete_work">
52
+ Look for incomplete work that needs attention:
53
+
54
+ ```bash
55
+ # Check for continue-here files (mid-plan resumption)
56
+ ls .planning/phases/*/.continue-here*.md 2>/dev/null
57
+
58
+ # Check for plans without summaries (incomplete execution)
59
+ for plan in .planning/phases/*/*-PLAN.md; do
60
+ summary="${plan/PLAN/SUMMARY}"
61
+ [ ! -f "$summary" ] && echo "Incomplete: $plan"
62
+ done 2>/dev/null
63
+ ```
64
+
65
+ **If .continue-here file exists:**
66
+
67
+ - This is a mid-plan resumption point
68
+ - Read the file for specific resumption context
69
+ - Flag: "Found mid-plan checkpoint"
70
+
71
+ **If PLAN without SUMMARY exists:**
72
+
73
+ - Execution was started but not completed
74
+ - Flag: "Found incomplete plan execution"
75
+ </step>
76
+
77
+ <step name="present_status">
78
+ Present complete project status to user:
79
+
80
+ ```
81
+ ╔══════════════════════════════════════════════════════════════╗
82
+ ║ PROJECT STATUS ║
83
+ ╠══════════════════════════════════════════════════════════════╣
84
+ ║ Building: [one-liner from Brief Summary] ║
85
+ ║ ║
86
+ ║ Phase: [X] of [Y] - [Phase name] ║
87
+ ║ Plan: [A] of [B] - [Status] ║
88
+ ║ Progress: [██████░░░░] XX% ║
89
+ ║ ║
90
+ ║ Last activity: [date] - [what happened] ║
91
+ ╚══════════════════════════════════════════════════════════════╝
92
+
93
+ [If incomplete work found:]
94
+ ⚠️ Incomplete work detected:
95
+ - [.continue-here file or incomplete plan]
96
+
97
+ [If deferred issues exist:]
98
+ 📋 [N] deferred issues awaiting attention
99
+
100
+ [If blockers exist:]
101
+ ⚠️ Carried concerns:
102
+ - [blocker 1]
103
+ - [blocker 2]
104
+
105
+ [If alignment is not ✓:]
106
+ ⚠️ Brief alignment: [status] - [assessment]
107
+ ```
108
+
109
+ </step>
110
+
111
+ <step name="determine_next_action">
112
+ Based on project state, determine the most logical next action:
113
+
114
+ **If .continue-here file exists:**
115
+ → Primary: Resume from checkpoint
116
+ → Option: Start fresh on current plan
117
+
118
+ **If incomplete plan (PLAN without SUMMARY):**
119
+ → Primary: Complete the incomplete plan
120
+ → Option: Abandon and move on
121
+
122
+ **If phase in progress, all plans complete:**
123
+ → Primary: Transition to next phase
124
+ → Option: Review completed work
125
+
126
+ **If phase ready to plan:**
127
+ → Check if CONTEXT.md exists for this phase:
128
+
129
+ - If CONTEXT.md missing:
130
+ → Primary: Discuss phase context (gather objectives, constraints, success indicators)
131
+ → Secondary: Plan directly (skip context gathering)
132
+ - If CONTEXT.md exists:
133
+ → Primary: Plan the phase
134
+ → Option: Review roadmap
135
+
136
+ **If phase ready to execute:**
137
+ → Primary: Execute next plan
138
+ → Option: Review the plan first
139
+ </step>
140
+
141
+ <step name="offer_options">
142
+ Present contextual options based on project state:
143
+
144
+ ```
145
+ What would you like to do?
146
+
147
+ [Primary action based on state - e.g.:]
148
+ 1. Resume from checkpoint (/gsd:execute-plan .planning/phases/XX-name/.continue-here-02-01.md)
149
+ OR
150
+ 1. Execute next plan (/gsd:execute-plan .planning/phases/XX-name/02-02-PLAN.md)
151
+ OR
152
+ 1. Discuss Phase 3 context (/gsd:discuss-phase 3) [if CONTEXT.md missing]
153
+ OR
154
+ 1. Plan Phase 3 (/gsd:plan-phase 3) [if CONTEXT.md exists or discuss option declined]
155
+
156
+ [Secondary options:]
157
+ 2. Review current phase status
158
+ 3. Check deferred issues ([N] open)
159
+ 4. Review brief alignment
160
+ 5. Something else
161
+ ```
162
+
163
+ **Note:** When offering phase planning, check for CONTEXT.md existence first:
164
+
165
+ ```bash
166
+ ls .planning/phases/XX-name/CONTEXT.md 2>/dev/null
167
+ ```
168
+
169
+ If missing, suggest discuss-phase before plan. If exists, offer plan directly.
170
+
171
+ Wait for user selection.
172
+ </step>
173
+
174
+ <step name="route_to_workflow">
175
+ Based on user selection, route to appropriate workflow:
176
+
177
+ - **Execute plan** → EXIT and invoke SlashCommand("/gsd:execute-plan [path]")
178
+ - **Plan phase** → EXIT and invoke SlashCommand("/gsd:plan-phase [phase-number]")
179
+ - **Transition** → ./transition.md
180
+ - **Review issues** → Read ISSUES.md, present summary
181
+ - **Review alignment** → Read PROJECT.md, compare to current state
182
+ - **Something else** → Ask what they need
183
+
184
+ Note: Commands are shown in the presented options so user can see what will run.
185
+ </step>
186
+
187
+ <step name="update_session">
188
+ Before proceeding to routed workflow, update session continuity:
189
+
190
+ Update STATE.md:
191
+
192
+ ```markdown
193
+ ## Session Continuity
194
+
195
+ Last session: [now]
196
+ Stopped at: Session resumed, proceeding to [action]
197
+ Resume file: [updated if applicable]
198
+ ```
199
+
200
+ This ensures if session ends unexpectedly, next resume knows the state.
201
+ </step>
202
+
203
+ </process>
204
+
205
+ <reconstruction>
206
+ If STATE.md is missing but other artifacts exist:
207
+
208
+ "STATE.md missing. Reconstructing from artifacts..."
209
+
210
+ 1. Read PROJECT.md → Extract Brief Summary
211
+ 2. Read ROADMAP.md → Determine phases, find current position
212
+ 3. Scan \*-SUMMARY.md files → Extract decisions, issues, concerns
213
+ 4. Read ISSUES.md → Count deferred issues
214
+ 5. Check for .continue-here files → Session continuity
215
+
216
+ Reconstruct and write STATE.md, then proceed normally.
217
+
218
+ This handles cases where:
219
+
220
+ - Project predates STATE.md introduction
221
+ - File was accidentally deleted
222
+ - Cloning repo without full .planning/ state
223
+ </reconstruction>
224
+
225
+ <quick_resume>
226
+ For users who want minimal friction:
227
+
228
+ If user says just "continue" or "go":
229
+
230
+ - Load state silently
231
+ - Determine primary action
232
+ - Execute immediately without presenting options
233
+
234
+ "Continuing from [state]... [action]"
235
+
236
+ This enables fully autonomous "just keep going" workflow.
237
+ </quick_resume>
238
+
239
+ <success_criteria>
240
+ Resume is complete when:
241
+
242
+ - [ ] STATE.md loaded (or reconstructed)
243
+ - [ ] Incomplete work detected and flagged
244
+ - [ ] Clear status presented to user
245
+ - [ ] Contextual next actions offered
246
+ - [ ] User knows exactly where project stands
247
+ - [ ] Session continuity updated
248
+ </success_criteria>