mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 20:54:11 +00:00
- Add .claude/ configuration (agents, commands, hooks, get-shit-done workflows) - Add prompts/ directory with development planning documents - Add scripts/setup-tenants/ with tenant configuration - Add docs/screenshots/ - Remove obsolete phase2.2-corrections-report.md - Update pnpm-lock.yaml - Update detect-secrets.sh to ignore setup.sh (env var usage, not secrets) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
123 lines
2.4 KiB
Markdown
123 lines
2.4 KiB
Markdown
---
|
|
name: gsd:pause-work
|
|
description: Create context handoff when pausing work mid-phase
|
|
allowed-tools:
|
|
- Read
|
|
- Write
|
|
- Bash
|
|
---
|
|
|
|
<objective>
|
|
Create `.continue-here.md` handoff file to preserve complete work state across sessions.
|
|
|
|
Enables seamless resumption in fresh session with full context restoration.
|
|
</objective>
|
|
|
|
<context>
|
|
@.planning/STATE.md
|
|
</context>
|
|
|
|
<process>
|
|
|
|
<step name="detect">
|
|
Find current phase directory from most recently modified files.
|
|
</step>
|
|
|
|
<step name="gather">
|
|
**Collect complete state for handoff:**
|
|
|
|
1. **Current position**: Which phase, which plan, which task
|
|
2. **Work completed**: What got done this session
|
|
3. **Work remaining**: What's left in current plan/phase
|
|
4. **Decisions made**: Key decisions and rationale
|
|
5. **Blockers/issues**: Anything stuck
|
|
6. **Mental context**: The approach, next steps, "vibe"
|
|
7. **Files modified**: What's changed but not committed
|
|
|
|
Ask user for clarifications if needed.
|
|
</step>
|
|
|
|
<step name="write">
|
|
**Write handoff to `.planning/phases/XX-name/.continue-here.md`:**
|
|
|
|
```markdown
|
|
---
|
|
phase: XX-name
|
|
task: 3
|
|
total_tasks: 7
|
|
status: in_progress
|
|
last_updated: [timestamp]
|
|
---
|
|
|
|
<current_state>
|
|
[Where exactly are we? Immediate context]
|
|
</current_state>
|
|
|
|
<completed_work>
|
|
|
|
- Task 1: [name] - Done
|
|
- Task 2: [name] - Done
|
|
- Task 3: [name] - In progress, [what's done]
|
|
</completed_work>
|
|
|
|
<remaining_work>
|
|
|
|
- Task 3: [what's left]
|
|
- Task 4: Not started
|
|
- Task 5: Not started
|
|
</remaining_work>
|
|
|
|
<decisions_made>
|
|
|
|
- Decided to use [X] because [reason]
|
|
- Chose [approach] over [alternative] because [reason]
|
|
</decisions_made>
|
|
|
|
<blockers>
|
|
- [Blocker 1]: [status/workaround]
|
|
</blockers>
|
|
|
|
<context>
|
|
[Mental state, what were you thinking, the plan]
|
|
</context>
|
|
|
|
<next_action>
|
|
Start with: [specific first action when resuming]
|
|
</next_action>
|
|
```
|
|
|
|
Be specific enough for a fresh Claude to understand immediately.
|
|
</step>
|
|
|
|
<step name="commit">
|
|
```bash
|
|
git add .planning/phases/*/.continue-here.md
|
|
git commit -m "wip: [phase-name] paused at task [X]/[Y]"
|
|
```
|
|
</step>
|
|
|
|
<step name="confirm">
|
|
```
|
|
✓ Handoff created: .planning/phases/[XX-name]/.continue-here.md
|
|
|
|
Current state:
|
|
|
|
- Phase: [XX-name]
|
|
- Task: [X] of [Y]
|
|
- Status: [in_progress/blocked]
|
|
- Committed as WIP
|
|
|
|
To resume: /gsd:resume-work
|
|
|
|
```
|
|
</step>
|
|
|
|
</process>
|
|
|
|
<success_criteria>
|
|
- [ ] .continue-here.md created in correct phase directory
|
|
- [ ] All sections filled with specific content
|
|
- [ ] Committed as WIP
|
|
- [ ] User knows location and how to resume
|
|
</success_criteria>
|
|
```
|