Spaces:
Runtime error
Runtime error
File size: 4,782 Bytes
a6b96c2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | # Continuation Format
Standard format for presenting next steps after completing a command or workflow.
## Core Structure
```
---
## βΆ Next Up β [${PROJECT_CODE}] ${PROJECT_TITLE}
**{identifier}: {name}** β {one-line description}
`/clear` then:
`{command to copy-paste}`
---
**Also available:**
- `{alternative option 1}` β description
- `{alternative option 2}` β description
---
```
> If `project_code` is not set in the init context, omit the project identity suffix:
> `## βΆ Next Up` (no ` β [CODE] Title`).
## Format Rules
1. **Always show what it is** β name + description, never just a command path
2. **Pull context from source** β ROADMAP.md for phases, PLAN.md `<objective>` for plans
3. **Command in inline code** β backticks, easy to copy-paste, renders as clickable link
4. **`/clear` first** β always show `/clear` before the command so users run it in the correct order
5. **"Also available" not "Other options"** β sounds more app-like
6. **Visual separators** β `---` above and below to make it stand out
7. **Project identity in heading** β include `[PROJECT_CODE] PROJECT_TITLE` from init context so handoffs are self-identifying across sessions. If `project_code` is not set, omit the suffix entirely (just `## βΆ Next Up`)
## Variants
### Execute Next Plan
```
---
## βΆ Next Up β [${PROJECT_CODE}] ${PROJECT_TITLE}
**02-03: Refresh Token Rotation** β Add /api/auth/refresh with sliding expiry
`/clear` then:
`/gsd-execute-phase 2`
---
**Also available:**
- Review plan before executing
- `/gsd-discuss-phase 2 --assumptions` β check assumptions
---
```
### Execute Final Plan in Phase
Add note that this is the last plan and what comes after:
```
---
## βΆ Next Up β [${PROJECT_CODE}] ${PROJECT_TITLE}
**02-03: Refresh Token Rotation** β Add /api/auth/refresh with sliding expiry
<sub>Final plan in Phase 2</sub>
`/clear` then:
`/gsd-execute-phase 2`
---
**After this completes:**
- Phase 2 β Phase 3 transition
- Next: **Phase 3: Core Features** β User dashboard and settings
---
```
### Plan a Phase
```
---
## βΆ Next Up β [${PROJECT_CODE}] ${PROJECT_TITLE}
**Phase 2: Authentication** β JWT login flow with refresh tokens
`/clear` then:
`/gsd-plan-phase 2`
---
**Also available:**
- `/gsd-discuss-phase 2` β gather context first
- `/gsd-plan-phase --research-phase 2` β investigate unknowns
- Review roadmap
---
```
### Phase Complete, Ready for Next
Show completion status before next action:
```
---
## β Phase 2 Complete
3/3 plans executed
## βΆ Next Up β [${PROJECT_CODE}] ${PROJECT_TITLE}
**Phase 3: Core Features** β User dashboard, settings, and data export
`/clear` then:
`/gsd-plan-phase 3`
---
**Also available:**
- `/gsd-discuss-phase 3` β gather context first
- `/gsd-plan-phase --research-phase 3` β investigate unknowns
- Review what Phase 2 built
---
```
### Multiple Equal Options
When there's no clear primary action:
```
---
## βΆ Next Up β [${PROJECT_CODE}] ${PROJECT_TITLE}
**Phase 3: Core Features** β User dashboard, settings, and data export
`/clear` then one of:
**To plan directly:** `/gsd-plan-phase 3`
**To discuss context first:** `/gsd-discuss-phase 3`
**To research unknowns:** `/gsd-plan-phase --research-phase 3`
---
```
### Milestone Complete
```
---
## π Milestone v1.0 Complete
All 4 phases shipped
## βΆ Next Up β [${PROJECT_CODE}] ${PROJECT_TITLE}
**Start v1.1** β questioning β research β requirements β roadmap
`/clear` then:
`/gsd-new-milestone`
---
```
## Pulling Context
### For phases (from ROADMAP.md):
```markdown
### Phase 2: Authentication
**Goal**: JWT login flow with refresh tokens
```
Extract: `**Phase 2: Authentication** β JWT login flow with refresh tokens`
### For plans (from ROADMAP.md):
```markdown
Plans:
- [ ] 02-03: Add refresh token rotation
```
Or from PLAN.md `<objective>`:
```xml
<objective>
Add refresh token rotation with sliding expiry window.
Purpose: Extend session lifetime without compromising security.
</objective>
```
Extract: `**02-03: Refresh Token Rotation** β Add /api/auth/refresh with sliding expiry`
## Anti-Patterns
### Don't: Command-only (no context)
```
## To Continue
Run `/clear`, then paste:
/gsd-execute-phase 2
```
User has no idea what 02-03 is about.
### Don't: Missing /clear explanation
```
`/gsd-plan-phase 3`
Run /clear first.
```
Doesn't explain why. User might skip it.
### Don't: "Other options" language
```
Other options:
- Review roadmap
```
Sounds like an afterthought. Use "Also available:" instead.
### Don't: Fenced code blocks for commands
```
```
/gsd-plan-phase 3
```
```
Fenced blocks inside templates create nesting ambiguity. Use inline backticks instead.
|