handoff-prepare
仓库创建 2026年7月1日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由
在上下文过大时无缝迁移会话,保留变更与下一步指引。
▸ 风险提示
会在本地写入交接文件,可能包含敏感会话内容
这个 Skill 做什么
将当前会话内容封装成独立的交接文件,便于在新会话中继续。
把当前会话的所有内容(改动、决定、注意事项、下一步)打包成一个独立的 handoff 文件,方便在全新会话里无缝继续。适合上下文窗口变太大、想清理环境后再接着做的时候用。它只负责写交接包;恢复要在新会话里用 handoff-continue 操作,注意并不会替你清空现有对话。
▸ 展开 SKILL.md 英文原文
Use when the context window is getting large and the user wants to continue in a fresh session. Captures everything done this session (changes, decisions, caveats, next steps) into a self-contained handoff file, then tells the user to start a fresh session and run handoff-continue. Triggers on "handoff", "prepare handoff", "continue in a new session", "context is too big", "compact and continue".
1
Stars
1
Forks
2
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/orzilca/agent-handoff-skills/main/dist/claude/handoff-prepare/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/orzilca/agent-handoff-skills/main/dist/claude/handoff-prepare/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Handoff Prepare Capture the current session into a self-contained handoff document so a **fresh** session can pick up exactly where this one left off. This skill only **writes** the handoff. Resuming is a separate step: the user starts a fresh session (/clear), then runs /handoff-continue. Do not claim the context was cleared — you cannot clear it; only the user can. ## Workflow 1. **Gather** from the *conversation*, not just the disk. Read back through this session for: the goal, what was done and why, what changed, what broke, what's still open. The conversation holds context the files don't. 2. **Capture git state** *only if this is a git repo.* Run `git status --short` and `git log
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有