fix(claude): restore namespaced /gsd:<command> references (#3452)

* fix(claude): restore namespaced /gsd:<command> references

* test(claude): align slash-command expectations to /gsd: form

* test(claude): align generated command references to /gsd:

* test(claude): finish /gsd: namespace expectation updates
This commit is contained in:
Tom Boucher
2026-05-12 21:53:24 -04:00
committed by GitHub
parent 740d718941
commit a60e05c714
187 changed files with 1089 additions and 1142 deletions

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">
@@ -128,10 +128,10 @@ CONTEXT: [✓ if has_context | - if not]
- [e.g. jq -r '.blockers[].text' from state-snapshot]
## Pending Todos
- [count] pending — /gsd-capture --list to review
- [count] pending — /gsd:capture --list 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
@@ -215,8 +215,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.
@@ -247,7 +247,7 @@ Read its `<objective>` section.
`/clear` then:
`/gsd-execute-phase {phase} ${GSD_WS}`
`/gsd:execute-phase {phase} ${GSD_WS}`
---
```
@@ -277,7 +277,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}`
---
```
@@ -293,14 +293,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-discuss-phase {phase}` — include assumptions check before planning
- `/gsd:ui-phase {phase}` — generate UI design contract (recommended for frontend phases)
- `/gsd:plan-phase {phase}` — skip discussion, plan directly
- `/gsd:discuss-phase {phase}` — include assumptions check before planning
---
```
@@ -316,13 +316,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-discuss-phase {phase} ${GSD_WS}` — include assumptions check before planning
- `/gsd:plan-phase {phase} ${GSD_WS}` — skip discussion, plan directly
- `/gsd:discuss-phase {phase} ${GSD_WS}` — include assumptions check before planning
---
```
@@ -342,13 +342,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
---
```
@@ -368,13 +368,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
---
```
@@ -424,14 +424,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
---
```
@@ -449,13 +449,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
---
```
@@ -477,12 +477,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
---
```
@@ -508,7 +508,7 @@ Ready to plan the next milestone.
`/clear` then:
`/gsd-new-milestone ${GSD_WS}`
`/gsd:new-milestone ${GSD_WS}`
---
```
@@ -518,10 +518,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>
<step name="forensic_audit">
@@ -628,12 +628,12 @@ Review the flagged items above before acting on the routing suggestion.
```
Then for each failed check, add a concrete next action:
- Check 2 (orphaned handoff): `Read the handoff file(s) and resume from where work was paused: /gsd-resume-work ${GSD_WS}`
- Check 2 (orphaned handoff): `Read the handoff file(s) and resume from where work was paused: /gsd:resume-work ${GSD_WS}`
- Check 3 (deferred scope): `Add the missing phases to ROADMAP.md or update the deferred references`
- Check 4 (memory pending): `Review the flagged memory entries and resolve or clear them`
- Check 5 (blocking todos): `Complete the operational steps in .planning/todos/pending/ before continuing`
- Check 6 (uncommitted code): `Commit or stash the uncommitted changes before advancing`
- Check 1 (STATE inconsistency): `Run /gsd-verify-work ${PHASE} ${GSD_WS} to reconcile state`
- Check 1 (STATE inconsistency): `Run /gsd:verify-work ${PHASE} ${GSD_WS} to reconcile state`
</step>
</process>
@@ -643,7 +643,7 @@ Then for each failed check, add a concrete next action:
- [ ] 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>