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,133 @@
1
+ # Research Prompt Template
2
+
3
+ For phases requiring research before planning:
4
+
5
+ ```markdown
6
+ ---
7
+ phase: XX-name
8
+ type: research
9
+ topic: [research-topic]
10
+ ---
11
+
12
+ <session_initialization>
13
+ Before beginning research, verify today's date:
14
+ !`date +%Y-%m-%d`
15
+
16
+ Use this date when searching for "current" or "latest" information.
17
+ Example: If today is 2025-11-22, search for "2025" not "2024".
18
+ </session_initialization>
19
+
20
+ <research_objective>
21
+ Research [topic] to inform [phase name] implementation.
22
+
23
+ Purpose: [What decision/implementation this enables]
24
+ Scope: [Boundaries]
25
+ Output: FINDINGS.md with structured recommendations
26
+ </research_objective>
27
+
28
+ <research_scope>
29
+ <include>
30
+ - [Question to answer]
31
+ - [Area to investigate]
32
+ - [Specific comparison if needed]
33
+ </include>
34
+
35
+ <exclude>
36
+ - [Out of scope for this research]
37
+ - [Defer to implementation phase]
38
+ </exclude>
39
+ </research_scope>
40
+
41
+ <research_protocol>
42
+
43
+ **Source Priority:**
44
+ 1. **Context7 MCP** - For library/framework documentation (current, authoritative)
45
+ 2. **Official Docs** - For platform-specific or non-indexed libraries
46
+ 3. **WebSearch** - For comparisons, trends, community patterns (verify all findings)
47
+
48
+ **Quality Checklist:**
49
+ Before completing research, verify:
50
+ - [ ] All claims have authoritative sources (Context7 or official docs)
51
+ - [ ] Negative claims ("X is not possible") verified with official documentation
52
+ - [ ] API syntax/configuration from Context7 or official docs (never WebSearch alone)
53
+ - [ ] WebSearch findings cross-checked with authoritative sources
54
+ - [ ] Recent updates/changelogs checked for breaking changes
55
+ - [ ] Alternative approaches considered (not just first solution found)
56
+
57
+ **Confidence Levels:**
58
+ - HIGH: Context7 or official docs confirm
59
+ - MEDIUM: WebSearch + Context7/official docs confirm
60
+ - LOW: WebSearch only or training knowledge only (mark for validation)
61
+
62
+ </research_protocol>
63
+
64
+
65
+ <output_structure>
66
+ Create `.planning/phases/XX-name/FINDINGS.md`:
67
+
68
+ ```markdown
69
+ # [Topic] Research Findings
70
+
71
+ ## Summary
72
+ [2-3 paragraph executive summary - what was researched, what was found, what's recommended]
73
+
74
+ ## Primary Recommendation
75
+ [What to do and why - be specific and actionable]
76
+
77
+ ## Alternatives Considered
78
+ [What else was evaluated and why not chosen]
79
+
80
+ ## Key Findings
81
+
82
+ ### [Category 1]
83
+ - [Finding with source URL and relevance to our case]
84
+
85
+ ### [Category 2]
86
+ - [Finding with source URL and relevance]
87
+
88
+ ## Code Examples
89
+ [Relevant implementation patterns, if applicable]
90
+
91
+ ## Metadata
92
+
93
+ <metadata>
94
+ <confidence level="high|medium|low">
95
+ [Why this confidence level - based on source quality and verification]
96
+ </confidence>
97
+
98
+ <sources>
99
+ - [Primary authoritative sources used]
100
+ </sources>
101
+
102
+ <open_questions>
103
+ [What couldn't be determined or needs validation during implementation]
104
+ </open_questions>
105
+
106
+ <validation_checkpoints>
107
+ [If confidence is LOW or MEDIUM, list specific things to verify during implementation]
108
+ </validation_checkpoints>
109
+ </metadata>
110
+ ```
111
+ </output_structure>
112
+
113
+ <success_criteria>
114
+ - All scope questions answered with authoritative sources
115
+ - Quality checklist items completed
116
+ - Clear primary recommendation
117
+ - Low-confidence findings marked with validation checkpoints
118
+ - Ready to inform PLAN.md creation
119
+ </success_criteria>
120
+
121
+ <guidelines>
122
+ **When to use research prompts:**
123
+ - Technology choice unclear
124
+ - Best practices needed for unfamiliar domain
125
+ - API/library investigation required
126
+ - Architecture decision pending
127
+ - Multiple valid approaches exist
128
+
129
+ **When NOT to use:**
130
+ - Established patterns (CRUD, auth with known library)
131
+ - Implementation details (defer to execution)
132
+ - Questions answerable from existing project context
133
+ </guidelines>
@@ -0,0 +1,196 @@
1
+ # Roadmap Template
2
+
3
+ Template for `.planning/ROADMAP.md`.
4
+
5
+ ## Initial Roadmap (v1.0 Greenfield)
6
+
7
+ ```markdown
8
+ # Roadmap: [Project Name]
9
+
10
+ ## Overview
11
+
12
+ [One paragraph describing the journey from start to finish]
13
+
14
+ ## Domain Expertise
15
+
16
+ [Paths to domain skills that inform planning. These SKILL.md files serve as indexes - during phase planning, read them to find relevant references for each phase type.]
17
+
18
+ - ~/.claude/skills/expertise/[domain]/SKILL.md
19
+ [Add additional domains if project spans multiple (e.g., ISF shaders + macOS app)]
20
+
21
+ Or: None
22
+
23
+ ## Phases
24
+
25
+ **Phase Numbering:**
26
+ - Integer phases (1, 2, 3): Planned milestone work
27
+ - Decimal phases (2.1, 2.2): Urgent insertions (marked with INSERTED)
28
+
29
+ Decimal phases appear between their surrounding integers in numeric order.
30
+
31
+ - [ ] **Phase 1: [Name]** - [One-line description]
32
+ - [ ] **Phase 2: [Name]** - [One-line description]
33
+ - [ ] **Phase 3: [Name]** - [One-line description]
34
+ - [ ] **Phase 4: [Name]** - [One-line description]
35
+
36
+ ## Phase Details
37
+
38
+ ### Phase 1: [Name]
39
+ **Goal**: [What this phase delivers]
40
+ **Depends on**: Nothing (first phase)
41
+ **Research**: Unlikely (established patterns)
42
+ **Plans**: [Number of plans, e.g., "3 plans" or "TBD"]
43
+
44
+ Plans:
45
+ - [ ] 01-01: [Brief description of first plan]
46
+ - [ ] 01-02: [Brief description of second plan]
47
+ - [ ] 01-03: [Brief description of third plan]
48
+
49
+ ### Phase 2: [Name]
50
+ **Goal**: [What this phase delivers]
51
+ **Depends on**: Phase 1
52
+ **Research**: Likely (new integration)
53
+ **Research topics**: [What needs investigating]
54
+ **Plans**: [Number of plans]
55
+
56
+ Plans:
57
+ - [ ] 02-01: [Brief description]
58
+ - [ ] 02-02: [Brief description]
59
+
60
+ ### Phase 2.1: Critical Fix (INSERTED)
61
+ **Goal**: [Urgent work inserted between phases]
62
+ **Depends on**: Phase 2
63
+ **Plans**: 1 plan
64
+
65
+ Plans:
66
+ - [ ] 2.1-01: [Description]
67
+
68
+ ### Phase 3: [Name]
69
+ **Goal**: [What this phase delivers]
70
+ **Depends on**: Phase 2
71
+ **Research**: Likely (external API)
72
+ **Research topics**: [What needs investigating]
73
+ **Plans**: [Number of plans]
74
+
75
+ Plans:
76
+ - [ ] 03-01: [Brief description]
77
+ - [ ] 03-02: [Brief description]
78
+
79
+ ### Phase 4: [Name]
80
+ **Goal**: [What this phase delivers]
81
+ **Depends on**: Phase 3
82
+ **Research**: Unlikely (internal patterns)
83
+ **Plans**: [Number of plans]
84
+
85
+ Plans:
86
+ - [ ] 04-01: [Brief description]
87
+
88
+ ## Progress
89
+
90
+ **Execution Order:**
91
+ Phases execute in numeric order: 2 → 2.1 → 2.2 → 3 → 3.1 → 4
92
+
93
+ | Phase | Plans Complete | Status | Completed |
94
+ |-------|----------------|--------|-----------|
95
+ | 1. [Name] | 0/3 | Not started | - |
96
+ | 2. [Name] | 0/2 | Not started | - |
97
+ | 3. [Name] | 0/2 | Not started | - |
98
+ | 4. [Name] | 0/1 | Not started | - |
99
+ ```
100
+
101
+ <guidelines>
102
+ **Initial planning (v1.0):**
103
+ - 3-6 phases total (more = scope creep)
104
+ - Each phase delivers something coherent
105
+ - Phases can have 1+ plans (split if >3 tasks or multiple subsystems)
106
+ - Plans use naming: {phase}-{plan}-PLAN.md (e.g., 01-02-PLAN.md)
107
+ - No time estimates (this isn't enterprise PM)
108
+ - Progress table updated by execute workflow
109
+ - Plan count can be "TBD" initially, refined during planning
110
+
111
+ **Research flags:**
112
+ - `Research: Likely` - External APIs, new libraries, architectural decisions
113
+ - `Research: Unlikely` - Internal patterns, CRUD operations, established conventions
114
+ - Include `Research topics:` when Likely
115
+ - Flags are hints, not mandates - validate at planning time
116
+
117
+ **After milestones ship:**
118
+ - Collapse completed milestones in `<details>` tags
119
+ - Add new milestone sections for upcoming work
120
+ - Keep continuous phase numbering (never restart at 01)
121
+ </guidelines>
122
+
123
+ <status_values>
124
+ - `Not started` - Haven't begun
125
+ - `In progress` - Currently working
126
+ - `Complete` - Done (add completion date)
127
+ - `Deferred` - Pushed to later (with reason)
128
+ </status_values>
129
+
130
+ ## Milestone-Grouped Roadmap (After v1.0 Ships)
131
+
132
+ After completing first milestone, reorganize with milestone groupings:
133
+
134
+ ```markdown
135
+ # Roadmap: [Project Name]
136
+
137
+ ## Milestones
138
+
139
+ - ✅ **v1.0 MVP** - Phases 1-4 (shipped YYYY-MM-DD)
140
+ - 🚧 **v1.1 [Name]** - Phases 5-6 (in progress)
141
+ - 📋 **v2.0 [Name]** - Phases 7-10 (planned)
142
+
143
+ ## Phases
144
+
145
+ <details>
146
+ <summary>✅ v1.0 MVP (Phases 1-4) - SHIPPED YYYY-MM-DD</summary>
147
+
148
+ ### Phase 1: [Name]
149
+ **Goal**: [What this phase delivers]
150
+ **Plans**: 3 plans
151
+
152
+ Plans:
153
+ - [x] 01-01: [Brief description]
154
+ - [x] 01-02: [Brief description]
155
+ - [x] 01-03: [Brief description]
156
+
157
+ [... remaining v1.0 phases ...]
158
+
159
+ </details>
160
+
161
+ ### 🚧 v1.1 [Name] (In Progress)
162
+
163
+ **Milestone Goal:** [What v1.1 delivers]
164
+
165
+ #### Phase 5: [Name]
166
+ **Goal**: [What this phase delivers]
167
+ **Depends on**: Phase 4
168
+ **Plans**: 2 plans
169
+
170
+ Plans:
171
+ - [ ] 05-01: [Brief description]
172
+ - [ ] 05-02: [Brief description]
173
+
174
+ [... remaining v1.1 phases ...]
175
+
176
+ ### 📋 v2.0 [Name] (Planned)
177
+
178
+ **Milestone Goal:** [What v2.0 delivers]
179
+
180
+ [... v2.0 phases ...]
181
+
182
+ ## Progress
183
+
184
+ | Phase | Milestone | Plans Complete | Status | Completed |
185
+ |-------|-----------|----------------|--------|-----------|
186
+ | 1. Foundation | v1.0 | 3/3 | Complete | YYYY-MM-DD |
187
+ | 2. Features | v1.0 | 2/2 | Complete | YYYY-MM-DD |
188
+ | 5. Security | v1.1 | 0/2 | Not started | - |
189
+ ```
190
+
191
+ **Notes:**
192
+ - Milestone emoji: ✅ shipped, 🚧 in progress, 📋 planned
193
+ - Completed milestones collapsed in `<details>` for readability
194
+ - Current/future milestones expanded
195
+ - Continuous phase numbering (01-99)
196
+ - Progress table includes milestone column
@@ -0,0 +1,226 @@
1
+ # State Template
2
+
3
+ Template for `.planning/STATE.md` - the project's living memory.
4
+
5
+ ---
6
+
7
+ ## File Template
8
+
9
+ ```markdown
10
+ # Project State
11
+
12
+ ## Project Summary
13
+ [IMMUTABLE - Copy verbatim from PROJECT.md on creation. Never edit this section.]
14
+
15
+ **Building:** [One-liner from project vision]
16
+
17
+ **Core requirements:**
18
+ - [Requirement 1]
19
+ - [Requirement 2]
20
+ - [Requirement 3]
21
+
22
+ **Constraints:**
23
+ - [Key constraint 1]
24
+ - [Key constraint 2]
25
+
26
+ ## Current Position
27
+
28
+ Phase: [X] of [Y] ([Phase name])
29
+ Plan: [A] of [B] in current phase
30
+ Status: [Ready to plan / Planning / Ready to execute / In progress / Phase complete]
31
+ Last activity: [YYYY-MM-DD] - [What happened]
32
+
33
+ Progress: [░░░░░░░░░░] 0%
34
+
35
+ ## Performance Metrics
36
+
37
+ **Velocity:**
38
+ - Total plans completed: [N]
39
+ - Average duration: [X] min
40
+ - Total execution time: [X.X] hours
41
+
42
+ **By Phase:**
43
+
44
+ | Phase | Plans | Total | Avg/Plan |
45
+ |-------|-------|-------|----------|
46
+ | - | - | - | - |
47
+
48
+ **Recent Trend:**
49
+ - Last 5 plans: [durations]
50
+ - Trend: [Improving / Stable / Degrading]
51
+
52
+ *Updated after each plan completion*
53
+
54
+ ## Accumulated Context
55
+
56
+ ### Decisions Made
57
+
58
+ | Phase | Decision | Rationale |
59
+ |-------|----------|-----------|
60
+ | - | - | - |
61
+
62
+ ### Deferred Issues
63
+
64
+ [From ISSUES.md - list open items with phase of origin]
65
+
66
+ None yet.
67
+
68
+ ### Blockers/Concerns Carried Forward
69
+
70
+ [From prior "Next Phase Readiness" sections - issues that affect future work]
71
+
72
+ None yet.
73
+
74
+ ## Project Alignment
75
+
76
+ Last checked: [Date or "Project start"]
77
+ Status: [✓ Aligned / ⚠️ Drift detected / ✗ Misaligned]
78
+ Assessment: [One line summary]
79
+ Drift notes: [Details if drift detected, otherwise "None"]
80
+
81
+ ## Session Continuity
82
+
83
+ Last session: [YYYY-MM-DD HH:MM]
84
+ Stopped at: [Description of last completed action]
85
+ Resume file: [Path to .continue-here*.md if exists, otherwise "None"]
86
+ ```
87
+
88
+ <purpose>
89
+ STATE.md is the project's "short-term memory" that spans all phases and sessions.
90
+
91
+ **Problem it solves:** Information is captured in summaries, issues, and decisions - but not systematically consumed. Each phase plans in isolation. Sessions start without knowing accumulated context.
92
+
93
+ **Solution:** A single, small file that's:
94
+ - Always read first (every workflow)
95
+ - Always updated after work (every execution)
96
+ - Contains digest of all accumulated wisdom
97
+ - Enables instant context restoration
98
+ </purpose>
99
+
100
+ <lifecycle>
101
+
102
+ **Creation:** After ROADMAP.md is created (during init)
103
+ - Copy Project Summary from PROJECT.md (immutable after this)
104
+ - Initialize empty accumulated context sections
105
+ - Set position to "Phase 1 ready to plan"
106
+
107
+ **Reading:** First step of EVERY workflow
108
+ - progress: Present status to user
109
+ - plan: Inform planning decisions
110
+ - execute: Know current position
111
+ - transition: Know what's complete
112
+
113
+ **Writing:** After every significant action
114
+ - execute: After SUMMARY.md created
115
+ - Update position (phase, plan, status)
116
+ - Extract decisions → add to table
117
+ - Extract new issues → update deferred list
118
+ - Extract concerns → add to blockers
119
+ - transition: After phase marked complete
120
+ - Update progress bar
121
+ - Clear resolved blockers
122
+ - alignment-check: After verification
123
+ - Update alignment status
124
+
125
+ </lifecycle>
126
+
127
+ <sections>
128
+
129
+ ### Project Summary (Immutable)
130
+ Copied from PROJECT.md on project initialization. Never edited afterward.
131
+ Provides constant reference to "what are we building" without re-reading full project doc.
132
+
133
+ ### Current Position
134
+ Where we are right now:
135
+ - Phase X of Y - which phase
136
+ - Plan A of B - which plan within phase
137
+ - Status - current state
138
+ - Last activity - what happened most recently
139
+ - Progress bar - visual indicator of overall completion
140
+
141
+ Progress calculation: (completed plans) / (total plans across all phases) × 100%
142
+
143
+ ### Performance Metrics
144
+ Track velocity to understand execution patterns:
145
+ - Total plans completed
146
+ - Average duration per plan
147
+ - Per-phase breakdown
148
+ - Recent trend (improving/stable/degrading)
149
+
150
+ Updated after each plan completion.
151
+
152
+ ### Accumulated Context
153
+
154
+ **Decisions Made:** Table of significant decisions with rationale.
155
+ - Extracted from SUMMARY.md "Decisions Made" sections
156
+ - Include phase number for traceability
157
+ - These constrain future phases (e.g., "use jose not jsonwebtoken")
158
+
159
+ **Deferred Issues:** Open items from ISSUES.md
160
+ - Brief description with ISS-XXX number
161
+ - Phase where discovered
162
+ - Effort estimate if known
163
+ - Helps phase planning identify what to address
164
+
165
+ **Blockers/Concerns:** From "Next Phase Readiness" sections
166
+ - Issues that affect future work
167
+ - Prefix with originating phase
168
+ - Cleared when addressed
169
+
170
+ ### Project Alignment
171
+ Tracks whether work matches original requirements:
172
+ - ✓ Aligned: On track
173
+ - ⚠️ Drift: Scope creeping or diverging
174
+ - ✗ Misaligned: Work doesn't serve project goals
175
+
176
+ Updated after each phase completion.
177
+
178
+ ### Session Continuity
179
+ Enables instant resumption:
180
+ - When was last session
181
+ - What was last completed
182
+ - Is there a .continue-here file to resume from
183
+
184
+ </sections>
185
+
186
+ <size_constraint>
187
+ Keep STATE.md under 150 lines.
188
+
189
+ It's a DIGEST, not an archive. If accumulated context grows too large:
190
+ - Summarize older phase decisions: "Phases 1-2: [key decisions]"
191
+ - Reference ISSUES.md instead of listing all: "12 open issues - see ISSUES.md"
192
+ - Keep only active blockers, archive resolved ones
193
+
194
+ The goal is "read once, know everything" - if it's too long, that fails.
195
+ </size_constraint>
196
+
197
+ <guidelines>
198
+ **When created:**
199
+ - During project initialization (after ROADMAP.md)
200
+ - Copy Project Summary from PROJECT.md (never edit this section after creation)
201
+ - Initialize empty sections
202
+
203
+ **When read:**
204
+ - EVERY workflow starts by reading STATE.md
205
+ - Provides instant context restoration
206
+ - Shows current position and accumulated wisdom
207
+
208
+ **When updated:**
209
+ - After each plan execution (update position, extract decisions/issues/blockers)
210
+ - After phase transitions (update progress bar, clear resolved blockers)
211
+ - After alignment checks (update alignment status)
212
+
213
+ **Size management:**
214
+ - Keep under 150 lines total
215
+ - Summarize older decisions if table grows large
216
+ - Reference ISSUES.md instead of listing all issues
217
+ - Keep only active blockers, archive resolved ones
218
+
219
+ **Sections:**
220
+ - Project Summary: Immutable project overview
221
+ - Current Position: Where we are now (phase, plan, status)
222
+ - Performance Metrics: Velocity tracking
223
+ - Accumulated Context: Decisions, deferred issues, blockers
224
+ - Project Alignment: Are we on track with original vision?
225
+ - Session Continuity: Resume information
226
+ </guidelines>