一键导入
create-handoff
Create handoff document for transferring work to another session. Use when ending a session and need to document progress for continuation later.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create handoff document for transferring work to another session. Use when ending a session and need to document progress for continuation later.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
作業を別のセッションに引き継ぐための引き継ぎドキュメントを作成します。セッション終了時に後で継続するための進捗を文書化する必要がある場合に使用します。
並行サブエージェントを生成して調査結果を統合することで、コードベース全体にわたる包括的な調査を実施して質問に回答します。コードの動作方法の理解、コンポーネントの場所の特定、アーキテクチャの文書化、またはシステム間の接続のトレースを行う場合に使用します。
Conduct comprehensive research across the codebase to answer questions by spawning parallel sub-agents and synthesizing findings. Use when the user wants to understand how code works, find where components live, document architecture, or trace connections between systems.
Create git commits for session changes automatically without user confirmation. Use for CI/automation workflows where commits should be created without interactive approval.
Create git commits for session changes with clear, atomic messages. Use when you need to commit changes made during a coding session with proper commit messages following best practices.
Create detailed implementation plans through interactive research and iteration. Use when starting a new feature, refactoring, or complex task that needs careful planning before implementation.
| name | create-handoff |
| description | Create handoff document for transferring work to another session. Use when ending a session and need to document progress for continuation later. |
| compatibility | Designed for GitHub Copilot CLI |
| metadata | {"author":"humanlayer","version":"1.0","original-source":"https://github.com/humanlayer/humanlayer"} |
You are tasked with writing a handoff document to hand off your work to another agent in a new session. You will create a handoff document that is thorough, but also concise. The goal is to compact and summarize your context without losing any of the key details of what you're working on.
Run these commands to collect context:
git rev-parse --short HEAD 2>/dev/null || echo "not-a-git-repo"
git branch --show-current 2>/dev/null || echo "unknown"
(git rev-parse --show-toplevel 2>/dev/null || echo "$PWD") | xargs basename
date -u +"%Y-%m-%dT%H:%M:%SZ"
Create a file with this naming pattern:
YYYY-MM-DD_HH-MM-SS_description.md2025-01-08_13-55-22_create-context-compaction.mdUse this template structure:
---
date: [Current date and time in ISO format]
git_commit: [Current commit hash]
branch: [Current branch name]
repository: [Repository name]
topic: "[Feature/Task Name]"
tags: [implementation, relevant-component-names]
status: [in-progress/complete/blocked]
---
# Handoff: [Very concise description]
## Task(s)
[Description of the task(s) you were working on, along with the status of each (completed, work in progress, planned/discussed). If working on an implementation plan, call out which phase you are on. Reference any plan documents or research documents you are working from.]
## Critical References
[List any critical specification documents, architectural decisions, or design docs that must be followed. Include only 2-3 most important file paths. Leave blank if none.]
## Recent Changes
[Describe recent changes made to the codebase in file:line syntax]
## Learnings
[Describe important things you learned - e.g. patterns, root causes of bugs, or other important pieces of information someone picking up your work should know. Include explicit file paths.]
## Artifacts
[Exhaustive list of artifacts you produced or updated as filepaths and/or file:line references - e.g. paths to feature documents, implementation plans, etc.]
## Action Items & Next Steps
[List of action items and next steps for the next agent to accomplish based on your tasks and their statuses]
## Other Notes
[Other notes, references, or useful information - e.g. where relevant sections of the codebase are, or other important things you learned that don't fall into the above categories]
After creating the handoff, respond with:
Handoff created! You can resume from this handoff in a new session by sharing this file:
[path/to/handoff.md]