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,379 @@
1
+ <purpose>
2
+ Create a new milestone for an existing project. Defines phases, updates roadmap, and resets state tracking for the new milestone.
3
+
4
+ This is used after completing a milestone when ready to define the next chunk of work.
5
+ </purpose>
6
+
7
+ <required_reading>
8
+ **Read these files NOW:**
9
+
10
+ 1. ~/.claude/get-shit-done/templates/roadmap.md (milestone-grouped format)
11
+ 2. `.planning/ROADMAP.md`
12
+ 3. `.planning/STATE.md`
13
+ 4. `.planning/MILESTONES.md` (if exists)
14
+ </required_reading>
15
+
16
+ <process>
17
+
18
+ <step name="load_context">
19
+ Load project context:
20
+
21
+ ```bash
22
+ cat .planning/ROADMAP.md
23
+ cat .planning/STATE.md
24
+ cat .planning/MILESTONES.md 2>/dev/null || echo "No milestones file yet"
25
+ ```
26
+
27
+ Extract:
28
+
29
+ - Previous milestone version (e.g., v1.0)
30
+ - Last phase number used
31
+ - Deferred issues from STATE.md
32
+ - Project brief summary from STATE.md
33
+
34
+ **Calculate next milestone version:**
35
+
36
+ - If previous was v1.0 → suggest v1.1 (minor) or v2.0 (major)
37
+ - If previous was v1.3 → suggest v1.4 or v2.0
38
+ - Parse from ROADMAP.md "Completed Milestones" section
39
+ </step>
40
+
41
+ <step name="get_milestone_info">
42
+ **If called from /gsd:discuss-milestone (context provided):**
43
+ Use the theme, scope, and constraints from discussion.
44
+ Suggest milestone name based on theme.
45
+
46
+ **If called directly (no prior context):**
47
+ Ask for milestone details:
48
+
49
+ header: "Milestone Name"
50
+ question: "What should we call this milestone?"
51
+ options:
52
+
53
+ - "v[X.Y] Features" - Adding new functionality
54
+ - "v[X.Y] Improvements" - Enhancing existing features
55
+ - "v[X.Y] Fixes" - Bug fixes and stability
56
+ - "v[X.Y] Refactor" - Code quality and architecture
57
+ - "v[X.Y+1].0 [Major]" - Major version bump
58
+ - "Other" - Custom name
59
+
60
+ Get milestone name in format: "v[X.Y] [Name]"
61
+ </step>
62
+
63
+ <step name="identify_phases">
64
+ **Calculate starting phase number:**
65
+
66
+ ```bash
67
+ # Find highest phase number from roadmap
68
+ grep -E "^### Phase [0-9]+" .planning/ROADMAP.md | tail -1
69
+ # Extract number, add 1
70
+ ```
71
+
72
+ Next phase starts at: [last_phase + 1]
73
+
74
+ **Gather phases (3-6 recommended):**
75
+
76
+ If context from discuss-milestone provided, use that scope.
77
+
78
+ Otherwise, ask:
79
+
80
+ ```
81
+ What phases should this milestone include?
82
+
83
+ Starting at Phase [N]:
84
+ - Phase [N]: [name] - [one-line goal]
85
+ - Phase [N+1]: [name] - [one-line goal]
86
+ ...
87
+
88
+ Describe the phases, or say "help me break this down" for guidance.
89
+ ```
90
+
91
+ For each phase, capture:
92
+
93
+ - Phase number (continuing sequence)
94
+ - Phase name (kebab-case for directory)
95
+ - One-line goal
96
+ - Research flag (Likely/Unlikely based on triggers)
97
+ </step>
98
+
99
+ <step name="detect_research_needs">
100
+ **For each phase, determine if research is likely needed.**
101
+
102
+ Apply research triggers from create-roadmap.md:
103
+
104
+ <research_triggers>
105
+ **Likely (flag the phase):**
106
+
107
+ | Trigger Pattern | Why Research Needed |
108
+ | ----------------------------------------------------- | --------------------------------------- |
109
+ | "integrate [service]", "connect to [API]" | External API - need current docs |
110
+ | "authentication", "auth", "login", "JWT" | Architectural decision + library choice |
111
+ | "payment", "billing", "Stripe", "subscription" | External API + compliance patterns |
112
+ | "email", "SMS", "notifications", "SendGrid", "Twilio" | External service integration |
113
+ | "database", "Postgres", "MongoDB", "Supabase" | If new to project - setup patterns |
114
+ | "real-time", "websocket", "sync", "live updates" | Architectural decision |
115
+ | "deploy", "Vercel", "Railway", "hosting" | If first deployment - config patterns |
116
+ | "choose between", "select", "evaluate", "which" | Explicit decision needed |
117
+ | "AI", "OpenAI", "Claude", "LLM", "embeddings" | Fast-moving APIs - need current docs |
118
+ | Any technology not already in codebase | New integration |
119
+
120
+ **Unlikely (no flag needed):**
121
+
122
+ | Pattern | Why No Research |
123
+ | ------------------------------------------- | ----------------------- |
124
+ | "add button", "create form", "update UI" | Internal patterns |
125
+ | "CRUD operations", "list/detail views" | Standard patterns |
126
+ | "refactor", "reorganize", "clean up" | Internal work |
127
+ | "following existing patterns" | Conventions established |
128
+ | Technology already in package.json/codebase | Patterns exist |
129
+
130
+ </research_triggers>
131
+
132
+ Present research assessment:
133
+
134
+ ```
135
+ Research needs detected:
136
+
137
+ Phase [N]: [Name]
138
+ Research: Unlikely (internal patterns)
139
+
140
+ Phase [N+1]: [Name]
141
+ Research: Likely (new API integration)
142
+ Topics: [What to investigate]
143
+
144
+ Does this look right? (yes / adjust)
145
+ ```
146
+
147
+ </step>
148
+
149
+ <step name="confirm_phases">
150
+ **Check workflow config for gate behavior:**
151
+
152
+ ```bash
153
+ cat .planning/config.json 2>/dev/null
154
+ ```
155
+
156
+ Parse the config:
157
+
158
+ - If `mode: "yolo"` → auto-approve
159
+ - If `mode: "interactive"` or missing → prompt user
160
+ - If `mode: "custom"` → check `gates.confirm_phases`
161
+
162
+ **If auto-approved:**
163
+
164
+ ```
165
+ ⚡ Auto-approved: Milestone phases ([N] phases)
166
+
167
+ 1. Phase [X]: [Name] - [goal]
168
+ 2. Phase [X+1]: [Name] - [goal]
169
+ ...
170
+
171
+ Proceeding to create milestone structure...
172
+ ```
173
+
174
+ **If prompting:**
175
+
176
+ Present the phase breakdown:
177
+
178
+ ```
179
+ Milestone: v[X.Y] [Name]
180
+
181
+ Phases:
182
+ 1. Phase [X]: [Name] - [goal]
183
+ 2. Phase [X+1]: [Name] - [goal]
184
+ 3. Phase [X+2]: [Name] - [goal]
185
+
186
+ Does this feel right? (yes / adjust)
187
+ ```
188
+
189
+ If "adjust": Ask what to change, revise, present again.
190
+ </step>
191
+
192
+ <step name="update_roadmap">
193
+ Update `.planning/ROADMAP.md` with new milestone:
194
+
195
+ **Add to Milestones section (if exists):**
196
+
197
+ ```markdown
198
+ ## Milestones
199
+
200
+ - ✅ **v1.0 [Previous]** - Phases 1-9 (shipped YYYY-MM-DD)
201
+ - 🚧 **v[X.Y] [Name]** - Phases [N]-[M] (in progress)
202
+ ```
203
+
204
+ **Add to Phases section:**
205
+
206
+ ```markdown
207
+ ### 🚧 v[X.Y] [Name] (In Progress)
208
+
209
+ **Milestone Goal:** [One sentence describing what this milestone delivers]
210
+
211
+ #### Phase [N]: [Name]
212
+
213
+ **Goal**: [What this phase delivers]
214
+ **Depends on**: Phase [N-1] (or "Previous milestone complete")
215
+ **Research**: [Likely/Unlikely] ([reason])
216
+ **Research topics**: [If Likely, what to investigate]
217
+ **Plans**: TBD
218
+
219
+ Plans:
220
+
221
+ - [ ] [N]-01: TBD (run /gsd:plan-phase [N] to break down)
222
+
223
+ #### Phase [N+1]: [Name]
224
+
225
+ **Goal**: [What this phase delivers]
226
+ **Depends on**: Phase [N]
227
+ **Research**: [Likely/Unlikely] ([reason])
228
+ **Plans**: TBD
229
+
230
+ Plans:
231
+
232
+ - [ ] [N+1]-01: TBD
233
+
234
+ [... continue for all phases ...]
235
+ ```
236
+
237
+ **Update Progress table:**
238
+
239
+ Add new phases with milestone column:
240
+
241
+ ```markdown
242
+ | Phase | Milestone | Plans | Status | Completed |
243
+ | ------------- | --------- | ----- | ----------- | --------- |
244
+ | [N]. [Name] | v[X.Y] | 0/? | Not started | - |
245
+ | [N+1]. [Name] | v[X.Y] | 0/? | Not started | - |
246
+ ```
247
+
248
+ </step>
249
+
250
+ <step name="create_phase_directories">
251
+ Create directories for new phases:
252
+
253
+ ```bash
254
+ mkdir -p .planning/phases/[NN]-[slug]
255
+ mkdir -p .planning/phases/[NN+1]-[slug]
256
+ # ... for each phase
257
+ ```
258
+
259
+ Use two-digit padding: `10-name`, `11-name`, etc.
260
+ </step>
261
+
262
+ <step name="update_state">
263
+ Update `.planning/STATE.md` for new milestone:
264
+
265
+ **Update Current Position:**
266
+
267
+ ```markdown
268
+ ## Current Position
269
+
270
+ Phase: [N] of [M] ([First phase name])
271
+ Plan: Not started
272
+ Status: Ready to plan
273
+ Last activity: [today's date] - Milestone v[X.Y] created
274
+
275
+ Progress: ░░░░░░░░░░ 0%
276
+ ```
277
+
278
+ **Update Accumulated Context:**
279
+
280
+ Keep decisions from previous milestone (they're historical record).
281
+ Clear "Blockers/Concerns Carried Forward" section.
282
+
283
+ **Add to Roadmap Evolution:**
284
+
285
+ ```markdown
286
+ ### Roadmap Evolution
287
+
288
+ - Milestone v[X.Y] created: [theme/focus], [N] phases (Phase [start]-[end])
289
+ ```
290
+
291
+ **Update Session Continuity:**
292
+
293
+ ```markdown
294
+ ## Session Continuity
295
+
296
+ Last session: [today's date and time]
297
+ Stopped at: Milestone v[X.Y] initialization
298
+ Resume file: None
299
+ ```
300
+
301
+ </step>
302
+
303
+ <step name="git_commit">
304
+ Commit milestone creation:
305
+
306
+ ```bash
307
+ git add .planning/ROADMAP.md .planning/STATE.md
308
+ git add .planning/phases/
309
+ git commit -m "$(cat <<'EOF'
310
+ docs: create milestone v[X.Y] [Name] ([N] phases)
311
+
312
+ Phases:
313
+ - [N]. [name]: [goal]
314
+ - [N+1]. [name]: [goal]
315
+ - [N+2]. [name]: [goal]
316
+ EOF
317
+ )"
318
+ ```
319
+
320
+ Confirm: "Committed: docs: create milestone v[X.Y] [Name]"
321
+ </step>
322
+
323
+ <step name="offer_next">
324
+ ```
325
+ Milestone v[X.Y] [Name] created:
326
+ - Phases: [N]-[M] ([count] phases)
327
+ - Directories created
328
+ - ROADMAP.md updated
329
+ - STATE.md reset for new milestone
330
+
331
+ What's next?
332
+
333
+ 1. Discuss Phase [N] context (/gsd:discuss-phase [N])
334
+ 2. Plan Phase [N] directly (/gsd:plan-phase [N])
335
+ 3. Review roadmap
336
+ 4. Done for now
337
+
338
+ ```
339
+
340
+ **If user selects option 1:**
341
+ Invoke SlashCommand("/gsd:discuss-phase [N]")
342
+
343
+ **If user selects option 2:**
344
+ Invoke SlashCommand("/gsd:plan-phase [N]")
345
+ </step>
346
+
347
+ </process>
348
+
349
+ <phase_naming>
350
+ Use `XX-kebab-case-name` format with continuous numbering:
351
+ - `10-user-profiles`
352
+ - `11-notifications`
353
+ - `12-analytics`
354
+
355
+ Numbers continue from previous milestone. Names describe content.
356
+ </phase_naming>
357
+
358
+ <anti_patterns>
359
+ - Don't restart phase numbering at 01 (continue sequence)
360
+ - Don't add time estimates
361
+ - Don't create Gantt charts
362
+ - Don't plan more than 6 phases per milestone (scope creep)
363
+ - Don't modify completed milestone sections
364
+
365
+ Milestones are coherent chunks of work, not project management artifacts.
366
+ </anti_patterns>
367
+
368
+ <success_criteria>
369
+ Milestone creation is complete when:
370
+ - [ ] Next phase number calculated correctly (continues from previous)
371
+ - [ ] 3-6 phases defined with clear names
372
+ - [ ] Research flags assigned for each phase
373
+ - [ ] ROADMAP.md updated with new milestone section
374
+ - [ ] Phase directories created
375
+ - [ ] STATE.md reset for new milestone
376
+ - [ ] Git commit made
377
+ - [ ] User knows next steps
378
+ </success_criteria>
379
+ ```