handoff-create

GitHub

从当前会话生成结构化交接文档,涵盖范围、文件、发现、完成状态及下一步计划,便于其他 Agent 无缝续接工作。

examples/skills/handoff-create/SKILL.md FlorianBruniaux/claude-code-ultimate-guide

Trigger Scenarios

结束当前 Agent 会话 将任务移交给另一个 Agent

Install

npx skills add FlorianBruniaux/claude-code-ultimate-guide --skill handoff-create -g -y
More Options

Non-standard path

npx skills add https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/main/examples/skills/handoff-create -g -y

Use without installing

npx skills use FlorianBruniaux/claude-code-ultimate-guide@handoff-create

指定 Agent (Claude Code)

npx skills add FlorianBruniaux/claude-code-ultimate-guide --skill handoff-create -a claude-code -g -y

安装 repo 全部 skill

npx skills add FlorianBruniaux/claude-code-ultimate-guide --all -g -y

预览 repo 内 skill

npx skills add FlorianBruniaux/claude-code-ultimate-guide --list

SKILL.md

Frontmatter
{
    "name": "handoff-create",
    "effort": "low",
    "description": "Generate a structured handoff document from the current session. Captures scope, relevant files with line numbers, key discoveries, work completed, current status, next steps, and code snippets. Use before ending a session or handing work to another agent.",
    "argument-hint": "[optional-filename]",
    "disable-model-invocation": true
}

Generate a structured handoff document from our current conversation and save it to claudedocs/handoffs/handoff_YYYYMMDD_HHMMSS.md (or use the filename provided as $ARGUMENTS[0] if given).

Create the claudedocs/handoffs/ directory if it does not exist.

Document structure

Include exactly these sections:

# Handoff: [Task Name] - [YYYY-MM-DD HH:MM]

## Task

[One sentence: what is being accomplished]

## Scope

[In-scope behavior and exclusions. Include the contract revision, base commit and relevant working-tree state, acceptance criteria, applicable ADRs, blockers, permitted actions, and next owner. Mark unknowns explicitly.]

## Files

[All relevant files touched or needed. Format: `path/to/file:line` when a specific line matters]

- `src/auth/middleware.ts:45` - token validation logic
- `tests/auth.spec.ts` - test suite for this change
- `docs/api.md` - needs update after implementation

## Discoveries

[Key findings and insights from the work so far. Things the next agent needs to know that are not obvious from the code]

- [Discovery 1]
- [Discovery 2]

## Work Done

[Historical completion claims. Append-only: never remove prior entries. Include revisions, checks actually run, and evidence links when available.]

- [x] Task A completed (commit: abc1234)
- [x] Task B completed

## Status

[Last observed state and observation time: what is done, what remains, checks and their scope, blockers. Distinguish ticket state, run state, and acceptance.]

## Next Steps

[Actionable checklist of remaining tasks, in order]

1. [ ] Step 1
2. [ ] Step 2
3. [ ] Step 3

## Code

[Relevant code snippets with context. Focus on the parts a resuming agent needs to understand immediately]

\`\`\`typescript
// Key implementation detail
\`\`\`

Rules

  • Keep it under 600 words total. A resuming agent should be able to load this and proceed within 30 seconds of reading.
  • Use real paths and symbols; add :line only when verified at the recorded revision.
  • Make the handoff self-contained without copying the exploratory transcript. Preserve source links and distinguish observation from interpretation.
  • A handoff records authorization; it does not grant new permissions.
  • "Work Done" is append-only. Never remove previous entries.
  • Do not include the full git diff or full file contents. Include only the code snippets that are non-obvious.

After saving, confirm the file path.

Version History

  • f02545e Current 2026-10-19 12:36

    细化 Scope 描述以包含合同修订和 ADR;明确 Work Done 为追加模式;增加字数限制和自包含规则。

  • fa57065 2026-07-25 10:18

Same Skill Collection

.agents/skills/guide-recap/SKILL.md
.agents/skills/self-assessment/SKILL.md
.agents/skills/source-command-audit-prose/SKILL.md
.agents/skills/source-command-audit-whitepapers/SKILL.md
.agents/skills/source-command-ccguide-daily/SKILL.md
.agents/skills/source-command-ccguide-diff-docs/SKILL.md
.agents/skills/source-command-ccguide-init-docs/SKILL.md
.agents/skills/source-command-ccguide-refresh-docs/SKILL.md
.agents/skills/source-command-methodology-advisor/SKILL.md
.agents/skills/source-command-track-mentions/SKILL.md
.agents/skills/source-command-update-infos-release/SKILL.md
.agents/skills/update-threat-db/SKILL.md
.claude/skills/self-assessment/SKILL.md
.claude/skills/source-command-update-infos-release/SKILL.md
.claude/skills/update-threat-db/SKILL.md
examples/learning-project/.claude/skills/verify-release/SKILL.md
examples/skills/audit-agents-skills/SKILL.md
examples/skills/audit-codebase/SKILL.md
examples/skills/autoresearch/SKILL.md
examples/skills/best-of-n/SKILL.md
examples/skills/canary/SKILL.md
examples/skills/catchup/SKILL.md
examples/skills/ccboard/SKILL.md
examples/skills/check-cache-bugs/SKILL.md
examples/skills/ci-all/SKILL.md
examples/skills/ci-pipeline/SKILL.md
examples/skills/ci-status/SKILL.md
examples/skills/ci-tests/SKILL.md
examples/skills/commit/SKILL.md
examples/skills/cyber-defense-team/SKILL.md
examples/skills/design-patterns/SKILL.md
examples/skills/diagnose/SKILL.md
examples/skills/eval-agents/SKILL.md
examples/skills/eval-rules/SKILL.md
examples/skills/eval-skills/SKILL.md
examples/skills/explain/SKILL.md
examples/skills/git-ai-archaeology/SKILL.md
examples/skills/git-worktree-clean/SKILL.md
examples/skills/git-worktree-remove/SKILL.md
examples/skills/git-worktree-status/SKILL.md
examples/skills/git-worktree/SKILL.md
examples/skills/guide-recap/SKILL.md
examples/skills/handoff-resume/SKILL.md
examples/skills/handoff-update/SKILL.md
examples/skills/investigate/SKILL.md
examples/skills/issue-triage/SKILL.md
examples/skills/land-and-deploy/SKILL.md
examples/skills/landing-page-generator/SKILL.md
examples/skills/learn-alternatives/SKILL.md

Metadata

Files
0
Version
f02545e
Hash
01b3537b
Indexed
2026-07-25 10:18

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-21 00:18
浙ICP备14020137号-1