From task-handover
Create a structured handover document so the next agent or engineer can resume work with zero prior context. Use this skill when a session is getting too long, the context window is under pressure, the user asks to "wrap up", "hand off", "create a summary for the next agent", or says "let's continue in a new chat". Also trigger proactively when a multi-subtask session has been running for a long time and meaningful progress has been made. Produces a single HANDOVER.md file — not a chat summary — that survives session boundaries and enables true cold-start resumption.
How this skill is triggered — by the user, by Claude, or both
Slash command
/task-handover:task-handoverThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Methodology for creating a self-contained handover document that lets the next agent or engineer resume immediately — no prior context required.
Methodology for creating a self-contained handover document that lets the next agent or engineer resume immediately — no prior context required.
THE HANDOVER DOCUMENT MUST PASS THE COLD-START TEST.
Before finalising, ask: Could a completely fresh agent, with only this document and access to the codebase, pick up exactly where we left off and make the right next move?
If the answer is no, the document is not done. A handover that requires the reader to reconstruct context is not a handover — it's a summary. These are different things.
Not every session needs a full handover document. Before starting, decide:
HANDOVER.md using the phased approach below.When in doubt, write the full document — it costs minutes now and saves the next session hours.
Do not write the handover from conversational memory. Agent memory degrades and drifts over long sessions — treat it as unreliable. You must verify the actual state of the codebase from the terminal before writing a single word.
# 1. What files are actually changed right now?
git status
git diff --stat
# 2. What is the exact test / lint state?
# Run the project's fast test suite or linter if one exists.
# Capture the result — pass/fail count, failing test names — for the handover.
Then reflect on the session narrative:
Only after grounding in terminal output should you begin writing.
Read template.md and fill out every section using verified state from Phase 1.
Formatting rules:
<!-- ... -->) from the final output. The template uses them as authoring instructions — they must not appear in the written file.File placement — single source of truth:
Always write to .claude/HANDOVER.md, overwriting any existing file. One file, always current — not a growing archive of HANDOVER-v2.md fragments. If the user explicitly asks to keep history, archive the previous version to .claude/handover-archive/HANDOVER-<date>.md first, then overwrite.
Before writing the file, read the draft as if you are a fresh agent with no session memory. Check each of the following:
If any check fails, revise before writing the file.
After writing the file, respond to the user with three things:
Handover complete. Close this chat and paste the following into your new session:
Please read `.claude/HANDOVER.md` to get the full context of our current state. Once you've read it, acknowledge that you understand the objective, briefly state what you are going to do first, and wait for my confirmation before proceeding.
Stop and correct if you catch yourself doing any of the following:
git status or checking file contents<!-- ... --> comments in the final generated Markdown filerefresh_token() in services/auth.py at line 134, following the pattern of create_token() above it")HANDOVER-<topic>.md instead of overwriting the single .claude/HANDOVER.mdgit status and git diff --stat run — handover reflects actual file state, not memory.claude/HANDOVER.md (single file, overwritten)Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub pytholic/claude-skills --plugin write-tests