feiskyer/handoff
仅当用户显式调用 `$handoff`,或明确要求生成会话交接文档时使用。将当前对话压缩为脱敏、可执行的交接文档,供下一个 agent 接续工作;不要自动触发。
npx skills add https://github.com/feiskyer/claude-code-settings --skill handoff
撰写一份交接文档,总结当前对话内容,使全新的 agent 能够无缝继续工作。
先解析当前平台的系统临时目录,再保存为 handoff-YYYY-MM-DD-HHMM.md(用实际时间戳替换)。优先使用平台 API,例如 Python 的 tempfile.gettempdir();在 Unix 环境可使用 $TMPDIR,未设置时回退到 /tmp。生成后告知用户完整绝对路径。
按以下结构组织交接文档:
Take feiskyer/handoff from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.