ragarciaruben 1.20.7
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/.github/copilot-context/README.md +313 -0
- package/.github/copilot-context/agents/executor.agent.md +59 -0
- package/.github/copilot-context/agents/planner.agent.md +58 -0
- package/.github/copilot-context/agents/verifier.agent.md +68 -0
- package/.github/copilot-context/hooks/hooks.json +11 -0
- package/.github/copilot-context/hooks/inject-context.js +107 -0
- package/.github/copilot-context/instructions/architecture.instructions.md +33 -0
- package/.github/copilot-context/instructions/concerns.instructions.md +30 -0
- package/.github/copilot-context/instructions/conventions.instructions.md +25 -0
- package/.github/copilot-context/instructions/integrations.instructions.md +30 -0
- package/.github/copilot-context/instructions/stack.instructions.md +30 -0
- package/.github/copilot-context/instructions/structure.instructions.md +32 -0
- package/.github/copilot-context/instructions/testing.instructions.md +25 -0
- package/.github/copilot-context/prompts/execute-phase.prompt.md +148 -0
- package/.github/copilot-context/prompts/map-codebase.prompt.md +115 -0
- package/.github/copilot-context/prompts/new-project.prompt.md +85 -0
- package/.github/copilot-context/prompts/pause-work.prompt.md +104 -0
- package/.github/copilot-context/prompts/plan-phase.prompt.md +137 -0
- package/.github/copilot-context/prompts/progress.prompt.md +69 -0
- package/.github/copilot-context/prompts/resume-work.prompt.md +74 -0
- package/.github/copilot-context/prompts/sync-instructions.prompt.md +86 -0
- package/.github/copilot-context/prompts/verify-work.prompt.md +126 -0
- package/.github/copilot-context/skills/map-codebase/SKILL.md +49 -0
- package/.github/copilot-context/skills/project-history/SKILL.md +46 -0
- package/.github/copilot-instructions.md +68 -0
- package/.planning/PROJECT.md +61 -0
- package/.planning/REQUIREMENTS.md +70 -0
- package/.planning/ROADMAP.md +75 -0
- package/.planning/STATE.md +75 -0
- package/.planning/codebase/ARCHITECTURE.md +76 -0
- package/.planning/codebase/CONCERNS.md +102 -0
- package/.planning/codebase/CONVENTIONS.md +119 -0
- package/.planning/codebase/INTEGRATIONS.md +114 -0
- package/.planning/codebase/STACK.md +78 -0
- package/.planning/codebase/STRUCTURE.md +75 -0
- package/.planning/codebase/TESTING.md +157 -0
- package/.planning/continue-here.md +44 -0
- package/.vscode/settings.json +16 -0
- package/LICENSE +21 -0
- package/README.md +704 -0
- package/agents/gsd-codebase-mapper.md +764 -0
- package/agents/gsd-debugger.md +1246 -0
- package/agents/gsd-executor.md +469 -0
- package/agents/gsd-integration-checker.md +443 -0
- package/agents/gsd-phase-researcher.md +546 -0
- package/agents/gsd-plan-checker.md +690 -0
- package/agents/gsd-planner.md +1275 -0
- package/agents/gsd-project-researcher.md +621 -0
- package/agents/gsd-research-synthesizer.md +239 -0
- package/agents/gsd-roadmapper.md +642 -0
- package/agents/gsd-verifier.md +573 -0
- package/bin/install.js +2091 -0
- package/bin/setup-copilot-context.js +180 -0
- package/commands/gsd/add-phase.md +43 -0
- package/commands/gsd/add-tests.md +41 -0
- package/commands/gsd/add-todo.md +47 -0
- package/commands/gsd/audit-milestone.md +36 -0
- package/commands/gsd/check-todos.md +45 -0
- package/commands/gsd/cleanup.md +18 -0
- package/commands/gsd/complete-milestone.md +136 -0
- package/commands/gsd/debug.md +167 -0
- package/commands/gsd/discuss-phase.md +83 -0
- package/commands/gsd/execute-phase.md +41 -0
- package/commands/gsd/health.md +22 -0
- package/commands/gsd/help.md +22 -0
- package/commands/gsd/insert-phase.md +32 -0
- package/commands/gsd/join-discord.md +18 -0
- package/commands/gsd/list-phase-assumptions.md +46 -0
- package/commands/gsd/map-codebase.md +71 -0
- package/commands/gsd/new-milestone.md +44 -0
- package/commands/gsd/new-project.md +42 -0
- package/commands/gsd/new-project.md.bak +1041 -0
- package/commands/gsd/pause-work.md +38 -0
- package/commands/gsd/plan-milestone-gaps.md +34 -0
- package/commands/gsd/plan-phase.md +45 -0
- package/commands/gsd/progress.md +24 -0
- package/commands/gsd/quick.md +41 -0
- package/commands/gsd/reapply-patches.md +110 -0
- package/commands/gsd/remove-phase.md +31 -0
- package/commands/gsd/research-phase.md +189 -0
- package/commands/gsd/resume-work.md +40 -0
- package/commands/gsd/set-profile.md +34 -0
- package/commands/gsd/settings.md +36 -0
- package/commands/gsd/update.md +37 -0
- package/commands/gsd/verify-work.md +38 -0
- package/get-shit-done/bin/gsd-tools.cjs +585 -0
- package/get-shit-done/bin/lib/commands.cjs +553 -0
- package/get-shit-done/bin/lib/config.cjs +162 -0
- package/get-shit-done/bin/lib/core.cjs +411 -0
- package/get-shit-done/bin/lib/frontmatter.cjs +299 -0
- package/get-shit-done/bin/lib/init.cjs +710 -0
- package/get-shit-done/bin/lib/milestone.cjs +215 -0
- package/get-shit-done/bin/lib/phase.cjs +870 -0
- package/get-shit-done/bin/lib/roadmap.cjs +298 -0
- package/get-shit-done/bin/lib/state.cjs +521 -0
- package/get-shit-done/bin/lib/template.cjs +222 -0
- package/get-shit-done/bin/lib/verify.cjs +772 -0
- package/get-shit-done/references/checkpoints.md +776 -0
- package/get-shit-done/references/continuation-format.md +249 -0
- package/get-shit-done/references/decimal-phase-calculation.md +65 -0
- package/get-shit-done/references/git-integration.md +248 -0
- package/get-shit-done/references/git-planning-commit.md +38 -0
- package/get-shit-done/references/model-profile-resolution.md +34 -0
- package/get-shit-done/references/model-profiles.md +92 -0
- package/get-shit-done/references/phase-argument-parsing.md +61 -0
- package/get-shit-done/references/planning-config.md +196 -0
- package/get-shit-done/references/questioning.md +145 -0
- package/get-shit-done/references/tdd.md +263 -0
- package/get-shit-done/references/ui-brand.md +160 -0
- package/get-shit-done/references/verification-patterns.md +612 -0
- package/get-shit-done/templates/DEBUG.md +164 -0
- package/get-shit-done/templates/UAT.md +247 -0
- package/get-shit-done/templates/VALIDATION.md +76 -0
- package/get-shit-done/templates/codebase/architecture.md +255 -0
- package/get-shit-done/templates/codebase/concerns.md +310 -0
- package/get-shit-done/templates/codebase/conventions.md +307 -0
- package/get-shit-done/templates/codebase/integrations.md +280 -0
- package/get-shit-done/templates/codebase/stack.md +186 -0
- package/get-shit-done/templates/codebase/structure.md +285 -0
- package/get-shit-done/templates/codebase/testing.md +480 -0
- package/get-shit-done/templates/config.json +37 -0
- package/get-shit-done/templates/context.md +283 -0
- package/get-shit-done/templates/continue-here.md +78 -0
- package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
- package/get-shit-done/templates/discovery.md +146 -0
- package/get-shit-done/templates/milestone-archive.md +123 -0
- package/get-shit-done/templates/milestone.md +115 -0
- package/get-shit-done/templates/phase-prompt.md +569 -0
- package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
- package/get-shit-done/templates/project.md +184 -0
- package/get-shit-done/templates/requirements.md +231 -0
- package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
- package/get-shit-done/templates/research-project/FEATURES.md +147 -0
- package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
- package/get-shit-done/templates/research-project/STACK.md +120 -0
- package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
- package/get-shit-done/templates/research.md +552 -0
- package/get-shit-done/templates/retrospective.md +54 -0
- package/get-shit-done/templates/roadmap.md +202 -0
- package/get-shit-done/templates/state.md +176 -0
- package/get-shit-done/templates/summary-complex.md +59 -0
- package/get-shit-done/templates/summary-minimal.md +41 -0
- package/get-shit-done/templates/summary-standard.md +48 -0
- package/get-shit-done/templates/summary.md +248 -0
- package/get-shit-done/templates/user-setup.md +311 -0
- package/get-shit-done/templates/verification-report.md +322 -0
- package/get-shit-done/workflows/add-phase.md +111 -0
- package/get-shit-done/workflows/add-tests.md +350 -0
- package/get-shit-done/workflows/add-todo.md +157 -0
- package/get-shit-done/workflows/audit-milestone.md +297 -0
- package/get-shit-done/workflows/check-todos.md +176 -0
- package/get-shit-done/workflows/cleanup.md +152 -0
- package/get-shit-done/workflows/complete-milestone.md +763 -0
- package/get-shit-done/workflows/diagnose-issues.md +219 -0
- package/get-shit-done/workflows/discovery-phase.md +289 -0
- package/get-shit-done/workflows/discuss-phase.md +542 -0
- package/get-shit-done/workflows/execute-phase.md +449 -0
- package/get-shit-done/workflows/execute-plan.md +448 -0
- package/get-shit-done/workflows/health.md +156 -0
- package/get-shit-done/workflows/help.md +489 -0
- package/get-shit-done/workflows/insert-phase.md +129 -0
- package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
- package/get-shit-done/workflows/map-codebase.md +315 -0
- package/get-shit-done/workflows/new-milestone.md +382 -0
- package/get-shit-done/workflows/new-project.md +1116 -0
- package/get-shit-done/workflows/pause-work.md +122 -0
- package/get-shit-done/workflows/plan-milestone-gaps.md +274 -0
- package/get-shit-done/workflows/plan-phase.md +569 -0
- package/get-shit-done/workflows/progress.md +381 -0
- package/get-shit-done/workflows/quick.md +453 -0
- package/get-shit-done/workflows/remove-phase.md +154 -0
- package/get-shit-done/workflows/research-phase.md +73 -0
- package/get-shit-done/workflows/resume-project.md +306 -0
- package/get-shit-done/workflows/set-profile.md +80 -0
- package/get-shit-done/workflows/settings.md +213 -0
- package/get-shit-done/workflows/transition.md +544 -0
- package/get-shit-done/workflows/update.md +219 -0
- package/get-shit-done/workflows/verify-phase.md +242 -0
- package/get-shit-done/workflows/verify-work.md +569 -0
- package/hooks/dist/gsd-check-update.js +62 -0
- package/hooks/dist/gsd-context-monitor.js +122 -0
- package/hooks/dist/gsd-statusline.js +108 -0
- package/package.json +54 -0
- package/scripts/build-hooks.js +43 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:debug
|
|
3
|
+
description: Systematic debugging with persistent state across context resets
|
|
4
|
+
argument-hint: [issue description]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Task
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Debug issues using scientific method with subagent isolation.
|
|
14
|
+
|
|
15
|
+
**Orchestrator role:** Gather symptoms, spawn gsd-debugger agent, handle checkpoints, spawn continuations.
|
|
16
|
+
|
|
17
|
+
**Why subagent:** Investigation burns context fast (reading files, forming hypotheses, testing). Fresh 200k context per investigation. Main context stays lean for user interaction.
|
|
18
|
+
</objective>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
User's issue: $ARGUMENTS
|
|
22
|
+
|
|
23
|
+
Check for active sessions:
|
|
24
|
+
```bash
|
|
25
|
+
ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
|
|
26
|
+
```
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
|
|
31
|
+
## 0. Initialize Context
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
INIT=$(node ~/.claude/get-shit-done/bin/gsd-tools.cjs state load)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Extract `commit_docs` from init JSON. Resolve debugger model:
|
|
38
|
+
```bash
|
|
39
|
+
DEBUGGER_MODEL=$(node ~/.claude/get-shit-done/bin/gsd-tools.cjs resolve-model gsd-debugger --raw)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## 1. Check Active Sessions
|
|
43
|
+
|
|
44
|
+
If active sessions exist AND no $ARGUMENTS:
|
|
45
|
+
- List sessions with status, hypothesis, next action
|
|
46
|
+
- User picks number to resume OR describes new issue
|
|
47
|
+
|
|
48
|
+
If $ARGUMENTS provided OR user describes new issue:
|
|
49
|
+
- Continue to symptom gathering
|
|
50
|
+
|
|
51
|
+
## 2. Gather Symptoms (if new issue)
|
|
52
|
+
|
|
53
|
+
Use AskUserQuestion for each:
|
|
54
|
+
|
|
55
|
+
1. **Expected behavior** - What should happen?
|
|
56
|
+
2. **Actual behavior** - What happens instead?
|
|
57
|
+
3. **Error messages** - Any errors? (paste or describe)
|
|
58
|
+
4. **Timeline** - When did this start? Ever worked?
|
|
59
|
+
5. **Reproduction** - How do you trigger it?
|
|
60
|
+
|
|
61
|
+
After all gathered, confirm ready to investigate.
|
|
62
|
+
|
|
63
|
+
## 3. Spawn gsd-debugger Agent
|
|
64
|
+
|
|
65
|
+
Fill prompt and spawn:
|
|
66
|
+
|
|
67
|
+
```markdown
|
|
68
|
+
<objective>
|
|
69
|
+
Investigate issue: {slug}
|
|
70
|
+
|
|
71
|
+
**Summary:** {trigger}
|
|
72
|
+
</objective>
|
|
73
|
+
|
|
74
|
+
<symptoms>
|
|
75
|
+
expected: {expected}
|
|
76
|
+
actual: {actual}
|
|
77
|
+
errors: {errors}
|
|
78
|
+
reproduction: {reproduction}
|
|
79
|
+
timeline: {timeline}
|
|
80
|
+
</symptoms>
|
|
81
|
+
|
|
82
|
+
<mode>
|
|
83
|
+
symptoms_prefilled: true
|
|
84
|
+
goal: find_and_fix
|
|
85
|
+
</mode>
|
|
86
|
+
|
|
87
|
+
<debug_file>
|
|
88
|
+
Create: .planning/debug/{slug}.md
|
|
89
|
+
</debug_file>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Task(
|
|
94
|
+
prompt=filled_prompt,
|
|
95
|
+
subagent_type="gsd-debugger",
|
|
96
|
+
model="{debugger_model}",
|
|
97
|
+
description="Debug {slug}"
|
|
98
|
+
)
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## 4. Handle Agent Return
|
|
102
|
+
|
|
103
|
+
**If `## ROOT CAUSE FOUND`:**
|
|
104
|
+
- Display root cause and evidence summary
|
|
105
|
+
- Offer options:
|
|
106
|
+
- "Fix now" - spawn fix subagent
|
|
107
|
+
- "Plan fix" - suggest /gsd:plan-phase --gaps
|
|
108
|
+
- "Manual fix" - done
|
|
109
|
+
|
|
110
|
+
**If `## CHECKPOINT REACHED`:**
|
|
111
|
+
- Present checkpoint details to user
|
|
112
|
+
- Get user response
|
|
113
|
+
- If checkpoint type is `human-verify`:
|
|
114
|
+
- If user confirms fixed: continue so agent can finalize/resolve/archive
|
|
115
|
+
- If user reports issues: continue so agent returns to investigation/fixing
|
|
116
|
+
- Spawn continuation agent (see step 5)
|
|
117
|
+
|
|
118
|
+
**If `## INVESTIGATION INCONCLUSIVE`:**
|
|
119
|
+
- Show what was checked and eliminated
|
|
120
|
+
- Offer options:
|
|
121
|
+
- "Continue investigating" - spawn new agent with additional context
|
|
122
|
+
- "Manual investigation" - done
|
|
123
|
+
- "Add more context" - gather more symptoms, spawn again
|
|
124
|
+
|
|
125
|
+
## 5. Spawn Continuation Agent (After Checkpoint)
|
|
126
|
+
|
|
127
|
+
When user responds to checkpoint, spawn fresh agent:
|
|
128
|
+
|
|
129
|
+
```markdown
|
|
130
|
+
<objective>
|
|
131
|
+
Continue debugging {slug}. Evidence is in the debug file.
|
|
132
|
+
</objective>
|
|
133
|
+
|
|
134
|
+
<prior_state>
|
|
135
|
+
<files_to_read>
|
|
136
|
+
- .planning/debug/{slug}.md (Debug session state)
|
|
137
|
+
</files_to_read>
|
|
138
|
+
</prior_state>
|
|
139
|
+
|
|
140
|
+
<checkpoint_response>
|
|
141
|
+
**Type:** {checkpoint_type}
|
|
142
|
+
**Response:** {user_response}
|
|
143
|
+
</checkpoint_response>
|
|
144
|
+
|
|
145
|
+
<mode>
|
|
146
|
+
goal: find_and_fix
|
|
147
|
+
</mode>
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
Task(
|
|
152
|
+
prompt=continuation_prompt,
|
|
153
|
+
subagent_type="gsd-debugger",
|
|
154
|
+
model="{debugger_model}",
|
|
155
|
+
description="Continue debug {slug}"
|
|
156
|
+
)
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
</process>
|
|
160
|
+
|
|
161
|
+
<success_criteria>
|
|
162
|
+
- [ ] Active sessions checked
|
|
163
|
+
- [ ] Symptoms gathered (if new)
|
|
164
|
+
- [ ] gsd-debugger spawned with context
|
|
165
|
+
- [ ] Checkpoints handled correctly
|
|
166
|
+
- [ ] Root cause confirmed before fixing
|
|
167
|
+
</success_criteria>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:discuss-phase
|
|
3
|
+
description: Gather phase context through adaptive questioning before planning
|
|
4
|
+
argument-hint: "<phase> [--auto]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
- Task
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<objective>
|
|
16
|
+
Extract implementation decisions that downstream agents need — researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
|
|
17
|
+
|
|
18
|
+
**How it works:**
|
|
19
|
+
1. Analyze the phase to identify gray areas (UI, UX, behavior, etc.)
|
|
20
|
+
2. Present gray areas — user selects which to discuss
|
|
21
|
+
3. Deep-dive each selected area until satisfied
|
|
22
|
+
4. Create CONTEXT.md with decisions that guide research and planning
|
|
23
|
+
|
|
24
|
+
**Output:** `{phase_num}-CONTEXT.md` — decisions clear enough that downstream agents can act without asking the user again
|
|
25
|
+
</objective>
|
|
26
|
+
|
|
27
|
+
<execution_context>
|
|
28
|
+
@~/.claude/get-shit-done/workflows/discuss-phase.md
|
|
29
|
+
@~/.claude/get-shit-done/templates/context.md
|
|
30
|
+
</execution_context>
|
|
31
|
+
|
|
32
|
+
<context>
|
|
33
|
+
Phase number: $ARGUMENTS (required)
|
|
34
|
+
|
|
35
|
+
Context files are resolved in-workflow using `init phase-op` and roadmap/state tool calls.
|
|
36
|
+
</context>
|
|
37
|
+
|
|
38
|
+
<process>
|
|
39
|
+
1. Validate phase number (error if missing or not in roadmap)
|
|
40
|
+
2. Check if CONTEXT.md exists (offer update/view/skip if yes)
|
|
41
|
+
3. **Analyze phase** — Identify domain and generate phase-specific gray areas
|
|
42
|
+
4. **Present gray areas** — Multi-select: which to discuss? (NO skip option)
|
|
43
|
+
5. **Deep-dive each area** — 4 questions per area, then offer more/next
|
|
44
|
+
6. **Write CONTEXT.md** — Sections match areas discussed
|
|
45
|
+
7. Offer next steps (research or plan)
|
|
46
|
+
|
|
47
|
+
**CRITICAL: Scope guardrail**
|
|
48
|
+
- Phase boundary from ROADMAP.md is FIXED
|
|
49
|
+
- Discussion clarifies HOW to implement, not WHETHER to add more
|
|
50
|
+
- If user suggests new capabilities: "That's its own phase. I'll note it for later."
|
|
51
|
+
- Capture deferred ideas — don't lose them, don't act on them
|
|
52
|
+
|
|
53
|
+
**Domain-aware gray areas:**
|
|
54
|
+
Gray areas depend on what's being built. Analyze the phase goal:
|
|
55
|
+
- Something users SEE → layout, density, interactions, states
|
|
56
|
+
- Something users CALL → responses, errors, auth, versioning
|
|
57
|
+
- Something users RUN → output format, flags, modes, error handling
|
|
58
|
+
- Something users READ → structure, tone, depth, flow
|
|
59
|
+
- Something being ORGANIZED → criteria, grouping, naming, exceptions
|
|
60
|
+
|
|
61
|
+
Generate 3-4 **phase-specific** gray areas, not generic categories.
|
|
62
|
+
|
|
63
|
+
**Probing depth:**
|
|
64
|
+
- Ask 4 questions per area before checking
|
|
65
|
+
- "More questions about [area], or move to next?"
|
|
66
|
+
- If more → ask 4 more, check again
|
|
67
|
+
- After all areas → "Ready to create context?"
|
|
68
|
+
|
|
69
|
+
**Do NOT ask about (Claude handles these):**
|
|
70
|
+
- Technical implementation
|
|
71
|
+
- Architecture choices
|
|
72
|
+
- Performance concerns
|
|
73
|
+
- Scope expansion
|
|
74
|
+
</process>
|
|
75
|
+
|
|
76
|
+
<success_criteria>
|
|
77
|
+
- Gray areas identified through intelligent analysis
|
|
78
|
+
- User chose which areas to discuss
|
|
79
|
+
- Each selected area explored until satisfied
|
|
80
|
+
- Scope creep redirected to deferred ideas
|
|
81
|
+
- CONTEXT.md captures decisions, not vague vision
|
|
82
|
+
- User knows next steps
|
|
83
|
+
</success_criteria>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:execute-phase
|
|
3
|
+
description: Execute all plans in a phase with wave-based parallelization
|
|
4
|
+
argument-hint: "<phase-number> [--gaps-only]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Edit
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- Bash
|
|
12
|
+
- Task
|
|
13
|
+
- TodoWrite
|
|
14
|
+
- AskUserQuestion
|
|
15
|
+
---
|
|
16
|
+
<objective>
|
|
17
|
+
Execute all plans in a phase using wave-based parallel execution.
|
|
18
|
+
|
|
19
|
+
Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
|
|
20
|
+
|
|
21
|
+
Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
22
|
+
</objective>
|
|
23
|
+
|
|
24
|
+
<execution_context>
|
|
25
|
+
@~/.claude/get-shit-done/workflows/execute-phase.md
|
|
26
|
+
@~/.claude/get-shit-done/references/ui-brand.md
|
|
27
|
+
</execution_context>
|
|
28
|
+
|
|
29
|
+
<context>
|
|
30
|
+
Phase: $ARGUMENTS
|
|
31
|
+
|
|
32
|
+
**Flags:**
|
|
33
|
+
- `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
|
|
34
|
+
|
|
35
|
+
Context files are resolved inside the workflow via `gsd-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
|
|
36
|
+
</context>
|
|
37
|
+
|
|
38
|
+
<process>
|
|
39
|
+
Execute the execute-phase workflow from @~/.claude/get-shit-done/workflows/execute-phase.md end-to-end.
|
|
40
|
+
Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
|
|
41
|
+
</process>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:health
|
|
3
|
+
description: Diagnose planning directory health and optionally repair issues
|
|
4
|
+
argument-hint: [--repair]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
<objective>
|
|
12
|
+
Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@~/.claude/get-shit-done/workflows/health.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
Execute the health workflow from @~/.claude/get-shit-done/workflows/health.md end-to-end.
|
|
21
|
+
Parse --repair flag from arguments and pass to workflow.
|
|
22
|
+
</process>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:help
|
|
3
|
+
description: Show available GSD commands and usage guide
|
|
4
|
+
---
|
|
5
|
+
<objective>
|
|
6
|
+
Display the complete GSD command reference.
|
|
7
|
+
|
|
8
|
+
Output ONLY the reference content below. Do NOT add:
|
|
9
|
+
- Project-specific analysis
|
|
10
|
+
- Git status or file context
|
|
11
|
+
- Next-step suggestions
|
|
12
|
+
- Any commentary beyond the reference
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@~/.claude/get-shit-done/workflows/help.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
Output the complete GSD command reference from @~/.claude/get-shit-done/workflows/help.md.
|
|
21
|
+
Display the reference content directly — no additions or modifications.
|
|
22
|
+
</process>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:insert-phase
|
|
3
|
+
description: Insert urgent work as decimal phase (e.g., 72.1) between existing phases
|
|
4
|
+
argument-hint: <after> <description>
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Insert a decimal phase for urgent work discovered mid-milestone that must be completed between existing integer phases.
|
|
13
|
+
|
|
14
|
+
Uses decimal numbering (72.1, 72.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions.
|
|
15
|
+
|
|
16
|
+
Purpose: Handle urgent work discovered during execution without renumbering entire roadmap.
|
|
17
|
+
</objective>
|
|
18
|
+
|
|
19
|
+
<execution_context>
|
|
20
|
+
@~/.claude/get-shit-done/workflows/insert-phase.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
Arguments: $ARGUMENTS (format: <after-phase-number> <description>)
|
|
25
|
+
|
|
26
|
+
Roadmap and state are resolved in-workflow via `init phase-op` and targeted tool calls.
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
Execute the insert-phase workflow from @~/.claude/get-shit-done/workflows/insert-phase.md end-to-end.
|
|
31
|
+
Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
|
|
32
|
+
</process>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:join-discord
|
|
3
|
+
description: Join the GSD Discord community
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Display the Discord invite link for the GSD community server.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<output>
|
|
11
|
+
# Join the GSD Discord
|
|
12
|
+
|
|
13
|
+
Connect with other GSD users, get help, share what you're building, and stay updated.
|
|
14
|
+
|
|
15
|
+
**Invite link:** https://discord.gg/5JJgD5svVS
|
|
16
|
+
|
|
17
|
+
Click the link or paste it into your browser to join.
|
|
18
|
+
</output>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:list-phase-assumptions
|
|
3
|
+
description: Surface Claude's assumptions about a phase approach before planning
|
|
4
|
+
argument-hint: "[phase]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Analyze a phase and present Claude's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
|
|
14
|
+
|
|
15
|
+
Purpose: Help users see what Claude thinks BEFORE planning begins - enabling course correction early when assumptions are wrong.
|
|
16
|
+
Output: Conversational output only (no file creation) - ends with "What do you think?" prompt
|
|
17
|
+
</objective>
|
|
18
|
+
|
|
19
|
+
<execution_context>
|
|
20
|
+
@~/.claude/get-shit-done/workflows/list-phase-assumptions.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
Phase number: $ARGUMENTS (required)
|
|
25
|
+
|
|
26
|
+
Project state and roadmap are loaded in-workflow using targeted reads.
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
1. Validate phase number argument (error if missing or invalid)
|
|
31
|
+
2. Check if phase exists in roadmap
|
|
32
|
+
3. Follow list-phase-assumptions.md workflow:
|
|
33
|
+
- Analyze roadmap description
|
|
34
|
+
- Surface assumptions about: technical approach, implementation order, scope, risks, dependencies
|
|
35
|
+
- Present assumptions clearly
|
|
36
|
+
- Prompt "What do you think?"
|
|
37
|
+
4. Gather feedback and offer next steps
|
|
38
|
+
</process>
|
|
39
|
+
|
|
40
|
+
<success_criteria>
|
|
41
|
+
|
|
42
|
+
- Phase validated against roadmap
|
|
43
|
+
- Assumptions surfaced across five areas
|
|
44
|
+
- User prompted for feedback
|
|
45
|
+
- User knows next steps (discuss context, plan phase, or correct assumptions)
|
|
46
|
+
</success_criteria>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:map-codebase
|
|
3
|
+
description: Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
|
|
4
|
+
argument-hint: "[optional: specific area to map, e.g., 'api' or 'auth']"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Write
|
|
11
|
+
- Task
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<objective>
|
|
15
|
+
Analyze existing codebase using parallel gsd-codebase-mapper agents to produce structured codebase documents.
|
|
16
|
+
|
|
17
|
+
Each mapper agent explores a focus area and **writes documents directly** to `.planning/codebase/`. The orchestrator only receives confirmations, keeping context usage minimal.
|
|
18
|
+
|
|
19
|
+
Output: .planning/codebase/ folder with 7 structured documents about the codebase state.
|
|
20
|
+
</objective>
|
|
21
|
+
|
|
22
|
+
<execution_context>
|
|
23
|
+
@~/.claude/get-shit-done/workflows/map-codebase.md
|
|
24
|
+
</execution_context>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
Focus area: $ARGUMENTS (optional - if provided, tells agents to focus on specific subsystem)
|
|
28
|
+
|
|
29
|
+
**Load project state if exists:**
|
|
30
|
+
Check for .planning/STATE.md - loads context if project already initialized
|
|
31
|
+
|
|
32
|
+
**This command can run:**
|
|
33
|
+
- Before /gsd:new-project (brownfield codebases) - creates codebase map first
|
|
34
|
+
- After /gsd:new-project (greenfield codebases) - updates codebase map as code evolves
|
|
35
|
+
- Anytime to refresh codebase understanding
|
|
36
|
+
</context>
|
|
37
|
+
|
|
38
|
+
<when_to_use>
|
|
39
|
+
**Use map-codebase for:**
|
|
40
|
+
- Brownfield projects before initialization (understand existing code first)
|
|
41
|
+
- Refreshing codebase map after significant changes
|
|
42
|
+
- Onboarding to an unfamiliar codebase
|
|
43
|
+
- Before major refactoring (understand current state)
|
|
44
|
+
- When STATE.md references outdated codebase info
|
|
45
|
+
|
|
46
|
+
**Skip map-codebase for:**
|
|
47
|
+
- Greenfield projects with no code yet (nothing to map)
|
|
48
|
+
- Trivial codebases (<5 files)
|
|
49
|
+
</when_to_use>
|
|
50
|
+
|
|
51
|
+
<process>
|
|
52
|
+
1. Check if .planning/codebase/ already exists (offer to refresh or skip)
|
|
53
|
+
2. Create .planning/codebase/ directory structure
|
|
54
|
+
3. Spawn 4 parallel gsd-codebase-mapper agents:
|
|
55
|
+
- Agent 1: tech focus → writes STACK.md, INTEGRATIONS.md
|
|
56
|
+
- Agent 2: arch focus → writes ARCHITECTURE.md, STRUCTURE.md
|
|
57
|
+
- Agent 3: quality focus → writes CONVENTIONS.md, TESTING.md
|
|
58
|
+
- Agent 4: concerns focus → writes CONCERNS.md
|
|
59
|
+
4. Wait for agents to complete, collect confirmations (NOT document contents)
|
|
60
|
+
5. Verify all 7 documents exist with line counts
|
|
61
|
+
6. Commit codebase map
|
|
62
|
+
7. Offer next steps (typically: /gsd:new-project or /gsd:plan-phase)
|
|
63
|
+
</process>
|
|
64
|
+
|
|
65
|
+
<success_criteria>
|
|
66
|
+
- [ ] .planning/codebase/ directory created
|
|
67
|
+
- [ ] All 7 codebase documents written by mapper agents
|
|
68
|
+
- [ ] Documents follow template structure
|
|
69
|
+
- [ ] Parallel agents completed without errors
|
|
70
|
+
- [ ] User knows next steps
|
|
71
|
+
</success_criteria>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:new-milestone
|
|
3
|
+
description: Start a new milestone cycle — update PROJECT.md and route to requirements
|
|
4
|
+
argument-hint: "[milestone name, e.g., 'v1.1 Notifications']"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
- Task
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
<objective>
|
|
13
|
+
Start a new milestone: questioning → research (optional) → requirements → roadmap.
|
|
14
|
+
|
|
15
|
+
Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Gathers "what's next", updates PROJECT.md, then runs requirements → roadmap cycle.
|
|
16
|
+
|
|
17
|
+
**Creates/Updates:**
|
|
18
|
+
- `.planning/PROJECT.md` — updated with new milestone goals
|
|
19
|
+
- `.planning/research/` — domain research (optional, NEW features only)
|
|
20
|
+
- `.planning/REQUIREMENTS.md` — scoped requirements for this milestone
|
|
21
|
+
- `.planning/ROADMAP.md` — phase structure (continues numbering)
|
|
22
|
+
- `.planning/STATE.md` — reset for new milestone
|
|
23
|
+
|
|
24
|
+
**After:** `/gsd:plan-phase [N]` to start execution.
|
|
25
|
+
</objective>
|
|
26
|
+
|
|
27
|
+
<execution_context>
|
|
28
|
+
@~/.claude/get-shit-done/workflows/new-milestone.md
|
|
29
|
+
@~/.claude/get-shit-done/references/questioning.md
|
|
30
|
+
@~/.claude/get-shit-done/references/ui-brand.md
|
|
31
|
+
@~/.claude/get-shit-done/templates/project.md
|
|
32
|
+
@~/.claude/get-shit-done/templates/requirements.md
|
|
33
|
+
</execution_context>
|
|
34
|
+
|
|
35
|
+
<context>
|
|
36
|
+
Milestone name: $ARGUMENTS (optional - will prompt if not provided)
|
|
37
|
+
|
|
38
|
+
Project and milestone context files are resolved inside the workflow (`init new-milestone`) and delegated via `<files_to_read>` blocks where subagents are used.
|
|
39
|
+
</context>
|
|
40
|
+
|
|
41
|
+
<process>
|
|
42
|
+
Execute the new-milestone workflow from @~/.claude/get-shit-done/workflows/new-milestone.md end-to-end.
|
|
43
|
+
Preserve all workflow gates (validation, questioning, research, requirements, roadmap approval, commits).
|
|
44
|
+
</process>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:new-project
|
|
3
|
+
description: Initialize a new project with deep context gathering and PROJECT.md
|
|
4
|
+
argument-hint: "[--auto]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- Task
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
<context>
|
|
13
|
+
**Flags:**
|
|
14
|
+
- `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
|
|
15
|
+
</context>
|
|
16
|
+
|
|
17
|
+
<objective>
|
|
18
|
+
Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.
|
|
19
|
+
|
|
20
|
+
**Creates:**
|
|
21
|
+
- `.planning/PROJECT.md` — project context
|
|
22
|
+
- `.planning/config.json` — workflow preferences
|
|
23
|
+
- `.planning/research/` — domain research (optional)
|
|
24
|
+
- `.planning/REQUIREMENTS.md` — scoped requirements
|
|
25
|
+
- `.planning/ROADMAP.md` — phase structure
|
|
26
|
+
- `.planning/STATE.md` — project memory
|
|
27
|
+
|
|
28
|
+
**After this command:** Run `/gsd:plan-phase 1` to start execution.
|
|
29
|
+
</objective>
|
|
30
|
+
|
|
31
|
+
<execution_context>
|
|
32
|
+
@~/.claude/get-shit-done/workflows/new-project.md
|
|
33
|
+
@~/.claude/get-shit-done/references/questioning.md
|
|
34
|
+
@~/.claude/get-shit-done/references/ui-brand.md
|
|
35
|
+
@~/.claude/get-shit-done/templates/project.md
|
|
36
|
+
@~/.claude/get-shit-done/templates/requirements.md
|
|
37
|
+
</execution_context>
|
|
38
|
+
|
|
39
|
+
<process>
|
|
40
|
+
Execute the new-project workflow from @~/.claude/get-shit-done/workflows/new-project.md end-to-end.
|
|
41
|
+
Preserve all workflow gates (validation, approvals, commits, routing).
|
|
42
|
+
</process>
|