Skip to main content

handoff

Compact the current session into a handoff document so another agent or fresh session can continue the work. Use when user asks to hand off, transfer context, continue in another session, start a parallel agent, or preserve only the next-useful context instead of using /compact.

来源信息

仓库
redpanda-data/ui-harness
最近来源活动
2026年5月27日 14:03
检测到的 SKILL.md 语言
英语
星标
34
Forks
4

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
handoff
description
Compact the current session into a handoff document so another agent or fresh session can continue the work. Use when user asks to hand off, transfer context, continue in another session, start a parallel agent, or preserve only the next-useful context instead of using /compact.
argument-hint
What should the next session focus on?
# Handoff Create a concise handoff document for another agent/session to continue from here. ## When to Use Use when the user wants to: - continue work in a fresh session - hand work to another agent - run a prototype or parallel line of work elsewhere - preserve actionable context without carrying the whole transcript ## Procedure 1. Create a temp file: ```bash handoff_file=$(mktemp -t handoff-XXXXXX.md) cat "$handoff_file" >/dev/null ``` 2. Write the handoff to that path. 3. Keep it compact. Do not duplicate artifacts already captured in PRDs, plans, ADRs, issues, commits, diffs, or docs. Reference them by path or URL. 4. If the user provided arguments, treat them as the next session focus and tailor the handoff around that work. 5. Redact sensitive information: API keys, passwords, tokens, secrets, personal data, customer data, and any other confidential values. Mention redaction only when it affects continuation. 6. Suggest skills the next session should use, if any. 7. Return only the handoff path plus a 1-2 sentence summary. ## Handoff Template ```markdown # Handoff ## Next session focus <What the next agent/session should do first.> ## Current state <Only facts needed to resume. Include branch, cwd, PR/issue links if relevant.> ## Decisions made <Bullets. Link to ADRs/plans/issues instead of restating them.> ## Open questions <Bullets, or "None".> ## Next actions 1. <First concrete action> 2. <Second concrete action> 3. <Verification or shipping step> ## Relevant artifacts - <path or URL>: <why it matters> ## Suggested skills - </skill-name>: <why> ``` ## Guardrails - Do not use handoff as a hidden summary of everything. Include only continuation context. - Prefer paths and URLs over pasted content. - Redact secrets and personal data. - Call out uncertainty explicitly. - If no useful work has happened yet, say so and write a short starter brief.
在 GitHub 查看