handoff
Analyze the current conversation and create a handoff document for continuing this work in a fresh context
Create a comprehensive handoff document that captures all context from the current conversation. Write to handoff.md in the current working directory using the XML format below.
Instructions
-
Original Task: Identify what was initially requested (not new scope or side tasks)
-
Work Completed: Document everything accomplished in detail
-
Work Remaining: Specify exactly what still needs to be done
-
Attempted Approaches: Capture everything tried, including failures
-
Critical Context: Preserve all essential knowledge
-
Current State: Document the exact current state
Output Format
<original_task>
[The specific task that was initially requested - be precise about scope]
</original_task>
<work_completed>
[Comprehensive detail of everything accomplished:
- Artifacts created/modified/analyzed (with specific references)
- Specific changes, additions, or findings (with details and locations)
- Actions taken (commands, searches, API calls, tool usage, etc.)
- Key discoveries or insights
- Decisions made and reasoning
- Side tasks completed]
</work_completed>
<work_remaining>
[Detailed breakdown of what needs to be done:
- Specific tasks with precise locations or references
- Exact targets to create, modify, or analyze
- Dependencies and ordering
- Validation or verification steps needed]
</work_remaining>
<attempted_approaches>
[Everything tried, including failures:
- Approaches that didn't work and why
- Errors, blockers, or limitations encountered
- Dead ends to avoid
- Alternative approaches considered but not pursued]
</attempted_approaches>
<critical_context>
[All essential knowledge for continuing:
- Key decisions and trade-offs
- Constraints, requirements, or boundaries
- Important discoveries, gotchas, or edge cases
- Environment, configuration, or setup details
- Assumptions requiring validation
- References to documentation, sources, or resources]
</critical_context>
<current_state>
[Exact state of the work:
- Status of deliverables (complete/in-progress/not started)
- What's finalized vs. what's temporary or draft
- Temporary changes or workarounds in place
- Current position in workflow or process
- Any open questions or pending decisions]
</current_state>