declare-cc 0.1.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 (52) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +326 -0
  3. package/agents/gsd-codebase-mapper.md +761 -0
  4. package/agents/gsd-debugger.md +1198 -0
  5. package/agents/gsd-executor.md +451 -0
  6. package/agents/gsd-integration-checker.md +440 -0
  7. package/agents/gsd-phase-researcher.md +484 -0
  8. package/agents/gsd-plan-checker.md +625 -0
  9. package/agents/gsd-planner.md +1164 -0
  10. package/agents/gsd-project-researcher.md +618 -0
  11. package/agents/gsd-research-synthesizer.md +236 -0
  12. package/agents/gsd-roadmapper.md +639 -0
  13. package/agents/gsd-verifier.md +555 -0
  14. package/bin/install.js +1815 -0
  15. package/commands/declare/actions.md +78 -0
  16. package/commands/declare/future.md +52 -0
  17. package/commands/declare/milestones.md +81 -0
  18. package/commands/declare/status.md +62 -0
  19. package/commands/gsd/add-phase.md +39 -0
  20. package/commands/gsd/add-todo.md +42 -0
  21. package/commands/gsd/audit-milestone.md +42 -0
  22. package/commands/gsd/check-todos.md +41 -0
  23. package/commands/gsd/cleanup.md +18 -0
  24. package/commands/gsd/complete-milestone.md +136 -0
  25. package/commands/gsd/debug.md +162 -0
  26. package/commands/gsd/discuss-phase.md +87 -0
  27. package/commands/gsd/execute-phase.md +42 -0
  28. package/commands/gsd/health.md +22 -0
  29. package/commands/gsd/help.md +22 -0
  30. package/commands/gsd/insert-phase.md +33 -0
  31. package/commands/gsd/join-discord.md +18 -0
  32. package/commands/gsd/list-phase-assumptions.md +50 -0
  33. package/commands/gsd/map-codebase.md +71 -0
  34. package/commands/gsd/new-milestone.md +51 -0
  35. package/commands/gsd/new-project.md +42 -0
  36. package/commands/gsd/new-project.md.bak +1041 -0
  37. package/commands/gsd/pause-work.md +35 -0
  38. package/commands/gsd/plan-milestone-gaps.md +40 -0
  39. package/commands/gsd/plan-phase.md +44 -0
  40. package/commands/gsd/progress.md +24 -0
  41. package/commands/gsd/quick.md +40 -0
  42. package/commands/gsd/reapply-patches.md +110 -0
  43. package/commands/gsd/remove-phase.md +32 -0
  44. package/commands/gsd/research-phase.md +187 -0
  45. package/commands/gsd/resume-work.md +40 -0
  46. package/commands/gsd/set-profile.md +34 -0
  47. package/commands/gsd/settings.md +36 -0
  48. package/commands/gsd/update.md +37 -0
  49. package/commands/gsd/verify-work.md +39 -0
  50. package/dist/declare-tools.cjs +2962 -0
  51. package/package.json +45 -0
  52. package/scripts/build-hooks.js +42 -0
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: gsd:pause-work
3
+ description: Create context handoff when pausing work mid-phase
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ ---
9
+
10
+ <objective>
11
+ Create `.continue-here.md` handoff file to preserve complete work state across sessions.
12
+
13
+ Routes to the pause-work workflow which handles:
14
+ - Current phase detection from recent files
15
+ - Complete state gathering (position, completed work, remaining work, decisions, blockers)
16
+ - Handoff file creation with all context sections
17
+ - Git commit as WIP
18
+ - Resume instructions
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @.planning/STATE.md
23
+ @~/.claude/get-shit-done/workflows/pause-work.md
24
+ </execution_context>
25
+
26
+ <process>
27
+ **Follow the pause-work workflow** from `@~/.claude/get-shit-done/workflows/pause-work.md`.
28
+
29
+ The workflow handles all logic including:
30
+ 1. Phase directory detection
31
+ 2. State gathering with user clarifications
32
+ 3. Handoff file writing with timestamp
33
+ 4. Git commit
34
+ 5. Confirmation with resume instructions
35
+ </process>
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: gsd:plan-milestone-gaps
3
+ description: Create phases to close all gaps identified by milestone audit
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - AskUserQuestion
11
+ ---
12
+ <objective>
13
+ Create all phases necessary to close gaps identified by `/gsd:audit-milestone`.
14
+
15
+ Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase.
16
+
17
+ One command creates all fix phases — no manual `/gsd:add-phase` per gap.
18
+ </objective>
19
+
20
+ <execution_context>
21
+ @~/.claude/get-shit-done/workflows/plan-milestone-gaps.md
22
+ </execution_context>
23
+
24
+ <context>
25
+ **Audit results:**
26
+ Glob: .planning/v*-MILESTONE-AUDIT.md (use most recent)
27
+
28
+ **Original intent (for prioritization):**
29
+ @.planning/PROJECT.md
30
+ @.planning/REQUIREMENTS.md
31
+
32
+ **Current state:**
33
+ @.planning/ROADMAP.md
34
+ @.planning/STATE.md
35
+ </context>
36
+
37
+ <process>
38
+ Execute the plan-milestone-gaps workflow from @~/.claude/get-shit-done/workflows/plan-milestone-gaps.md end-to-end.
39
+ Preserve all workflow gates (audit loading, prioritization, phase grouping, user confirmation, roadmap updates).
40
+ </process>
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: gsd:plan-phase
3
+ description: Create detailed phase plan (PLAN.md) with verification loop
4
+ argument-hint: "[phase] [--auto] [--research] [--skip-research] [--gaps] [--skip-verify]"
5
+ agent: gsd-planner
6
+ allowed-tools:
7
+ - Read
8
+ - Write
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - WebFetch
14
+ - mcp__context7__*
15
+ ---
16
+ <objective>
17
+ Create executable phase prompts (PLAN.md files) for a roadmap phase with integrated research and verification.
18
+
19
+ **Default flow:** Research (if needed) → Plan → Verify → Done
20
+
21
+ **Orchestrator role:** Parse arguments, validate phase, research domain (unless skipped), spawn gsd-planner, verify with gsd-plan-checker, iterate until pass or max iterations, present results.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/get-shit-done/workflows/plan-phase.md
26
+ @~/.claude/get-shit-done/references/ui-brand.md
27
+ </execution_context>
28
+
29
+ <context>
30
+ Phase number: $ARGUMENTS (optional — auto-detects next unplanned phase if omitted)
31
+
32
+ **Flags:**
33
+ - `--research` — Force re-research even if RESEARCH.md exists
34
+ - `--skip-research` — Skip research, go straight to planning
35
+ - `--gaps` — Gap closure mode (reads VERIFICATION.md, skips research)
36
+ - `--skip-verify` — Skip verification loop
37
+
38
+ Normalize phase input in step 2 before any directory lookups.
39
+ </context>
40
+
41
+ <process>
42
+ Execute the plan-phase workflow from @~/.claude/get-shit-done/workflows/plan-phase.md end-to-end.
43
+ Preserve all workflow gates (validation, research, planning, verification loop, routing).
44
+ </process>
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: gsd:progress
3
+ description: Check project progress, show context, and route to next action (execute or plan)
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ - Grep
8
+ - Glob
9
+ - SlashCommand
10
+ ---
11
+ <objective>
12
+ Check project progress, summarize recent work and what's ahead, then intelligently route to the next action - either executing an existing plan or creating the next one.
13
+
14
+ Provides situational awareness before continuing work.
15
+ </objective>
16
+
17
+ <execution_context>
18
+ @~/.claude/get-shit-done/workflows/progress.md
19
+ </execution_context>
20
+
21
+ <process>
22
+ Execute the progress workflow from @~/.claude/get-shit-done/workflows/progress.md end-to-end.
23
+ Preserve all routing logic (Routes A through F) and edge case handling.
24
+ </process>
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: gsd:quick
3
+ description: Execute a quick task with GSD guarantees (atomic commits, state tracking) but skip optional agents
4
+ argument-hint: "[--full]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Glob
10
+ - Grep
11
+ - Bash
12
+ - Task
13
+ - AskUserQuestion
14
+ ---
15
+ <objective>
16
+ Execute small, ad-hoc tasks with GSD guarantees (atomic commits, STATE.md tracking).
17
+
18
+ Quick mode is the same system with a shorter path:
19
+ - Spawns gsd-planner (quick mode) + gsd-executor(s)
20
+ - Quick tasks live in `.planning/quick/` separate from planned phases
21
+ - Updates STATE.md "Quick Tasks Completed" table (NOT ROADMAP.md)
22
+
23
+ **Default:** Skips research, plan-checker, verifier. Use when you know exactly what to do.
24
+
25
+ **`--full` flag:** Enables plan-checking (max 2 iterations) and post-execution verification. Use when you want quality guarantees without full milestone ceremony.
26
+ </objective>
27
+
28
+ <execution_context>
29
+ @~/.claude/get-shit-done/workflows/quick.md
30
+ </execution_context>
31
+
32
+ <context>
33
+ @.planning/STATE.md
34
+ $ARGUMENTS
35
+ </context>
36
+
37
+ <process>
38
+ Execute the quick workflow from @~/.claude/get-shit-done/workflows/quick.md end-to-end.
39
+ Preserve all workflow gates (validation, task description, planning, execution, state updates, commits).
40
+ </process>
@@ -0,0 +1,110 @@
1
+ ---
2
+ description: Reapply local modifications after a GSD update
3
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
4
+ ---
5
+
6
+ <purpose>
7
+ After a GSD update wipes and reinstalls files, this command merges user's previously saved local modifications back into the new version. Uses intelligent comparison to handle cases where the upstream file also changed.
8
+ </purpose>
9
+
10
+ <process>
11
+
12
+ ## Step 1: Detect backed-up patches
13
+
14
+ Check for local patches directory:
15
+
16
+ ```bash
17
+ # Global install (path templated at install time)
18
+ PATCHES_DIR=~/.claude/gsd-local-patches
19
+ # Local install fallback
20
+ if [ ! -d "$PATCHES_DIR" ]; then
21
+ PATCHES_DIR=./.claude/gsd-local-patches
22
+ fi
23
+ ```
24
+
25
+ Read `backup-meta.json` from the patches directory.
26
+
27
+ **If no patches found:**
28
+ ```
29
+ No local patches found. Nothing to reapply.
30
+
31
+ Local patches are automatically saved when you run /gsd:update
32
+ after modifying any GSD workflow, command, or agent files.
33
+ ```
34
+ Exit.
35
+
36
+ ## Step 2: Show patch summary
37
+
38
+ ```
39
+ ## Local Patches to Reapply
40
+
41
+ **Backed up from:** v{from_version}
42
+ **Current version:** {read VERSION file}
43
+ **Files modified:** {count}
44
+
45
+ | # | File | Status |
46
+ |---|------|--------|
47
+ | 1 | {file_path} | Pending |
48
+ | 2 | {file_path} | Pending |
49
+ ```
50
+
51
+ ## Step 3: Merge each file
52
+
53
+ For each file in `backup-meta.json`:
54
+
55
+ 1. **Read the backed-up version** (user's modified copy from `gsd-local-patches/`)
56
+ 2. **Read the newly installed version** (current file after update)
57
+ 3. **Compare and merge:**
58
+
59
+ - If the new file is identical to the backed-up file: skip (modification was incorporated upstream)
60
+ - If the new file differs: identify the user's modifications and apply them to the new version
61
+
62
+ **Merge strategy:**
63
+ - Read both versions fully
64
+ - Identify sections the user added or modified (look for additions, not just differences from path replacement)
65
+ - Apply user's additions/modifications to the new version
66
+ - If a section the user modified was also changed upstream: flag as conflict, show both versions, ask user which to keep
67
+
68
+ 4. **Write merged result** to the installed location
69
+ 5. **Report status:**
70
+ - `Merged` — user modifications applied cleanly
71
+ - `Skipped` — modification already in upstream
72
+ - `Conflict` — user chose resolution
73
+
74
+ ## Step 4: Update manifest
75
+
76
+ After reapplying, regenerate the file manifest so future updates correctly detect these as user modifications:
77
+
78
+ ```bash
79
+ # The manifest will be regenerated on next /gsd:update
80
+ # For now, just note which files were modified
81
+ ```
82
+
83
+ ## Step 5: Cleanup option
84
+
85
+ Ask user:
86
+ - "Keep patch backups for reference?" → preserve `gsd-local-patches/`
87
+ - "Clean up patch backups?" → remove `gsd-local-patches/` directory
88
+
89
+ ## Step 6: Report
90
+
91
+ ```
92
+ ## Patches Reapplied
93
+
94
+ | # | File | Status |
95
+ |---|------|--------|
96
+ | 1 | {file_path} | ✓ Merged |
97
+ | 2 | {file_path} | ○ Skipped (already upstream) |
98
+ | 3 | {file_path} | ⚠ Conflict resolved |
99
+
100
+ {count} file(s) updated. Your local modifications are active again.
101
+ ```
102
+
103
+ </process>
104
+
105
+ <success_criteria>
106
+ - [ ] All backed-up patches processed
107
+ - [ ] User modifications merged into new version
108
+ - [ ] Conflicts resolved with user input
109
+ - [ ] Status reported for each file
110
+ </success_criteria>
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: gsd:remove-phase
3
+ description: Remove a future phase from roadmap and renumber subsequent phases
4
+ argument-hint: <phase-number>
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ ---
11
+ <objective>
12
+ Remove an unstarted future phase from the roadmap and renumber all subsequent phases to maintain a clean, linear sequence.
13
+
14
+ Purpose: Clean removal of work you've decided not to do, without polluting context with cancelled/deferred markers.
15
+ Output: Phase deleted, all subsequent phases renumbered, git commit as historical record.
16
+ </objective>
17
+
18
+ <execution_context>
19
+ @~/.claude/get-shit-done/workflows/remove-phase.md
20
+ </execution_context>
21
+
22
+ <context>
23
+ Phase: $ARGUMENTS
24
+
25
+ @.planning/ROADMAP.md
26
+ @.planning/STATE.md
27
+ </context>
28
+
29
+ <process>
30
+ Execute the remove-phase workflow from @~/.claude/get-shit-done/workflows/remove-phase.md end-to-end.
31
+ Preserve all validation gates (future phase check, work check), renumbering logic, and commit.
32
+ </process>
@@ -0,0 +1,187 @@
1
+ ---
2
+ name: gsd:research-phase
3
+ description: Research how to implement a phase (standalone - usually use /gsd:plan-phase instead)
4
+ argument-hint: "[phase]"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Task
9
+ ---
10
+
11
+ <objective>
12
+ Research how to implement a phase. Spawns gsd-phase-researcher agent with phase context.
13
+
14
+ **Note:** This is a standalone research command. For most workflows, use `/gsd:plan-phase` which integrates research automatically.
15
+
16
+ **Use this command when:**
17
+ - You want to research without planning yet
18
+ - You want to re-research after planning is complete
19
+ - You need to investigate before deciding if a phase is feasible
20
+
21
+ **Orchestrator role:** Parse phase, validate against roadmap, check existing research, gather context, spawn researcher agent, present results.
22
+
23
+ **Why subagent:** Research burns context fast (WebSearch, Context7 queries, source verification). Fresh 200k context for investigation. Main context stays lean for user interaction.
24
+ </objective>
25
+
26
+ <context>
27
+ Phase number: $ARGUMENTS (required)
28
+
29
+ Normalize phase input in step 1 before any directory lookups.
30
+ </context>
31
+
32
+ <process>
33
+
34
+ ## 0. Initialize Context
35
+
36
+ ```bash
37
+ INIT=$(node ~/.claude/get-shit-done/bin/gsd-tools.cjs init phase-op "$ARGUMENTS")
38
+ ```
39
+
40
+ Extract from init JSON: `phase_dir`, `phase_number`, `phase_name`, `phase_found`, `commit_docs`, `has_research`.
41
+
42
+ Resolve researcher model:
43
+ ```bash
44
+ RESEARCHER_MODEL=$(node ~/.claude/get-shit-done/bin/gsd-tools.cjs resolve-model gsd-phase-researcher --raw)
45
+ ```
46
+
47
+ ## 1. Validate Phase
48
+
49
+ ```bash
50
+ PHASE_INFO=$(node ~/.claude/get-shit-done/bin/gsd-tools.cjs roadmap get-phase "${phase_number}")
51
+ ```
52
+
53
+ **If `found` is false:** Error and exit. **If `found` is true:** Extract `phase_number`, `phase_name`, `goal` from JSON.
54
+
55
+ ## 2. Check Existing Research
56
+
57
+ ```bash
58
+ ls .planning/phases/${PHASE}-*/RESEARCH.md 2>/dev/null
59
+ ```
60
+
61
+ **If exists:** Offer: 1) Update research, 2) View existing, 3) Skip. Wait for response.
62
+
63
+ **If doesn't exist:** Continue.
64
+
65
+ ## 3. Gather Phase Context
66
+
67
+ ```bash
68
+ # Phase section already loaded in PHASE_INFO
69
+ echo "$PHASE_INFO" | jq -r '.section'
70
+ cat .planning/REQUIREMENTS.md 2>/dev/null
71
+ cat .planning/phases/${PHASE}-*/*-CONTEXT.md 2>/dev/null
72
+ grep -A30 "### Decisions Made" .planning/STATE.md 2>/dev/null
73
+ ```
74
+
75
+ Present summary with phase description, requirements, prior decisions.
76
+
77
+ ## 4. Spawn gsd-phase-researcher Agent
78
+
79
+ Research modes: ecosystem (default), feasibility, implementation, comparison.
80
+
81
+ ```markdown
82
+ <research_type>
83
+ Phase Research — investigating HOW to implement a specific phase well.
84
+ </research_type>
85
+
86
+ <key_insight>
87
+ The question is NOT "which library should I use?"
88
+
89
+ The question is: "What do I not know that I don't know?"
90
+
91
+ For this phase, discover:
92
+ - What's the established architecture pattern?
93
+ - What libraries form the standard stack?
94
+ - What problems do people commonly hit?
95
+ - What's SOTA vs what Claude's training thinks is SOTA?
96
+ - What should NOT be hand-rolled?
97
+ </key_insight>
98
+
99
+ <objective>
100
+ Research implementation approach for Phase {phase_number}: {phase_name}
101
+ Mode: ecosystem
102
+ </objective>
103
+
104
+ <context>
105
+ **Phase description:** {phase_description}
106
+ **Requirements:** {requirements_list}
107
+ **Prior decisions:** {decisions_if_any}
108
+ **Phase context:** {context_md_content}
109
+ </context>
110
+
111
+ <downstream_consumer>
112
+ Your RESEARCH.md will be loaded by `/gsd:plan-phase` which uses specific sections:
113
+ - `## Standard Stack` → Plans use these libraries
114
+ - `## Architecture Patterns` → Task structure follows these
115
+ - `## Don't Hand-Roll` → Tasks NEVER build custom solutions for listed problems
116
+ - `## Common Pitfalls` → Verification steps check for these
117
+ - `## Code Examples` → Task actions reference these patterns
118
+
119
+ Be prescriptive, not exploratory. "Use X" not "Consider X or Y."
120
+ </downstream_consumer>
121
+
122
+ <quality_gate>
123
+ Before declaring complete, verify:
124
+ - [ ] All domains investigated (not just some)
125
+ - [ ] Negative claims verified with official docs
126
+ - [ ] Multiple sources for critical claims
127
+ - [ ] Confidence levels assigned honestly
128
+ - [ ] Section names match what plan-phase expects
129
+ </quality_gate>
130
+
131
+ <output>
132
+ Write to: .planning/phases/${PHASE}-{slug}/${PHASE}-RESEARCH.md
133
+ </output>
134
+ ```
135
+
136
+ ```
137
+ Task(
138
+ prompt="First, read ~/.claude/agents/gsd-phase-researcher.md for your role and instructions.\n\n" + filled_prompt,
139
+ subagent_type="general-purpose",
140
+ model="{researcher_model}",
141
+ description="Research Phase {phase}"
142
+ )
143
+ ```
144
+
145
+ ## 5. Handle Agent Return
146
+
147
+ **`## RESEARCH COMPLETE`:** Display summary, offer: Plan phase, Dig deeper, Review full, Done.
148
+
149
+ **`## CHECKPOINT REACHED`:** Present to user, get response, spawn continuation.
150
+
151
+ **`## RESEARCH INCONCLUSIVE`:** Show what was attempted, offer: Add context, Try different mode, Manual.
152
+
153
+ ## 6. Spawn Continuation Agent
154
+
155
+ ```markdown
156
+ <objective>
157
+ Continue research for Phase {phase_number}: {phase_name}
158
+ </objective>
159
+
160
+ <prior_state>
161
+ Research file: @.planning/phases/${PHASE}-{slug}/${PHASE}-RESEARCH.md
162
+ </prior_state>
163
+
164
+ <checkpoint_response>
165
+ **Type:** {checkpoint_type}
166
+ **Response:** {user_response}
167
+ </checkpoint_response>
168
+ ```
169
+
170
+ ```
171
+ Task(
172
+ prompt="First, read ~/.claude/agents/gsd-phase-researcher.md for your role and instructions.\n\n" + continuation_prompt,
173
+ subagent_type="general-purpose",
174
+ model="{researcher_model}",
175
+ description="Continue research Phase {phase}"
176
+ )
177
+ ```
178
+
179
+ </process>
180
+
181
+ <success_criteria>
182
+ - [ ] Phase validated against roadmap
183
+ - [ ] Existing research checked
184
+ - [ ] gsd-phase-researcher spawned with context
185
+ - [ ] Checkpoints handled correctly
186
+ - [ ] User knows next steps
187
+ </success_criteria>
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: gsd:resume-work
3
+ description: Resume work from previous session with full context restoration
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ - Write
8
+ - AskUserQuestion
9
+ - SlashCommand
10
+ ---
11
+
12
+ <objective>
13
+ Restore complete project context and resume work seamlessly from previous session.
14
+
15
+ Routes to the resume-project workflow which handles:
16
+
17
+ - STATE.md loading (or reconstruction if missing)
18
+ - Checkpoint detection (.continue-here files)
19
+ - Incomplete work detection (PLAN without SUMMARY)
20
+ - Status presentation
21
+ - Context-aware next action routing
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/get-shit-done/workflows/resume-project.md
26
+ </execution_context>
27
+
28
+ <process>
29
+ **Follow the resume-project workflow** from `@~/.claude/get-shit-done/workflows/resume-project.md`.
30
+
31
+ The workflow handles all resumption logic including:
32
+
33
+ 1. Project existence verification
34
+ 2. STATE.md loading or reconstruction
35
+ 3. Checkpoint and incomplete work detection
36
+ 4. Visual status presentation
37
+ 5. Context-aware option offering (checks CONTEXT.md before suggesting plan vs discuss)
38
+ 6. Routing to appropriate next command
39
+ 7. Session continuity updates
40
+ </process>
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: gsd:set-profile
3
+ description: Switch model profile for GSD agents (quality/balanced/budget)
4
+ argument-hint: <profile>
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ ---
10
+
11
+ <objective>
12
+ Switch the model profile used by GSD agents. Controls which Claude model each agent uses, balancing quality vs token spend.
13
+
14
+ Routes to the set-profile workflow which handles:
15
+ - Argument validation (quality/balanced/budget)
16
+ - Config file creation if missing
17
+ - Profile update in config.json
18
+ - Confirmation with model table display
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @~/.claude/get-shit-done/workflows/set-profile.md
23
+ </execution_context>
24
+
25
+ <process>
26
+ **Follow the set-profile workflow** from `@~/.claude/get-shit-done/workflows/set-profile.md`.
27
+
28
+ The workflow handles all logic including:
29
+ 1. Profile argument validation
30
+ 2. Config file ensuring
31
+ 3. Config reading and updating
32
+ 4. Model table generation from MODEL_PROFILES
33
+ 5. Confirmation display
34
+ </process>
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: gsd:settings
3
+ description: Configure GSD workflow toggles and model profile
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ - AskUserQuestion
9
+ ---
10
+
11
+ <objective>
12
+ Interactive configuration of GSD workflow agents and model profile via multi-question prompt.
13
+
14
+ Routes to the settings workflow which handles:
15
+ - Config existence ensuring
16
+ - Current settings reading and parsing
17
+ - Interactive 5-question prompt (model, research, plan_check, verifier, branching)
18
+ - Config merging and writing
19
+ - Confirmation display with quick command references
20
+ </objective>
21
+
22
+ <execution_context>
23
+ @~/.claude/get-shit-done/workflows/settings.md
24
+ </execution_context>
25
+
26
+ <process>
27
+ **Follow the settings workflow** from `@~/.claude/get-shit-done/workflows/settings.md`.
28
+
29
+ The workflow handles all logic including:
30
+ 1. Config file creation with defaults if missing
31
+ 2. Current config reading
32
+ 3. Interactive settings presentation with pre-selection
33
+ 4. Answer parsing and config merging
34
+ 5. File writing
35
+ 6. Confirmation display
36
+ </process>
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: gsd:update
3
+ description: Update GSD to latest version with changelog display
4
+ allowed-tools:
5
+ - Bash
6
+ - AskUserQuestion
7
+ ---
8
+
9
+ <objective>
10
+ Check for GSD updates, install if available, and display what changed.
11
+
12
+ Routes to the update workflow which handles:
13
+ - Version detection (local vs global installation)
14
+ - npm version checking
15
+ - Changelog fetching and display
16
+ - User confirmation with clean install warning
17
+ - Update execution and cache clearing
18
+ - Restart reminder
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @~/.claude/get-shit-done/workflows/update.md
23
+ </execution_context>
24
+
25
+ <process>
26
+ **Follow the update workflow** from `@~/.claude/get-shit-done/workflows/update.md`.
27
+
28
+ The workflow handles all logic including:
29
+ 1. Installed version detection (local/global)
30
+ 2. Latest version checking via npm
31
+ 3. Version comparison
32
+ 4. Changelog fetching and extraction
33
+ 5. Clean install warning display
34
+ 6. User confirmation
35
+ 7. Update execution
36
+ 8. Cache clearing
37
+ </process>