declare-cc 0.2.0 → 0.3.1
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/README.md +126 -27
- package/agents/declare-codebase-mapper.md +761 -0
- package/agents/declare-debugger.md +1198 -0
- package/agents/declare-plan-checker.md +608 -0
- package/agents/declare-planner.md +1015 -0
- package/agents/declare-research-synthesizer.md +309 -0
- package/agents/declare-researcher.md +484 -0
- package/bin/install.js +33 -38
- package/commands/declare/add-todo.md +41 -0
- package/commands/declare/audit.md +76 -0
- package/commands/declare/check-todos.md +125 -0
- package/commands/declare/complete-milestone.md +215 -0
- package/commands/declare/dashboard.md +76 -0
- package/commands/{gsd → declare}/debug.md +11 -11
- package/commands/declare/discuss.md +65 -0
- package/commands/declare/health.md +92 -0
- package/commands/declare/map-codebase.md +149 -0
- package/commands/declare/new-milestone.md +172 -0
- package/commands/declare/new-project.md +565 -0
- package/commands/declare/pause.md +138 -0
- package/commands/declare/plan.md +236 -0
- package/commands/declare/progress.md +116 -0
- package/commands/declare/quick.md +119 -0
- package/commands/declare/reapply-patches.md +178 -0
- package/commands/declare/research.md +267 -0
- package/commands/declare/resume.md +146 -0
- package/commands/declare/set-profile.md +66 -0
- package/commands/declare/settings.md +119 -0
- package/commands/declare/update.md +251 -0
- package/commands/declare/verify.md +64 -0
- package/dist/declare-tools.cjs +1234 -3
- package/package.json +1 -1
- package/workflows/discuss.md +476 -0
- package/workflows/verify.md +504 -0
- package/commands/gsd/add-phase.md +0 -39
- package/commands/gsd/add-todo.md +0 -42
- package/commands/gsd/audit-milestone.md +0 -42
- package/commands/gsd/check-todos.md +0 -41
- package/commands/gsd/cleanup.md +0 -18
- package/commands/gsd/complete-milestone.md +0 -136
- package/commands/gsd/discuss-phase.md +0 -87
- package/commands/gsd/execute-phase.md +0 -42
- package/commands/gsd/health.md +0 -22
- package/commands/gsd/help.md +0 -22
- package/commands/gsd/insert-phase.md +0 -33
- package/commands/gsd/join-discord.md +0 -18
- package/commands/gsd/list-phase-assumptions.md +0 -50
- package/commands/gsd/map-codebase.md +0 -71
- package/commands/gsd/new-milestone.md +0 -51
- package/commands/gsd/new-project.md +0 -42
- package/commands/gsd/new-project.md.bak +0 -1041
- package/commands/gsd/pause-work.md +0 -35
- package/commands/gsd/plan-milestone-gaps.md +0 -40
- package/commands/gsd/plan-phase.md +0 -44
- package/commands/gsd/progress.md +0 -24
- package/commands/gsd/quick.md +0 -40
- package/commands/gsd/reapply-patches.md +0 -110
- package/commands/gsd/remove-phase.md +0 -32
- package/commands/gsd/research-phase.md +0 -187
- package/commands/gsd/resume-work.md +0 -40
- package/commands/gsd/set-profile.md +0 -34
- package/commands/gsd/settings.md +0 -36
- package/commands/gsd/update.md +0 -37
- package/commands/gsd/verify-work.md +0 -39
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
type: prompt
|
|
3
|
-
name: gsd:complete-milestone
|
|
4
|
-
description: Archive completed milestone and prepare for next version
|
|
5
|
-
argument-hint: <version>
|
|
6
|
-
allowed-tools:
|
|
7
|
-
- Read
|
|
8
|
-
- Write
|
|
9
|
-
- Bash
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
<objective>
|
|
13
|
-
Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.
|
|
14
|
-
|
|
15
|
-
Purpose: Create historical record of shipped version, archive milestone artifacts (roadmap + requirements), and prepare for next milestone.
|
|
16
|
-
Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tagged.
|
|
17
|
-
</objective>
|
|
18
|
-
|
|
19
|
-
<execution_context>
|
|
20
|
-
**Load these files NOW (before proceeding):**
|
|
21
|
-
|
|
22
|
-
- @~/.claude/get-shit-done/workflows/complete-milestone.md (main workflow)
|
|
23
|
-
- @~/.claude/get-shit-done/templates/milestone-archive.md (archive template)
|
|
24
|
-
</execution_context>
|
|
25
|
-
|
|
26
|
-
<context>
|
|
27
|
-
**Project files:**
|
|
28
|
-
- `.planning/ROADMAP.md`
|
|
29
|
-
- `.planning/REQUIREMENTS.md`
|
|
30
|
-
- `.planning/STATE.md`
|
|
31
|
-
- `.planning/PROJECT.md`
|
|
32
|
-
|
|
33
|
-
**User input:**
|
|
34
|
-
|
|
35
|
-
- Version: {{version}} (e.g., "1.0", "1.1", "2.0")
|
|
36
|
-
</context>
|
|
37
|
-
|
|
38
|
-
<process>
|
|
39
|
-
|
|
40
|
-
**Follow complete-milestone.md workflow:**
|
|
41
|
-
|
|
42
|
-
0. **Check for audit:**
|
|
43
|
-
|
|
44
|
-
- Look for `.planning/v{{version}}-MILESTONE-AUDIT.md`
|
|
45
|
-
- If missing or stale: recommend `/gsd:audit-milestone` first
|
|
46
|
-
- If audit status is `gaps_found`: recommend `/gsd:plan-milestone-gaps` first
|
|
47
|
-
- If audit status is `passed`: proceed to step 1
|
|
48
|
-
|
|
49
|
-
```markdown
|
|
50
|
-
## Pre-flight Check
|
|
51
|
-
|
|
52
|
-
{If no v{{version}}-MILESTONE-AUDIT.md:}
|
|
53
|
-
⚠ No milestone audit found. Run `/gsd:audit-milestone` first to verify
|
|
54
|
-
requirements coverage, cross-phase integration, and E2E flows.
|
|
55
|
-
|
|
56
|
-
{If audit has gaps:}
|
|
57
|
-
⚠ Milestone audit found gaps. Run `/gsd:plan-milestone-gaps` to create
|
|
58
|
-
phases that close the gaps, or proceed anyway to accept as tech debt.
|
|
59
|
-
|
|
60
|
-
{If audit passed:}
|
|
61
|
-
✓ Milestone audit passed. Proceeding with completion.
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
1. **Verify readiness:**
|
|
65
|
-
|
|
66
|
-
- Check all phases in milestone have completed plans (SUMMARY.md exists)
|
|
67
|
-
- Present milestone scope and stats
|
|
68
|
-
- Wait for confirmation
|
|
69
|
-
|
|
70
|
-
2. **Gather stats:**
|
|
71
|
-
|
|
72
|
-
- Count phases, plans, tasks
|
|
73
|
-
- Calculate git range, file changes, LOC
|
|
74
|
-
- Extract timeline from git log
|
|
75
|
-
- Present summary, confirm
|
|
76
|
-
|
|
77
|
-
3. **Extract accomplishments:**
|
|
78
|
-
|
|
79
|
-
- Read all phase SUMMARY.md files in milestone range
|
|
80
|
-
- Extract 4-6 key accomplishments
|
|
81
|
-
- Present for approval
|
|
82
|
-
|
|
83
|
-
4. **Archive milestone:**
|
|
84
|
-
|
|
85
|
-
- Create `.planning/milestones/v{{version}}-ROADMAP.md`
|
|
86
|
-
- Extract full phase details from ROADMAP.md
|
|
87
|
-
- Fill milestone-archive.md template
|
|
88
|
-
- Update ROADMAP.md to one-line summary with link
|
|
89
|
-
|
|
90
|
-
5. **Archive requirements:**
|
|
91
|
-
|
|
92
|
-
- Create `.planning/milestones/v{{version}}-REQUIREMENTS.md`
|
|
93
|
-
- Mark all v1 requirements as complete (checkboxes checked)
|
|
94
|
-
- Note requirement outcomes (validated, adjusted, dropped)
|
|
95
|
-
- Delete `.planning/REQUIREMENTS.md` (fresh one created for next milestone)
|
|
96
|
-
|
|
97
|
-
6. **Update PROJECT.md:**
|
|
98
|
-
|
|
99
|
-
- Add "Current State" section with shipped version
|
|
100
|
-
- Add "Next Milestone Goals" section
|
|
101
|
-
- Archive previous content in `<details>` (if v1.1+)
|
|
102
|
-
|
|
103
|
-
7. **Commit and tag:**
|
|
104
|
-
|
|
105
|
-
- Stage: MILESTONES.md, PROJECT.md, ROADMAP.md, STATE.md, archive files
|
|
106
|
-
- Commit: `chore: archive v{{version}} milestone`
|
|
107
|
-
- Tag: `git tag -a v{{version}} -m "[milestone summary]"`
|
|
108
|
-
- Ask about pushing tag
|
|
109
|
-
|
|
110
|
-
8. **Offer next steps:**
|
|
111
|
-
- `/gsd:new-milestone` — start next milestone (questioning → research → requirements → roadmap)
|
|
112
|
-
|
|
113
|
-
</process>
|
|
114
|
-
|
|
115
|
-
<success_criteria>
|
|
116
|
-
|
|
117
|
-
- Milestone archived to `.planning/milestones/v{{version}}-ROADMAP.md`
|
|
118
|
-
- Requirements archived to `.planning/milestones/v{{version}}-REQUIREMENTS.md`
|
|
119
|
-
- `.planning/REQUIREMENTS.md` deleted (fresh for next milestone)
|
|
120
|
-
- ROADMAP.md collapsed to one-line entry
|
|
121
|
-
- PROJECT.md updated with current state
|
|
122
|
-
- Git tag v{{version}} created
|
|
123
|
-
- Commit successful
|
|
124
|
-
- User knows next steps (including need for fresh requirements)
|
|
125
|
-
</success_criteria>
|
|
126
|
-
|
|
127
|
-
<critical_rules>
|
|
128
|
-
|
|
129
|
-
- **Load workflow first:** Read complete-milestone.md before executing
|
|
130
|
-
- **Verify completion:** All phases must have SUMMARY.md files
|
|
131
|
-
- **User confirmation:** Wait for approval at verification gates
|
|
132
|
-
- **Archive before deleting:** Always create archive files before updating/deleting originals
|
|
133
|
-
- **One-line summary:** Collapsed milestone in ROADMAP.md should be single line with link
|
|
134
|
-
- **Context efficiency:** Archive keeps ROADMAP.md and REQUIREMENTS.md constant size per milestone
|
|
135
|
-
- **Fresh requirements:** Next milestone starts with `/gsd:new-milestone` which includes requirements definition
|
|
136
|
-
</critical_rules>
|
|
@@ -1,87 +0,0 @@
|
|
|
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
|
-
**Load project state:**
|
|
36
|
-
@.planning/STATE.md
|
|
37
|
-
|
|
38
|
-
**Load roadmap:**
|
|
39
|
-
@.planning/ROADMAP.md
|
|
40
|
-
</context>
|
|
41
|
-
|
|
42
|
-
<process>
|
|
43
|
-
1. Validate phase number (error if missing or not in roadmap)
|
|
44
|
-
2. Check if CONTEXT.md exists (offer update/view/skip if yes)
|
|
45
|
-
3. **Analyze phase** — Identify domain and generate phase-specific gray areas
|
|
46
|
-
4. **Present gray areas** — Multi-select: which to discuss? (NO skip option)
|
|
47
|
-
5. **Deep-dive each area** — 4 questions per area, then offer more/next
|
|
48
|
-
6. **Write CONTEXT.md** — Sections match areas discussed
|
|
49
|
-
7. Offer next steps (research or plan)
|
|
50
|
-
|
|
51
|
-
**CRITICAL: Scope guardrail**
|
|
52
|
-
- Phase boundary from ROADMAP.md is FIXED
|
|
53
|
-
- Discussion clarifies HOW to implement, not WHETHER to add more
|
|
54
|
-
- If user suggests new capabilities: "That's its own phase. I'll note it for later."
|
|
55
|
-
- Capture deferred ideas — don't lose them, don't act on them
|
|
56
|
-
|
|
57
|
-
**Domain-aware gray areas:**
|
|
58
|
-
Gray areas depend on what's being built. Analyze the phase goal:
|
|
59
|
-
- Something users SEE → layout, density, interactions, states
|
|
60
|
-
- Something users CALL → responses, errors, auth, versioning
|
|
61
|
-
- Something users RUN → output format, flags, modes, error handling
|
|
62
|
-
- Something users READ → structure, tone, depth, flow
|
|
63
|
-
- Something being ORGANIZED → criteria, grouping, naming, exceptions
|
|
64
|
-
|
|
65
|
-
Generate 3-4 **phase-specific** gray areas, not generic categories.
|
|
66
|
-
|
|
67
|
-
**Probing depth:**
|
|
68
|
-
- Ask 4 questions per area before checking
|
|
69
|
-
- "More questions about [area], or move to next?"
|
|
70
|
-
- If more → ask 4 more, check again
|
|
71
|
-
- After all areas → "Ready to create context?"
|
|
72
|
-
|
|
73
|
-
**Do NOT ask about (Claude handles these):**
|
|
74
|
-
- Technical implementation
|
|
75
|
-
- Architecture choices
|
|
76
|
-
- Performance concerns
|
|
77
|
-
- Scope expansion
|
|
78
|
-
</process>
|
|
79
|
-
|
|
80
|
-
<success_criteria>
|
|
81
|
-
- Gray areas identified through intelligent analysis
|
|
82
|
-
- User chose which areas to discuss
|
|
83
|
-
- Each selected area explored until satisfied
|
|
84
|
-
- Scope creep redirected to deferred ideas
|
|
85
|
-
- CONTEXT.md captures decisions, not vague vision
|
|
86
|
-
- User knows next steps
|
|
87
|
-
</success_criteria>
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
@.planning/ROADMAP.md
|
|
36
|
-
@.planning/STATE.md
|
|
37
|
-
</context>
|
|
38
|
-
|
|
39
|
-
<process>
|
|
40
|
-
Execute the execute-phase workflow from @~/.claude/get-shit-done/workflows/execute-phase.md end-to-end.
|
|
41
|
-
Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
|
|
42
|
-
</process>
|
package/commands/gsd/health.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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>
|
package/commands/gsd/help.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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>
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
@.planning/ROADMAP.md
|
|
27
|
-
@.planning/STATE.md
|
|
28
|
-
</context>
|
|
29
|
-
|
|
30
|
-
<process>
|
|
31
|
-
Execute the insert-phase workflow from @~/.claude/get-shit-done/workflows/insert-phase.md end-to-end.
|
|
32
|
-
Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
|
|
33
|
-
</process>
|
|
@@ -1,18 +0,0 @@
|
|
|
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>
|
|
@@ -1,50 +0,0 @@
|
|
|
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>
|
|
@@ -1,71 +0,0 @@
|
|
|
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>
|
|
@@ -1,51 +0,0 @@
|
|
|
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>
|
|
@@ -1,42 +0,0 @@
|
|
|
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>
|