From harness-engineering
Write a structured handoff document for context transfer between sessions
npx claudepluginhub emingenc/harness-engineering --plugin harness-engineering# /handoff — Context Transfer Generate a structured handoff document for session transfer. ## Process 1. **Gather state**: - Read `claude-progress.txt` (last 10 entries) - Read `tasks.json` status summary - Check git status for uncommitted changes - Note current working task (if any) 2. **Write handoff** to `workspace/handoff-<timestamp>.md`: 3. **Log**: 4. Tell the user: "Handoff written. Safe to clear context. Next session: read the handoff document first."
/handoffGenerates a structured markdown handoff document summarizing git status, commits, uncommitted changes, session learnings, progress, and next steps. Saves to ~/.pro-workflow/handoffs/. Supports --full and --compact modes.
/handoffEnds swarm session: summarizes work/blockers, persists state via hivemind_store and git, cleans agents/tasks/reservations, updates hive, generates handoff note.
/handoffGenerates a developer handoff package for the specified screen, feature, or component, including visual specs, interaction specs, QA checklist, assets, and notes.
/handoffSaves session state snapshot as structured JSON to docs/tasks/<branch>/session_logs/<timestamp>_handoff.json, capturing git status, progress summary, tasks, and context for resume.
/handoffGenerates self-contained handoff prompt for AI agents with git context, session summary, and optional focus, saving to ~/.handoffs/.md file.
/handoffCreates a detailed handoff plan summarizing conversation, technical details, code, decisions, and next steps for continuing work in a new session.
Generate a structured handoff document for session transfer.
Gather state:
claude-progress.txt (last 10 entries)tasks.json status summaryWrite handoff to workspace/handoff-<timestamp>.md:
# Handoff: <timestamp>
## Current State
- Active task: <task_id> or "none"
- Tasks completed: X/Y
- Uncommitted changes: yes/no
## Decisions Made This Session
- [List key decisions]
## What Was Tried
- [List attempts, especially if 2-Pass Rule triggered]
## Remaining Work
- [Next task from tasks.json]
- [Open questions]
## Files Modified
- [List of changed files]
## Resumption Instructions
1. Read this handoff document
2. Read claude-progress.txt (last 5 entries)
3. Run select_next.py to find next task
4. Continue from where we left off
Log:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/progress.py append "Handoff written: workspace/handoff-<timestamp>.md"
Tell the user: "Handoff written. Safe to clear context. Next session: read the handoff document first."