跳到主要内容
哒哒星球DADA PLANET

Skill · 已公开版本

handoff · 会话交接文档生成

将当前对话压缩成交接文档,供新 agent 继续工作,包含建议调用的技能,并避免重复已有规格、计划、提交等产物内容。

先看看示例

作者提供的示例,实际效果取决于你的输入和使用工具。

输入

把这次重构讨论整理成交接文档,下一会话要接着改支付模块的测试。

输出

预期交付:保存到系统临时目录的交接文档,含上下文摘要、引用路径与建议技能。(编辑说明,非实际运行结果)

方法说明

---
name: handoff
description: Compact the current conversation into a handoff document for another agent to pick up.
argument-hint: "What will the next session be used for?"
disable-model-invocation: true
---

Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS (`$TMPDIR`, else `/tmp`; `%TEMP%` on Windows) - not the current workspace.

Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for.

Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.

Redact any sensitive information, such as API keys, passwords, or personally identifiable information.

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.