fix: replace /gsd: slash command format with /gsd- skill format in all user-facing content (#1579)

* fix: replace /gsd: command format with /gsd- skill format in all suggestions

All next-step suggestions shown to users were still using the old colon
format (/gsd:xxx) which cannot be copy-pasted as skills. Migrated all
occurrences across agents/, commands/, get-shit-done/, docs/, README files,
bin/install.js (hardcoded defaults for claude runtime), and
get-shit-done/bin/lib/*.cjs (generate-claude-md templates and error messages).
Updated tests to assert new hyphen format instead of old colon format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: migrate remaining /gsd: format to /gsd- in hooks, workflows, and sdk

Addresses remaining user-facing occurrences missed in the initial migration:

- hooks/: fix 4 user-facing messages (pause-work, update, fast, quick)
  and 2 comments in gsd-workflow-guard.js
- get-shit-done/workflows/: fix 21 Skill() literal calls that Claude
  executes directly (installer does not transform workflow content)
- sdk/prompt-sanitizer.ts: update regex to strip /gsd- format in addition
  to legacy /gsd: format; update JSDoc comment
- tests/: update autonomous-ui-steps, prompt-sanitizer to assert new format

Note: commands/gsd/*.md frontmatter (name: gsd:xxx) intentionally unchanged
— installer derives skillName from directory path, not the name field.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(plan-phase): preserve --chain flag in auto-advance sync and handle ui-phase gate in chain mode

Bug 1: step 15 sync-flag check only guarded against --auto, causing
_auto_chain_active to be cleared when plan-phase is invoked without
--auto in ARGUMENTS even though a --chain pipeline was active. Added
--chain to the guard condition, matching discuss-phase behaviour.

Bug 2: UI Design Contract gate (step 5.6) always exited the workflow
when UI-SPEC was missing, breaking the discuss --chain pipeline
silently. When _auto_chain_active is true, the gate now auto-invokes
gsd-ui-phase --auto via Skill() and continues to step 6 without
prompting. Manual invocations retain the existing AskUserQuestion flow.

* fix: remove <sub>/clear</sub> pattern and duplicate old-format command in discuss-phase.md

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Quang Do
2026-04-04 18:24:31 +07:00
committed by GitHub
parent 05e35ac09a
commit d4767ac2e0
173 changed files with 3461 additions and 3419 deletions

View File

@@ -11,15 +11,15 @@ Read all files referenced by the invoking prompt's execution_context before star
<step name="parse_arguments">
Parse the command arguments:
- All arguments become the phase description
- Example: `/gsd:add-phase Add authentication` → description = "Add authentication"
- Example: `/gsd:add-phase Fix critical performance issues` → description = "Fix critical performance issues"
- Example: `/gsd-add-phase Add authentication` → description = "Add authentication"
- Example: `/gsd-add-phase Fix critical performance issues` → description = "Fix critical performance issues"
If no arguments provided:
```
ERROR: Phase description required
Usage: /gsd:add-phase <description>
Example: /gsd:add-phase Add authentication system
Usage: /gsd-add-phase <description>
Example: /gsd-add-phase Add authentication system
```
Exit.
@@ -36,7 +36,7 @@ if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
Check `roadmap_exists` from init JSON. If false:
```
ERROR: No roadmap found (.planning/ROADMAP.md)
Run /gsd:new-project to initialize.
Run /gsd-new-project to initialize.
```
Exit.
</step>
@@ -89,12 +89,12 @@ Roadmap updated: .planning/ROADMAP.md
`/clear` then:
`/gsd:plan-phase {N}`
`/gsd-plan-phase {N}`
---
**Also available:**
- `/gsd:add-phase <description>` — add another phase
- `/gsd-add-phase <description>` — add another phase
- Review roadmap
---

View File

@@ -1,7 +1,7 @@
<purpose>
Generate unit and E2E tests for a completed phase based on its SUMMARY.md, CONTEXT.md, and implementation. Classifies each changed file into TDD (unit), E2E (browser), or Skip categories, presents a test plan for user approval, then generates tests following RED-GREEN conventions.
Users currently hand-craft `/gsd:quick` prompts for test generation after each phase. This workflow standardizes the process with proper classification, quality gates, and gap reporting.
Users currently hand-craft `/gsd-quick` prompts for test generation after each phase. This workflow standardizes the process with proper classification, quality gates, and gap reporting.
</purpose>
<required_reading>
@@ -15,15 +15,15 @@ Parse `$ARGUMENTS` for:
- Phase number (integer, decimal, or letter-suffix) → store as `$PHASE_ARG`
- Remaining text after phase number → store as `$EXTRA_INSTRUCTIONS` (optional)
Example: `/gsd:add-tests 12 focus on edge cases` → `$PHASE_ARG=12`, `$EXTRA_INSTRUCTIONS="focus on edge cases"`
Example: `/gsd-add-tests 12 focus on edge cases` → `$PHASE_ARG=12`, `$EXTRA_INSTRUCTIONS="focus on edge cases"`
If no phase argument provided:
```
ERROR: Phase number required
Usage: /gsd:add-tests <phase> [additional instructions]
Example: /gsd:add-tests 12
Example: /gsd:add-tests 12 focus on edge cases in the pricing module
Usage: /gsd-add-tests <phase> [additional instructions]
Example: /gsd-add-tests 12
Example: /gsd-add-tests 12 focus on edge cases in the pricing module
```
Exit.
@@ -54,7 +54,7 @@ Read the phase artifacts (in order of priority):
If no SUMMARY.md exists:
```
ERROR: No SUMMARY.md found for phase ${PHASE_ARG}
This command works on completed phases. Run /gsd:execute-phase first.
This command works on completed phases. Run /gsd-execute-phase first.
```
Exit.
@@ -315,7 +315,7 @@ Present next steps:
## ▶ Next Up
{if bugs discovered:}
**Fix discovered bugs:** `/gsd:quick fix the {N} test failures discovered in phase ${phase_number}`
**Fix discovered bugs:** `/gsd-quick fix the {N} test failures discovered in phase ${phase_number}`
{if blocked tests:}
**Resolve test blockers:** {description of what's needed}
@@ -326,8 +326,8 @@ Present next steps:
---
**Also available:**
- `/gsd:add-tests {next_phase}` — test another phase
- `/gsd:verify-work {phase_number}` — run UAT verification
- `/gsd-add-tests {next_phase}` — test another phase
- `/gsd-verify-work {phase_number}` — run UAT verification
---
```

View File

@@ -28,7 +28,7 @@ Note existing areas from the todos array for consistency in infer_area step.
<step name="extract_content">
**With arguments:** Use as the title/focus.
- `/gsd:add-todo Add auth token refresh` → title = "Add auth token refresh"
- `/gsd-add-todo Add auth token refresh` → title = "Add auth token refresh"
**Without arguments:** Analyze recent conversation to extract:
- The specific problem, idea, or task discussed
@@ -141,7 +141,7 @@ Would you like to:
1. Continue with current work
2. Add another todo
3. View all todos (/gsd:check-todos)
3. View all todos (/gsd-check-todos)
```
</step>

View File

@@ -158,7 +158,7 @@ Classify per phase:
Add to audit YAML: `nyquist: { compliant_phases, partial_phases, missing_phases, overall }`
Discovery only — never auto-calls `/gsd:validate-phase`.
Discovery only — never auto-calls `/gsd-validate-phase`.
## 6. Aggregate into v{version}-MILESTONE-AUDIT.md
@@ -231,7 +231,7 @@ All requirements covered. Cross-phase integration verified. E2E flows complete.
/clear then:
/gsd:complete-milestone {version}
/gsd-complete-milestone {version}
───────────────────────────────────────────────────────────────
@@ -264,9 +264,9 @@ All requirements covered. Cross-phase integration verified. E2E flows complete.
| Phase | VALIDATION.md | Compliant | Action |
|-------|---------------|-----------|--------|
| {phase} | exists/missing | true/false/partial | `/gsd:validate-phase {N}` |
| {phase} | exists/missing | true/false/partial | `/gsd-validate-phase {N}` |
Phases needing validation: run `/gsd:validate-phase {N}` for each flagged phase.
Phases needing validation: run `/gsd-validate-phase {N}` for each flagged phase.
───────────────────────────────────────────────────────────────
@@ -276,13 +276,13 @@ Phases needing validation: run `/gsd:validate-phase {N}` for each flagged phase.
/clear then:
/gsd:plan-milestone-gaps
/gsd-plan-milestone-gaps
───────────────────────────────────────────────────────────────
**Also available:**
- cat .planning/v{version}-MILESTONE-AUDIT.md — see full report
- /gsd:complete-milestone {version} — proceed anyway (accept tech debt)
- /gsd-complete-milestone {version} — proceed anyway (accept tech debt)
───────────────────────────────────────────────────────────────
@@ -312,13 +312,13 @@ All requirements met. No critical blockers. Accumulated tech debt needs review.
**A. Complete milestone** — accept debt, track in backlog
/gsd:complete-milestone {version}
/gsd-complete-milestone {version}
**B. Plan cleanup phase** — address debt before completing
/clear then:
/gsd:plan-milestone-gaps
/gsd-plan-milestone-gaps
───────────────────────────────────────────────────────────────
</offer_next>

View File

@@ -76,9 +76,9 @@ Present the audit report:
## Recommended Actions
1. **Close stale items:** `/gsd:verify-work {phase}` — mark stale tests as resolved
1. **Close stale items:** `/gsd-verify-work {phase}` — mark stale tests as resolved
2. **Run active tests:** Human UAT test plan below
3. **When prerequisites met:** Retest blocked items with `/gsd:verify-work {phase}`
3. **When prerequisites met:** Retest blocked items with `/gsd-verify-work {phase}`
```
</step>

View File

@@ -49,8 +49,8 @@ if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
Parse JSON for: `milestone_version`, `milestone_name`, `phase_count`, `completed_phases`, `roadmap_exists`, `state_exists`, `commit_docs`.
**If `roadmap_exists` is false:** Error — "No ROADMAP.md found. Run `/gsd:new-milestone` first."
**If `state_exists` is false:** Error — "No STATE.md found. Run `/gsd:new-milestone` first."
**If `roadmap_exists` is false:** Error — "No ROADMAP.md found. Run `/gsd-new-milestone` first."
**If `state_exists` is false:** Error — "No STATE.md found. Run `/gsd-new-milestone` first."
Display startup banner:
@@ -285,7 +285,7 @@ Phase ${PHASE_NUM}: Frontend phase detected — generating UI design contract...
```
```
Skill(skill="gsd:ui-phase", args="${PHASE_NUM}")
Skill(skill="gsd-ui-phase", args="${PHASE_NUM}")
```
Verify UI-SPEC was created:
@@ -315,7 +315,7 @@ Store the agent task_id. After discuss for the next phase completes (or if no ne
**If `INTERACTIVE` is NOT set (default):** Run plan inline as before.
```
Skill(skill="gsd:plan-phase", args="${PHASE_NUM}")
Skill(skill="gsd-plan-phase", args="${PHASE_NUM}")
```
Verify plan produced output — re-run `init phase-op` and check `has_plans`. If false → go to handle_blocker: "Plan phase ${PHASE_NUM} did not produce any plans."
@@ -337,7 +337,7 @@ Store the agent task_id. The workflow can now start discussing the next phase wh
**If `INTERACTIVE` is NOT set (default):** Run execute inline as before.
```
Skill(skill="gsd:execute-phase", args="${PHASE_NUM} --no-transition")
Skill(skill="gsd-execute-phase", args="${PHASE_NUM} --no-transition")
```
**3d. Post-Execution Routing**
@@ -404,14 +404,14 @@ Ask user via AskUserQuestion:
On **"Run gap closure"**: Execute gap closure cycle (limit: 1 attempt):
```
Skill(skill="gsd:plan-phase", args="${PHASE_NUM} --gaps")
Skill(skill="gsd-plan-phase", args="${PHASE_NUM} --gaps")
```
Verify gap plans were created — re-run `init phase-op ${PHASE_NUM}` and check `has_plans`. If no new gap plans → go to handle_blocker: "Gap closure planning for phase ${PHASE_NUM} did not produce plans."
Re-execute:
```
Skill(skill="gsd:execute-phase", args="${PHASE_NUM} --no-transition")
Skill(skill="gsd-execute-phase", args="${PHASE_NUM} --no-transition")
```
Re-read verification status:
@@ -459,7 +459,7 @@ Phase ${PHASE_NUM}: Frontend phase with UI-SPEC — running UI review audit...
```
```
Skill(skill="gsd:ui-review", args="${PHASE_NUM}")
Skill(skill="gsd-ui-review", args="${PHASE_NUM}")
```
Display the review result summary (score from UI-REVIEW.md if produced). Continue to iterate step regardless of score — UI review is advisory, not blocking.
@@ -474,7 +474,7 @@ Display the review result summary (score from UI-REVIEW.md if produced). Continu
Run smart discuss for the current phase. Proposes grey area answers in batch tables — the user accepts or overrides per area. Produces identical CONTEXT.md output to regular discuss-phase.
> **Note:** Smart discuss is an autonomous-optimized variant of the `gsd:discuss-phase` skill. It produces identical CONTEXT.md output but uses batch table proposals instead of sequential questioning. The original `discuss-phase` skill remains unchanged (per CTRL-03). Future milestones may extract this to a separate skill file.
> **Note:** Smart discuss is an autonomous-optimized variant of the `gsd-discuss-phase` skill. It produces identical CONTEXT.md output but uses batch table proposals instead of sequential questioning. The original `gsd-discuss-phase` skill remains unchanged (per CTRL-03). Future milestones may extract this to a separate skill file.
**Inputs:** `PHASE_NUM` from execute_phase. Run init to get phase paths:
@@ -804,7 +804,7 @@ If all phases complete, proceed to lifecycle step.
Phase ${ONLY_PHASE}: ${PHASE_NAME} — Done
Mode: Single phase (--only)
Lifecycle skipped — run /gsd:autonomous without --only
Lifecycle skipped — run /gsd-autonomous without --only
after all phases complete to trigger audit/complete/cleanup.
```
@@ -826,7 +826,7 @@ Display lifecycle transition banner:
**5a. Audit**
```
Skill(skill="gsd:audit-milestone")
Skill(skill="gsd-audit-milestone")
```
After audit completes, detect the result:
@@ -862,7 +862,7 @@ Ask user via AskUserQuestion:
On **"Continue anyway"**: Display `Audit ⏭ Gaps accepted — proceeding to complete milestone` and proceed to 5b.
On **"Stop"**: Go to handle_blocker with "User stopped — audit gaps remain. Run /gsd:audit-milestone to review, then /gsd:complete-milestone when ready."
On **"Stop"**: Go to handle_blocker with "User stopped — audit gaps remain. Run /gsd-audit-milestone to review, then /gsd-complete-milestone when ready."
**If `tech_debt`:**
@@ -877,12 +877,12 @@ Show the summary, then ask user via AskUserQuestion:
On **"Continue with tech debt"**: Display `Audit ⏭ Tech debt acknowledged — proceeding to complete milestone` and proceed to 5b.
On **"Stop"**: Go to handle_blocker with "User stopped — tech debt to address. Run /gsd:audit-milestone to review details."
On **"Stop"**: Go to handle_blocker with "User stopped — tech debt to address. Run /gsd-audit-milestone to review details."
**5b. Complete Milestone**
```
Skill(skill="gsd:complete-milestone", args="${milestone_version}")
Skill(skill="gsd-complete-milestone", args="${milestone_version}")
```
After complete-milestone returns, verify it produced output:
@@ -896,7 +896,7 @@ If the archive file does not exist, go to handle_blocker: "Complete milestone di
**5c. Cleanup**
```
Skill(skill="gsd:cleanup")
Skill(skill="gsd-cleanup")
```
Cleanup shows its own dry-run and asks user for approval internally — this is an acceptable pause per CTRL-01 since it's an explicit decision about file deletion.
@@ -947,7 +947,7 @@ When any phase operation fails or a blocker is detected, present 3 options via A
Skipped: {list of skipped phases}
Remaining: {list of remaining phases}
Resume with: /gsd:autonomous ${ONLY_PHASE ? "--only " + ONLY_PHASE : "--from " + next_phase}
Resume with: /gsd-autonomous ${ONLY_PHASE ? "--only " + ONLY_PHASE : "--from " + next_phase}
```
</step>
@@ -971,7 +971,7 @@ When any phase operation fails or a blocker is detected, present 3 options via A
- [ ] Final completion or stop summary displayed
- [ ] After all phases complete, lifecycle step is invoked (not manual suggestion)
- [ ] Lifecycle transition banner displayed before audit
- [ ] Audit invoked via Skill(skill="gsd:audit-milestone")
- [ ] Audit invoked via Skill(skill="gsd-audit-milestone")
- [ ] Audit result routing: passed → auto-continue, gaps_found → user decides, tech_debt → user decides
- [ ] Audit technical failure (no file/no status) routes to handle_blocker
- [ ] Complete-milestone invoked via Skill() with ${milestone_version} arg

View File

@@ -22,14 +22,14 @@ If `todo_count` is 0:
```
No pending todos.
Todos are captured during work sessions with /gsd:add-todo.
Todos are captured during work sessions with /gsd-add-todo.
---
Would you like to:
1. Continue with current phase (/gsd:progress)
2. Add a todo now (/gsd:add-todo)
1. Continue with current phase (/gsd-progress)
2. Add a todo now (/gsd-add-todo)
```
Exit.
@@ -37,8 +37,8 @@ Exit.
<step name="parse_filter">
Check for area filter in arguments:
- `/gsd:check-todos` → show all
- `/gsd:check-todos api` → filter to area:api only
- `/gsd-check-todos` → show all
- `/gsd-check-todos api` → filter to area:api only
</step>
<step name="list_todos">
@@ -56,7 +56,7 @@ Pending Todos:
---
Reply with a number to view details, or:
- `/gsd:check-todos [area]` to filter by area
- `/gsd-check-todos [area]` to filter by area
- `q` to exit
```
@@ -118,7 +118,7 @@ Use AskUserQuestion:
- question: "What would you like to do with this todo?"
- options:
- "Work on it now" — move to done, start working
- "Create a phase" — /gsd:add-phase with this scope
- "Create a phase" — /gsd-add-phase with this scope
- "Brainstorm approach" — think through before deciding
- "Put it back" — return to list
</step>
@@ -134,7 +134,7 @@ Update STATE.md todo count. Present problem/solution context. Begin work or ask
Note todo reference in phase planning notes. Keep in pending. Return to list or exit.
**Create a phase:**
Display: `/gsd:add-phase [description from todo]`
Display: `/gsd-add-phase [description from todo]`
Keep in pending. User runs command in fresh context.
**Brainstorm approach:**

View File

@@ -82,7 +82,7 @@ Requirements: {N}/{M} v1 requirements checked off
MUST present 3 options:
1. **Proceed anyway** — mark milestone complete with known gaps
2. **Run audit first** — `/gsd:audit-milestone` to assess gap severity
2. **Run audit first** — `/gsd-audit-milestone` to assess gap severity
3. **Abort** — return to development
If user selects "Proceed anyway": note incomplete requirements in MILESTONES.md under `### Known Gaps` with REQ-IDs and descriptions.
@@ -397,7 +397,7 @@ mv .planning/phases/{phase-dir} .planning/milestones/v[X.Y]-phases/
```
Verify: `✅ Phase directories archived to .planning/milestones/v[X.Y]-phases/`
If "Skip": Phase directories remain in `.planning/phases/` as raw execution history. Use `/gsd:cleanup` later to archive retroactively.
If "Skip": Phase directories remain in `.planning/phases/` as raw execution history. Use `/gsd-cleanup` later to archive retroactively.
After archival, the AI still handles:
- Reorganizing ROADMAP.md with milestone grouping (requires judgment)
@@ -721,7 +721,7 @@ Tag: v[X.Y]
`/clear` then:
`/gsd:new-milestone`
`/gsd-new-milestone`
---
```
@@ -771,6 +771,6 @@ Milestone completion is successful when:
- [ ] Known gaps recorded in MILESTONES.md if user proceeded with incomplete requirements
- [ ] RETROSPECTIVE.md updated with milestone section
- [ ] Cross-milestone trends updated
- [ ] User knows next step (/gsd:new-milestone)
- [ ] User knows next step (/gsd-new-milestone)
</success_criteria>

View File

@@ -220,7 +220,7 @@ Agents only diagnose—plan-phase --gaps handles fixes (no fix application).
**Agent times out:**
- Check DEBUG-{slug}.md for partial progress
- Can resume with /gsd:debug
- Can resume with /gsd-debug
**All agents fail:**
- Something systemic (permissions, git, etc.)

View File

@@ -4,7 +4,7 @@ Produces DISCOVERY.md (for Level 2-3) that informs PLAN.md creation.
Called from plan-phase.md's mandatory_discovery step with a depth parameter.
NOTE: For comprehensive ecosystem research ("how do experts build this"), use /gsd:research-phase instead, which produces RESEARCH.md.
NOTE: For comprehensive ecosystem research ("how do experts build this"), use /gsd-research-phase instead, which produces RESEARCH.md.
</purpose>
<depth_levels>
@@ -252,8 +252,8 @@ Confidence: [level]
What's next?
1. Discuss phase context (/gsd:discuss-phase [current-phase])
2. Create phase plan (/gsd:plan-phase [current-phase])
1. Discuss phase context (/gsd-discuss-phase [current-phase])
2. Create phase plan (/gsd-plan-phase [current-phase])
3. Refine discovery (dig deeper)
4. Review discovery

View File

@@ -77,7 +77,7 @@ Parse JSON for: `commit_docs`, `phase_found`, `phase_dir`, `phase_number`, `phas
```
Phase [X] not found in roadmap.
Use /gsd:progress to see available phases.
Use /gsd-progress to see available phases.
```
Exit workflow.
@@ -599,13 +599,13 @@ Created: .planning/phases/${PADDED_PHASE}-${SLUG}/${PADDED_PHASE}-CONTEXT.md
`/clear` then:
`/gsd:plan-phase ${PHASE}`
`/gsd-plan-phase ${PHASE}`
---
**Also available:**
- `/gsd:plan-phase ${PHASE} --skip-research` — plan without research
- `/gsd:ui-phase ${PHASE}` — generate UI design contract (if frontend work)
- `/gsd-plan-phase ${PHASE} --skip-research` — plan without research
- `/gsd-ui-phase ${PHASE}` — generate UI design contract (if frontend work)
- Review/edit CONTEXT.md before continuing
---
@@ -644,7 +644,7 @@ Display banner:
Context captured (assumptions mode). Launching plan-phase...
```
Launch: `Skill(skill="gsd:plan-phase", args="${PHASE} --auto")`
Launch: `Skill(skill="gsd-plan-phase", args="${PHASE} --auto")`
Handle return: PHASE COMPLETE / PLANNING COMPLETE / INCONCLUSIVE / GAPS FOUND
(identical handling to discuss-phase.md auto_advance step)

View File

@@ -118,7 +118,7 @@ This is required for Claude Code remote sessions (`/rc` mode) where the Claude A
cannot forward TUI menu selections back to the host.
Enable text mode:
- Per-session: pass `--text` flag to any command (e.g., `/gsd:discuss-phase --text`)
- Per-session: pass `--text` flag to any command (e.g., `/gsd-discuss-phase --text`)
- Per-project: `gsd-tools config-set workflow.text_mode true`
Text mode applies to ALL workflows in the session, not just discuss-phase.
@@ -126,7 +126,7 @@ Text mode applies to ALL workflows in the session, not just discuss-phase.
<process>
**Express path available:** If you already have a PRD or acceptance criteria document, use `/gsd:plan-phase {phase} --prd path/to/prd.md` to skip this discussion and go straight to planning.
**Express path available:** If you already have a PRD or acceptance criteria document, use `/gsd-plan-phase {phase} --prd path/to/prd.md` to skip this discussion and go straight to planning.
<step name="initialize" priority="first">
Phase number from argument (required).
@@ -143,7 +143,7 @@ Parse JSON for: `commit_docs`, `phase_found`, `phase_dir`, `phase_number`, `phas
```
Phase [X] not found in roadmap.
Use /gsd:progress ${GSD_WS} to see available phases.
Use /gsd-progress ${GSD_WS} to see available phases.
```
Exit workflow.
@@ -244,7 +244,7 @@ Check `has_plans` and `plan_count` from init. **If `has_plans` is true:**
- header: "Plans exist"
- question: "Phase [X] already has {plan_count} plan(s) created without user context. Your decisions here won't affect existing plans unless you replan."
- options:
- "Continue and replan after" — Capture context, then run /gsd:plan-phase {X} ${GSD_WS} to replan
- "Continue and replan after" — Capture context, then run /gsd-plan-phase {X} ${GSD_WS} to replan
- "View existing plans" — Show plans before deciding
- "Cancel" — Skip discuss-phase
@@ -811,7 +811,7 @@ Write after each area:
}
```
This is a structured checkpoint, not the final CONTEXT.md — the `write_context` step still produces the canonical output. But if the session dies, the next `gsd:discuss-phase` invocation can detect this checkpoint and offer to resume from it instead of starting from scratch.
This is a structured checkpoint, not the final CONTEXT.md — the `write_context` step still produces the canonical output. But if the session dies, the next `/gsd-discuss-phase` invocation can detect this checkpoint and offer to resume from it instead of starting from scratch.
**On session resume:** In the `check_existing` step, also check for `*-DISCUSS-CHECKPOINT.json`. If found and no CONTEXT.md exists:
- Display: "Found interrupted discussion checkpoint ({N} areas completed). Resume from checkpoint?"
@@ -977,14 +977,14 @@ Created: .planning/phases/${PADDED_PHASE}-${SLUG}/${PADDED_PHASE}-CONTEXT.md
`/clear` then:
`/gsd:plan-phase ${PHASE} ${GSD_WS}`
`/gsd-plan-phase ${PHASE} ${GSD_WS}`
---
**Also available:**
- `/gsd:discuss-phase ${PHASE} --chain ${GSD_WS}` — re-run with auto plan+execute after
- `/gsd:plan-phase ${PHASE} --skip-research ${GSD_WS}` — plan without research
- `/gsd:ui-phase ${PHASE} ${GSD_WS}` — generate UI design contract before planning (if phase has frontend work)
- `/gsd-discuss-phase ${PHASE} --chain ${GSD_WS}` — re-run with auto plan+execute after
- `/gsd-plan-phase ${PHASE} --skip-research ${GSD_WS}` — plan without research
- `/gsd-ui-phase ${PHASE} ${GSD_WS}` — generate UI design contract before planning (if phase has frontend work)
- Review/edit CONTEXT.md before continuing
---
@@ -1101,7 +1101,7 @@ Context captured. Launching plan-phase...
Launch plan-phase using the Skill tool to avoid nested Task sessions (which cause runtime freezes due to deep agent nesting — see #686):
```
Skill(skill="gsd:plan-phase", args="${PHASE} --auto ${GSD_WS}")
Skill(skill="gsd-plan-phase", args="${PHASE} --auto ${GSD_WS}")
```
This keeps the auto-advance chain flat — discuss, plan, and execute all run at the same nesting level rather than spawning increasingly deep Task agents.
@@ -1117,22 +1117,22 @@ This keeps the auto-advance chain flat — discuss, plan, and execute all run at
/clear then:
Next: /gsd:discuss-phase ${NEXT_PHASE} ${WAS_CHAIN ? "--chain" : "--auto"} ${GSD_WS}
Next: /gsd-discuss-phase ${NEXT_PHASE} ${WAS_CHAIN ? "--chain" : "--auto"} ${GSD_WS}
```
- **PLANNING COMPLETE** → Planning done, execution didn't complete:
```
Auto-advance partial: Planning complete, execution did not finish.
Continue: /gsd:execute-phase ${PHASE} ${GSD_WS}
Continue: /gsd-execute-phase ${PHASE} ${GSD_WS}
```
- **PLANNING INCONCLUSIVE / CHECKPOINT** → Stop chain:
```
Auto-advance stopped: Planning needs input.
Continue: /gsd:plan-phase ${PHASE} ${GSD_WS}
Continue: /gsd-plan-phase ${PHASE} ${GSD_WS}
```
- **GAPS FOUND** → Stop chain:
```
Auto-advance stopped: Gaps found during execution.
Continue: /gsd:plan-phase ${PHASE} --gaps ${GSD_WS}
Continue: /gsd-plan-phase ${PHASE} --gaps ${GSD_WS}
```
**If none of `--auto`, `--chain`, nor config enabled:**

View File

@@ -37,31 +37,31 @@ Evaluate `$ARGUMENTS` against these routing rules. Apply the **first matching**
| If the text describes... | Route to | Why |
|--------------------------|----------|-----|
| Starting a new project, "set up", "initialize" | `/gsd:new-project` | Needs full project initialization |
| Mapping or analyzing an existing codebase | `/gsd:map-codebase` | Codebase discovery |
| A bug, error, crash, failure, or something broken | `/gsd:debug` | Needs systematic investigation |
| Exploring, researching, comparing, or "how does X work" | `/gsd:research-phase` | Domain research before planning |
| Discussing vision, "how should X look", brainstorming | `/gsd:discuss-phase` | Needs context gathering |
| A complex task: refactoring, migration, multi-file architecture, system redesign | `/gsd:add-phase` | Needs a full phase with plan/build cycle |
| Planning a specific phase or "plan phase N" | `/gsd:plan-phase` | Direct planning request |
| Executing a phase or "build phase N", "run phase N" | `/gsd:execute-phase` | Direct execution request |
| Running all remaining phases automatically | `/gsd:autonomous` | Full autonomous execution |
| A review or quality concern about existing work | `/gsd:verify-work` | Needs verification |
| Checking progress, status, "where am I" | `/gsd:progress` | Status check |
| Resuming work, "pick up where I left off" | `/gsd:resume-work` | Session restoration |
| A note, idea, or "remember to..." | `/gsd:add-todo` | Capture for later |
| Adding tests, "write tests", "test coverage" | `/gsd:add-tests` | Test generation |
| Completing a milestone, shipping, releasing | `/gsd:complete-milestone` | Milestone lifecycle |
| A specific, actionable, small task (add feature, fix typo, update config) | `/gsd:quick` | Self-contained, single executor |
| Starting a new project, "set up", "initialize" | `/gsd-new-project` | Needs full project initialization |
| Mapping or analyzing an existing codebase | `/gsd-map-codebase` | Codebase discovery |
| A bug, error, crash, failure, or something broken | `/gsd-debug` | Needs systematic investigation |
| Exploring, researching, comparing, or "how does X work" | `/gsd-research-phase` | Domain research before planning |
| Discussing vision, "how should X look", brainstorming | `/gsd-discuss-phase` | Needs context gathering |
| A complex task: refactoring, migration, multi-file architecture, system redesign | `/gsd-add-phase` | Needs a full phase with plan/build cycle |
| Planning a specific phase or "plan phase N" | `/gsd-plan-phase` | Direct planning request |
| Executing a phase or "build phase N", "run phase N" | `/gsd-execute-phase` | Direct execution request |
| Running all remaining phases automatically | `/gsd-autonomous` | Full autonomous execution |
| A review or quality concern about existing work | `/gsd-verify-work` | Needs verification |
| Checking progress, status, "where am I" | `/gsd-progress` | Status check |
| Resuming work, "pick up where I left off" | `/gsd-resume-work` | Session restoration |
| A note, idea, or "remember to..." | `/gsd-add-todo` | Capture for later |
| Adding tests, "write tests", "test coverage" | `/gsd-add-tests` | Test generation |
| Completing a milestone, shipping, releasing | `/gsd-complete-milestone` | Milestone lifecycle |
| A specific, actionable, small task (add feature, fix typo, update config) | `/gsd-quick` | Self-contained, single executor |
**Requires `.planning/` directory:** All routes except `/gsd:new-project`, `/gsd:map-codebase`, `/gsd:help`, and `/gsd:join-discord`. If the project doesn't exist and the route requires it, suggest `/gsd:new-project` first.
**Requires `.planning/` directory:** All routes except `/gsd-new-project`, `/gsd-map-codebase`, `/gsd-help`, and `/gsd-join-discord`. If the project doesn't exist and the route requires it, suggest `/gsd-new-project` first.
**Ambiguity handling:** If the text could reasonably match multiple routes, ask the user via AskUserQuestion with the top 2-3 options. For example:
```
"Refactor the authentication system" could be:
1. /gsd:add-phase — Full planning cycle (recommended for multi-file refactors)
2. /gsd:quick — Quick execution (if scope is small and clear)
1. /gsd-add-phase — Full planning cycle (recommended for multi-file refactors)
2. /gsd-quick — Quick execution (if scope is small and clear)
Which approach fits better?
```
@@ -84,7 +84,7 @@ Which approach fits better?
<step name="dispatch">
**Invoke the chosen command.**
Run the selected `/gsd:*` command, passing `$ARGUMENTS` as args.
Run the selected `/gsd-*` command, passing `$ARGUMENTS` as args.
If the chosen command expects a phase number and one wasn't provided in the text, extract it from context or ask via AskUserQuestion.

View File

@@ -986,8 +986,8 @@ Failed claims:
Display note:
```
To fix failures automatically: /gsd:docs-update (runs generation + fix loop)
To regenerate all docs from scratch: /gsd:docs-update --force
To fix failures automatically: /gsd-docs-update (runs generation + fix loop)
To regenerate all docs from scratch: /gsd-docs-update --force
```
Clean up temp files: remove `.planning/tmp/verify-*.json` files.
@@ -1022,7 +1022,7 @@ This would expose credentials if committed.
Action required:
1. Review the flagged lines above
2. Remove any real secrets from the doc files
3. Re-run /gsd:docs-update to regenerate clean docs
3. Re-run /gsd-docs-update to regenerate clean docs
```
Then confirm with AskUserQuestion:
@@ -1124,7 +1124,7 @@ All generated files committed.
Remind the user they can fact-check generated docs:
```
Run `/gsd:docs-update --verify-only` to fact-check generated docs against the codebase.
Run `/gsd-docs-update --verify-only` to fact-check generated docs against the codebase.
```
End workflow.

View File

@@ -653,13 +653,13 @@ If `SECURITY_CFG` is `true` AND `SECURITY_FILE` is empty (no SECURITY.md yet):
Include in the next-steps routing output:
```
⚠ Security enforcement enabled — run before advancing:
/gsd:secure-phase {PHASE} ${GSD_WS}
/gsd-secure-phase {PHASE} ${GSD_WS}
```
If `SECURITY_CFG` is `true` AND SECURITY.md exists: check frontmatter `threats_open`. If > 0:
```
⚠ Security gate: {threats_open} threats open
/gsd:secure-phase {PHASE} — resolve before advancing
/gsd-secure-phase {PHASE} — resolve before advancing
```
</step>
@@ -685,8 +685,8 @@ Apply the same "incomplete" filtering rules as earlier:
Selected wave finished successfully. This phase still has incomplete plans, so phase-level verification and completion were intentionally skipped.
/gsd:execute-phase {phase} ${GSD_WS} # Continue remaining waves
/gsd:execute-phase {phase} --wave {next} ${GSD_WS} # Run the next wave explicitly
/gsd-execute-phase {phase} ${GSD_WS} # Continue remaining waves
/gsd-execute-phase {phase} --wave {next} ${GSD_WS} # Run the next wave explicitly
```
**If no incomplete plans remain after the selected wave finishes:**
@@ -915,7 +915,7 @@ grep "^status:" "$PHASE_DIR"/*-VERIFICATION.md | cut -d: -f2 | tr -d ' '
|--------|--------|
| `passed` | → update_roadmap |
| `human_needed` | Present items for human testing, get approval or feedback |
| `gaps_found` | Present gap summary, offer `/gsd:plan-phase {phase} --gaps ${GSD_WS}` |
| `gaps_found` | Present gap summary, offer `/gsd-plan-phase {phase} --gaps ${GSD_WS}` |
**If human_needed:**
@@ -970,12 +970,12 @@ All automated checks passed. {N} items need human testing:
{From VERIFICATION.md human_verification section}
Items saved to `{phase_num}-HUMAN-UAT.md` — they will appear in `/gsd:progress` and `/gsd:audit-uat`.
Items saved to `{phase_num}-HUMAN-UAT.md` — they will appear in `/gsd-progress` and `/gsd-audit-uat`.
"approved" → continue | Report issues → gap closure
```
**If user says "approved":** Proceed to `update_roadmap`. The HUMAN-UAT.md file persists with `status: partial` and will surface in future progress checks until the user runs `/gsd:verify-work` on it.
**If user says "approved":** Proceed to `update_roadmap`. The HUMAN-UAT.md file persists with `status: partial` and will surface in future progress checks until the user runs `/gsd-verify-work` on it.
**If user reports issues:** Proceed to gap closure as currently implemented.
@@ -994,13 +994,13 @@ Items saved to `{phase_num}-HUMAN-UAT.md` — they will appear in `/gsd:progress
`/clear` then:
`/gsd:plan-phase {X} --gaps ${GSD_WS}`
`/gsd-plan-phase {X} --gaps ${GSD_WS}`
Also: `cat {phase_dir}/{phase_num}-VERIFICATION.md` — full report
Also: `/gsd:verify-work {X} ${GSD_WS}` — manual testing first
Also: `/gsd-verify-work {X} ${GSD_WS}` — manual testing first
```
Gap closure cycle: `/gsd:plan-phase {X} --gaps ${GSD_WS}` reads VERIFICATION.md → creates gap plans with `gap_closure: true` → user runs `/gsd:execute-phase {X} --gaps-only ${GSD_WS}` → verifier re-runs.
Gap closure cycle: `/gsd-plan-phase {X} --gaps ${GSD_WS}` reads VERIFICATION.md → creates gap plans with `gap_closure: true` → user runs `/gsd-execute-phase {X} --gaps-only ${GSD_WS}` → verifier re-runs.
</step>
<step name="update_roadmap">
@@ -1026,7 +1026,7 @@ Extract from result: `next_phase`, `next_phase_name`, `is_last_phase`, `warnings
{list each warning}
These items are tracked and will appear in `/gsd:progress` and `/gsd:audit-uat`.
These items are tracked and will appear in `/gsd-progress` and `/gsd-audit-uat`.
```
```bash
@@ -1058,7 +1058,7 @@ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs(phase-{X}): ev
<step name="offer_next">
**Exception:** If `gaps_found`, the `verify_phase_goal` step already presents the gap-closure path (`/gsd:plan-phase {X} --gaps`). No additional routing needed — skip auto-advance.
**Exception:** If `gaps_found`, the `verify_phase_goal` step already presents the gap-closure path (`/gsd-plan-phase {X} --gaps`). No additional routing needed — skip auto-advance.
**No-transition check (spawned by auto-advance chain):**
@@ -1109,15 +1109,15 @@ Read and follow `~/.claude/get-shit-done/workflows/transition.md`, passing throu
**STOP. Do not auto-advance. Do not execute transition. Do not plan next phase. Present options to the user and wait.**
**IMPORTANT: There is NO `/gsd:transition` command. Never suggest it. The transition workflow is internal only.**
**IMPORTANT: There is NO `/gsd-transition` command. Never suggest it. The transition workflow is internal only.**
```
## ✓ Phase {X}: {Name} Complete
/gsd:progress ${GSD_WS} — see updated roadmap
/gsd:discuss-phase {next} ${GSD_WS} — discuss next phase before planning
/gsd:plan-phase {next} ${GSD_WS} — plan next phase
/gsd:execute-phase {next} ${GSD_WS} — execute next phase
/gsd-progress ${GSD_WS} — see updated roadmap
/gsd-discuss-phase {next} ${GSD_WS} — discuss next phase before planning
/gsd-plan-phase {next} ${GSD_WS} — plan next phase
/gsd-execute-phase {next} ${GSD_WS} — execute next phase
```
Only suggest the commands listed above. Do not invent or hallucinate command names.
@@ -1144,7 +1144,7 @@ For 1M+ context models, consider:
</failure_handling>
<resumption>
Re-run `/gsd:execute-phase {phase}` → discover_plans finds completed SUMMARYs → skips them → resumes from first incomplete plan → continues wave execution.
Re-run `/gsd-execute-phase {phase}` → discover_plans finds completed SUMMARYs → skips them → resumes from first incomplete plan → continues wave execution.
STATE.md tracks: last completed plan, current wave, pending checkpoints.
</resumption>

View File

@@ -492,9 +492,9 @@ If `USER_SETUP_CREATED=true`: display `⚠️ USER SETUP REQUIRED` with path + e
| Condition | Route | Action |
|-----------|-------|--------|
| summaries < plans | **A: More plans** | Find next PLAN without SUMMARY. Yolo: auto-continue. Interactive: show next plan, suggest `/gsd:execute-phase {phase}` + `/gsd:verify-work`. STOP here. |
| summaries = plans, current < highest phase | **B: Phase done** | Show completion, suggest `/gsd:plan-phase {Z+1}` + `/gsd:verify-work {Z}` + `/gsd:discuss-phase {Z+1}` |
| summaries = plans, current = highest phase | **C: Milestone done** | Show banner, suggest `/gsd:complete-milestone` + `/gsd:verify-work` + `/gsd:add-phase` |
| summaries < plans | **A: More plans** | Find next PLAN without SUMMARY. Yolo: auto-continue. Interactive: show next plan, suggest `/gsd-execute-phase {phase}` + `/gsd-verify-work`. STOP here. |
| summaries = plans, current < highest phase | **B: Phase done** | Show completion, suggest `/gsd-plan-phase {Z+1}` + `/gsd-verify-work {Z}` + `/gsd-discuss-phase {Z+1}` |
| summaries = plans, current = highest phase | **C: Milestone done** | Show banner, suggest `/gsd-complete-milestone` + `/gsd-verify-work` + `/gsd-add-phase` |
All routes: `/clear` first for fresh context.
</step>

View File

@@ -5,7 +5,7 @@ no research, no plan checking. Just: understand → do → commit → log.
For tasks like: fix a typo, update a config value, add a missing import, rename a
variable, commit uncommitted work, add a .gitignore entry, bump a version number.
Use /gsd:quick for anything that needs multi-step planning or research.
Use /gsd-quick for anything that needs multi-step planning or research.
</purpose>
<process>
@@ -34,8 +34,8 @@ If the task seems non-trivial (multi-file refactor, new feature, needs research)
say:
```
This looks like it needs planning. Use /gsd:quick instead:
/gsd:quick "{task description}"
This looks like it needs planning. Use /gsd-quick instead:
/gsd-quick "{task description}"
```
And stop.
@@ -93,8 +93,8 @@ No next-step suggestions. No workflow routing. Just done.
- NEVER spawn a Task/subagent — this runs inline
- NEVER create PLAN.md or SUMMARY.md files
- NEVER run research or plan-checking
- If the task takes more than 3 file edits, STOP and redirect to /gsd:quick
- If you're unsure how to implement it, STOP and redirect to /gsd:quick
- If the task takes more than 3 file edits, STOP and redirect to /gsd-quick
- If you're unsure how to implement it, STOP and redirect to /gsd-quick
</guardrails>
<success_criteria>

View File

@@ -207,11 +207,11 @@ Based on the evidence above, the most likely explanation is:
1. {Specific, actionable remediation step}
2. {Another step if applicable}
3. {Recovery command if applicable — e.g., `/gsd:resume-work`, `/gsd:execute-phase N`}
3. {Recovery command if applicable — e.g., `/gsd-resume-work`, `/gsd-execute-phase N`}
---
*Report generated by `/gsd:forensics`. All paths redacted for portability.*
*Report generated by `/gsd-forensics`. All paths redacted for portability.*
```
**Redaction rules:**

View File

@@ -62,10 +62,10 @@ Errors: N | Warnings: N | Info: N
## Errors
- [E001] config.json: JSON parse error at line 5
Fix: Run /gsd:health --repair to reset to defaults
Fix: Run /gsd-health --repair to reset to defaults
- [E002] PROJECT.md not found
Fix: Run /gsd:new-project to create
Fix: Run /gsd-new-project to create
```
**If warnings exist:**
@@ -90,7 +90,7 @@ Errors: N | Warnings: N | Info: N
**Footer (if repairable issues exist and --repair was NOT used):**
```
---
N issues can be auto-repaired. Run: /gsd:health --repair
N issues can be auto-repaired. Run: /gsd-health --repair
```
</step>
@@ -100,7 +100,7 @@ N issues can be auto-repaired. Run: /gsd:health --repair
Ask user if they want to run repairs:
```
Would you like to run /gsd:health --repair to fix N issues automatically?
Would you like to run /gsd-health --repair to fix N issues automatically?
```
If yes, re-run with --repair flag and display results.

View File

@@ -9,9 +9,9 @@ Display the complete GSD command reference. Output ONLY the reference content. D
## Quick Start
1. `/gsd:new-project` - Initialize project (includes research, requirements, roadmap)
2. `/gsd:plan-phase 1` - Create detailed plan for first phase
3. `/gsd:execute-phase 1` - Execute the phase
1. `/gsd-new-project` - Initialize project (includes research, requirements, roadmap)
2. `/gsd-plan-phase 1` - Create detailed plan for first phase
3. `/gsd-execute-phase 1` - Execute the phase
## Staying Updated
@@ -24,12 +24,12 @@ npx get-shit-done-cc@latest
## Core Workflow
```
/gsd:new-project → /gsd:plan-phase → /gsd:execute-phase → repeat
/gsd-new-project → /gsd-plan-phase → /gsd-execute-phase → repeat
```
### Project Initialization
**`/gsd:new-project`**
**`/gsd-new-project`**
Initialize new project through unified flow.
One command takes you from idea to ready-for-planning:
@@ -46,21 +46,21 @@ Creates all `.planning/` artifacts:
- `ROADMAP.md` — phases mapped to requirements
- `STATE.md` — project memory
Usage: `/gsd:new-project`
Usage: `/gsd-new-project`
**`/gsd:map-codebase`**
**`/gsd-map-codebase`**
Map an existing codebase for brownfield projects.
- Analyzes codebase with parallel Explore agents
- Creates `.planning/codebase/` with 7 focused documents
- Covers stack, architecture, structure, conventions, testing, integrations, concerns
- Use before `/gsd:new-project` on existing codebases
- Use before `/gsd-new-project` on existing codebases
Usage: `/gsd:map-codebase`
Usage: `/gsd-map-codebase`
### Phase Planning
**`/gsd:discuss-phase <number>`**
**`/gsd-discuss-phase <number>`**
Help articulate your vision for a phase before planning.
- Captures how you imagine this phase working
@@ -68,11 +68,11 @@ Help articulate your vision for a phase before planning.
- Use when you have ideas about how something should look/feel
- Optional `--batch` asks 2-5 related questions at a time instead of one-by-one
Usage: `/gsd:discuss-phase 2`
Usage: `/gsd:discuss-phase 2 --batch`
Usage: `/gsd:discuss-phase 2 --batch=3`
Usage: `/gsd-discuss-phase 2`
Usage: `/gsd-discuss-phase 2 --batch`
Usage: `/gsd-discuss-phase 2 --batch=3`
**`/gsd:research-phase <number>`**
**`/gsd-research-phase <number>`**
Comprehensive ecosystem research for niche/complex domains.
- Discovers standard stack, architecture patterns, pitfalls
@@ -80,18 +80,18 @@ Comprehensive ecosystem research for niche/complex domains.
- Use for 3D, games, audio, shaders, ML, and other specialized domains
- Goes beyond "which library" to ecosystem knowledge
Usage: `/gsd:research-phase 3`
Usage: `/gsd-research-phase 3`
**`/gsd:list-phase-assumptions <number>`**
**`/gsd-list-phase-assumptions <number>`**
See what Claude is planning to do before it starts.
- Shows Claude's intended approach for a phase
- Lets you course-correct if Claude misunderstood your vision
- No files created - conversational output only
Usage: `/gsd:list-phase-assumptions 3`
Usage: `/gsd-list-phase-assumptions 3`
**`/gsd:plan-phase <number>`**
**`/gsd-plan-phase <number>`**
Create detailed execution plan for a specific phase.
- Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
@@ -99,14 +99,14 @@ Create detailed execution plan for a specific phase.
- Includes verification criteria and success measures
- Multiple plans per phase supported (XX-01, XX-02, etc.)
Usage: `/gsd:plan-phase 1`
Usage: `/gsd-plan-phase 1`
Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
**PRD Express Path:** Pass `--prd path/to/requirements.md` to skip discuss-phase entirely. Your PRD becomes locked decisions in CONTEXT.md. Useful when you already have clear acceptance criteria.
### Execution
**`/gsd:execute-phase <phase-number>`**
**`/gsd-execute-phase <phase-number>`**
Execute all plans in a phase, or run a specific wave.
- Groups plans by wave (from frontmatter), executes waves sequentially
@@ -115,26 +115,26 @@ Execute all plans in a phase, or run a specific wave.
- Verifies phase goal after all plans complete
- Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
Usage: `/gsd:execute-phase 5`
Usage: `/gsd:execute-phase 5 --wave 2`
Usage: `/gsd-execute-phase 5`
Usage: `/gsd-execute-phase 5 --wave 2`
### Smart Router
**`/gsd:do <description>`**
**`/gsd-do <description>`**
Route freeform text to the right GSD command automatically.
- Analyzes natural language input to find the best matching GSD command
- Acts as a dispatcher — never does the work itself
- Resolves ambiguity by asking you to pick between top matches
- Use when you know what you want but don't know which `/gsd:*` command to run
- Use when you know what you want but don't know which `/gsd-*` command to run
Usage: `/gsd:do fix the login button`
Usage: `/gsd:do refactor the auth system`
Usage: `/gsd:do I want to start a new milestone`
Usage: `/gsd-do fix the login button`
Usage: `/gsd-do refactor the auth system`
Usage: `/gsd-do I want to start a new milestone`
### Quick Mode
**`/gsd:quick [--full] [--validate] [--discuss] [--research]`**
**`/gsd-quick [--full] [--validate] [--discuss] [--research]`**
Execute small, ad-hoc tasks with GSD guarantees but skip optional agents.
Quick mode uses the same system with a shorter path:
@@ -150,48 +150,48 @@ Flags enable additional quality steps:
Granular flags are composable: `--discuss --research --validate` gives the same as `--full`.
Usage: `/gsd:quick`
Usage: `/gsd:quick --full`
Usage: `/gsd:quick --research --validate`
Usage: `/gsd-quick`
Usage: `/gsd-quick --full`
Usage: `/gsd-quick --research --validate`
Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
---
**`/gsd:fast [description]`**
**`/gsd-fast [description]`**
Execute a trivial task inline — no subagents, no planning files, no overhead.
For tasks too small to justify planning: typo fixes, config changes, forgotten commits, simple additions. Runs in the current context, makes the change, commits, and logs to STATE.md.
- No PLAN.md or SUMMARY.md created
- No subagent spawned (runs inline)
- ≤ 3 file edits — redirects to `/gsd:quick` if task is non-trivial
- ≤ 3 file edits — redirects to `/gsd-quick` if task is non-trivial
- Atomic commit with conventional message
Usage: `/gsd:fast "fix the typo in README"`
Usage: `/gsd:fast "add .env to gitignore"`
Usage: `/gsd-fast "fix the typo in README"`
Usage: `/gsd-fast "add .env to gitignore"`
### Roadmap Management
**`/gsd:add-phase <description>`**
**`/gsd-add-phase <description>`**
Add new phase to end of current milestone.
- Appends to ROADMAP.md
- Uses next sequential number
- Updates phase directory structure
Usage: `/gsd:add-phase "Add admin dashboard"`
Usage: `/gsd-add-phase "Add admin dashboard"`
**`/gsd:insert-phase <after> <description>`**
**`/gsd-insert-phase <after> <description>`**
Insert urgent work as decimal phase between existing phases.
- Creates intermediate phase (e.g., 7.1 between 7 and 8)
- Useful for discovered work that must happen mid-milestone
- Maintains phase ordering
Usage: `/gsd:insert-phase 7 "Fix critical auth bug"`
Usage: `/gsd-insert-phase 7 "Fix critical auth bug"`
Result: Creates Phase 7.1
**`/gsd:remove-phase <number>`**
**`/gsd-remove-phase <number>`**
Remove a future phase and renumber subsequent phases.
- Deletes phase directory and all references
@@ -199,12 +199,12 @@ Remove a future phase and renumber subsequent phases.
- Only works on future (unstarted) phases
- Git commit preserves historical record
Usage: `/gsd:remove-phase 17`
Usage: `/gsd-remove-phase 17`
Result: Phase 17 deleted, phases 18-20 become 17-19
### Milestone Management
**`/gsd:new-milestone <name>`**
**`/gsd-new-milestone <name>`**
Start a new milestone through unified flow.
- Deep questioning to understand what you're building next
@@ -213,12 +213,12 @@ Start a new milestone through unified flow.
- Roadmap creation with phase breakdown
- Optional `--reset-phase-numbers` flag restarts numbering at Phase 1 and archives old phase dirs first for safety
Mirrors `/gsd:new-project` flow for brownfield projects (existing PROJECT.md).
Mirrors `/gsd-new-project` flow for brownfield projects (existing PROJECT.md).
Usage: `/gsd:new-milestone "v2.0 Features"`
Usage: `/gsd:new-milestone --reset-phase-numbers "v2.0 Features"`
Usage: `/gsd-new-milestone "v2.0 Features"`
Usage: `/gsd-new-milestone --reset-phase-numbers "v2.0 Features"`
**`/gsd:complete-milestone <version>`**
**`/gsd-complete-milestone <version>`**
Archive completed milestone and prepare for next version.
- Creates MILESTONES.md entry with stats
@@ -226,11 +226,11 @@ Archive completed milestone and prepare for next version.
- Creates git tag for the release
- Prepares workspace for next version
Usage: `/gsd:complete-milestone 1.0.0`
Usage: `/gsd-complete-milestone 1.0.0`
### Progress Tracking
**`/gsd:progress`**
**`/gsd-progress`**
Check project status and intelligently route to next action.
- Shows visual progress bar and completion percentage
@@ -240,45 +240,45 @@ Check project status and intelligently route to next action.
- Offers to execute next plan or create it if missing
- Detects 100% milestone completion
Usage: `/gsd:progress`
Usage: `/gsd-progress`
### Session Management
**`/gsd:resume-work`**
**`/gsd-resume-work`**
Resume work from previous session with full context restoration.
- Reads STATE.md for project context
- Shows current position and recent progress
- Offers next actions based on project state
Usage: `/gsd:resume-work`
Usage: `/gsd-resume-work`
**`/gsd:pause-work`**
**`/gsd-pause-work`**
Create context handoff when pausing work mid-phase.
- Creates .continue-here file with current state
- Updates STATE.md session continuity section
- Captures in-progress work context
Usage: `/gsd:pause-work`
Usage: `/gsd-pause-work`
### Debugging
**`/gsd:debug [issue description]`**
**`/gsd-debug [issue description]`**
Systematic debugging with persistent state across context resets.
- Gathers symptoms through adaptive questioning
- Creates `.planning/debug/[slug].md` to track investigation
- Investigates using scientific method (evidence → hypothesis → test)
- Survives `/clear` — run `/gsd:debug` with no args to resume
- Survives `/clear` — run `/gsd-debug` with no args to resume
- Archives resolved issues to `.planning/debug/resolved/`
Usage: `/gsd:debug "login button doesn't work"`
Usage: `/gsd:debug` (resume active session)
Usage: `/gsd-debug "login button doesn't work"`
Usage: `/gsd-debug` (resume active session)
### Quick Notes
**`/gsd:note <text>`**
**`/gsd-note <text>`**
Zero-friction idea capture — one command, instant save, no questions.
- Saves timestamped note to `.planning/notes/` (or `~/.claude/notes/` globally)
@@ -286,14 +286,14 @@ Zero-friction idea capture — one command, instant save, no questions.
- Promote converts a note into a structured todo
- Works without a project (falls back to global scope)
Usage: `/gsd:note refactor the hook system`
Usage: `/gsd:note list`
Usage: `/gsd:note promote 3`
Usage: `/gsd:note --global cross-project idea`
Usage: `/gsd-note refactor the hook system`
Usage: `/gsd-note list`
Usage: `/gsd-note promote 3`
Usage: `/gsd-note --global cross-project idea`
### Todo Management
**`/gsd:add-todo [description]`**
**`/gsd-add-todo [description]`**
Capture idea or task as todo from current conversation.
- Extracts context from conversation (or uses provided description)
@@ -302,24 +302,24 @@ Capture idea or task as todo from current conversation.
- Checks for duplicates before creating
- Updates STATE.md todo count
Usage: `/gsd:add-todo` (infers from conversation)
Usage: `/gsd:add-todo Add auth token refresh`
Usage: `/gsd-add-todo` (infers from conversation)
Usage: `/gsd-add-todo Add auth token refresh`
**`/gsd:check-todos [area]`**
**`/gsd-check-todos [area]`**
List pending todos and select one to work on.
- Lists all pending todos with title, area, age
- Optional area filter (e.g., `/gsd:check-todos api`)
- Optional area filter (e.g., `/gsd-check-todos api`)
- Loads full context for selected todo
- Routes to appropriate action (work now, add to phase, brainstorm)
- Moves todo to done/ when work begins
Usage: `/gsd:check-todos`
Usage: `/gsd:check-todos api`
Usage: `/gsd-check-todos`
Usage: `/gsd-check-todos api`
### User Acceptance Testing
**`/gsd:verify-work [phase]`**
**`/gsd-verify-work [phase]`**
Validate built features through conversational UAT.
- Extracts testable deliverables from SUMMARY.md files
@@ -327,11 +327,11 @@ Validate built features through conversational UAT.
- Automatically diagnoses failures and creates fix plans
- Ready for re-execution if issues found
Usage: `/gsd:verify-work 3`
Usage: `/gsd-verify-work 3`
### Ship Work
**`/gsd:ship [phase]`**
**`/gsd-ship [phase]`**
Create a PR from completed phase work with an auto-generated body.
- Pushes branch to remote
@@ -341,57 +341,57 @@ Create a PR from completed phase work with an auto-generated body.
Prerequisites: Phase verified, `gh` CLI installed and authenticated.
Usage: `/gsd:ship 4` or `/gsd:ship 4 --draft`
Usage: `/gsd-ship 4` or `/gsd-ship 4 --draft`
---
**`/gsd:review --phase N [--gemini] [--claude] [--codex] [--coderabbit] [--all]`**
**`/gsd-review --phase N [--gemini] [--claude] [--codex] [--coderabbit] [--all]`**
Cross-AI peer review — invoke external AI CLIs to independently review phase plans.
- Detects available CLIs (gemini, claude, codex, coderabbit)
- Each CLI reviews plans independently with the same structured prompt
- CodeRabbit reviews the current git diff (not a prompt) — may take up to 5 minutes
- Produces REVIEWS.md with per-reviewer feedback and consensus summary
- Feed reviews back into planning: `/gsd:plan-phase N --reviews`
- Feed reviews back into planning: `/gsd-plan-phase N --reviews`
Usage: `/gsd:review --phase 3 --all`
Usage: `/gsd-review --phase 3 --all`
---
**`/gsd:pr-branch [target]`**
**`/gsd-pr-branch [target]`**
Create a clean branch for pull requests by filtering out .planning/ commits.
- Classifies commits: code-only (include), planning-only (exclude), mixed (include sans .planning/)
- Cherry-picks code commits onto a clean branch
- Reviewers see only code changes, no GSD artifacts
Usage: `/gsd:pr-branch` or `/gsd:pr-branch main`
Usage: `/gsd-pr-branch` or `/gsd-pr-branch main`
---
**`/gsd:plant-seed [idea]`**
**`/gsd-plant-seed [idea]`**
Capture a forward-looking idea with trigger conditions for automatic surfacing.
- Seeds preserve WHY, WHEN to surface, and breadcrumbs to related code
- Auto-surfaces during `/gsd:new-milestone` when trigger conditions match
- Auto-surfaces during `/gsd-new-milestone` when trigger conditions match
- Better than deferred items — triggers are checked, not forgotten
Usage: `/gsd:plant-seed "add real-time notifications when we build the events system"`
Usage: `/gsd-plant-seed "add real-time notifications when we build the events system"`
---
**`/gsd:audit-uat`**
**`/gsd-audit-uat`**
Cross-phase audit of all outstanding UAT and verification items.
- Scans every phase for pending, skipped, blocked, and human_needed items
- Cross-references against codebase to detect stale documentation
- Produces prioritized human test plan grouped by testability
- Use before starting a new milestone to clear verification debt
Usage: `/gsd:audit-uat`
Usage: `/gsd-audit-uat`
### Milestone Auditing
**`/gsd:audit-milestone [version]`**
**`/gsd-audit-milestone [version]`**
Audit milestone completion against original intent.
- Reads all phase VERIFICATION.md files
@@ -399,30 +399,30 @@ Audit milestone completion against original intent.
- Spawns integration checker for cross-phase wiring
- Creates MILESTONE-AUDIT.md with gaps and tech debt
Usage: `/gsd:audit-milestone`
Usage: `/gsd-audit-milestone`
**`/gsd:plan-milestone-gaps`**
**`/gsd-plan-milestone-gaps`**
Create phases to close gaps identified by audit.
- Reads MILESTONE-AUDIT.md and groups gaps into phases
- Prioritizes by requirement priority (must/should/nice)
- Adds gap closure phases to ROADMAP.md
- Ready for `/gsd:plan-phase` on new phases
- Ready for `/gsd-plan-phase` on new phases
Usage: `/gsd:plan-milestone-gaps`
Usage: `/gsd-plan-milestone-gaps`
### Configuration
**`/gsd:settings`**
**`/gsd-settings`**
Configure workflow toggles and model profile interactively.
- Toggle researcher, plan checker, verifier agents
- Select model profile (quality/balanced/budget/inherit)
- Updates `.planning/config.json`
Usage: `/gsd:settings`
Usage: `/gsd-settings`
**`/gsd:set-profile <profile>`**
**`/gsd-set-profile <profile>`**
Quick switch model profile for GSD agents.
- `quality` — Opus everywhere except verification
@@ -430,11 +430,11 @@ Quick switch model profile for GSD agents.
- `budget` — Sonnet for writing, Haiku for research/verification
- `inherit` — Use current session model for all agents (OpenCode `/model`)
Usage: `/gsd:set-profile budget`
Usage: `/gsd-set-profile budget`
### Utility Commands
**`/gsd:cleanup`**
**`/gsd-cleanup`**
Archive accumulated phase directories from completed milestones.
- Identifies phases from completed milestones still in `.planning/phases/`
@@ -442,12 +442,12 @@ Archive accumulated phase directories from completed milestones.
- Moves phase dirs to `.planning/milestones/v{X.Y}-phases/`
- Use after multiple milestones to reduce `.planning/phases/` clutter
Usage: `/gsd:cleanup`
Usage: `/gsd-cleanup`
**`/gsd:help`**
**`/gsd-help`**
Show this command reference.
**`/gsd:update`**
**`/gsd-update`**
Update GSD to latest version with changelog preview.
- Shows installed vs latest version comparison
@@ -456,15 +456,15 @@ Update GSD to latest version with changelog preview.
- Confirms before running install
- Better than raw `npx get-shit-done-cc`
Usage: `/gsd:update`
Usage: `/gsd-update`
**`/gsd:join-discord`**
**`/gsd-join-discord`**
Join the GSD Discord community.
- Get help, share what you're building, stay updated
- Connect with other GSD users
Usage: `/gsd:join-discord`
Usage: `/gsd-join-discord`
## Files & Structure
@@ -483,7 +483,7 @@ Usage: `/gsd:join-discord`
├── milestones/
│ ├── v1.0-ROADMAP.md # Archived roadmap snapshot
│ ├── v1.0-REQUIREMENTS.md # Archived requirements
│ └── v1.0-phases/ # Archived phase dirs (via /gsd:cleanup or --archive-phases)
│ └── v1.0-phases/ # Archived phase dirs (via /gsd-cleanup or --archive-phases)
│ ├── 01-foundation/
│ └── 02-core-features/
├── codebase/ # Codebase map (brownfield projects)
@@ -505,7 +505,7 @@ Usage: `/gsd:join-discord`
## Workflow Modes
Set during `/gsd:new-project`:
Set during `/gsd-new-project`:
**Interactive Mode**
@@ -553,51 +553,51 @@ Example config:
**Starting a new project:**
```
/gsd:new-project # Unified flow: questioning → research → requirements → roadmap
/gsd-new-project # Unified flow: questioning → research → requirements → roadmap
/clear
/gsd:plan-phase 1 # Create plans for first phase
/gsd-plan-phase 1 # Create plans for first phase
/clear
/gsd:execute-phase 1 # Execute all plans in phase
/gsd-execute-phase 1 # Execute all plans in phase
```
**Resuming work after a break:**
```
/gsd:progress # See where you left off and continue
/gsd-progress # See where you left off and continue
```
**Adding urgent mid-milestone work:**
```
/gsd:insert-phase 5 "Critical security fix"
/gsd:plan-phase 5.1
/gsd:execute-phase 5.1
/gsd-insert-phase 5 "Critical security fix"
/gsd-plan-phase 5.1
/gsd-execute-phase 5.1
```
**Completing a milestone:**
```
/gsd:complete-milestone 1.0.0
/gsd-complete-milestone 1.0.0
/clear
/gsd:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
/gsd-new-milestone # Start next milestone (questioning → research → requirements → roadmap)
```
**Capturing ideas during work:**
```
/gsd:add-todo # Capture from conversation context
/gsd:add-todo Fix modal z-index # Capture with explicit description
/gsd:check-todos # Review and work on todos
/gsd:check-todos api # Filter by area
/gsd-add-todo # Capture from conversation context
/gsd-add-todo Fix modal z-index # Capture with explicit description
/gsd-check-todos # Review and work on todos
/gsd-check-todos api # Filter by area
```
**Debugging an issue:**
```
/gsd:debug "form submission fails silently" # Start debug session
/gsd-debug "form submission fails silently" # Start debug session
# ... investigation happens, context fills up ...
/clear
/gsd:debug # Resume from where you left off
/gsd-debug # Resume from where you left off
```
## Getting Help
@@ -605,5 +605,5 @@ Example config:
- Read `.planning/PROJECT.md` for project vision
- Read `.planning/STATE.md` for current context
- Check `.planning/ROADMAP.md` for phase status
- Run `/gsd:progress` to check where you're up to
- Run `/gsd-progress` to check where you're up to
</reference>

View File

@@ -13,7 +13,7 @@ Parse the command arguments:
- First argument: integer phase number to insert after
- Remaining arguments: phase description
Example: `/gsd:insert-phase 72 Fix critical auth bug`
Example: `/gsd-insert-phase 72 Fix critical auth bug`
-> after = 72
-> description = "Fix critical auth bug"
@@ -21,8 +21,8 @@ If arguments missing:
```
ERROR: Both phase number and description required
Usage: /gsd:insert-phase <after> <description>
Example: /gsd:insert-phase 72 Fix critical auth bug
Usage: /gsd-insert-phase <after> <description>
Example: /gsd-insert-phase 72 Fix critical auth bug
```
Exit.
@@ -95,7 +95,7 @@ Project state updated: .planning/STATE.md
`/clear` then:
`/gsd:plan-phase {decimal_phase}`
`/gsd-plan-phase {decimal_phase}`
---
@@ -111,11 +111,11 @@ Project state updated: .planning/STATE.md
<anti_patterns>
- Don't use this for planned work at end of milestone (use /gsd:add-phase)
- Don't use this for planned work at end of milestone (use /gsd-add-phase)
- Don't insert before Phase 1 (decimal 0.1 makes no sense)
- Don't renumber existing phases
- Don't modify the target phase content
- Don't create plans yet (that's /gsd:plan-phase)
- Don't create plans yet (that's /gsd-plan-phase)
- Don't commit changes (user decides when to commit)
</anti_patterns>

View File

@@ -14,8 +14,8 @@ Phase number: $ARGUMENTS (required)
```
Error: Phase number required.
Usage: /gsd:list-phase-assumptions [phase-number]
Example: /gsd:list-phase-assumptions 3
Usage: /gsd-list-phase-assumptions [phase-number]
Example: /gsd-list-phase-assumptions 3
```
Exit workflow.
@@ -153,8 +153,8 @@ Present next steps:
```
What's next?
1. Discuss context (/gsd:discuss-phase ${PHASE}) - Let me ask you questions to build comprehensive context
2. Plan this phase (/gsd:plan-phase ${PHASE}) - Create detailed execution plans
1. Discuss context (/gsd-discuss-phase ${PHASE}) - Let me ask you questions to build comprehensive context
2. Plan this phase (/gsd-plan-phase ${PHASE}) - Create detailed execution plans
3. Re-examine assumptions - I'll analyze again with your corrections
4. Done for now
```

View File

@@ -25,7 +25,7 @@ Parse JSON for: `workspace_base`, `workspaces`, `workspace_count`.
No workspaces found in ~/gsd-workspaces/
Create one with:
/gsd:new-workspace --name my-workspace --repos repo1,repo2
/gsd-new-workspace --name my-workspace --repos repo1,repo2
```
Done.
@@ -44,7 +44,7 @@ GSD Workspaces (~/gsd-workspaces/)
Manage:
cd ~/gsd-workspaces/<name> # Enter a workspace
/gsd:remove-workspace <name> # Remove a workspace
/gsd-remove-workspace <name> # Remove a workspace
```
For each workspace, show:

View File

@@ -122,8 +122,8 @@ Ask user via AskUserQuestion:
- **options:** "Verify work" / "Complete milestone" / "Exit manager"
Handle responses:
- "Verify work": `Skill(skill="gsd:verify-work")` then loop to dashboard.
- "Complete milestone": `Skill(skill="gsd:complete-milestone")` then exit.
- "Verify work": `Skill(skill="gsd-verify-work")` then loop to dashboard.
- "Complete milestone": `Skill(skill="gsd-complete-milestone")` then exit.
- "Exit manager": Go to exit step.
**If NOT all_complete**, build compound options from `recommended_actions`:
@@ -200,7 +200,7 @@ When the user selects a compound option:
2. **Then run the inline discuss:**
```
Skill(skill="gsd:discuss-phase", args="{PHASE_NUM} {manager_flags.discuss}")
Skill(skill="gsd-discuss-phase", args="{PHASE_NUM} {manager_flags.discuss}")
```
After discuss completes, loop back to dashboard step (background agents continue running).
@@ -210,7 +210,7 @@ After discuss completes, loop back to dashboard step (background agents continue
Discussion is interactive — needs user input. Run inline with any configured flags:
```
Skill(skill="gsd:discuss-phase", args="{PHASE_NUM} {manager_flags.discuss}")
Skill(skill="gsd-discuss-phase", args="{PHASE_NUM} {manager_flags.discuss}")
```
After discuss completes, loop back to dashboard step.
@@ -231,7 +231,7 @@ Goal: {goal}
Manager flags: {manager_flags.plan}
Run the plan-phase Skill with any configured manager flags:
Skill(skill=\"gsd:plan-phase\", args=\"{N} --auto {manager_flags.plan}\")
Skill(skill=\"gsd-plan-phase\", args=\"{N} --auto {manager_flags.plan}\")
This delegates to the full plan-phase pipeline including local patches, research, plan-checker, and all quality gates.
@@ -263,7 +263,7 @@ Goal: {goal}
Manager flags: {manager_flags.execute}
Run the execute-phase Skill with any configured manager flags:
Skill(skill=\"gsd:execute-phase\", args=\"{N} {manager_flags.execute}\")
Skill(skill=\"gsd-execute-phase\", args=\"{N} {manager_flags.execute}\")
This delegates to the full execute-phase pipeline including local patches, branching, wave-based execution, verification, and all quality gates.
@@ -307,7 +307,7 @@ Classify the error:
- **question:** "Phase {N} failed — permission denied for `{tool_or_command}`. Want me to add it to settings.local.json so it's allowed?"
- **options:** "Add permission and retry" / "Run this phase inline instead" / "Skip and continue"
- "Add permission and retry": Use `Skill(skill="update-config")` to add the permission to `settings.local.json`, then re-spawn the background agent. Loop to dashboard.
- "Run this phase inline instead": Dispatch the same action inline via the appropriate Skill — use `Skill(skill="gsd:plan-phase", args="{N}")` if the failed action was planning, or `Skill(skill="gsd:execute-phase", args="{N}")` if the failed action was execution. Loop to dashboard after.
- "Run this phase inline instead": Dispatch the same action inline via the appropriate Skill — use `Skill(skill="gsd-plan-phase", args="{N}")` if the failed action was planning, or `Skill(skill="gsd-execute-phase", args="{N}")` if the failed action was execution. Loop to dashboard after.
- "Skip and continue": Loop to dashboard (phase stays in current state).
**Other errors** (git lock, file conflict, logic error, etc.):
@@ -315,7 +315,7 @@ Classify the error:
- **question:** "Background agent for Phase {N} encountered an issue: {error}. What next?"
- **options:** "Retry" / "Run inline instead" / "Skip and continue" / "View details"
- "Retry": Re-spawn the same background agent. Loop to dashboard.
- "Run inline instead": Dispatch the action inline via the appropriate Skill — use `Skill(skill="gsd:plan-phase", args="{N}")` if the failed action was planning, or `Skill(skill="gsd:execute-phase", args="{N}")` if the failed action was execution. Loop to dashboard after.
- "Run inline instead": Dispatch the action inline via the appropriate Skill — use `Skill(skill="gsd-plan-phase", args="{N}")` if the failed action was planning, or `Skill(skill="gsd-execute-phase", args="{N}")` if the failed action was execution. Loop to dashboard after.
- "Skip and continue": Loop to dashboard (phase stays in current state).
- "View details": Read STATE.md blockers section, display, then re-present options.

View File

@@ -351,12 +351,12 @@ Created .planning/codebase/:
`/clear` then:
`/gsd:new-project`
`/gsd-new-project`
---
**Also available:**
- Re-run mapping: `/gsd:map-codebase`
- Re-run mapping: `/gsd-map-codebase`
- Review specific file: `cat .planning/codebase/STACK.md`
- Edit any document before proceeding

View File

@@ -15,7 +15,7 @@ If `$ARGUMENTS` is empty:
1. Check `.planning/STATE.md` for current milestone version
2. Check `.planning/milestones/` for the latest archived version
3. If neither found, check if `.planning/ROADMAP.md` exists (project may be mid-milestone)
4. If nothing found: error "No milestone found. Run /gsd:new-project or /gsd:new-milestone first."
4. If nothing found: error "No milestone found. Run /gsd-new-project or /gsd-new-milestone first."
Set `VERSION` to the resolved version (e.g., "1.0").
@@ -212,7 +212,7 @@ If the user asks questions:
- Stay grounded in what was actually built (not speculation)
If the user is done:
- Suggest next steps: `/gsd:new-milestone`, `/gsd:progress`, or sharing the summary with the team
- Suggest next steps: `/gsd-new-milestone`, `/gsd-progress`, or sharing the summary with the team
## Step 9: Update STATE.md

View File

@@ -30,7 +30,7 @@ If the flag is absent, keep the current behavior of continuing phase numbering f
- Read PROJECT.md (existing project, validated requirements, decisions)
- Read MILESTONES.md (what shipped previously)
- Read STATE.md (pending todos, blockers)
- Check for MILESTONE-CONTEXT.md (from /gsd:discuss-milestone)
- Check for MILESTONE-CONTEXT.md (from /gsd-discuss-milestone)
## 2. Gather Milestone Goals
@@ -106,14 +106,14 @@ Ensure the `## Evolution` section exists in PROJECT.md. If missing (projects cre
This document evolves at phase transitions and milestone boundaries.
**After each phase transition** (via `/gsd:transition`):
**After each phase transition** (via `/gsd-transition`):
1. Requirements invalidated? → Move to Out of Scope with reason
2. Requirements validated? → Move to Validated with phase reference
3. New requirements emerged? → Add to Active
4. Decisions to log? → Add to Key Decisions
5. "What This Is" still accurate? → Update if drifted
**After each milestone** (via `/gsd:complete-milestone`):
**After each milestone** (via `/gsd-complete-milestone`):
1. Full review of all sections
2. Core Value check — still the right priority?
3. Audit Out of Scope — reasons still valid?
@@ -177,7 +177,7 @@ Then verify `.planning/phases/` no longer contains old milestone directories bef
If `phase_dir_count > 0` but `phase_archive_path` is missing:
- Stop and explain that reset numbering is unsafe without a completed milestone archive target.
- Tell the user to complete/archive the previous milestone first, then rerun `/gsd:new-milestone --reset-phase-numbers ${GSD_WS}`.
- Tell the user to complete/archive the previous milestone first, then rerun `/gsd-new-milestone --reset-phase-numbers ${GSD_WS}`.
## 8. Research Decision
@@ -195,7 +195,7 @@ AskUserQuestion: "Research the domain ecosystem for new features before defining
- "Skip research (current default)" — Go straight to requirements
- "Research first" — Discover patterns, features, architecture for NEW capabilities
**IMPORTANT:** Do NOT persist this choice to config.json. The `workflow.research` setting is a persistent user preference that controls plan-phase behavior across the project. Changing it here would silently alter future `/gsd:plan-phase` behavior. To change the default, use `/gsd:settings`.
**IMPORTANT:** Do NOT persist this choice to config.json. The `workflow.research` setting is a persistent user preference that controls plan-phase behavior across the project. Changing it here would silently alter future `/gsd-plan-phase` behavior. To change the default, use `/gsd-settings`.
**If user chose "Research first":**
@@ -467,9 +467,9 @@ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs: create milest
`/clear` then:
`/gsd:discuss-phase [N] ${GSD_WS}` — gather context and clarify approach
`/gsd-discuss-phase [N] ${GSD_WS}` — gather context and clarify approach
Also: `/gsd:plan-phase [N] ${GSD_WS}` — skip discussion, plan directly
Also: `/gsd-plan-phase [N] ${GSD_WS}` — skip discussion, plan directly
```
</process>
@@ -486,7 +486,7 @@ Also: `/gsd:plan-phase [N] ${GSD_WS}` — skip discussion, plan directly
- [ ] User feedback incorporated (if any)
- [ ] Phase numbering mode respected (continued or reset)
- [ ] All commits made (if planning docs committed)
- [ ] User knows next step: `/gsd:discuss-phase [N] ${GSD_WS}`
- [ ] User knows next step: `/gsd-discuss-phase [N] ${GSD_WS}`
**Atomic commits:** Each phase commits its artifacts immediately.
</success_criteria>

View File

@@ -33,7 +33,7 @@ Check if `--auto` flag is present in $ARGUMENTS.
**Document requirement:**
Auto mode requires an idea document — either:
- File reference: `/gsd:new-project --auto @prd.md`
- File reference: `/gsd-new-project --auto @prd.md`
- Pasted/written text in the prompt
If no document content provided, error:
@@ -42,8 +42,8 @@ If no document content provided, error:
Error: --auto requires an idea document.
Usage:
/gsd:new-project --auto @your-idea.md
/gsd:new-project --auto [paste or write your idea here]
/gsd-new-project --auto @your-idea.md
/gsd-new-project --auto [paste or write your idea here]
The document should describe what you want to build.
```
@@ -89,7 +89,7 @@ if [ "$RUNTIME" = "codex" ]; then INSTRUCTION_FILE="AGENTS.md"; else INSTRUCTION
All subsequent references to the project instruction file use `$INSTRUCTION_FILE`.
**If `project_exists` is true:** Error — project already initialized. Use `/gsd:progress`.
**If `project_exists` is true:** Error — project already initialized. Use `/gsd-progress`.
**If `has_git` is false:** Initialize git:
@@ -108,13 +108,13 @@ Use AskUserQuestion:
- header: "Codebase"
- question: "I detected existing code in this directory. Would you like to map the codebase first?"
- options:
- "Map codebase first" — Run /gsd:map-codebase to understand existing architecture (Recommended)
- "Map codebase first" — Run /gsd-map-codebase to understand existing architecture (Recommended)
- "Skip mapping" — Proceed with project initialization
**If "Map codebase first":**
```
Run `/gsd:map-codebase` first, then return to `/gsd:new-project`
Run `/gsd-map-codebase` first, then return to `/gsd-new-project`
```
Exit command.
@@ -381,14 +381,14 @@ Initialize with any decisions made during questioning:
This document evolves at phase transitions and milestone boundaries.
**After each phase transition** (via `/gsd:transition`):
**After each phase transition** (via `/gsd-transition`):
1. Requirements invalidated? → Move to Out of Scope with reason
2. Requirements validated? → Move to Validated with phase reference
3. New requirements emerged? → Add to Active
4. Decisions to log? → Add to Key Decisions
5. "What This Is" still accurate? → Update if drifted
**After each milestone** (via `/gsd:complete-milestone`):
**After each milestone** (via `/gsd-complete-milestone`):
1. Full review of all sections
2. Core Value check — still the right priority?
3. Audit Out of Scope — reasons still valid?
@@ -534,7 +534,7 @@ mkdir -p .planning
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-new-project '{"mode":"[yolo|interactive]","granularity":"[selected]","parallelization":true|false,"commit_docs":true|false,"model_profile":"quality|balanced|budget|inherit","workflow":{"research":true|false,"plan_check":true|false,"verifier":true|false,"nyquist_validation":[false if granularity=coarse, true otherwise]}}'
```
**Note:** Run `/gsd:settings` anytime to update model profile, workflow agents, branching strategy, and other preferences.
**Note:** Run `/gsd-settings` anytime to update model profile, workflow agents, branching strategy, and other preferences.
**If commit_docs = No:**
@@ -1174,7 +1174,7 @@ Present completion summary:
╚══════════════════════════════════════════╝
```
Exit skill and invoke SlashCommand("/gsd:discuss-phase 1 --auto")
Exit skill and invoke SlashCommand("/gsd-discuss-phase 1 --auto")
**If interactive mode:**
@@ -1196,13 +1196,13 @@ PHASE1_HAS_UI=$(echo "$PHASE1_SECTION" | grep -qi "UI hint.*yes" && echo "true"
/clear then:
/gsd:discuss-phase 1 — gather context and clarify approach
/gsd-discuss-phase 1 — gather context and clarify approach
---
**Also available:**
- /gsd:ui-phase 1 — generate UI design contract (recommended for frontend phases)
- /gsd:plan-phase 1 — skip discussion, plan directly
- /gsd-ui-phase 1 — generate UI design contract (recommended for frontend phases)
- /gsd-plan-phase 1 — skip discussion, plan directly
───────────────────────────────────────────────────────────────
```
@@ -1218,12 +1218,12 @@ PHASE1_HAS_UI=$(echo "$PHASE1_SECTION" | grep -qi "UI hint.*yes" && echo "true"
/clear then:
/gsd:discuss-phase 1 — gather context and clarify approach
/gsd-discuss-phase 1 — gather context and clarify approach
---
**Also available:**
- /gsd:plan-phase 1 — skip discussion, plan directly
- /gsd-plan-phase 1 — skip discussion, plan directly
───────────────────────────────────────────────────────────────
```
@@ -1266,7 +1266,7 @@ PHASE1_HAS_UI=$(echo "$PHASE1_SECTION" | grep -qi "UI hint.*yes" && echo "true"
- [ ] STATE.md initialized
- [ ] REQUIREMENTS.md traceability updated
- [ ] `$INSTRUCTION_FILE` generated with GSD workflow guidance (AGENTS.md for Codex, CLAUDE.md otherwise)
- [ ] User knows next step is `/gsd:discuss-phase 1`
- [ ] User knows next step is `/gsd-discuss-phase 1`
**Atomic commits:** Each phase commits its artifacts immediately. If context is lost, artifacts persist.

View File

@@ -71,7 +71,7 @@ Error:
No git repos found in the current directory and this is not a git repo.
Run this command from a directory containing git repos, or specify repos explicitly:
/gsd:new-workspace --name my-workspace --repos /path/to/repo1,/path/to/repo2
/gsd-new-workspace --name my-workspace --repos /path/to/repo1,/path/to/repo2
```
Exit.
@@ -82,7 +82,7 @@ Error:
Error: --auto requires --repos to specify which repos to include.
Usage:
/gsd:new-workspace --name my-workspace --repos repo1,repo2 --auto
/gsd-new-workspace --name my-workspace --repos repo1,repo2 --auto
```
Exit.
@@ -201,7 +201,7 @@ Workspace created: $TARGET_PATH
Next steps:
cd $TARGET_PATH
/gsd:new-project # Initialize GSD in the workspace
/gsd-new-project # Initialize GSD in the workspace
```
**If some repos failed:**
@@ -214,7 +214,7 @@ Workspace created with $SUCCESS_COUNT of $TOTAL_COUNT repos: $TARGET_PATH
Next steps:
cd $TARGET_PATH
/gsd:new-project # Initialize GSD in the workspace
/gsd-new-project # Initialize GSD in the workspace
```
**Offer to initialize GSD (if not `--auto`):**
@@ -223,7 +223,7 @@ Use AskUserQuestion:
- header: "Initialize GSD"
- question: "Would you like to initialize a GSD project in the new workspace?"
- options:
- "Yes — run /gsd:new-project" → tell user to `cd $TARGET_PATH` first, then run `/gsd:new-project`
- "Yes — run /gsd-new-project" → tell user to `cd $TARGET_PATH` first, then run `/gsd-new-project`
- "No — I'll set it up later" → done
</process>

View File

@@ -29,7 +29,7 @@ Extract:
If no `.planning/` directory exists:
```
No GSD project detected. Run `/gsd:new-project` to get started.
No GSD project detected. Run `/gsd-new-project` to get started.
```
Exit.
</step>
@@ -39,35 +39,35 @@ Apply routing rules based on state:
**Route 1: No phases exist yet → discuss**
If ROADMAP has phases but no phase directories exist on disk:
→ Next action: `/gsd:discuss-phase <first-phase>`
→ Next action: `/gsd-discuss-phase <first-phase>`
**Route 2: Phase exists but has no CONTEXT.md or RESEARCH.md → discuss**
If the current phase directory exists but has neither CONTEXT.md nor RESEARCH.md:
→ Next action: `/gsd:discuss-phase <current-phase>`
→ Next action: `/gsd-discuss-phase <current-phase>`
**Route 3: Phase has context but no plans → plan**
If the current phase has CONTEXT.md (or RESEARCH.md) but no PLAN.md files:
→ Next action: `/gsd:plan-phase <current-phase>`
→ Next action: `/gsd-plan-phase <current-phase>`
**Route 4: Phase has plans but incomplete summaries → execute**
If plans exist but not all have matching summaries:
→ Next action: `/gsd:execute-phase <current-phase>`
→ Next action: `/gsd-execute-phase <current-phase>`
**Route 5: All plans have summaries → verify and complete**
If all plans in the current phase have summaries:
→ Next action: `/gsd:verify-work`
→ Next action: `/gsd-verify-work`
**Route 6: Phase complete, next phase exists → advance**
If the current phase is complete and the next phase exists in ROADMAP:
→ Next action: `/gsd:discuss-phase <next-phase>`
→ Next action: `/gsd-discuss-phase <next-phase>`
**Route 7: All phases complete → complete milestone**
If all phases are complete:
→ Next action: `/gsd:complete-milestone`
→ Next action: `/gsd-complete-milestone`
**Route 8: Paused → resume**
If STATE.md shows paused_at:
→ Next action: `/gsd:resume-work`
→ Next action: `/gsd-resume-work`
</step>
<step name="show_and_execute">
@@ -79,12 +79,12 @@ Display the determination:
**Current:** Phase [N] — [name] | [progress]%
**Status:** [status description]
▶ **Next step:** `/gsd:[command] [args]`
▶ **Next step:** `/gsd-[command] [args]`
[One-line explanation of why this is the next step]
```
Then immediately invoke the determined command via SlashCommand.
Do not ask for confirmation — the whole point of `/gsd:next` is zero-friction advancement.
Do not ask for confirmation — the whole point of `/gsd-next` is zero-friction advancement.
</step>
</process>

View File

@@ -43,7 +43,7 @@ promoted: false
| Arguments are empty (no text at all) | **list** |
| Anything else | **append** (the text IS the note) |
**Critical**: `list` is only a subcommand when it's the ENTIRE argument. `/gsd:note list of groceries` saves a note with text "list of groceries". Same for `promote` — only a subcommand when followed by exactly one number.
**Critical**: `list` is only a subcommand when it's the ENTIRE argument. `/gsd-note list of groceries` saves a note with text "list of groceries". Same for `promote` — only a subcommand when followed by exactly one number.
</step>
<step name="append">
@@ -87,7 +87,7 @@ Project (.planning/notes/):
Global (~/.claude/notes/):
4. [2026-02-08 10:00] cross-project idea about shared config
{count} active note(s). Use `/gsd:note promote <N>` to convert to a todo.
{count} active note(s). Use `/gsd-note promote <N>` to convert to a todo.
```
If a scope has no directory or no entries, show: `(no notes)`
@@ -99,7 +99,7 @@ If a scope has no directory or no entries, show: `(no notes)`
1. Run the **list** logic to build the numbered index (both scopes)
2. Find entry N from the numbered list
3. If N is invalid or refers to an already-promoted note, tell the user and stop
4. **Requires `.planning/` directory** — if it doesn't exist, warn: "Todos require a GSD project. Run `/gsd:new-project` to initialize one."
4. **Requires `.planning/` directory** — if it doesn't exist, warn: "Todos require a GSD project. Run `/gsd-new-project` to initialize one."
5. Ensure `.planning/todos/pending/` directory exists
6. Generate todo ID: `{NNN}-{slug}` where NNN is the next sequential number (scan both `.planning/todos/pending/` and `.planning/todos/completed/` for the highest existing number, increment by 1, zero-pad to 3 digits) and slug is the first ~4 meaningful words of the note text
7. Extract the note text from the source file (body after frontmatter)
@@ -110,7 +110,7 @@ If a scope has no directory or no entries, show: `(no notes)`
title: "{note text}"
status: pending
priority: P2
source: "promoted from /gsd:note"
source: "promoted from /gsd-note"
created: {YYYY-MM-DD}
theme: general
---
@@ -135,9 +135,9 @@ Promoted from quick note captured on {original date}.
</process>
<edge_cases>
1. **"list" as note text**: `/gsd:note list of things` saves note "list of things" (subcommand only when `list` is the entire arg)
1. **"list" as note text**: `/gsd-note list of things` saves note "list of things" (subcommand only when `list` is the entire arg)
2. **No `.planning/`**: Falls back to global `~/.claude/notes/` — works in any directory
3. **Promote without project**: Warns that todos require `.planning/`, suggests `/gsd:new-project`
3. **Promote without project**: Warns that todos require `.planning/`, suggests `/gsd-new-project`
4. **Large files**: `list` shows last 10 when >20 active entries
5. **Duplicate slugs**: Append `-2`, `-3` etc. to filename if slug already used on same date
6. **`--global` position**: Stripped from anywhere — `--global my idea` and `my idea --global` both save "my idea" globally

View File

@@ -1,5 +1,5 @@
<purpose>
Create structured `.planning/HANDOFF.json` and `.continue-here.md` handoff files to preserve complete work state across sessions. The JSON provides machine-readable state for `/gsd:resume-work`; the markdown provides human-readable context.
Create structured `.planning/HANDOFF.json` and `.continue-here.md` handoff files to preserve complete work state across sessions. The JSON provides machine-readable state for `/gsd-resume-work`; the markdown provides human-readable context.
</purpose>
<required_reading>
@@ -222,7 +222,7 @@ Current state:
- Blockers: [count] ({human_actions_pending count} need human action)
- Committed as WIP
To resume: /gsd:resume-work
To resume: /gsd-resume-work
```
</step>

View File

@@ -1,5 +1,5 @@
<purpose>
Create all phases necessary to close gaps identified by `/gsd:audit-milestone`. Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase. One command creates all fix phases — no manual `/gsd:add-phase` per gap.
Create all phases necessary to close gaps identified by `/gsd-audit-milestone`. Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase. One command creates all fix phases — no manual `/gsd-add-phase` per gap.
</purpose>
<required_reading>
@@ -22,7 +22,7 @@ Parse YAML frontmatter to extract structured gaps:
If no audit file exists or has no gaps, error:
```
No audit gaps found. Run `/gsd:audit-milestone` first.
No audit gaps found. Run `/gsd-audit-milestone` first.
```
## 2. Prioritize Gaps
@@ -165,20 +165,20 @@ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs(roadmap): add
`/clear` then:
`/gsd:plan-phase {N}`
`/gsd-plan-phase {N}`
---
**Also available:**
- `/gsd:execute-phase {N}` — if plans already exist
- `/gsd-execute-phase {N}` — if plans already exist
- `cat .planning/ROADMAP.md` — see updated roadmap
---
**After all gap phases complete:**
`/gsd:audit-milestone` — re-audit to verify gaps closed
`/gsd:complete-milestone {version}` — archive when audit passes
`/gsd-audit-milestone` — re-audit to verify gaps closed
`/gsd-complete-milestone {version}` — archive when audit passes
```
</process>
@@ -269,5 +269,5 @@ becomes:
- [ ] Coverage count updated in REQUIREMENTS.md
- [ ] Phase directories created
- [ ] Changes committed (includes REQUIREMENTS.md)
- [ ] User knows to run `/gsd:plan-phase` next
- [ ] User knows to run `/gsd-plan-phase` next
</success_criteria>

View File

@@ -36,7 +36,7 @@ Parse JSON for: `researcher_model`, `planner_model`, `checker_model`, `research_
**File paths (for <files_to_read> blocks):** `state_path`, `roadmap_path`, `requirements_path`, `context_path`, `research_path`, `verification_path`, `uat_path`, `reviews_path`. These are null if files don't exist.
**If `planning_exists` is false:** Error — run `/gsd:new-project` first.
**If `planning_exists` is false:** Error — run `/gsd-new-project` first.
## 2. Parse and Normalize Arguments
@@ -67,9 +67,9 @@ Error:
```
No REVIEWS.md found for Phase {N}. Run reviews first:
/gsd:review --phase {N}
/gsd-review --phase {N}
Then re-run /gsd:plan-phase {N} --reviews
Then re-run /gsd-plan-phase {N} --reviews
```
Exit workflow.
@@ -229,9 +229,9 @@ If "Run discuss-phase first":
does not work correctly in nested subcontexts (#1009). Instead, display the command
and exit so the user runs it as a top-level command:
```
Run this command first, then re-run /gsd:plan-phase {X} ${GSD_WS}:
Run this command first, then re-run /gsd-plan-phase {X} ${GSD_WS}:
/gsd:discuss-phase {X} ${GSD_WS}
/gsd-discuss-phase {X} ${GSD_WS}
```
**Exit the plan-phase workflow. Do not continue.**
@@ -299,7 +299,7 @@ Answer: "What do I need to know to PLAN this phase well?"
</objective>
<files_to_read>
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
- {context_path} (USER DECISIONS from /gsd-discuss-phase)
- {requirements_path} (Project requirements)
- {state_path} (Project decisions and history)
</files_to_read>
@@ -419,11 +419,31 @@ UI_SPEC_FILE=$(ls "${PHASE_DIR}"/*-UI-SPEC.md 2>/dev/null | head -1)
**If UI-SPEC.md missing AND `UI_GATE_CFG` is `true`:**
Read auto-chain state:
```bash
AUTO_CHAIN=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-get workflow._auto_chain_active 2>/dev/null || echo "false")
```
**If `AUTO_CHAIN` is `true` (running inside a `--chain` or `--auto` pipeline):**
Auto-generate UI-SPEC without prompting:
```
Skill(skill="gsd-ui-phase", args="${PHASE} --auto ${GSD_WS}")
```
After `gsd-ui-phase` returns, re-read:
```bash
UI_SPEC_FILE=$(ls "${PHASE_DIR}"/*-UI-SPEC.md 2>/dev/null | head -1)
UI_SPEC_PATH="${UI_SPEC_FILE}"
```
Continue to step 6.
**If `AUTO_CHAIN` is `false` (manual invocation):**
If `TEXT_MODE` is true, present as a plain-text numbered list:
```
Phase {N} has frontend indicators but no UI-SPEC.md. Generate a design contract before planning?
1. Generate UI-SPEC first — Run /gsd:ui-phase {N} then re-run /gsd:plan-phase {N}
1. Generate UI-SPEC first — Run /gsd-ui-phase {N} then re-run /gsd-plan-phase {N}
2. Continue without UI-SPEC
3. Not a frontend phase
@@ -434,7 +454,7 @@ Otherwise use AskUserQuestion:
- header: "UI Design Contract"
- question: "Phase {N} has frontend indicators but no UI-SPEC.md. Generate a design contract before planning?"
- options:
- "Generate UI-SPEC first" → Display: "Run `/gsd:ui-phase {N} ${GSD_WS}` then re-run `/gsd:plan-phase {N} ${GSD_WS}`". Exit workflow.
- "Generate UI-SPEC first" → Display: "Run `/gsd-ui-phase {N} ${GSD_WS}` then re-run `/gsd-plan-phase {N} ${GSD_WS}`". Exit workflow.
- "Continue without UI-SPEC" → Continue to step 6.
- "Not a frontend phase" → Continue to step 6.
@@ -544,7 +564,7 @@ VALIDATION_EXISTS=$(ls "${PHASE_DIR}"/*-VALIDATION.md 2>/dev/null | head -1)
```
If missing and Nyquist is still enabled/applicable — ask user:
1. Re-run: `/gsd:plan-phase {PHASE} --research ${GSD_WS}`
1. Re-run: `/gsd-plan-phase {PHASE} --research ${GSD_WS}`
2. Disable Nyquist with the exact command:
`node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-set workflow.nyquist_validation false`
3. Continue anyway (plans fail Dimension 8)
@@ -573,7 +593,7 @@ Planner prompt:
- {state_path} (Project State)
- {roadmap_path} (Roadmap)
- {requirements_path} (Requirements)
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
- {context_path} (USER DECISIONS from /gsd-discuss-phase)
- {research_path} (Technical Research)
- {verification_path} (Verification Gaps - if --gaps)
- {uat_path} (UAT Gaps - if --gaps)
@@ -596,7 +616,7 @@ ${AGENT_SKILLS_PLANNER}
</planning_context>
<downstream_consumer>
Output consumed by /gsd:execute-phase. Plans need:
Output consumed by /gsd-execute-phase. Plans need:
- Frontmatter (wave, depends_on, files_modified, autonomous)
- Tasks in XML format with read_first and acceptance_criteria fields (MANDATORY on every task)
- Verification criteria
@@ -689,7 +709,7 @@ rest become a follow-up phase
Use AskUserQuestion with these 3 options.
**If "Split":** Use `/gsd:insert-phase` to create the sub-phases, then replan each.
**If "Split":** Use `/gsd-insert-phase` to create the sub-phases, then replan each.
**If "Proceed":** Return to planner with instruction to attempt all decisions at full fidelity, accepting more plans/tasks.
**If "Prioritize":** Use AskUserQuestion (multiSelect) to let user pick which D-XX are "now" vs "later". Create CONTEXT.md for each sub-phase with the selected decisions.
@@ -715,7 +735,7 @@ Checker prompt:
- {PHASE_DIR}/*-PLAN.md (Plans to verify)
- {roadmap_path} (Roadmap)
- {requirements_path} (Requirements)
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
- {context_path} (USER DECISIONS from /gsd-discuss-phase)
- {research_path} (Technical Research — includes Validation Architecture)
</files_to_read>
@@ -764,7 +784,7 @@ Revision prompt:
<files_to_read>
- {PHASE_DIR}/*-PLAN.md (Existing plans)
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
- {context_path} (USER DECISIONS from /gsd-discuss-phase)
</files_to_read>
${AGENT_SKILLS_PLANNER}
@@ -888,7 +908,7 @@ Plans ready. Launching execute-phase...
Launch execute-phase using the Skill tool to avoid nested Task sessions (which cause runtime freezes due to deep agent nesting):
```
Skill(skill="gsd:execute-phase", args="${PHASE} --auto --no-transition ${GSD_WS}")
Skill(skill="gsd-execute-phase", args="${PHASE} --auto --no-transition ${GSD_WS}")
```
The `--no-transition` flag tells execute-phase to return status after verification instead of chaining further. This keeps the auto-advance chain flat — each phase runs at the same nesting level rather than spawning deeper Task agents.
@@ -902,14 +922,14 @@ The `--no-transition` flag tells execute-phase to return status after verificati
Auto-advance pipeline finished.
Next: /gsd:discuss-phase ${NEXT_PHASE} --auto ${GSD_WS}
Next: /gsd-discuss-phase ${NEXT_PHASE} --auto ${GSD_WS}
```
- **GAPS FOUND / VERIFICATION FAILED** → Display result, stop chain:
```
Auto-advance stopped: Execution needs review.
Review the output above and continue manually:
/gsd:execute-phase ${PHASE} ${GSD_WS}
/gsd-execute-phase ${PHASE} ${GSD_WS}
```
**If neither `--auto` nor config enabled:**
@@ -942,15 +962,15 @@ Verification: {Passed | Passed with override | Skipped}
/clear then:
/gsd:execute-phase {X} ${GSD_WS}
/gsd-execute-phase {X} ${GSD_WS}
───────────────────────────────────────────────────────────────
**Also available:**
- cat .planning/phases/{phase-dir}/*-PLAN.md — review plans
- /gsd:plan-phase {X} --research — re-research first
- /gsd:review --phase {X} --all — peer review plans with external AIs
- /gsd:plan-phase {X} --reviews — replan incorporating review feedback
- /gsd-plan-phase {X} --research — re-research first
- /gsd-review --phase {X} --all — peer review plans with external AIs
- /gsd-plan-phase {X} --reviews — replan incorporating review feedback
───────────────────────────────────────────────────────────────
</offer_next>
@@ -971,11 +991,11 @@ stdio deadlocks with MCP servers — see Claude Code issue anthropics/claude-cod
Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\tasks\*" -ErrorAction SilentlyContinue
```
4. **Reduce MCP server count:** Temporarily disable non-essential MCP servers in settings.json
5. **Retry:** Restart Claude Code and run `/gsd:plan-phase` again
5. **Retry:** Restart Claude Code and run `/gsd-plan-phase` again
If freezes persist, try `--skip-research` to reduce the agent chain from 3 to 2 agents:
```
/gsd:plan-phase N --skip-research
/gsd-plan-phase N --skip-research
```
</windows_troubleshooting>

View File

@@ -1,6 +1,6 @@
<purpose>
Capture a forward-looking idea as a structured seed file with trigger conditions.
Seeds auto-surface during /gsd:new-milestone when trigger conditions match the
Seeds auto-surface during /gsd-new-milestone when trigger conditions match the
new milestone's scope.
Seeds beat deferred items because they:
@@ -117,7 +117,7 @@ scope: {$SCOPE}
**Trigger:** {$TRIGGER}
This seed should be presented during `/gsd:new-milestone` when the milestone
This seed should be presented during `/gsd-new-milestone` when the milestone
scope matches any of these conditions:
- {trigger condition 1}
- {trigger condition 2}
@@ -153,7 +153,7 @@ Trigger: {$TRIGGER}
Scope: {$SCOPE}
File: .planning/seeds/SEED-{PADDED}-{slug}.md
This seed will surface automatically when you run /gsd:new-milestone
This seed will surface automatically when you run /gsd-new-milestone
and the milestone scope matches the trigger condition.
```
</step>

View File

@@ -114,7 +114,7 @@ Next steps:
git push origin {PR_BRANCH}
gh pr create --base {TARGET} --head {PR_BRANCH}
Or use /gsd:ship to create the PR automatically.
Or use /gsd-ship to create the PR automatically.
```
</step>

View File

@@ -118,7 +118,7 @@ Use AskUserQuestion:
- options:
- "Let's go" -- Proceed to step 3 (session analysis)
- "Use questionnaire instead" -- Jump to step 4b (questionnaire path)
- "Not now" -- Display "No worries. Run /gsd:profile-user when ready." and exit
- "Not now" -- Display "No worries. Run /gsd-profile-user when ready." and exit
---
@@ -333,7 +333,7 @@ Use AskUserQuestion with multiSelect:
- header: "Artifacts"
- question: "Which artifacts should I generate?"
- options (ALL pre-selected by default):
- "/gsd:dev-preferences command file" -- "Load your preferences in any session"
- "/gsd-dev-preferences command file" -- "Load your preferences in any session"
- "CLAUDE.md profile section" -- "Add profile to this project's CLAUDE.md"
- "Global CLAUDE.md" -- "Add profile to $HOME/.claude/CLAUDE.md for all projects"
@@ -345,13 +345,13 @@ Use AskUserQuestion with multiSelect:
Generate selected artifacts sequentially (file I/O is fast, no benefit from parallel agents):
**For /gsd:dev-preferences (if selected):**
**For /gsd-dev-preferences (if selected):**
```bash
node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs generate-dev-preferences --analysis "$ANALYSIS_PATH" --json 2>/dev/null
```
Display: "✓ Generated /gsd:dev-preferences at $HOME/.claude/commands/gsd/dev-preferences.md"
Display: "✓ Generated /gsd-dev-preferences at $HOME/.claude/commands/gsd/dev-preferences.md"
**For CLAUDE.md profile section (if selected):**
@@ -410,7 +410,7 @@ Your profile: $HOME/.claude/get-shit-done/USER-PROFILE.md
Then list paths for each generated artifact:
```
Artifacts:
✓ /gsd:dev-preferences $HOME/.claude/commands/gsd/dev-preferences.md
✓ /gsd-dev-preferences $HOME/.claude/commands/gsd/dev-preferences.md
✓ CLAUDE.md section ./CLAUDE.md
✓ Global CLAUDE.md $HOME/.claude/CLAUDE.md
```

View File

@@ -27,18 +27,18 @@ If `project_exists` is false (no `.planning/` directory):
```
No planning structure found.
Run /gsd:new-project to start a new project.
Run /gsd-new-project to start a new project.
```
Exit.
If missing STATE.md: suggest `/gsd:new-project`.
If missing STATE.md: suggest `/gsd-new-project`.
**If ROADMAP.md missing but PROJECT.md exists:**
This means a milestone was completed and archived. Go to **Route F** (between milestones).
If missing both ROADMAP.md and PROJECT.md: suggest `/gsd:new-project`.
If missing both ROADMAP.md and PROJECT.md: suggest `/gsd-new-project`.
</step>
<step name="load">
@@ -123,10 +123,10 @@ CONTEXT: [✓ if has_context | - if not]
- [e.g. jq -r '.blockers[].text' from state-snapshot]
## Pending Todos
- [count] pending — /gsd:check-todos to review
- [count] pending — /gsd-check-todos to review
## Active Debug Sessions
- [count] active — /gsd:debug to continue
- [count] active — /gsd-debug to continue
(Only show this section if count > 0)
## What's Next
@@ -185,8 +185,8 @@ Track: `outstanding_debt` — `summary.total_items` from the audit.
| {phase} | {filename} | {pending_count} pending, {skipped_count} skipped, {blocked_count} blocked |
| {phase} | {filename} | human_needed — {count} items |
Review: `/gsd:audit-uat ${GSD_WS}` — full cross-phase audit
Resume testing: `/gsd:verify-work {phase} ${GSD_WS}` — retest specific phase
Review: `/gsd-audit-uat ${GSD_WS}` — full cross-phase audit
Resume testing: `/gsd-verify-work {phase} ${GSD_WS}` — retest specific phase
```
This is a WARNING, not a blocker — routing proceeds normally. The debt is visible so the user can make an informed choice.
@@ -217,7 +217,7 @@ Read its `<objective>` section.
`/clear` then:
`/gsd:execute-phase {phase} ${GSD_WS}`
`/gsd-execute-phase {phase} ${GSD_WS}`
---
```
@@ -247,7 +247,7 @@ PHASE_HAS_UI=$(echo "$PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true" ||
`/clear` then:
`/gsd:plan-phase {phase-number} ${GSD_WS}`
`/gsd-plan-phase {phase-number} ${GSD_WS}`
---
```
@@ -263,14 +263,14 @@ PHASE_HAS_UI=$(echo "$PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true" ||
`/clear` then:
`/gsd:discuss-phase {phase}` — gather context and clarify approach
`/gsd-discuss-phase {phase}` — gather context and clarify approach
---
**Also available:**
- `/gsd:ui-phase {phase}` — generate UI design contract (recommended for frontend phases)
- `/gsd:plan-phase {phase}` — skip discussion, plan directly
- `/gsd:list-phase-assumptions {phase}` — see Claude's assumptions
- `/gsd-ui-phase {phase}` — generate UI design contract (recommended for frontend phases)
- `/gsd-plan-phase {phase}` — skip discussion, plan directly
- `/gsd-list-phase-assumptions {phase}` — see Claude's assumptions
---
```
@@ -286,13 +286,13 @@ PHASE_HAS_UI=$(echo "$PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true" ||
`/clear` then:
`/gsd:discuss-phase {phase} ${GSD_WS}` — gather context and clarify approach
`/gsd-discuss-phase {phase} ${GSD_WS}` — gather context and clarify approach
---
**Also available:**
- `/gsd:plan-phase {phase} ${GSD_WS}` — skip discussion, plan directly
- `/gsd:list-phase-assumptions {phase} ${GSD_WS}` — see Claude's assumptions
- `/gsd-plan-phase {phase} ${GSD_WS}` — skip discussion, plan directly
- `/gsd-list-phase-assumptions {phase} ${GSD_WS}` — see Claude's assumptions
---
```
@@ -312,13 +312,13 @@ UAT.md exists with gaps (diagnosed issues). User needs to plan fixes.
`/clear` then:
`/gsd:plan-phase {phase} --gaps ${GSD_WS}`
`/gsd-plan-phase {phase} --gaps ${GSD_WS}`
---
**Also available:**
- `/gsd:execute-phase {phase} ${GSD_WS}` — execute phase plans
- `/gsd:verify-work {phase} ${GSD_WS}` — run more UAT testing
- `/gsd-execute-phase {phase} ${GSD_WS}` — execute phase plans
- `/gsd-verify-work {phase} ${GSD_WS}` — run more UAT testing
---
```
@@ -338,13 +338,13 @@ UAT.md exists with `status: partial` — testing session ended before all items
`/clear` then:
`/gsd:verify-work {phase} ${GSD_WS}` — resume testing from where you left off
`/gsd-verify-work {phase} ${GSD_WS}` — resume testing from where you left off
---
**Also available:**
- `/gsd:audit-uat ${GSD_WS}` — full cross-phase UAT audit
- `/gsd:execute-phase {phase} ${GSD_WS}` — execute phase plans
- `/gsd-audit-uat ${GSD_WS}` — full cross-phase UAT audit
- `/gsd-execute-phase {phase} ${GSD_WS}` — execute phase plans
---
```
@@ -394,14 +394,14 @@ NEXT_HAS_UI=$(echo "$NEXT_PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true
`/clear` then:
`/gsd:discuss-phase {Z+1}` — gather context and clarify approach
`/gsd-discuss-phase {Z+1}` — gather context and clarify approach
---
**Also available:**
- `/gsd:ui-phase {Z+1}` — generate UI design contract (recommended for frontend phases)
- `/gsd:plan-phase {Z+1}` — skip discussion, plan directly
- `/gsd:verify-work {Z}` — user acceptance test before continuing
- `/gsd-ui-phase {Z+1}` — generate UI design contract (recommended for frontend phases)
- `/gsd-plan-phase {Z+1}` — skip discussion, plan directly
- `/gsd-verify-work {Z}` — user acceptance test before continuing
---
```
@@ -419,13 +419,13 @@ NEXT_HAS_UI=$(echo "$NEXT_PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true
`/clear` then:
`/gsd:discuss-phase {Z+1} ${GSD_WS}` — gather context and clarify approach
`/gsd-discuss-phase {Z+1} ${GSD_WS}` — gather context and clarify approach
---
**Also available:**
- `/gsd:plan-phase {Z+1} ${GSD_WS}` — skip discussion, plan directly
- `/gsd:verify-work {Z} ${GSD_WS}` — user acceptance test before continuing
- `/gsd-plan-phase {Z+1} ${GSD_WS}` — skip discussion, plan directly
- `/gsd-verify-work {Z} ${GSD_WS}` — user acceptance test before continuing
---
```
@@ -447,12 +447,12 @@ All {N} phases finished!
`/clear` then:
`/gsd:complete-milestone ${GSD_WS}`
`/gsd-complete-milestone ${GSD_WS}`
---
**Also available:**
- `/gsd:verify-work ${GSD_WS}` — user acceptance test before completing milestone
- `/gsd-verify-work ${GSD_WS}` — user acceptance test before completing milestone
---
```
@@ -478,7 +478,7 @@ Ready to plan the next milestone.
`/clear` then:
`/gsd:new-milestone ${GSD_WS}`
`/gsd-new-milestone ${GSD_WS}`
---
```
@@ -488,10 +488,10 @@ Ready to plan the next milestone.
<step name="edge_cases">
**Handle edge cases:**
- Phase complete but next phase not planned → offer `/gsd:plan-phase [next] ${GSD_WS}`
- Phase complete but next phase not planned → offer `/gsd-plan-phase [next] ${GSD_WS}`
- All work complete → offer milestone completion
- Blockers present → highlight before offering to continue
- Handoff file exists → mention it, offer `/gsd:resume-work ${GSD_WS}`
- Handoff file exists → mention it, offer `/gsd-resume-work ${GSD_WS}`
</step>
</process>
@@ -501,7 +501,7 @@ Ready to plan the next milestone.
- [ ] Rich context provided (recent work, decisions, issues)
- [ ] Current position clear with visual progress
- [ ] What's next clearly explained
- [ ] Smart routing: /gsd:execute-phase if plans exist, /gsd:plan-phase if not
- [ ] Smart routing: /gsd-execute-phase if plans exist, /gsd-plan-phase if not
- [ ] User confirms before any action
- [ ] Seamless handoff to appropriate gsd command
</success_criteria>

View File

@@ -142,7 +142,7 @@ Parse JSON for: `planner_model`, `executor_model`, `checker_model`, `verifier_mo
USE_WORKTREES=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-get workflow.use_worktrees 2>/dev/null || echo "true")
```
**If `roadmap_exists` is false:** Error — Quick mode requires an active project with ROADMAP.md. Run `/gsd:new-project` first.
**If `roadmap_exists` is false:** Error — Quick mode requires an active project with ROADMAP.md. Run `/gsd-new-project` first.
Quick tasks can run mid-phase - validation only checks ROADMAP.md exists, not phase status.
@@ -765,7 +765,7 @@ Commit: ${commit_hash}
---
Ready for next task: /gsd:quick ${GSD_WS}
Ready for next task: /gsd-quick ${GSD_WS}
```
**If NOT `$VALIDATE_MODE`:**
@@ -782,7 +782,7 @@ Commit: ${commit_hash}
---
Ready for next task: /gsd:quick ${GSD_WS}
Ready for next task: /gsd-quick ${GSD_WS}
```
</process>

View File

@@ -11,15 +11,15 @@ Read all files referenced by the invoking prompt's execution_context before star
<step name="parse_arguments">
Parse the command arguments:
- Argument is the phase number to remove (integer or decimal)
- Example: `/gsd:remove-phase 17` → phase = 17
- Example: `/gsd:remove-phase 16.1` → phase = 16.1
- Example: `/gsd-remove-phase 17` → phase = 17
- Example: `/gsd-remove-phase 16.1` → phase = 16.1
If no argument provided:
```
ERROR: Phase number required
Usage: /gsd:remove-phase <phase-number>
Example: /gsd:remove-phase 17
Usage: /gsd-remove-phase <phase-number>
Example: /gsd-remove-phase 17
```
Exit.
@@ -53,7 +53,7 @@ Only future phases can be removed:
- Current phase: {current}
- Phase {target} is current or completed
To abandon current work, use /gsd:pause-work instead.
To abandon current work, use /gsd-pause-work instead.
```
Exit.
@@ -126,7 +126,7 @@ Changes:
## What's Next
Would you like to:
- `/gsd:progress` — see updated roadmap status
- `/gsd-progress` — see updated roadmap status
- Continue with current phase
- Review roadmap

View File

@@ -21,7 +21,7 @@ Parse JSON for: `workspace_name`, `workspace_path`, `has_manifest`, `strategy`,
**If no workspace name provided:**
First run `/gsd:list-workspaces` to show available workspaces, then ask:
First run `/gsd-list-workspaces` to show available workspaces, then ask:
Use AskUserQuestion:
- header: "Remove Workspace"

View File

@@ -1,7 +1,7 @@
<purpose>
Research how to implement a phase. Spawns gsd-phase-researcher with phase context.
Standalone research command. For most workflows, use `/gsd:plan-phase` which integrates research automatically.
Standalone research command. For most workflows, use `/gsd-plan-phase` which integrates research automatically.
</purpose>
<available_agent_types>
@@ -54,7 +54,7 @@ Research implementation approach for Phase {phase}: {name}
</objective>
<files_to_read>
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
- {context_path} (USER DECISIONS from /gsd-discuss-phase)
- {requirements_path} (Project requirements)
- {state_path} (Project decisions and history)
</files_to_read>

View File

@@ -28,7 +28,7 @@ Parse JSON for: `state_exists`, `roadmap_exists`, `project_exists`, `planning_ex
**If `state_exists` is true:** Proceed to load_state
**If `state_exists` is false but `roadmap_exists` or `project_exists` is true:** Offer to reconstruct STATE.md
**If `planning_exists` is false:** This is a new project - route to /gsd:new-project
**If `planning_exists` is false:** This is a new project - route to /gsd-new-project
</step>
<step name="load_state">
@@ -84,7 +84,7 @@ fi
**If HANDOFF.json exists:**
- This is the primary resumption source — structured data from `/gsd:pause-work`
- This is the primary resumption source — structured data from `/gsd-pause-work`
- Parse `status`, `phase`, `plan`, `task`, `total_tasks`, `next_action`
- Check `blockers` and `human_actions_pending` — surface these immediately
- Check `completed_tasks` for `in_progress` items — these need attention first
@@ -140,7 +140,7 @@ Present complete project status to user:
Resume with: Task tool (resume parameter with agent ID)
[If pending todos exist:]
📋 [N] pending todos — /gsd:check-todos to review
📋 [N] pending todos — /gsd-check-todos to review
[If blockers exist:]
⚠️ Carried concerns:
@@ -200,11 +200,11 @@ What would you like to do?
[Primary action based on state - e.g.:]
1. Resume interrupted agent [if interrupted agent found]
OR
1. Execute phase (/gsd:execute-phase {phase} ${GSD_WS})
1. Execute phase (/gsd-execute-phase {phase} ${GSD_WS})
OR
1. Discuss Phase 3 context (/gsd:discuss-phase 3 ${GSD_WS}) [if CONTEXT.md missing]
1. Discuss Phase 3 context (/gsd-discuss-phase 3 ${GSD_WS}) [if CONTEXT.md missing]
OR
1. Plan Phase 3 (/gsd:plan-phase 3 ${GSD_WS}) [if CONTEXT.md exists or discuss option declined]
1. Plan Phase 3 (/gsd-plan-phase 3 ${GSD_WS}) [if CONTEXT.md exists or discuss option declined]
[Secondary options:]
2. Review current phase status
@@ -237,7 +237,7 @@ Based on user selection, route to appropriate workflow:
`/clear` then:
`/gsd:execute-phase {phase} ${GSD_WS}`
`/gsd-execute-phase {phase} ${GSD_WS}`
---
```
@@ -251,13 +251,13 @@ Based on user selection, route to appropriate workflow:
`/clear` then:
`/gsd:plan-phase [phase-number] ${GSD_WS}`
`/gsd-plan-phase [phase-number] ${GSD_WS}`
---
**Also available:**
- `/gsd:discuss-phase [N] ${GSD_WS}` — gather context first
- `/gsd:research-phase [N] ${GSD_WS}` — investigate unknowns
- `/gsd-discuss-phase [N] ${GSD_WS}` — gather context first
- `/gsd-research-phase [N] ${GSD_WS}` — investigate unknowns
---
```

View File

@@ -39,7 +39,7 @@ No external AI CLIs found. Install at least one:
- claude: https://github.com/anthropics/claude-code
- opencode: https://opencode.ai (leverages GitHub Copilot subscription models)
Then run /gsd:review again.
Then run /gsd-review again.
```
Exit.
@@ -244,7 +244,7 @@ Consensus concerns:
Full review: {padded_phase}-REVIEWS.md
To incorporate feedback into planning:
/gsd:plan-phase {N} --reviews
/gsd-plan-phase {N} --reviews
```
Clean up temp files.
@@ -257,5 +257,5 @@ Clean up temp files.
- [ ] REVIEWS.md written with structured feedback
- [ ] Consensus summary synthesized from multiple reviewers
- [ ] Temp files cleaned up
- [ ] User knows how to use feedback (/gsd:plan-phase --reviews)
- [ ] User knows how to use feedback (/gsd-plan-phase --reviews)
</success_criteria>

View File

@@ -28,7 +28,7 @@ AUDITOR_MODEL=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" resolve-mod
SECURITY_CFG=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-get workflow.security_enforcement --raw 2>/dev/null || echo "true")
```
If `SECURITY_CFG` is `false`: exit with "Security enforcement disabled. Enable via /gsd:settings."
If `SECURITY_CFG` is `false`: exit with "Security enforcement disabled. Enable via /gsd-settings."
Display banner: `GSD > SECURE PHASE {N}: {name}`
@@ -42,7 +42,7 @@ SUMMARY_FILES=$(ls "${PHASE_DIR}"/*-SUMMARY.md 2>/dev/null)
- **State A** (`SECURITY_FILE` non-empty): Audit existing
- **State B** (`SECURITY_FILE` empty, `PLAN_FILES` and `SUMMARY_FILES` non-empty): Run from artifacts
- **State C** (`SUMMARY_FILES` empty): Exit — "Phase {N} not executed. Run /gsd:execute-phase {N} first."
- **State C** (`SUMMARY_FILES` empty): Exit — "Phase {N} not executed. Run /gsd-execute-phase {N} first."
## 2. Discovery
@@ -123,7 +123,7 @@ Handle return:
```
GSD > PHASE {N} SECURITY BLOCKED
{K} threats open — phase advancement blocked until threats_open: 0
▶ Fix mitigations then re-run: /gsd:secure-phase {N}
▶ Fix mitigations then re-run: /gsd-secure-phase {N}
▶ Or document accepted risks in SECURITY.md and re-run.
```
@@ -141,8 +141,8 @@ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs(phase-${PHASE}
```
GSD > PHASE {N} THREAT-SECURE
threats_open: 0 — all threats have dispositions.
▶ /gsd:validate-phase {N} validate test coverage
▶ /gsd:verify-work {N} run UAT
▶ /gsd-validate-phase {N} validate test coverage
▶ /gsd-verify-work {N} run UAT
```
Display `/clear` reminder.

View File

@@ -110,7 +110,7 @@ Write `.planning/reports/SESSION_REPORT.md` (or `.planning/reports/YYYYMMDD-sess
---
*Generated by `/gsd:session-report`*
*Generated by `/gsd-session-report`*
```
</step>
@@ -131,7 +131,7 @@ Show the user:
If this is the first report, mention:
```
💡 Run `/gsd:session-report` at the end of each session to build a history of project activity.
💡 Run `/gsd-session-report` at the end of each session to build a history of project activity.
```
</step>

View File

@@ -31,7 +31,7 @@ Parse current values (default to `true` if not present):
- `workflow.verifier` — spawn verifier during execute-phase
- `workflow.nyquist_validation` — validation architecture research during plan-phase (default: true if absent)
- `workflow.ui_phase` — generate UI-SPEC.md design contracts for frontend phases (default: true if absent)
- `workflow.ui_safety_gate` — prompt to run /gsd:ui-phase before planning frontend phases (default: true if absent)
- `workflow.ui_safety_gate` — prompt to run /gsd-ui-phase before planning frontend phases (default: true if absent)
- `model_profile` — which model each agent uses (default: `balanced`)
- `git.branching_strategy` — branching approach (default: `"none"`)
- `workflow.use_worktrees` — whether parallel executor agents run in worktree isolation (default: `true`)
@@ -110,11 +110,11 @@ AskUserQuestion([
]
},
{
question: "Enable UI Safety Gate? (prompts to run /gsd:ui-phase before planning frontend phases)",
question: "Enable UI Safety Gate? (prompts to run /gsd-ui-phase before planning frontend phases)",
header: "UI Gate",
multiSelect: false,
options: [
{ label: "Yes (Recommended)", description: "plan-phase asks to run /gsd:ui-phase first when frontend indicators detected." },
{ label: "Yes (Recommended)", description: "plan-phase asks to run /gsd-ui-phase first when frontend indicators detected." },
{ label: "No", description: "No prompt — plan-phase proceeds without UI-SPEC check." }
]
},
@@ -152,7 +152,7 @@ AskUserQuestion([
multiSelect: false,
options: [
{ label: "No (Recommended)", description: "Run smart discuss before each phase — surfaces gray areas and captures decisions." },
{ label: "Yes", description: "Skip discuss in /gsd:autonomous — chain directly to plan. Best for backend/pipeline work where phase descriptions are the spec." }
{ label: "Yes", description: "Skip discuss in /gsd-autonomous — chain directly to plan. Best for backend/pipeline work where phase descriptions are the spec." }
]
},
{
@@ -273,13 +273,13 @@ Display:
| Context Warnings | {On/Off} |
| Saved as Defaults | {Yes/No} |
These settings apply to future /gsd:plan-phase and /gsd:execute-phase runs.
These settings apply to future /gsd-plan-phase and /gsd-execute-phase runs.
Quick commands:
- /gsd:set-profile <profile> — switch model profile
- /gsd:plan-phase --research — force research
- /gsd:plan-phase --skip-research — skip research
- /gsd:plan-phase --skip-verify — skip plan check
- /gsd-set-profile <profile> — switch model profile
- /gsd-plan-phase --research — force research
- /gsd-plan-phase --skip-research — skip research
- /gsd-plan-phase --skip-verify — skip plan check
```
</step>

View File

@@ -211,8 +211,8 @@ Requirements: {N} REQ-IDs addressed
Next steps:
- Review/approve PR
- Merge when CI passes
- /gsd:complete-milestone (if last phase in milestone)
- /gsd:progress (to see what's next)
- /gsd-complete-milestone (if last phase in milestone)
- /gsd-progress (to see what's next)
───────────────────────────────────────────────────────────────
```
@@ -223,9 +223,9 @@ Next steps:
<offer_next>
After shipping:
- /gsd:complete-milestone — if all phases in milestone are done
- /gsd:progress — see overall project state
- /gsd:execute-phase {next} — continue to next phase
- /gsd-complete-milestone — if all phases in milestone are done
- /gsd-progress — see overall project state
- /gsd-execute-phase {next} — continue to next phase
</offer_next>
<success_criteria>

View File

@@ -48,7 +48,7 @@ X/Y plans complete (Z%)
- **Project age:** N days
```
If no `.planning/` directory exists, inform the user to run `/gsd:new-project` first.
If no `.planning/` directory exists, inform the user to run `/gsd-new-project` first.
</step>
</process>

View File

@@ -2,15 +2,15 @@
**This is an INTERNAL workflow — NOT a user-facing command.**
There is no `/gsd:transition` command. This workflow is invoked automatically by
There is no `/gsd-transition` command. This workflow is invoked automatically by
`execute-phase` during auto-advance, or inline by the orchestrator after phase
verification. Users should never be told to run `/gsd:transition`.
verification. Users should never be told to run `/gsd-transition`.
**Valid user commands for phase progression:**
- `/gsd:discuss-phase {N}` — discuss a phase before planning
- `/gsd:plan-phase {N}` — plan a phase
- `/gsd:execute-phase {N}` — execute a phase
- `/gsd:progress` — see roadmap progress
- `/gsd-discuss-phase {N}` — discuss a phase before planning
- `/gsd-plan-phase {N}` — plan a phase
- `/gsd-execute-phase {N}` — execute a phase
- `/gsd-progress` — see roadmap progress
</internal_workflow>
@@ -93,7 +93,7 @@ Append to the completion confirmation message (regardless of mode):
Outstanding verification items in this phase:
{list filenames}
These will carry forward as debt. Review: `/gsd:audit-uat`
These will carry forward as debt. Review: `/gsd-audit-uat`
```
This does NOT block transition — it ensures the user sees the debt before confirming.
@@ -446,7 +446,7 @@ Next: Phase [X+1] — [Name]
⚡ Auto-continuing: Plan Phase [X+1] in detail
```
Exit skill and invoke SlashCommand("/gsd:plan-phase [X+1] --auto ${GSD_WS}")
Exit skill and invoke SlashCommand("/gsd-plan-phase [X+1] --auto ${GSD_WS}")
**If CONTEXT.md does NOT exist:**
@@ -458,7 +458,7 @@ Next: Phase [X+1] — [Name]
⚡ Auto-continuing: Discuss Phase [X+1] first
```
Exit skill and invoke SlashCommand("/gsd:discuss-phase [X+1] --auto ${GSD_WS}")
Exit skill and invoke SlashCommand("/gsd-discuss-phase [X+1] --auto ${GSD_WS}")
</if>
@@ -477,13 +477,13 @@ Exit skill and invoke SlashCommand("/gsd:discuss-phase [X+1] --auto ${GSD_WS}")
`/clear` then:
`/gsd:discuss-phase [X+1] ${GSD_WS}` — gather context and clarify approach
`/gsd-discuss-phase [X+1] ${GSD_WS}` — gather context and clarify approach
---
**Also available:**
- `/gsd:plan-phase [X+1] ${GSD_WS}` — skip discussion, plan directly
- `/gsd:research-phase [X+1] ${GSD_WS}` — investigate unknowns
- `/gsd-plan-phase [X+1] ${GSD_WS}` — skip discussion, plan directly
- `/gsd-research-phase [X+1] ${GSD_WS}` — investigate unknowns
---
```
@@ -502,13 +502,13 @@ Exit skill and invoke SlashCommand("/gsd:discuss-phase [X+1] --auto ${GSD_WS}")
`/clear` then:
`/gsd:plan-phase [X+1] ${GSD_WS}`
`/gsd-plan-phase [X+1] ${GSD_WS}`
---
**Also available:**
- `/gsd:discuss-phase [X+1] ${GSD_WS}` — revisit context
- `/gsd:research-phase [X+1] ${GSD_WS}` — investigate unknowns
- `/gsd-discuss-phase [X+1] ${GSD_WS}` — revisit context
- `/gsd-research-phase [X+1] ${GSD_WS}` — investigate unknowns
---
```
@@ -554,18 +554,18 @@ This workstream's phases are complete. Other workstreams are still active:
Archive this workstream:
`/gsd:workstreams complete {current_ws_name} ${GSD_WS}`
`/gsd-workstreams complete {current_ws_name} ${GSD_WS}`
See overall milestone progress:
`/gsd:workstreams progress ${GSD_WS}`
`/gsd-workstreams progress ${GSD_WS}`
<sub>Milestone completion will be available once all workstreams finish.</sub>
---
```
Do NOT suggest `/gsd:complete-milestone` or `/gsd:new-milestone`.
Do NOT suggest `/gsd-complete-milestone` or `/gsd-new-milestone`.
Do NOT auto-invoke any further slash commands.
**Stop here.** The user must explicitly decide what to do next.
@@ -593,7 +593,7 @@ Phase {X} marked complete.
⚡ Auto-continuing: Complete milestone and archive
```
Exit skill and invoke SlashCommand("/gsd:complete-milestone {version} ${GSD_WS}")
Exit skill and invoke SlashCommand("/gsd-complete-milestone {version} ${GSD_WS}")
</if>
@@ -612,7 +612,7 @@ Exit skill and invoke SlashCommand("/gsd:complete-milestone {version} ${GSD_WS}"
`/clear` then:
`/gsd:complete-milestone {version} ${GSD_WS}`
`/gsd-complete-milestone {version} ${GSD_WS}`
---

View File

@@ -44,11 +44,11 @@ UI_ENABLED=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-get wor
**If `UI_ENABLED` is `false`:**
```
UI phase is disabled in config. Enable via /gsd:settings.
UI phase is disabled in config. Enable via /gsd-settings.
```
Exit workflow.
**If `planning_exists` is false:** Error — run `/gsd:new-project` first.
**If `planning_exists` is false:** Error — run `/gsd-new-project` first.
## 2. Parse and Validate Phase
@@ -65,7 +65,7 @@ PHASE_INFO=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" roadmap get-ph
**If `has_context` is false:**
```
No CONTEXT.md found for Phase {N}.
Recommended: run /gsd:discuss-phase {N} first to capture design preferences.
Recommended: run /gsd-discuss-phase {N} first to capture design preferences.
Continuing without user decisions — UI researcher will ask all questions.
```
Continue (non-blocking).
@@ -120,7 +120,7 @@ Answer: "What visual and interaction contracts does this phase need?"
- {state_path} (Project State)
- {roadmap_path} (Roadmap)
- {requirements_path} (Requirements)
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
- {context_path} (USER DECISIONS from /gsd-discuss-phase)
- {research_path} (Technical Research — stack decisions)
</files_to_read>
@@ -238,7 +238,7 @@ Max revision iterations reached. Remaining issues:
Options:
1. Force approve — proceed with current UI-SPEC (FLAGs become accepted)
2. Edit manually — open UI-SPEC.md in editor, re-run /gsd:ui-phase
2. Edit manually — open UI-SPEC.md in editor, re-run /gsd-ui-phase
3. Abandon — exit without approving
```
@@ -265,7 +265,7 @@ Dimensions: 6/6 passed
`/clear` then:
`/gsd:plan-phase {N}`
`/gsd-plan-phase {N}`
───────────────────────────────────────────────────────────────
```

View File

@@ -42,7 +42,7 @@ UI_SPEC_FILE=$(ls "${PHASE_DIR}"/*-UI-SPEC.md 2>/dev/null | head -1)
UI_REVIEW_FILE=$(ls "${PHASE_DIR}"/*-UI-REVIEW.md 2>/dev/null | head -1)
```
**If `SUMMARY_FILES` empty:** Exit — "Phase {N} not executed. Run /gsd:execute-phase {N} first."
**If `SUMMARY_FILES` empty:** Exit — "Phase {N} not executed. Run /gsd-execute-phase {N} first."
**If `UI_REVIEW_FILE` non-empty:** Use AskUserQuestion:
- header: "Existing UI Review"
@@ -143,6 +143,9 @@ Full review: {path to UI-REVIEW.md}
- `/gsd:verify-work {N}` — UAT testing
- `/gsd:plan-phase {N+1}` — plan next phase
- `/gsd-verify-work {N}` — UAT testing
- `/gsd-plan-phase {N+1}` — plan next phase
───────────────────────────────────────────────────────────────
```

View File

@@ -20,7 +20,7 @@ First, derive `PREFERRED_CONFIG_DIR` and `PREFERRED_RUNTIME` from the invoking p
- Otherwise -> `claude`
Use `PREFERRED_CONFIG_DIR` when available so custom `--config-dir` installs are checked before default locations.
Use `PREFERRED_RUNTIME` as the first runtime checked so `/gsd:update` targets the runtime that invoked it.
Use `PREFERRED_RUNTIME` as the first runtime checked so `/gsd-update` targets the runtime that invoked it.
Kilo config precedence must match the installer: `KILO_CONFIG_DIR` -> `dirname(KILO_CONFIG)` -> `XDG_CONFIG_HOME/kilo` -> `~/.config/kilo`.
@@ -338,7 +338,7 @@ Your custom files in other locations are preserved:
- Custom hooks ✓
- Your CLAUDE.md files ✓
If you've modified any GSD files directly, they'll be automatically backed up to `gsd-local-patches/` and can be reapplied with `/gsd:reapply-patches` after the update.
If you've modified any GSD files directly, they'll be automatically backed up to `gsd-local-patches/` and can be reapplied with `/gsd-reapply-patches` after the update.
```
Use AskUserQuestion:
@@ -453,7 +453,7 @@ Check for gsd-local-patches/backup-meta.json in the config directory.
```
Local patches were backed up before the update.
Run /gsd:reapply-patches to merge your modifications into the new version.
Run /gsd-reapply-patches to merge your modifications into the new version.
```
**If no patches:** Continue normally.

View File

@@ -28,7 +28,7 @@ AUDITOR_MODEL=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" resolve-mod
NYQUIST_CFG=$(node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-get workflow.nyquist_validation --raw)
```
If `NYQUIST_CFG` is `false`: exit with "Nyquist validation is disabled. Enable via /gsd:settings."
If `NYQUIST_CFG` is `false`: exit with "Nyquist validation is disabled. Enable via /gsd-settings."
Display banner: `GSD > VALIDATE PHASE {N}: {name}`
@@ -41,7 +41,7 @@ SUMMARY_FILES=$(ls "${PHASE_DIR}"/*-SUMMARY.md 2>/dev/null)
- **State A** (`VALIDATION_FILE` non-empty): Audit existing
- **State B** (`VALIDATION_FILE` empty, `SUMMARY_FILES` non-empty): Reconstruct from artifacts
- **State C** (`SUMMARY_FILES` empty): Exit — "Phase {N} not executed. Run /gsd:execute-phase {N} ${GSD_WS} first."
- **State C** (`SUMMARY_FILES` empty): Exit — "Phase {N} not executed. Run /gsd-execute-phase {N} ${GSD_WS} first."
## 2. Discovery
@@ -144,14 +144,14 @@ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs(phase-${PHASE}
```
GSD > PHASE {N} IS NYQUIST-COMPLIANT
All requirements have automated verification.
▶ Next: /gsd:audit-milestone ${GSD_WS}
▶ Next: /gsd-audit-milestone ${GSD_WS}
```
**Partial:**
```
GSD > PHASE {N} VALIDATED (PARTIAL)
{M} automated, {K} manual-only.
▶ Retry: /gsd:validate-phase {N} ${GSD_WS}
▶ Retry: /gsd-validate-phase {N} ${GSD_WS}
```
Display `/clear` reminder.

View File

@@ -1,5 +1,5 @@
<purpose>
Validate built features through conversational testing with persistent state. Creates UAT.md that tracks test progress, survives /clear, and feeds gaps into /gsd:plan-phase --gaps.
Validate built features through conversational testing with persistent state. Creates UAT.md that tracks test progress, survives /clear, and feeds gaps into /gsd-plan-phase --gaps.
User tests, Claude records. One test at a time. Plain text responses.
</purpose>
@@ -78,7 +78,7 @@ If no, continue to `create_uat_file`.
```
No active UAT sessions.
Provide a phase number to start testing (e.g., /gsd:verify-work 4)
Provide a phase number to start testing (e.g., /gsd-verify-work 4)
```
**If no active sessions AND $ARGUMENTS provided:**
@@ -419,31 +419,31 @@ SECURITY_FILE=$(ls "${PHASE_DIR}"/*-SECURITY.md 2>/dev/null | head -1)
If `SECURITY_CFG` is `true` AND `SECURITY_FILE` is empty:
```
⚠ Security enforcement enabled — /gsd:secure-phase {phase} has not run.
⚠ Security enforcement enabled — /gsd-secure-phase {phase} has not run.
Run before advancing to the next phase.
All tests passed. Ready to continue.
- `/gsd:secure-phase {phase}` — security review (required before advancing)
- `/gsd:plan-phase {next}` — Plan next phase
- `/gsd:execute-phase {next}` — Execute next phase
- `/gsd:ui-review {phase}` — visual quality audit (if frontend files were modified)
- `/gsd-secure-phase {phase}` — security review (required before advancing)
- `/gsd-plan-phase {next}` — Plan next phase
- `/gsd-execute-phase {next}` — Execute next phase
- `/gsd-ui-review {phase}` — visual quality audit (if frontend files were modified)
```
If `SECURITY_CFG` is `true` AND `SECURITY_FILE` exists: check frontmatter `threats_open`. If > 0:
```
⚠ Security gate: {threats_open} threats open
/gsd:secure-phase {phase} — resolve before advancing
/gsd-secure-phase {phase} — resolve before advancing
```
If `SECURITY_CFG` is `false` OR (`SECURITY_FILE` exists AND `threats_open` is `0`):
```
All tests passed. Ready to continue.
- `/gsd:plan-phase {next}` — Plan next phase
- `/gsd:execute-phase {next}` — Execute next phase
- `/gsd:secure-phase {phase}` — security review
- `/gsd:ui-review {phase}` — visual quality audit (if frontend files were modified)
- `/gsd-plan-phase {next}` — Plan next phase
- `/gsd-execute-phase {next}` — Execute next phase
- `/gsd-secure-phase {phase}` — security review
- `/gsd-ui-review {phase}` — visual quality audit (if frontend files were modified)
```
</step>
@@ -501,7 +501,7 @@ ${AGENT_SKILLS_PLANNER}
</planning_context>
<downstream_consumer>
Output consumed by /gsd:execute-phase
Output consumed by /gsd-execute-phase
Plans must be executable prompts.
</downstream_consumer>
""",
@@ -614,7 +614,7 @@ Display: `Max iterations reached. {N} issues remain.`
Offer options:
1. Force proceed (execute despite issues)
2. Provide guidance (user gives direction, retry)
3. Abandon (exit, user runs /gsd:plan-phase manually)
3. Abandon (exit, user runs /gsd-plan-phase manually)
Wait for user response.
</step>
@@ -642,7 +642,7 @@ Plans verified and ready for execution.
**Execute fixes** — run fix plans
`/clear` then `/gsd:execute-phase {phase} --gaps-only`
`/clear` then `/gsd-execute-phase {phase} --gaps-only`
───────────────────────────────────────────────────────────────
```
@@ -696,5 +696,5 @@ Default to **major** if unclear. User can correct if needed.
- [ ] If issues: gsd-planner creates fix plans (gap_closure mode)
- [ ] If issues: gsd-plan-checker verifies fix plans
- [ ] If issues: revision loop until plans pass (max 3 iterations)
- [ ] Ready for `/gsd:execute-phase --gaps-only` when complete
- [ ] Ready for `/gsd-execute-phase --gaps-only` when complete
</success_criteria>