Handoff Work
Produce a handoff document so another agent can continue where you left off or review what was done — whether the work is finished or still in progress.
The handoff must stand alone: the next agent should not need to replay this session or re-read the entire diff to understand the goal, constraints, and current state.
When to Use
- Ending a work session (done or not) and another agent will continue or review
- Work is partial — context needs to transfer before the next agent picks up
- Before requesting
review-implementation or code-quality-review on recent changes
- The user says "hand off this work", "prepare a handoff", or "document what was done"
Handoff Focus
Give the next agent enough context to continue or review without re-discovering background from scratch.
Context (required)
Set the scene so the next agent understands the work in its broader setting:
- Goal — what problem is being solved or what outcome is expected
- Source artifacts — plan/spec/issue links or paths, acceptance criteria, relevant user requests
- Starting point — relevant baseline behavior or state before this work began
- Constraints — technical limits, conventions, deadlines, or non-negotiables that shaped decisions
- Scope boundaries — what is in scope, explicitly out of scope, and what was intentionally deferred
Work done (required)
- What was worked on — progress made so far, decisions taken, behavior added or changed; call out what is done vs still pending
- How it was done — approach, patterns followed, key implementation choices
- Why it was done — intent, constraints, tradeoffs, deviations from the original plan
- Files referenced — paths touched, created, or deleted; call out the most important ones first and how they relate to each other
Continuation (required when work is not complete)
- Status —
complete, in_progress, or blocked
- Next steps — what the next agent should do first
- Open items — blockers, unanswered questions, or follow-ups
Also include when relevant
- Verification run (commands, pass/fail)
- Assumptions the next agent should not re-litigate
- Risks, edge cases, or areas that need extra scrutiny on review
Output
Use this structure:
## Work Handoff
**Status:** in_progress | complete | blocked
### Context
[Goal, source artifacts, starting point, constraints, and scope boundaries — enough background
for the next agent to understand why this work exists and what "done" looks like]
### What was worked on
[Progress so far — what is done and what is still pending]
### How it was done
[Approach, patterns, key implementation choices]
### Why it was done
[Intent, constraints, tradeoffs, deviations from plan]
### Files referenced
- `path/to/file` — [brief note on what changed, why it matters, and how it connects to other touched files]
### Verification
[Commands run and results, or "not run" with reason]
### Next steps
[What the next agent should do first to continue or finish]
### Open items
[Blockers, unanswered questions, risks to review, or follow-ups]
Keep it factual and specific. Prefer file paths, concrete behavior, and decision rationale over vague summaries. If the next agent would need to ask "what was the goal?" or "why was it done this way?", the handoff is missing context.
1---2name: handoff-work-23description: Hand off work in progress or finished to another agent for continuation or review. Produce a structured summary with enough background context, what was worked on, how, why, files touched, and what remains. Trigger when the user says "hand off this work", "prepare a handoff", "document what was done for the next agent", or ending a session another agent should pick up.4---56# Handoff Work78Produce a handoff document so another agent can continue where you left off or review what was done — whether the work is finished or still in progress.910The handoff must stand alone: the next agent should not need to replay this session or re-read the entire diff to understand the goal, constraints, and current state.1112## When to Use1314- Ending a work session (done or not) and another agent will continue or review15- Work is partial — context needs to transfer before the next agent picks up16- Before requesting `review-implementation` or `code-quality-review` on recent changes17- The user says "hand off this work", "prepare a handoff", or "document what was done"1819## Handoff Focus2021Give the next agent enough context to continue or review without re-discovering background from scratch.2223### Context (required)2425Set the scene so the next agent understands the work in its broader setting:2627- **Goal** — what problem is being solved or what outcome is expected28- **Source artifacts** — plan/spec/issue links or paths, acceptance criteria, relevant user requests29- **Starting point** — relevant baseline behavior or state before this work began30- **Constraints** — technical limits, conventions, deadlines, or non-negotiables that shaped decisions31- **Scope boundaries** — what is in scope, explicitly out of scope, and what was intentionally deferred3233### Work done (required)3435- **What was worked on** — progress made so far, decisions taken, behavior added or changed; call out what is done vs still pending36- **How it was done** — approach, patterns followed, key implementation choices37- **Why it was done** — intent, constraints, tradeoffs, deviations from the original plan38- **Files referenced** — paths touched, created, or deleted; call out the most important ones first and how they relate to each other3940### Continuation (required when work is not complete)4142- **Status** — `complete`, `in_progress`, or `blocked`43- **Next steps** — what the next agent should do first44- **Open items** — blockers, unanswered questions, or follow-ups4546### Also include when relevant4748- Verification run (commands, pass/fail)49- Assumptions the next agent should not re-litigate50- Risks, edge cases, or areas that need extra scrutiny on review5152## Output5354Use this structure:5556```markdown57## Work Handoff5859**Status:** in_progress | complete | blocked6061### Context62[Goal, source artifacts, starting point, constraints, and scope boundaries — enough background63for the next agent to understand why this work exists and what "done" looks like]6465### What was worked on66[Progress so far — what is done and what is still pending]6768### How it was done69[Approach, patterns, key implementation choices]7071### Why it was done72[Intent, constraints, tradeoffs, deviations from plan]7374### Files referenced75- `path/to/file` — [brief note on what changed, why it matters, and how it connects to other touched files]7677### Verification78[Commands run and results, or "not run" with reason]7980### Next steps81[What the next agent should do first to continue or finish]8283### Open items84[Blockers, unanswered questions, risks to review, or follow-ups]85```8687Keep it factual and specific. Prefer file paths, concrete behavior, and decision rationale over vague summaries. If the next agent would need to ask "what was the goal?" or "why was it done this way?", the handoff is missing context.