Generate Handover 标志

Generate Handover

组织
DasDigitaleMomentum
generate-handover

生成会话交接文档,记录进度、决策和上下文,确保后续会话能够无缝衔接。项目需要连续多个会话协作时,智能体和人工读者都可参考此文档。在工作会话结束时,或需要将上下文转交给新会话时使用此技能。

Add to TypingMind

概览

发布者DasDigitaleMomentum
代码仓库opencode-processing-skills
技能名称generate-handover
星标数
61
复刻数
3
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 DasDigitaleMomentum 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Generate Handover AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/DasDigitaleMomentum/opencode-processing-skills/tree/main/skills/generate-handover
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DasDigitaleMomentum/opencode-processing-skills.git /tmp/opencode-processing-skills
mkdir -p .claude/skills
cp -r /tmp/opencode-processing-skills/skills/generate-handover .claude/skills/generate-handover
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Generate Handover,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Generate Handover。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Generate Handover 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Skill: Generate Handover

What This Skill Does

This documentation shall serve Agents and Humans when working in consecutive sessions with the project. Creates a session handover document (plans/<name>/handovers/session-<date>.md) that captures everything a new session needs to continue work seamlessly:

  • What was accomplished in this session
  • What is in progress (interrupted work)
  • Key decisions made and their rationale
  • Current state of modified files
  • Blockers and issues discovered
  • Concrete next steps
  • Context that would be lost without the handover

When to Use

  • When the user asks to "create a handover" or "save session state"
  • When ending a work session on a multi-phase plan
  • When work is interrupted and will be continued later
  • When switching between team members or agents

Do NOT generate handovers automatically. This skill is invoked manually by the user.

Execution Model (Recommended)

  • Preferred: the primary agent runs this skill and writes the handover under plans/<name>/handovers/.
  • Rationale: a handover is a distilled session narrative (decisions, rationale, state). It should be authored where the session context lives.
  • Optional: delegate git status/git diff --stat interpretation or bulk file listing to doc-explorer, but keep narrative/decisions in the primary.

Workflow

Step 1: Identify the Context

Determine what to capture:

  • Which plan is being worked on? Check plans/ directory
  • What phase is active? Read plan.md and todo.md
  • If no formal plan exists, create a standalone handover (see below)

Step 2: Gather Session Information

Collect from the current session context:

Progress:

  • What tasks were completed? (from todo list changes, commits, conversation)
  • What is currently in progress? (incomplete work, partial implementations)
  • What was planned but not started? (remaining todo items)

Decisions:

  • What technical decisions were made? (architecture, library choices, approach)
  • What alternatives were considered? (and why they were rejected)
  • What trade-offs were accepted?

Implementation State:

  • Which files were modified? Use git diff --stat or git status
  • Are there uncommitted changes?
  • What tests are pending?

Issues:

  • Are there blockers? (dependencies, unclear requirements, technical issues)
  • Were workarounds applied that need revisiting?

Step 3: Write the Handover Document

Create plans/<name>/handovers/session-<YYYY-MM-DD>.md:

If multiple handovers on the same day, append a counter: session-2025-02-14-2.md.

Fill in all sections from the template:

  1. Session Summary: 2-3 sentences describing what this session was about
  2. Progress: Organized by completed / in-progress / not-started
  3. Key Decisions: Table with decision, alternatives considered, and rationale
  4. Current State: Modified files with what changed, pending tests
  5. Blockers & Issues: What prevents progress, with potential solutions if known
  6. Next Steps: Ordered list of what the next session should do first
  7. Context for Next Session: Free-form section for anything that would be lost - partial reasoning, important constraints discovered, "watch out for" notes

Step 4: Update the Todo List

After creating the handover:

  • Ensure todo.md reflects the actual current state
  • Mark completed items
  • Add any newly discovered items
  • Note blockers

Step 5: Confirm with User

Use the question tool to ask:

  • Is anything missing from the handover?
  • Are the next steps correctly prioritized?

Standalone Handovers (No Plan)

If there is no formal plan but a handover is needed:

  • Create docs/handovers/session-<date>.md (in the docs directory instead of plans)
  • Omit plan/phase references from the frontmatter
  • Focus on the general session context, decisions, and next steps

Rules

  1. Accuracy over completeness: Only document what actually happened. Don't invent or assume progress.
  2. Concrete next steps: "Continue working on auth" is useless. "Implement the JWT refresh token rotation in src/auth/refresh.ts, starting from the rotateToken function stub" is actionable.
  3. Decision rationale matters: Capture why decisions were made, not just what was decided. The next session needs the reasoning to avoid re-evaluating the same options.
  4. File-based interface: The handover document is the interface. All context goes into the file, not into chat messages.
  5. Don't duplicate the todo list: Reference todo.md for task status. The handover captures session context (decisions, state, blockers), not a repeat of the task list.
  6. Use git for file state: Use git status and git diff --stat to identify modified files rather than relying on memory.
  7. Multiple handovers are normal: Each session can produce its own handover. They are additive, not replacements.
  8. Keep it scannable: The next session's agent will read this to bootstrap context. Use clear headings, short bullet points, and tables where appropriate.
  9. Todo updates stay lightweight: When updating todo.md in Step 4, make simple status changes directly. For complex plan restructuring, the update-plan skill should be used instead.

Templates

This skill includes a normative template as a bundled file. Only read the templates when processing them. Output MUST follow the template headings and frontmatter keys:

  • tpl-session-handover.md - Structure for handover documents

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Generate Handover AI 技能有什么作用?

生成会话交接文档,记录进度、决策和上下文,确保后续会话能够无缝衔接。项目需要连续多个会话协作时,智能体和人工读者都可参考此文档。在工作会话结束时,或需要将上下文转交给新会话时使用此技能。

为什么在 TypingMind 中使用 Generate Handover?

因为您只需安装一次,就能搭配任何模型使用。Generate Handover 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Generate Handover?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/DasDigitaleMomentum/opencode-processing-skills/tree/main/skills/generate-handover。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Generate Handover?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Generate Handover 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Generate Handover 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Generate Handover AI 技能免费吗?

是的。DasDigitaleMomentum 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇