feat: improved continuation UI with context and visual hierarchy

- Add continuation-format.md reference defining the standard format
- Replace "## To Continue" with "## ▶ Next Up"
- Show plan/phase name + description instead of just command paths
- Add `/clear` explanation: "fresh context window"
- Change "Other options" to "Also available"
- Add /gsd:research-phase to phase planning options
- Add visual separators and completion headers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2025-12-17 09:00:18 -06:00
parent a6bd069607
commit 733fc1440c
16 changed files with 542 additions and 116 deletions

View File

@@ -424,19 +424,24 @@ Shipped:
Summary: .planning/MILESTONES.md
Tag: v[X.Y]
## To Continue
---
Run `/clear`, then paste one of:
## ▶ Next Up
**Plan Next Milestone** — define v[X.Y+1] features and scope
**To discuss next milestone scope:**
```
/gsd:discuss-milestone
```
**To create next milestone directly:**
```
/gsd:new-milestone
```
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:new-milestone` — create directly if scope is clear
---
```
</step>

View File

@@ -323,22 +323,26 @@ Milestone v[X.Y] [Name] created:
- ROADMAP.md updated
- STATE.md reset for new milestone
## To Continue
---
Run `/clear`, then paste one of:
## ▶ Next Up
**To discuss Phase [N] context first:**
```
/gsd:discuss-phase [N]
```
**Phase [N]: [Name]** — [Goal from ROADMAP.md]
**To plan Phase [N] directly:**
```
/gsd:plan-phase [N]
```
Other options:
- Review roadmap before continuing
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:discuss-phase [N]` — gather context first
- `/gsd:research-phase [N]` — investigate unknowns
- Review roadmap
---
```
</step>

View File

@@ -487,19 +487,26 @@ Project initialized:
- State: .planning/STATE.md
- Committed as: docs: initialize [project] ([N] phases)
## To Continue
---
Run `/clear`, then paste one of:
## ▶ Next Up
**To discuss Phase 1 context first:**
```
/gsd:discuss-phase 1
```
**Phase 1: [Name]** — [Goal from ROADMAP.md]
**To plan Phase 1 directly:**
```
/gsd:plan-phase 1
```
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:discuss-phase 1` — gather context first
- `/gsd:research-phase 1` — investigate unknowns
- Review roadmap
---
```
</step>

View File

@@ -138,12 +138,19 @@ Milestone scope defined:
Ready to create the milestone structure.
## To Continue
---
## ▶ Next Up
**Create Milestone v[X.Y]** — [Theme Name]
Run `/clear`, then paste:
```
/gsd:new-milestone
```
<sub>`/clear` first → fresh context window</sub>
---
```
Pass context forward by summarizing:

View File

@@ -194,22 +194,25 @@ Created: .planning/phases/${PHASE}-${SLUG}/${PHASE}-CONTEXT.md
## Boundaries
[What's out of scope]
## To Continue
---
Run `/clear`, then paste one of:
## ▶ Next Up
**To research this phase first:**
```
/gsd:research-phase ${PHASE}
```
**Phase ${PHASE}: [Name]** — [Goal from ROADMAP.md]
**To plan this phase directly:**
```
/gsd:plan-phase ${PHASE}
```
Other options:
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:research-phase ${PHASE}` — investigate unknowns
- Review/edit CONTEXT.md before continuing
---
```
</step>

View File

@@ -1210,15 +1210,24 @@ Summary: .planning/phases/XX-name/{phase}-{plan}-SUMMARY.md
[X] of [Y] plans complete for Phase Z.
## To Continue
---
## ▶ Next Up
**{phase}-{next-plan}: [Plan Name]** — [objective from next PLAN.md]
Run `/clear`, then paste:
```
/gsd:execute-plan .planning/phases/XX-name/{phase}-{next-plan}-PLAN.md
```
Other options:
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- Review what was built before continuing
---
```
Wait for user to clear and run next command.
@@ -1257,16 +1266,25 @@ All [N] phases complete!
This milestone is 100% done.
════════════════════════════════════════
## To Continue
---
## ▶ Next Up
**Complete Milestone** — archive and prepare for next
Run `/clear`, then paste:
```
/gsd:complete-milestone
```
Other options:
- Add another phase: `/gsd:add-phase <description>`
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:add-phase <description>` — add another phase
- Review accomplishments before archiving
---
```
**If phase complete but more phases remain:**
@@ -1275,24 +1293,30 @@ Other options:
Plan {phase}-{plan} complete.
Summary: .planning/phases/XX-name/{phase}-{plan}-SUMMARY.md
Phase [Z]: [Name] COMPLETE - all [Y] plans finished.
## ✓ Phase [Z] Complete
## To Continue
All [Y] plans finished.
Run `/clear`, then paste one of:
---
**To discuss Phase [X+1] context first:**
```
/gsd:discuss-phase [X+1]
```
## ▶ Next Up
**Phase [X+1]: [Name]** — [Goal from ROADMAP.md]
**To plan Phase [X+1] directly:**
```
/gsd:plan-phase [X+1]
```
Other options:
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:discuss-phase [X+1]` — gather context first
- `/gsd:research-phase [X+1]` — investigate unknowns
- Review phase accomplishments before continuing
---
```
</step>

View File

@@ -717,15 +717,24 @@ After completion, create `.planning/phases/XX-name/{phase}-{plan}-SUMMARY.md`
Phase plan created: .planning/phases/XX-name/{phase}-01-PLAN.md
[X] tasks defined.
## To Continue
---
## ▶ Next Up
**{phase}-01: [Plan Name]** — [objective summary]
Run `/clear`, then paste:
```
/gsd:execute-plan .planning/phases/XX-name/{phase}-01-PLAN.md
```
Other options:
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- Review/adjust tasks before executing
---
```
**If multiple plans:**
@@ -739,15 +748,25 @@ Phase plans created:
Total: [X] tasks across [Y] focused plans.
## To Continue
---
## ▶ Next Up
**{phase}-01: [Plan Name]** — [objective summary]
Run `/clear`, then paste:
```
/gsd:execute-plan .planning/phases/XX-name/{phase}-01-PLAN.md
```
Other options:
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- Review/adjust tasks before executing
- View all plans: `ls .planning/phases/XX-name/*-PLAN.md`
---
```
</step>

View File

@@ -176,21 +176,41 @@ Based on user selection, route to appropriate workflow:
- **Execute plan** → Show command for user to run after clearing:
```
## To Continue
---
## ▶ Next Up
**{phase}-{plan}: [Plan Name]** — [objective from PLAN.md]
Run `/clear`, then paste:
```
/gsd:execute-plan [path]
```
<sub>`/clear` first → fresh context window</sub>
---
```
- **Plan phase** → Show command for user to run after clearing:
```
## To Continue
---
## ▶ Next Up
**Phase [N]: [Name]** — [Goal from ROADMAP.md]
Run `/clear`, then paste:
```
/gsd:plan-phase [phase-number]
```
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:discuss-phase [N]` — gather context first
- `/gsd:research-phase [N]` — investigate unknowns
---
```
- **Transition** → ./transition.md
- **Review issues** → Read ISSUES.md, present summary

View File

@@ -389,26 +389,28 @@ Exit skill and invoke SlashCommand("/gsd:plan-phase [X+1]")
<if mode="interactive" OR="custom with gates.confirm_transition true">
```
Phase [X] marked complete.
## ✓ Phase [X] Complete
Next: Phase [X+1] - [Name]
---
## To Continue
## ▶ Next Up
Run `/clear`, then paste one of:
**Phase [X+1]: [Name]** — [Goal from ROADMAP.md]
**To discuss Phase [X+1] context first:**
```
/gsd:discuss-phase [X+1]
```
**To plan Phase [X+1] directly:**
```
/gsd:plan-phase [X+1]
```
Other options:
- Review roadmap before continuing
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- `/gsd:discuss-phase [X+1]` — gather context first
- `/gsd:research-phase [X+1]` — investigate unknowns
- Review roadmap
---
```
</if>
@@ -428,19 +430,28 @@ Exit skill and invoke SlashCommand("/gsd:complete-milestone [version]")
<if mode="interactive" OR="custom with gates.confirm_transition true">
```
Phase [X] marked complete.
## ✓ Phase [X] Complete
🎉 Milestone [version] is 100% complete - all phases finished!
## To Continue
---
## ▶ Next Up
**Complete Milestone [version]** — archive and prepare for next
Run `/clear`, then paste:
```
/gsd:complete-milestone [version]
```
Other options:
<sub>`/clear` first → fresh context window</sub>
---
**Also available:**
- Review accomplishments before archiving
---
```
</if>