handoff
Generate or update .claude/handoff.md to capture current work state before leaving a machine. Invoke before ending a session when work will continue on a different PC.
- License 许可
- MIT
- 最近更新
- 2026-05-28
- Stars
- ★ 2
- Forks
- 3
01 前言 Front Matter
- name
- handoff
- description
- Generate or update .claude/handoff.md to capture current work state before leaving a machine. Invoke before ending a session when work will continue on a different PC.
- compatibility
- claude-code
03 SKILL.md 正文
Note: Converted from Claude Skill.
When to invoke
- Before ending a session when work is not complete
- When switching machines mid-task
- When you want Claude to summarize where things stand
What to write
Generate .claude/handoff.md with this exact structure:
# Handoff — <date>
## Current task
<one sentence: what was actively being worked on right now>
## Next steps
- [ ] <concrete next action — specific enough to act on without reading the whole conversation>
- [ ] <second action>
- [ ] ...
## Open questions
- <something that was about to be investigated but wasn't yet>
## Decisions made
- <decision>: <why — so it is not re-litigated on the next machine>
## Files in flight
- <path>: <what state it is in — partially done, needs review, etc.>
## Blockers
- <anything that stopped or slowed progress, if any>
Rules
- Current task: one sentence maximum. What was the active work, not the overall project goal.
- Next steps: must be concrete and immediately actionable. "Continue working on auth" is bad. "Add rate limit middleware to src/api/routes.ts after the auth check" is good.
- Decisions made: only decisions that could be re-litigated — architectural choices, rejected approaches. Not obvious things.
- Files in flight: only files with uncommitted or partial changes.
- Omit empty sections — if there are no blockers, omit the blockers section entirely.
After writing
mkdir -p .claude
# write the file, then:
git add .claude/handoff.md
git commit -m "chore: update handoff"
git push
This makes the handoff available on any machine that pulls the repo.
On the receiving machine
No action needed. context-loader.sh fires on session start and automatically injects .claude/handoff.md if it exists.
Clearing the handoff
Once work is complete (feature merged, task done), delete the file:
rm .claude/handoff.md
git add .claude/handoff.md
git commit -m "chore: clear handoff"
git push
04 同仓库更多 Skills
xia
Borrow and adapt patterns from GitHub projects into the current codebase using a structured 6-phase protocol. Invoke with /xia <github-repo> [focus].
x2md
Convert an X (Twitter) post URL to markdown. Use when user wants to read, summarize, archive, or analyze a tweet or X post.
sequential-thinking
Structure cognitive analysis using sequential reasoning chains. Use for codebase analysis, pattern extraction, complex problem decomposition, and building mental models before implementation.
rlm-workflow
暂无简介
repomix
Pack local or remote repos into a single context blob for whole-repository understanding. Use before tasks spanning multiple directories, architecture reviews, or onboarding to an unfamiliar codebase.
reddit2md
Convert a Reddit post URL to markdown. Use when user wants to read, summarize, archive, or analyze a Reddit post.