handoff
它能做什么
它会撰写交接文档,内容包括目标、当前状态、未决的决策,以及现有文件的链接。适合中途停止会话,或把工作交给他人的人。
适用场景
- ✓当你需要在任务中途停止会话,并在以后继续时。
- ✓当你想把工作交给新的智能体或同事时。
- ✓当你需要对当前状态、决策和下一步进行总结时。
技能链接
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/handoff/skills/handoff/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要一份交接说明,让新的智能体明天可以继续这次的错误修复。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会回顾对话并撰写结构化的摘要。它会链接到现有的计划、议题和代码更改,而不是复制它们。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Handoff
Derived from Matt Pocock's handoff (MIT). Matt's no-duplication discipline preserved verbatim. Additions: tools + references + cs-* wrapper (see references/companion_tooling.md).
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it to a path produced by mktemp -t handoff-XXXXXX.md (read the file before you write to it).
Suggest the skills to be used, if any, by the next session.
Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Sections
- Goal of next session (from user argument or inferred)
- State of play (what's done, what's blocking)
- Open decisions (what the next agent must decide)
- Skills to use (concrete list)
- Artifacts (paths/URLs to PRDs, plans, ADRs, issues, branches, PRs — do not duplicate)
Tooling
See references/companion_tooling.md. Tools: template + dedup + recommender. Agent: cs-handoff-author. Command: /cs-handoff.
Version: 1.0.0 Derived: Matt Pocock (MIT) + this repo's wrapper
More in this skill
Load these only when the task needs them.
references/deduplication_discipline.md — Deduplication Discipline for Handoffs
references/handoff_structure.md — Handoff Document Structure
references/next_session_skill_matching.md — Skill Matching for the Next Session
python3 scripts/artifact_deduplicator.py --help— Detect content in a handoff draft that should be referenced not duplicatedpython3 scripts/handoff_template_generator.py --help— Generate a handoff document scaffold tailored to next-session focuspython3 scripts/skill_recommender.py --help— Recommend which skills the next session should use
常见问题
交接内容会重复所有细节吗?
不会。它会通过路径或链接指向现有的文档、议题和提交,而不是复制它们。
我可以说明下一次会话应该重点关注什么吗?
可以。你在请求之后添加的任何内容,都会用来调整文档。
交接说明包括哪些内容?
包括下一次会话的目标、当前进展、未决决策、需要使用的技能,以及成果清单。
详情
作者的原始描述
Compact the current conversation into a handoff document for another agent to pick up, referencing existing artifacts (PRDs, plans, ADRs, issues, commits, diffs) by path or URL instead of duplicating them. Use whenever the user wants to hand off to a fresh agent, is ending a session mid-task, asks for a handoff doc or a summary of state, decisions and next steps for the next session, or starts a new session that picks up prior work.
热度
- GitHub 星标
- 29k
- 排名
- #9559
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-launcher-orchestrator
29k帮你的智能体从一个清晰的目标出发,逐步规划、构建、测试并定时运行你自己账户中的 Claude 托管智能体。
grade-iterate
29k让你的智能体按评分标准为托管 AI 智能体的工作打分,并在固定的轮次内改进,因此它永远不会无限循环。
interview
29k让你的智能体就一个 AI 智能体的想法对你进行访谈,并在任何上线之前,把你的回答整理成一份简单的构建计划。
run-without-you
29k帮你的智能体设置托管 AI 智能体,使其按计划或在某个事件发生时运行,并在启动前检查定时设置。