跳到正文
Skillpedia
任务与项目29k · #9559

handoff

它能做什么

它会撰写交接文档,内容包括目标、当前状态、未决的决策,以及现有文件的链接。适合中途停止会话,或把工作交给他人的人。

适用场景

  • ✓当你需要在任务中途停止会话,并在以后继续时。
  • ✓当你想把工作交给新的智能体或同事时。
  • ✓当你需要对当前状态、决策和下一步进行总结时。

技能链接

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/handoff/skills/handoff/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alirezarezvani/claude-skills/blob/main/engineering/handoff/skills/handoff/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 duplicated

  • python3 scripts/handoff_template_generator.py --help — Generate a handoff document scaffold tailored to next-session focus

  • python3 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.

repo: alirezarezvani/claude-skills

热度

GitHub 星标
29k
排名
#9559
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能