pi-gsd 1.0.3

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 (62) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +374 -0
  3. package/dist/gsd-tools.js +380 -0
  4. package/package.json +72 -0
  5. package/scripts/postinstall.js +272 -0
  6. package/skills/gsd-add-backlog/SKILL.md +78 -0
  7. package/skills/gsd-add-phase/SKILL.md +39 -0
  8. package/skills/gsd-add-tests/SKILL.md +28 -0
  9. package/skills/gsd-add-todo/SKILL.md +42 -0
  10. package/skills/gsd-audit-milestone/SKILL.md +29 -0
  11. package/skills/gsd-audit-uat/SKILL.md +20 -0
  12. package/skills/gsd-autonomous/SKILL.md +34 -0
  13. package/skills/gsd-check-todos/SKILL.md +40 -0
  14. package/skills/gsd-cleanup/SKILL.md +19 -0
  15. package/skills/gsd-complete-milestone/SKILL.md +122 -0
  16. package/skills/gsd-debug/SKILL.md +178 -0
  17. package/skills/gsd-discuss-phase/SKILL.md +55 -0
  18. package/skills/gsd-do/SKILL.md +26 -0
  19. package/skills/gsd-execute-phase/SKILL.md +53 -0
  20. package/skills/gsd-fast/SKILL.md +22 -0
  21. package/skills/gsd-forensics/SKILL.md +51 -0
  22. package/skills/gsd-health/SKILL.md +17 -0
  23. package/skills/gsd-help/SKILL.md +24 -0
  24. package/skills/gsd-insert-phase/SKILL.md +28 -0
  25. package/skills/gsd-join-discord/SKILL.md +19 -0
  26. package/skills/gsd-list-phase-assumptions/SKILL.md +41 -0
  27. package/skills/gsd-list-workspaces/SKILL.md +17 -0
  28. package/skills/gsd-manager/SKILL.md +33 -0
  29. package/skills/gsd-map-codebase/SKILL.md +64 -0
  30. package/skills/gsd-milestone-summary/SKILL.md +45 -0
  31. package/skills/gsd-new-milestone/SKILL.md +39 -0
  32. package/skills/gsd-new-project/SKILL.md +37 -0
  33. package/skills/gsd-new-workspace/SKILL.md +41 -0
  34. package/skills/gsd-next/SKILL.md +19 -0
  35. package/skills/gsd-note/SKILL.md +30 -0
  36. package/skills/gsd-pause-work/SKILL.md +35 -0
  37. package/skills/gsd-plan-milestone-gaps/SKILL.md +28 -0
  38. package/skills/gsd-plan-phase/SKILL.md +38 -0
  39. package/skills/gsd-plant-seed/SKILL.md +21 -0
  40. package/skills/gsd-pr-branch/SKILL.md +20 -0
  41. package/skills/gsd-profile-user/SKILL.md +38 -0
  42. package/skills/gsd-progress/SKILL.md +19 -0
  43. package/skills/gsd-quick/SKILL.md +38 -0
  44. package/skills/gsd-reapply-patches/SKILL.md +126 -0
  45. package/skills/gsd-remove-phase/SKILL.md +26 -0
  46. package/skills/gsd-remove-workspace/SKILL.md +22 -0
  47. package/skills/gsd-research-phase/SKILL.md +200 -0
  48. package/skills/gsd-resume-work/SKILL.md +35 -0
  49. package/skills/gsd-review/SKILL.md +31 -0
  50. package/skills/gsd-review-backlog/SKILL.md +62 -0
  51. package/skills/gsd-session-report/SKILL.md +16 -0
  52. package/skills/gsd-set-profile/SKILL.md +9 -0
  53. package/skills/gsd-settings/SKILL.md +32 -0
  54. package/skills/gsd-ship/SKILL.md +16 -0
  55. package/skills/gsd-stats/SKILL.md +16 -0
  56. package/skills/gsd-thread/SKILL.md +133 -0
  57. package/skills/gsd-ui-phase/SKILL.md +24 -0
  58. package/skills/gsd-ui-review/SKILL.md +24 -0
  59. package/skills/gsd-update/SKILL.md +35 -0
  60. package/skills/gsd-validate-phase/SKILL.md +26 -0
  61. package/skills/gsd-verify-work/SKILL.md +30 -0
  62. package/skills/gsd-workstreams/SKILL.md +72 -0
@@ -0,0 +1,122 @@
1
+ ---
2
+ name: gsd-complete-milestone
3
+ description: Archive completed milestone and prepare for next version
4
+ ---
5
+
6
+ <objective>
7
+ Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.
8
+
9
+ Purpose: Create historical record of shipped version, archive milestone artifacts (roadmap + requirements), and prepare for next milestone.
10
+ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tagged.
11
+ </objective>
12
+
13
+ <execution_context>
14
+ **Load these files NOW (before proceeding):**
15
+
16
+ - @.agent/get-shit-done/workflows/complete-milestone.md (main workflow)
17
+ - @.agent/get-shit-done/templates/milestone-archive.md (archive template)
18
+ </execution_context>
19
+
20
+ <context>
21
+ **Project files:**
22
+ - `.planning/ROADMAP.md`
23
+ - `.planning/REQUIREMENTS.md`
24
+ - `.planning/STATE.md`
25
+ - `.planning/PROJECT.md`
26
+
27
+ **User input:**
28
+
29
+ - Version: {{version}} (e.g., "1.0", "1.1", "2.0")
30
+ </context>
31
+
32
+ <process>
33
+
34
+ **Follow complete-milestone.md workflow:**
35
+
36
+ 0. **Check for audit:**
37
+ - Look for `.planning/v{{version}}-MILESTONE-AUDIT.md`
38
+ - If missing or stale: recommend `/gsd-audit-milestone` first
39
+ - If audit status is `gaps_found`: recommend `/gsd-plan-milestone-gaps` first
40
+ - If audit status is `passed`: proceed to step 1
41
+
42
+ ```markdown
43
+ ## Pre-flight Check
44
+
45
+ {If no v{{version}}-MILESTONE-AUDIT.md:}
46
+ ⚠ No milestone audit found. Run `/gsd-audit-milestone` first to verify
47
+ requirements coverage, cross-phase integration, and E2E flows.
48
+
49
+ {If audit has gaps:}
50
+ ⚠ Milestone audit found gaps. Run `/gsd-plan-milestone-gaps` to create
51
+ phases that close the gaps, or proceed anyway to accept as tech debt.
52
+
53
+ {If audit passed:}
54
+ ✓ Milestone audit passed. Proceeding with completion.
55
+ ```
56
+
57
+ 1. **Verify readiness:**
58
+ - Check all phases in milestone have completed plans (SUMMARY.md exists)
59
+ - Present milestone scope and stats
60
+ - Wait for confirmation
61
+
62
+ 2. **Gather stats:**
63
+ - Count phases, plans, tasks
64
+ - Calculate git range, file changes, LOC
65
+ - Extract timeline from git log
66
+ - Present summary, confirm
67
+
68
+ 3. **Extract accomplishments:**
69
+ - Read all phase SUMMARY.md files in milestone range
70
+ - Extract 4-6 key accomplishments
71
+ - Present for approval
72
+
73
+ 4. **Archive milestone:**
74
+ - Create `.planning/milestones/v{{version}}-ROADMAP.md`
75
+ - Extract full phase details from ROADMAP.md
76
+ - Fill milestone-archive.md template
77
+ - Update ROADMAP.md to one-line summary with link
78
+
79
+ 5. **Archive requirements:**
80
+ - Create `.planning/milestones/v{{version}}-REQUIREMENTS.md`
81
+ - Mark all v1 requirements as complete (checkboxes checked)
82
+ - Note requirement outcomes (validated, adjusted, dropped)
83
+ - Delete `.planning/REQUIREMENTS.md` (fresh one created for next milestone)
84
+
85
+ 6. **Update PROJECT.md:**
86
+ - Add "Current State" section with shipped version
87
+ - Add "Next Milestone Goals" section
88
+ - Archive previous content in `<details>` (if v1.1+)
89
+
90
+ 7. **Commit and tag:**
91
+ - Stage: MILESTONES.md, PROJECT.md, ROADMAP.md, STATE.md, archive files
92
+ - Commit: `chore: archive v{{version}} milestone`
93
+ - Tag: `git tag -a v{{version}} -m "[milestone summary]"`
94
+ - Ask about pushing tag
95
+
96
+ 8. **Offer next steps:**
97
+ - `/gsd-new-milestone` - start next milestone (questioning → research → requirements → roadmap)
98
+
99
+ </process>
100
+
101
+ <success_criteria>
102
+
103
+ - Milestone archived to `.planning/milestones/v{{version}}-ROADMAP.md`
104
+ - Requirements archived to `.planning/milestones/v{{version}}-REQUIREMENTS.md`
105
+ - `.planning/REQUIREMENTS.md` deleted (fresh for next milestone)
106
+ - ROADMAP.md collapsed to one-line entry
107
+ - PROJECT.md updated with current state
108
+ - Git tag v{{version}} created
109
+ - Commit successful
110
+ - User knows next steps (including need for fresh requirements)
111
+ </success_criteria>
112
+
113
+ <critical_rules>
114
+
115
+ - **Load workflow first:** Read complete-milestone.md before executing
116
+ - **Verify completion:** All phases must have SUMMARY.md files
117
+ - **User confirmation:** Wait for approval at verification gates
118
+ - **Archive before deleting:** Always create archive files before updating/deleting originals
119
+ - **One-line summary:** Collapsed milestone in ROADMAP.md should be single line with link
120
+ - **Context efficiency:** Archive keeps ROADMAP.md and REQUIREMENTS.md constant size per milestone
121
+ - **Fresh requirements:** Next milestone starts with `/gsd-new-milestone` which includes requirements definition
122
+ </critical_rules>
@@ -0,0 +1,178 @@
1
+ ---
2
+ name: gsd-debug
3
+ description: Systematic debugging with persistent state across context resets
4
+ ---
5
+
6
+ <objective>
7
+ Debug issues using scientific method with subagent isolation.
8
+
9
+ **Orchestrator role:** Gather symptoms, spawn gsd-debugger agent, handle checkpoints, spawn continuations.
10
+
11
+ **Why subagent:** Investigation burns context fast (reading files, forming hypotheses, testing). Fresh 200k context per investigation. Main context stays lean for user interaction.
12
+ </objective>
13
+
14
+ <available_agent_types>
15
+ Valid GSD subagent types (use exact names - do not fall back to 'general-purpose'):
16
+
17
+ - gsd-debugger - Diagnoses and fixes issues
18
+ </available_agent_types>
19
+
20
+ <context>
21
+ User's issue: $ARGUMENTS
22
+
23
+ Check for active sessions:
24
+
25
+ ```bash
26
+ ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
27
+ ```
28
+
29
+ </context>
30
+
31
+ <process>
32
+
33
+ ## 0. Initialize Context
34
+
35
+ ```bash
36
+ INIT=$(node ".agent/get-shit-done/bin/gsd-tools.cjs" state load)
37
+ if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
38
+ ```
39
+
40
+ Extract `commit_docs` from init JSON. Resolve debugger model:
41
+
42
+ ```bash
43
+ debugger_model=$(node ".agent/get-shit-done/bin/gsd-tools.cjs" resolve-model gsd-debugger --raw)
44
+ ```
45
+
46
+ ## 1. Check Active Sessions
47
+
48
+ If active sessions exist AND no $ARGUMENTS:
49
+
50
+ - List sessions with status, hypothesis, next action
51
+ - User picks number to resume OR describes new issue
52
+
53
+ If $ARGUMENTS provided OR user describes new issue:
54
+
55
+ - Continue to symptom gathering
56
+
57
+ ## 2. Gather Symptoms (if new issue)
58
+
59
+ Use AskUserQuestion for each:
60
+
61
+ 1. **Expected behavior** - What should happen?
62
+ 2. **Actual behavior** - What happens instead?
63
+ 3. **Error messages** - Any errors? (paste or describe)
64
+ 4. **Timeline** - When did this start? Ever worked?
65
+ 5. **Reproduction** - How do you trigger it?
66
+
67
+ After all gathered, confirm ready to investigate.
68
+
69
+ ## 3. Spawn gsd-debugger Agent
70
+
71
+ Fill prompt and spawn:
72
+
73
+ ```markdown
74
+ <objective>
75
+ Investigate issue: {slug}
76
+
77
+ **Summary:** {trigger}
78
+ </objective>
79
+
80
+ <symptoms>
81
+ expected: {expected}
82
+ actual: {actual}
83
+ errors: {errors}
84
+ reproduction: {reproduction}
85
+ timeline: {timeline}
86
+ </symptoms>
87
+
88
+ <mode>
89
+ symptoms_prefilled: true
90
+ goal: find_and_fix
91
+ </mode>
92
+
93
+ <debug_file>
94
+ Create: .planning/debug/{slug}.md
95
+ </debug_file>
96
+ ```
97
+
98
+ ```
99
+ Task(
100
+ prompt=filled_prompt,
101
+ subagent_type="gsd-debugger",
102
+ model="{debugger_model}",
103
+ description="Debug {slug}"
104
+ )
105
+ ```
106
+
107
+ ## 4. Handle Agent Return
108
+
109
+ **If `## ROOT CAUSE FOUND`:**
110
+
111
+ - Display root cause and evidence summary
112
+ - Offer options:
113
+ - "Fix now" - spawn fix subagent
114
+ - "Plan fix" - suggest /gsd-plan-phase --gaps
115
+ - "Manual fix" - done
116
+
117
+ **If `## CHECKPOINT REACHED`:**
118
+
119
+ - Present checkpoint details to user
120
+ - Get user response
121
+ - If checkpoint type is `human-verify`:
122
+ - If user confirms fixed: continue so agent can finalize/resolve/archive
123
+ - If user reports issues: continue so agent returns to investigation/fixing
124
+ - Spawn continuation agent (see step 5)
125
+
126
+ **If `## INVESTIGATION INCONCLUSIVE`:**
127
+
128
+ - Show what was checked and eliminated
129
+ - Offer options:
130
+ - "Continue investigating" - spawn new agent with additional context
131
+ - "Manual investigation" - done
132
+ - "Add more context" - gather more symptoms, spawn again
133
+
134
+ ## 5. Spawn Continuation Agent (After Checkpoint)
135
+
136
+ When user responds to checkpoint, spawn fresh agent:
137
+
138
+ ```markdown
139
+ <objective>
140
+ Continue debugging {slug}. Evidence is in the debug file.
141
+ </objective>
142
+
143
+ <prior_state>
144
+ <files_to_read>
145
+
146
+ - .planning/debug/{slug}.md (Debug session state)
147
+ </files_to_read>
148
+ </prior_state>
149
+
150
+ <checkpoint_response>
151
+ **Type:** {checkpoint_type}
152
+ **Response:** {user_response}
153
+ </checkpoint_response>
154
+
155
+ <mode>
156
+ goal: find_and_fix
157
+ </mode>
158
+ ```
159
+
160
+ ```
161
+ Task(
162
+ prompt=continuation_prompt,
163
+ subagent_type="gsd-debugger",
164
+ model="{debugger_model}",
165
+ description="Continue debug {slug}"
166
+ )
167
+ ```
168
+
169
+ </process>
170
+
171
+ <success_criteria>
172
+
173
+ - [ ] Active sessions checked
174
+ - [ ] Symptoms gathered (if new)
175
+ - [ ] gsd-debugger spawned with context
176
+ - [ ] Checkpoints handled correctly
177
+ - [ ] Root cause confirmed before fixing
178
+ </success_criteria>
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: gsd-discuss-phase
3
+ description: Gather phase context through adaptive questioning before planning. Use --auto to skip interactive questions (the agent picks recommended defaults).
4
+ ---
5
+
6
+ <objective>
7
+ Extract implementation decisions that downstream agents need - researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
8
+
9
+ **How it works:**
10
+
11
+ 1. Load prior context (PROJECT.md, REQUIREMENTS.md, STATE.md, prior CONTEXT.md files)
12
+ 2. Scout codebase for reusable assets and patterns
13
+ 3. Analyze phase - skip gray areas already decided in prior phases
14
+ 4. Present remaining gray areas - user selects which to discuss
15
+ 5. Deep-dive each selected area until satisfied
16
+ 6. Create CONTEXT.md with decisions that guide research and planning
17
+
18
+ **Output:** `{phase_num}-CONTEXT.md` - decisions clear enough that downstream agents can act without asking the user again
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @.agent/get-shit-done/workflows/discuss-phase.md
23
+ @.agent/get-shit-done/workflows/discuss-phase-assumptions.md
24
+ @.agent/get-shit-done/templates/context.md
25
+ </execution_context>
26
+
27
+ <context>
28
+ Phase number: $ARGUMENTS (required)
29
+
30
+ Context files are resolved in-workflow using `init phase-op` and roadmap/state tool calls.
31
+ </context>
32
+
33
+ <process>
34
+ **Mode routing:**
35
+ ```bash
36
+ DISCUSS_MODE=$(node ".agent/get-shit-done/bin/gsd-tools.cjs" config-get workflow.discuss_mode 2>/dev/null || echo "discuss")
37
+ ```
38
+
39
+ If `DISCUSS_MODE` is `"assumptions"`: Read and execute @.agent/get-shit-done/workflows/discuss-phase-assumptions.md end-to-end.
40
+
41
+ If `DISCUSS_MODE` is `"discuss"` (or unset, or any other value): Read and execute @.agent/get-shit-done/workflows/discuss-phase.md end-to-end.
42
+
43
+ **MANDATORY:** The execution_context files listed above ARE the instructions. Read the workflow file BEFORE taking any action. The objective and success_criteria sections in this command file are summaries - the workflow file contains the complete step-by-step process with all required behaviors, config checks, and interaction patterns. Do not improvise from the summary.
44
+ </process>
45
+
46
+ <success_criteria>
47
+
48
+ - Prior context loaded and applied (no re-asking decided questions)
49
+ - Gray areas identified through intelligent analysis
50
+ - User chose which areas to discuss
51
+ - Each selected area explored until satisfied
52
+ - Scope creep redirected to deferred ideas
53
+ - CONTEXT.md captures decisions, not vague vision
54
+ - User knows next steps
55
+ </success_criteria>
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: gsd-do
3
+ description: Route freeform text to the right GSD command automatically
4
+ ---
5
+
6
+ <objective>
7
+ Analyze freeform natural language input and dispatch to the most appropriate GSD command.
8
+
9
+ Acts as a smart dispatcher - never does the work itself. Matches intent to the best GSD command using routing rules, confirms the match, then hands off.
10
+
11
+ Use when you know what you want but don't know which `/gsd-*` command to run.
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.agent/get-shit-done/workflows/do.md
16
+ @.agent/get-shit-done/references/ui-brand.md
17
+ </execution_context>
18
+
19
+ <context>
20
+ $ARGUMENTS
21
+ </context>
22
+
23
+ <process>
24
+ Execute the do workflow from @.agent/get-shit-done/workflows/do.md end-to-end.
25
+ Route user intent to the best GSD command and invoke it.
26
+ </process>
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: gsd-execute-phase
3
+ description: Execute all plans in a phase with wave-based parallelization
4
+ ---
5
+
6
+ <objective>
7
+ Execute all plans in a phase using wave-based parallel execution.
8
+
9
+ 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.
10
+
11
+ Optional wave filter:
12
+
13
+ - `--wave N` executes only Wave `N` for pacing, quota management, or staged rollout
14
+ - phase verification/completion still only happens when no incomplete plans remain after the selected wave finishes
15
+
16
+ Flag handling rule:
17
+
18
+ - The optional flags documented below are available behaviors, not implied active behaviors
19
+ - A flag is active only when its literal token appears in `$ARGUMENTS`
20
+ - If a documented flag is absent from `$ARGUMENTS`, treat it as inactive
21
+
22
+ Context budget: ~15% orchestrator, 100% fresh per subagent.
23
+ </objective>
24
+
25
+ <execution_context>
26
+ @.agent/get-shit-done/workflows/execute-phase.md
27
+ @.agent/get-shit-done/references/ui-brand.md
28
+ </execution_context>
29
+
30
+ <context>
31
+ Phase: $ARGUMENTS
32
+
33
+ **Available optional flags (documentation only - not automatically active):**
34
+
35
+ - `--wave N` - Execute only Wave `N` in the phase. Use when you want to pace execution or stay inside usage limits.
36
+ - `--gaps-only` - Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
37
+ - `--interactive` - Execute plans sequentially inline (no subagents) with user checkpoints between tasks. Lower token usage, pair-programming style. Best for small phases, bug fixes, and verification gaps.
38
+
39
+ **Active flags must be derived from `$ARGUMENTS`:**
40
+
41
+ - `--wave N` is active only if the literal `--wave` token is present in `$ARGUMENTS`
42
+ - `--gaps-only` is active only if the literal `--gaps-only` token is present in `$ARGUMENTS`
43
+ - `--interactive` is active only if the literal `--interactive` token is present in `$ARGUMENTS`
44
+ - If none of these tokens appear, run the standard full-phase execution flow with no flag-specific filtering
45
+ - Do not infer that a flag is active just because it is documented in this prompt
46
+
47
+ Context files are resolved inside the workflow via `gsd-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
48
+ </context>
49
+
50
+ <process>
51
+ Execute the execute-phase workflow from @.agent/get-shit-done/workflows/execute-phase.md end-to-end.
52
+ Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
53
+ </process>
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: gsd-fast
3
+ description: Execute a trivial task inline - no subagents, no planning overhead
4
+ ---
5
+
6
+ <objective>
7
+ Execute a trivial task directly in the current context without spawning subagents
8
+ or generating PLAN.md files. For tasks too small to justify planning overhead:
9
+ typo fixes, config changes, small refactors, forgotten commits, simple additions.
10
+
11
+ This is NOT a replacement for /gsd-quick - use /gsd-quick for anything that
12
+ needs research, multi-step planning, or verification. /gsd-fast is for tasks
13
+ you could describe in one sentence and execute in under 2 minutes.
14
+ </objective>
15
+
16
+ <execution_context>
17
+ @.agent/get-shit-done/workflows/fast.md
18
+ </execution_context>
19
+
20
+ <process>
21
+ Execute the fast workflow from @.agent/get-shit-done/workflows/fast.md end-to-end.
22
+ </process>
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: gsd-forensics
3
+ description: Post-mortem investigation for failed GSD workflows - analyzes git history, artifacts, and state to diagnose what went wrong
4
+ ---
5
+
6
+ <objective>
7
+ Investigate what went wrong during a GSD workflow execution. Analyzes git history, `.planning/` artifacts, and file system state to detect anomalies and generate a structured diagnostic report.
8
+
9
+ Purpose: Diagnose failed or stuck workflows so the user can understand root cause and take corrective action.
10
+ Output: Forensic report saved to `.planning/forensics/`, presented inline, with optional issue creation.
11
+ </objective>
12
+
13
+ <execution_context>
14
+ @.agent/get-shit-done/workflows/forensics.md
15
+ </execution_context>
16
+
17
+ <context>
18
+ **Data sources:**
19
+ - `git log` (recent commits, patterns, time gaps)
20
+ - `git status` / `git diff` (uncommitted work, conflicts)
21
+ - `.planning/STATE.md` (current position, session history)
22
+ - `.planning/ROADMAP.md` (phase scope and progress)
23
+ - `.planning/phases/*/` (PLAN.md, SUMMARY.md, VERIFICATION.md, CONTEXT.md)
24
+ - `.planning/reports/SESSION_REPORT.md` (last session outcomes)
25
+
26
+ **User input:**
27
+
28
+ - Problem description: $ARGUMENTS (optional - will ask if not provided)
29
+ </context>
30
+
31
+ <process>
32
+ Read and execute the forensics workflow from @.agent/get-shit-done/workflows/forensics.md end-to-end.
33
+ </process>
34
+
35
+ <success_criteria>
36
+
37
+ - Evidence gathered from all available data sources
38
+ - At least 4 anomaly types checked (stuck loop, missing artifacts, abandoned work, crash/interruption)
39
+ - Structured forensic report written to `.planning/forensics/report-{timestamp}.md`
40
+ - Report presented inline with findings, anomalies, and recommendations
41
+ - Interactive investigation offered for deeper analysis
42
+ - GitHub issue creation offered if actionable findings exist
43
+ </success_criteria>
44
+
45
+ <critical_rules>
46
+
47
+ - **Read-only investigation:** Do not modify project source files during forensics. Only write the forensic report and update STATE.md session tracking.
48
+ - **Redact sensitive data:** Strip absolute paths, API keys, tokens from reports and issues.
49
+ - **Ground findings in evidence:** Every anomaly must cite specific commits, files, or state data.
50
+ - **No speculation without evidence:** If data is insufficient, say so - do not fabricate root causes.
51
+ </critical_rules>
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: gsd-health
3
+ description: Diagnose planning directory health and optionally repair issues
4
+ ---
5
+
6
+ <objective>
7
+ Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
8
+ </objective>
9
+
10
+ <execution_context>
11
+ @.agent/get-shit-done/workflows/health.md
12
+ </execution_context>
13
+
14
+ <process>
15
+ Execute the health workflow from @.agent/get-shit-done/workflows/health.md end-to-end.
16
+ Parse --repair flag from arguments and pass to workflow.
17
+ </process>
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: gsd-help
3
+ description: Show available GSD commands and usage guide
4
+ ---
5
+
6
+ <objective>
7
+ Display the complete GSD command reference.
8
+
9
+ Output ONLY the reference content below. Do NOT add:
10
+
11
+ - Project-specific analysis
12
+ - Git status or file context
13
+ - Next-step suggestions
14
+ - Any commentary beyond the reference
15
+ </objective>
16
+
17
+ <execution_context>
18
+ @.agent/get-shit-done/workflows/help.md
19
+ </execution_context>
20
+
21
+ <process>
22
+ Output the complete GSD command reference from @.agent/get-shit-done/workflows/help.md.
23
+ Display the reference content directly - no additions or modifications.
24
+ </process>
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: gsd-insert-phase
3
+ description: Insert urgent work as decimal phase (e.g., 72.1) between existing phases
4
+ ---
5
+
6
+
7
+ <objective>
8
+ Insert a decimal phase for urgent work discovered mid-milestone that must be completed between existing integer phases.
9
+
10
+ Uses decimal numbering (72.1, 72.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions.
11
+
12
+ Purpose: Handle urgent work discovered during execution without renumbering entire roadmap.
13
+ </objective>
14
+
15
+ <execution_context>
16
+ @.agent/get-shit-done/workflows/insert-phase.md
17
+ </execution_context>
18
+
19
+ <context>
20
+ Arguments: $ARGUMENTS (format: <after-phase-number> <description>)
21
+
22
+ Roadmap and state are resolved in-workflow via `init phase-op` and targeted tool calls.
23
+ </context>
24
+
25
+ <process>
26
+ Execute the insert-phase workflow from @.agent/get-shit-done/workflows/insert-phase.md end-to-end.
27
+ Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
28
+ </process>
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: gsd-join-discord
3
+ description: Join the GSD Discord community
4
+ ---
5
+
6
+
7
+ <objective>
8
+ Display the Discord invite link for the GSD community server.
9
+ </objective>
10
+
11
+ <output>
12
+ # Join the GSD Discord
13
+
14
+ Connect with other GSD users, get help, share what you're building, and stay updated.
15
+
16
+ **Invite link:** https://discord.gg/gsd
17
+
18
+ Click the link or paste it into your browser to join.
19
+ </output>
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: gsd-list-phase-assumptions
3
+ description: Surface the agent's assumptions about a phase approach before planning
4
+ ---
5
+
6
+
7
+ <objective>
8
+ Analyze a phase and present the agent's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
9
+
10
+ Purpose: Help users see what the agent thinks BEFORE planning begins - enabling course correction early when assumptions are wrong.
11
+ Output: Conversational output only (no file creation) - ends with "What do you think?" prompt
12
+ </objective>
13
+
14
+ <execution_context>
15
+ @.agent/get-shit-done/workflows/list-phase-assumptions.md
16
+ </execution_context>
17
+
18
+ <context>
19
+ Phase number: $ARGUMENTS (required)
20
+
21
+ Project state and roadmap are loaded in-workflow using targeted reads.
22
+ </context>
23
+
24
+ <process>
25
+ 1. Validate phase number argument (error if missing or invalid)
26
+ 2. Check if phase exists in roadmap
27
+ 3. Follow list-phase-assumptions.md workflow:
28
+ - Analyze roadmap description
29
+ - Surface assumptions about: technical approach, implementation order, scope, risks, dependencies
30
+ - Present assumptions clearly
31
+ - Prompt "What do you think?"
32
+ 4. Gather feedback and offer next steps
33
+ </process>
34
+
35
+ <success_criteria>
36
+
37
+ - Phase validated against roadmap
38
+ - Assumptions surfaced across five areas
39
+ - User prompted for feedback
40
+ - User knows next steps (discuss context, plan phase, or correct assumptions)
41
+ </success_criteria>
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: gsd-list-workspaces
3
+ description: List active GSD workspaces and their status
4
+ ---
5
+
6
+ <objective>
7
+ Scan `~/gsd-workspaces/` for workspace directories containing `WORKSPACE.md` manifests. Display a summary table with name, path, repo count, strategy, and GSD project status.
8
+ </objective>
9
+
10
+ <execution_context>
11
+ @.agent/get-shit-done/workflows/list-workspaces.md
12
+ @.agent/get-shit-done/references/ui-brand.md
13
+ </execution_context>
14
+
15
+ <process>
16
+ Execute the list-workspaces workflow from @.agent/get-shit-done/workflows/list-workspaces.md end-to-end.
17
+ </process>