360 Secure SkillHub
360 安全技能中心

handoff

该 Skill 要求把当前对话与工作区状态压缩成 Markdown 交接文档,保存到工作区 .tmp/handoff 目录,并记录目标、决策、Git 状态、已完成与剩余工作、验证结果和下一步行动;完成后给出简短重启提示,不执行后续工作。

collectiveai-team
热度 0.00
最近更新 2026-10-19 07:45:34
分类:知识依赖:读写文件应用场景:摘要总结 / 笔记整理 / 任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add collectiveai-team/botica/handoff
Metadata
name
handoff
description
Compact the current conversation and workspace state into a handoff document for a fresh agent session.
argument-hint
What will the next session be used for?
disable-model-invocation
true
metadata
{"credits":[{"author":"Matt Pocock","skill":"handoff","url":"https://github.com/mattpocock/skills/blob/v1.3.1/skills/productivity/handoff/SKILL.md","contribution":"Handoff workflow adapted with workspace state and local artifact storage."}]}

Write a handoff document summarising the current conversation and workspace state so a fresh agent can continue the work. Save it under the workspace's .tmp/handoff/ directory and name it with the current timestamp and a slugified topic (for example, 2024-01-01T12-00-00-fix-login-bug.md).

Include only what the next agent needs to resume confidently:

  • The objective and intended outcome.
  • Decisions made, constraints, and important discoveries.
  • Current workspace path, worktree path when applicable, branch, and relevant git state.
  • Work completed and files changed.
  • Verification already run and its results.
  • Remaining work, blockers, risks, and the immediate next action.
  • A "Suggested skills" section naming only skills relevant to the next action.

Do not duplicate content already captured in other artifacts such as specs, plans, ADRs, issues, commits, research notes, or diffs. Reference them by path or URL and summarize only why they matter. Prefer durable source artifacts over restating conversation history.

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

When $ARGUMENTS is non-empty, treat it as the next session's focus and tailor the document accordingly.

After writing the file, respond with a short restart prompt that references the handoff path, states the immediate objective, and tells the next agent to inspect the referenced artifacts and current git state before editing. Do not reproduce the full handoff in chat.