Create handoff document for transferring work to another session
Creates a structured handoff document to transfer your current work context to another session. Use this when you need to pause work and want to resume later or hand off to another developer.
/plugin marketplace add mahidalhan/skilled-spec/plugin install workflow-tools@skilled-intelligenceConfiguration: Set
handoff_dirin project's CLAUDE.md or use defaultdocs/handoffs/
You are tasked with writing a handoff document to hand off your work to another agent in a new session. You will create a handoff document that is thorough, but also concise. The goal is to compact and summarize your context without losing any of the key details of what you're working on.
Use the following information to understand how to create your document:
${HANDOFF_DIR:-docs/handoffs}/YYYY-MM-DD_HH-MM-SS_description.md, where:
13:00 for 1:00 pm)docs/handoffs/2025-01-08_13-55-22_create-context-compaction.mdUsing the above conventions, write your document. Use the defined filepath and the following YAML frontmatter pattern:
---
date: [Current date and time with timezone in ISO format]
researcher: Claude
git_commit: [Current commit hash]
branch: [Current branch name]
topic: "[Feature/Task Name] Implementation Strategy"
tags: [implementation, strategy, relevant-component-names]
status: complete
last_updated: [Current date in YYYY-MM-DD format]
type: implementation_strategy
---
# Handoff: {very concise description}
## Task(s)
{Description of the task(s) that you were working on, along with the status of each (completed, work in progress, planned/discussed). If you are working on an implementation plan, make sure to call out which phase you are on. Make sure to reference the plan document and/or research document(s) you are working from that were provided to you at the beginning of the session, if applicable.}
## Critical References
{List any critical specification documents, architectural decisions, or design docs that must be followed. Include only 2-3 most important file paths. Leave blank if none.}
## Recent Changes
{Describe recent changes made to the codebase that you made in file:line syntax}
## Learnings
{Describe important things that you learned - e.g. patterns, root causes of bugs, or other important pieces of information someone that is picking up your work after you should know. Consider listing explicit file paths.}
## Artifacts
{An exhaustive list of artifacts you produced or updated as filepaths and/or file:line references - e.g. paths to feature documents, implementation plans, etc that should be read in order to resume your work.}
## Action Items & Next Steps
{A list of action items and next steps for the next agent to accomplish based on your tasks and their statuses}
## Other Notes
{Other notes, references, or useful information - e.g. where relevant sections of the codebase are, where relevant documents are, or other important things you learned that you want to pass on but that don't fall into the above categories}
After creating the handoff document, verify it was written correctly by reading it back.
Once this is completed, respond to the user with:
Handoff created! You can resume from this handoff in a new session with the following command:
/resume-handoff ${HANDOFF_DIR:-docs/handoffs}/YYYY-MM-DD_HH-MM-SS_description.md
/path/to/file.ext:line references that an agent can follow later when it's ready.