handoff

GitHub

将当前对话内容压缩为交接文档,保存至系统临时目录。包含建议技能列表、引用现有工件路径并脱敏敏感信息,帮助新代理无缝延续工作。

skills/productivity/handoff/SKILL.md mattpocock/skills

触发场景

需要暂停当前任务并将上下文传递给其他 Agent 用户请求生成会话摘要以便后续接手

安装

npx skills add mattpocock/skills --skill handoff -g -y
更多选项

非标准路径

npx skills add https://github.com/mattpocock/skills/tree/main/skills/productivity/handoff -g -y

不安装直接使用

npx skills use mattpocock/skills@handoff

指定 Agent (Claude Code)

npx skills add mattpocock/skills --skill handoff -a claude-code -g -y

安装 repo 全部 skill

npx skills add mattpocock/skills --all -g -y

预览 repo 内 skill

npx skills add mattpocock/skills --list

SKILL.md

Frontmatter
{
    "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.

版本历史

  • 49dd158 当前 2026-10-19 03:18

    优化了临时目录解析逻辑,统一跨平台(Windows/macOS)行为,确保每次运行写入相同位置并报告绝对路径。

  • 068b6e0 2026-08-16 06:52

    标准化跨技能调用方式,明确要求显式调用 Skill tool 而非使用斜杠命令语法,以提高模型触发准确率。

  • ed37663 2026-07-24 15:58

同 Skill 集合

skills/deprecated/design-an-interface/SKILL.md
skills/deprecated/qa/SKILL.md
skills/deprecated/request-refactor-plan/SKILL.md
skills/deprecated/ubiquitous-language/SKILL.md
skills/engineering/ask-matt/SKILL.md
skills/engineering/code-review/SKILL.md
skills/engineering/codebase-design/SKILL.md
skills/engineering/diagnosing-bugs/SKILL.md
skills/engineering/domain-modeling/SKILL.md
skills/engineering/implement-spec/SKILL.md
skills/engineering/implement/SKILL.md
skills/engineering/improve-codebase-architecture/SKILL.md
skills/engineering/prototype/SKILL.md
skills/engineering/research/SKILL.md
skills/engineering/resolving-merge-conflicts/SKILL.md
skills/engineering/setup-matt-pocock-skills/SKILL.md
skills/engineering/tdd/SKILL.md
skills/engineering/to-spec/SKILL.md
skills/engineering/to-tickets/SKILL.md
skills/engineering/triage/SKILL.md
skills/engineering/wayfinder/SKILL.md
skills/engineering/wizard/SKILL.md
skills/in-progress/batch-grill-me/SKILL.md
skills/in-progress/chief-of-staff/SKILL.md
skills/in-progress/claude-handoff/SKILL.md
skills/in-progress/loop-me/SKILL.md
skills/in-progress/setup-ts-deep-modules/SKILL.md
skills/in-progress/to-questionnaire/SKILL.md
skills/in-progress/wizard/SKILL.md
skills/in-progress/writing-beats/SKILL.md
skills/in-progress/writing-fragments/SKILL.md
skills/in-progress/writing-shape/SKILL.md
skills/misc/git-guardrails-claude-code/SKILL.md
skills/misc/migrate-to-shoehorn/SKILL.md
skills/misc/scaffold-exercises/SKILL.md
skills/misc/setup-pre-commit/SKILL.md
skills/personal/edit-article/SKILL.md
skills/personal/obsidian-vault/SKILL.md
skills/productivity/grilling/SKILL.md
skills/productivity/teach/SKILL.md
skills/productivity/to-questionnaire/SKILL.md
skills/productivity/wait-what/SKILL.md
skills/productivity/writing-for-agents/SKILL.md
skills/productivity/writing-great-skills/SKILL.md
skills/engineering/pr/SKILL.md
skills/engineering/retro/SKILL.md
skills/in-progress/implement-spec/SKILL.md
skills/in-progress/pr/SKILL.md
skills/in-progress/retro/SKILL.md

元信息

文件数
0
版本
4ae2317
Hash
4cbb0439
收录时间
2026-07-24 15:58

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 09:33
浙ICP备14020137号-1