gsd-codex-cli 1.20.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.
- package/.codex/prompts/gsd-add-phase.md +44 -0
- package/.codex/prompts/gsd-add-todo.md +43 -0
- package/.codex/prompts/gsd-audit-milestone.md +43 -0
- package/.codex/prompts/gsd-check-todos.md +43 -0
- package/.codex/prompts/gsd-complete-milestone.md +43 -0
- package/.codex/prompts/gsd-debug.md +46 -0
- package/.codex/prompts/gsd-discuss-phase.md +43 -0
- package/.codex/prompts/gsd-execute-phase.md +43 -0
- package/.codex/prompts/gsd-help.md +43 -0
- package/.codex/prompts/gsd-insert-phase.md +43 -0
- package/.codex/prompts/gsd-list-phase-assumptions.md +43 -0
- package/.codex/prompts/gsd-map-codebase.md +43 -0
- package/.codex/prompts/gsd-new-milestone.md +43 -0
- package/.codex/prompts/gsd-new-project.md +43 -0
- package/.codex/prompts/gsd-pause-work.md +43 -0
- package/.codex/prompts/gsd-plan-milestone-gaps.md +43 -0
- package/.codex/prompts/gsd-plan-phase.md +43 -0
- package/.codex/prompts/gsd-progress.md +43 -0
- package/.codex/prompts/gsd-quick.md +43 -0
- package/.codex/prompts/gsd-remove-phase.md +43 -0
- package/.codex/prompts/gsd-research-phase.md +43 -0
- package/.codex/prompts/gsd-resume-work.md +43 -0
- package/.codex/prompts/gsd-set-profile.md +43 -0
- package/.codex/prompts/gsd-settings.md +43 -0
- package/.codex/prompts/gsd-update.md +43 -0
- package/.codex/prompts/gsd-verify-work.md +43 -0
- package/.codex/skills/get-shit-done-codex/SKILL.md +65 -0
- package/.codex/skills/get-shit-done-codex/references/compat.md +32 -0
- package/.codex/skills/get-shit-done-codex/references/windows.md +23 -0
- package/CHANGELOG.md +1434 -0
- package/LICENSE +21 -0
- package/README.md +690 -0
- package/agents/gsd-codebase-mapper.md +761 -0
- package/agents/gsd-debugger.md +1198 -0
- package/agents/gsd-executor.md +419 -0
- package/agents/gsd-integration-checker.md +423 -0
- package/agents/gsd-phase-researcher.md +469 -0
- package/agents/gsd-plan-checker.md +622 -0
- package/agents/gsd-planner.md +1159 -0
- package/agents/gsd-project-researcher.md +618 -0
- package/agents/gsd-research-synthesizer.md +236 -0
- package/agents/gsd-roadmapper.md +639 -0
- package/agents/gsd-verifier.md +541 -0
- package/bin/install-codex.js +100 -0
- package/bin/install.js +1806 -0
- package/commands/gsd/add-phase.md +39 -0
- package/commands/gsd/add-todo.md +42 -0
- package/commands/gsd/audit-milestone.md +42 -0
- package/commands/gsd/check-todos.md +41 -0
- package/commands/gsd/cleanup.md +18 -0
- package/commands/gsd/complete-milestone.md +136 -0
- package/commands/gsd/debug.md +162 -0
- package/commands/gsd/discuss-phase.md +87 -0
- package/commands/gsd/execute-phase.md +42 -0
- package/commands/gsd/health.md +22 -0
- package/commands/gsd/help.md +22 -0
- package/commands/gsd/insert-phase.md +33 -0
- package/commands/gsd/join-discord.md +18 -0
- package/commands/gsd/list-phase-assumptions.md +50 -0
- package/commands/gsd/map-codebase.md +71 -0
- package/commands/gsd/new-milestone.md +51 -0
- package/commands/gsd/new-project.md +42 -0
- package/commands/gsd/pause-work.md +35 -0
- package/commands/gsd/plan-milestone-gaps.md +40 -0
- package/commands/gsd/plan-phase.md +44 -0
- package/commands/gsd/progress.md +24 -0
- package/commands/gsd/quick.md +40 -0
- package/commands/gsd/reapply-patches.md +110 -0
- package/commands/gsd/remove-phase.md +32 -0
- package/commands/gsd/research-phase.md +187 -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 +39 -0
- package/get-shit-done/bin/gsd-tools.cjs +5243 -0
- package/get-shit-done/bin/gsd-tools.test.cjs +2273 -0
- package/get-shit-done/references/checkpoints.md +775 -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 +159 -0
- package/get-shit-done/templates/UAT.md +247 -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 +36 -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 +567 -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/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 +246 -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-todo.md +157 -0
- package/get-shit-done/workflows/audit-milestone.md +242 -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 +674 -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 +485 -0
- package/get-shit-done/workflows/execute-phase.md +408 -0
- package/get-shit-done/workflows/execute-plan.md +441 -0
- package/get-shit-done/workflows/health.md +156 -0
- package/get-shit-done/workflows/help.md +486 -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 +327 -0
- package/get-shit-done/workflows/new-milestone.md +373 -0
- package/get-shit-done/workflows/new-project.md +1113 -0
- package/get-shit-done/workflows/pause-work.md +122 -0
- package/get-shit-done/workflows/plan-milestone-gaps.md +256 -0
- package/get-shit-done/workflows/plan-phase.md +448 -0
- package/get-shit-done/workflows/progress.md +393 -0
- package/get-shit-done/workflows/quick.md +444 -0
- package/get-shit-done/workflows/remove-phase.md +154 -0
- package/get-shit-done/workflows/research-phase.md +74 -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 +200 -0
- package/get-shit-done/workflows/transition.md +539 -0
- package/get-shit-done/workflows/update.md +214 -0
- package/get-shit-done/workflows/verify-phase.md +242 -0
- package/get-shit-done/workflows/verify-work.md +570 -0
- package/hooks/dist/gsd-check-update.js +62 -0
- package/hooks/dist/gsd-statusline.js +91 -0
- package/package.json +54 -0
- package/scripts/build-hooks.js +42 -0
|
@@ -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,50 @@
|
|
|
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
|
+
**Load project state first:**
|
|
27
|
+
@.planning/STATE.md
|
|
28
|
+
|
|
29
|
+
**Load roadmap:**
|
|
30
|
+
@.planning/ROADMAP.md
|
|
31
|
+
</context>
|
|
32
|
+
|
|
33
|
+
<process>
|
|
34
|
+
1. Validate phase number argument (error if missing or invalid)
|
|
35
|
+
2. Check if phase exists in roadmap
|
|
36
|
+
3. Follow list-phase-assumptions.md workflow:
|
|
37
|
+
- Analyze roadmap description
|
|
38
|
+
- Surface assumptions about: technical approach, implementation order, scope, risks, dependencies
|
|
39
|
+
- Present assumptions clearly
|
|
40
|
+
- Prompt "What do you think?"
|
|
41
|
+
4. Gather feedback and offer next steps
|
|
42
|
+
</process>
|
|
43
|
+
|
|
44
|
+
<success_criteria>
|
|
45
|
+
|
|
46
|
+
- Phase validated against roadmap
|
|
47
|
+
- Assumptions surfaced across five areas
|
|
48
|
+
- User prompted for feedback
|
|
49
|
+
- User knows next steps (discuss context, plan phase, or correct assumptions)
|
|
50
|
+
</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,51 @@
|
|
|
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
|
+
**Load project context:**
|
|
39
|
+
@.planning/PROJECT.md
|
|
40
|
+
@.planning/STATE.md
|
|
41
|
+
@.planning/MILESTONES.md
|
|
42
|
+
@.planning/config.json
|
|
43
|
+
|
|
44
|
+
**Load milestone context (if exists, from /gsd:discuss-milestone):**
|
|
45
|
+
@.planning/MILESTONE-CONTEXT.md
|
|
46
|
+
</context>
|
|
47
|
+
|
|
48
|
+
<process>
|
|
49
|
+
Execute the new-milestone workflow from @~/.claude/get-shit-done/workflows/new-milestone.md end-to-end.
|
|
50
|
+
Preserve all workflow gates (validation, questioning, research, requirements, roadmap approval, commits).
|
|
51
|
+
</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>
|
|
@@ -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>
|