| name | handoff |
| description | Compact the current conversation into a handoff document for another agent or session to continue. Use when user says 'handoff' / '交接' / '总结给下一个' / 'wrap up for next session' / 'session summary', or context is about to be lost and work needs continuation. |
| argument-hint | <下一个 session 的工作重点> |
| disable-model-invocation | true |
Read `core/specs/shared/glossary.md`(确保交接文档术语一致)。
Handoff
压缩当前会话为结构化交接文档,让下一个 session/agent 零成本接手。
文件位置
写到 ~/.claude/tmp/handoff-{YYYYMMDD-HHmm}.md(目录不存在则先创建)。
文档模板
# Handoff — {日期} {一句话主题}
## 当前状态
<做到哪了,什么能跑什么不能>
## 关键决策
<已做的决策 + 原因,引用 ADR/commit/spec 路径>
## 未完成
<具体待做事项,按优先级>
## 推荐 skill
<下一个 session 建议用哪些 skill,为什么>
## 上下文指针
<相关文件/URL/issue 列表,不重复内容只给路径>
规则