handoff
它能做什么
这个技能撰写一份 HANDOFF.md 文件,概述项目的目标、进展和下一步。适合希望在新的对话中继续工作、又不丢失上下文的人。
适用场景
- ✓当对话已经变得很长,而你想在新对话中继续的时候。
- ✓当你想把未完成的工作交给另一个人或智能体,并附上清楚的下一步时。
- ✓当你想记录哪些方法有效、哪些无效,以避免重复同样错误的时候。
技能链接
https://github.com/ykdojo/claude-code-tips/blob/main/skills/handoff/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请撰写一份交接文档,方便我明天在新的对话中继续这项工作。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会先检查是否已存在 HANDOFF.md 文件,如果存在则先读取它。然后它会根据目标、进展、有效的方法、无效的方法和下一步,编写或更新该文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Write or update a handoff document so the next agent with fresh context can continue this work.
Steps:
- Check if HANDOFF.md already exists in the project
- If it exists, read it first to understand prior context before updating
- Create or update the document with:
- Goal: What we're trying to accomplish
- Current Progress: What's been done so far
- What Worked: Approaches that succeeded
- What Didn't Work: Approaches that failed (so they're not repeated)
- Next Steps: Clear action items for continuing
Save as HANDOFF.md in the project root and tell the user the file path so they can start a fresh conversation with just that path.
常见问题
交接文件保存在哪里?
它保存为项目主文件夹中的 HANDOFF.md,并且该技能会告诉你具体路径。
文件中包含什么内容?
包含目标、当前进展、有效的方法、失败的方法以及下一步。
它能更新已有的交接文档吗?
可以。如果 HANDOFF.md 已存在,该技能会先读取它,然后再进行更新。
详情
作者的原始描述
Write or update a handoff document so the next agent with fresh context can continue this work.
repo: ykdojo/claude-code-tips
热度
- GitHub 星标
- 10k
- 排名
- #11900
- 许可证
- —
- 更新时间
- 2026/9/25
评论
- …