How to install handoff
install handoff
# install the mattpocock-skills-zh-CN pack with the skills CLI
npx skills add vinvcn/mattpocock-skills-zh-CN# or add only this skill to Claude Code: copy the folder
skills/productivity/handoff/
# into
~/.claude/skills/handoff/ (all projects)
.claude/skills/handoff/ (one project)
1编写一份 handoff document,总结当前对话,让 fresh agent 能继续工作。保存到用户操作系统的临时目录(`$TMPDIR`,否则 `/tmp`;Windows 上是 `%TEMP%`),不要保存到当前 workspace。23在文档中包含 "suggested skills" section,写明下一个 agent 应调用 Skill 工具并指定哪些 skills。45不要重复已经被其他 artifacts 捕获的内容(specs、plans、ADRs、issues、commits、diffs)。改用 path 或 URL 引用它们。67删去任何敏感信息,例如 API keys、passwords 或 personally identifiable information。89如果用户传入了 arguments,把它们视为下一次 session 的关注点描述,并据此调整文档。
Excerpt shown under the repository's MIT license.
