Files
rtu_v5/.opencode/commands/gsd/gsd-pause-work.md
2026-05-29 14:48:36 +08:00

39 lines
1.0 KiB
Markdown

---
name: gsd-pause-work
description: Create context handoff when pausing work mid-phase
permissions:
read: true
write: true
bash: true
---
<objective>
Create `.continue-here.md` handoff file to preserve complete work state across sessions.
Routes to the pause-work workflow which handles:
- Current phase detection from recent files
- Complete state gathering (position, completed work, remaining work, decisions, blockers)
- Handoff file creation with all context sections
- Git commit as WIP
- Resume instructions
</objective>
<execution_context>
@./.opencode/get-shit-done/workflows/pause-work.md
</execution_context>
<context>
State and phase progress are gathered in-workflow with targeted reads.
</context>
<process>
**Follow the pause-work workflow** from `@./.opencode/get-shit-done/workflows/pause-work.md`.
The workflow handles all logic including:
1. Phase directory detection
2. State gathering with user clarifications
3. Handoff file writing with timestamp
4. Git commit
5. Confirmation with resume instructions
</process>