Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

handoff

БесплатноЗапускает вложенные скриптыНе проверен

Package in-progress work into a self-contained context doc or a background agent's prompt. Use when handing work off, switching off a task, or delegating to a…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Handoff

Overview

A handoff is a self-contained context package that lets a different person — or a fresh AI agent — pick up in-progress work without re-deriving everything. Most delegation fails not because the next person lacks skill, but because the context in the originator's head never got written down: what's done, what's half-done, why a path was abandoned, and what to do next. This skill produces a structured handoff document that captures exactly that, so the receiver can be productive on their first action instead of their tenth.

Use it across any domain in this library — engineering work, a PM initiative, a compliance audit, a draft document — wherever work outlives a single working session.

When to Use

  • Switching off a task — you started something and someone else (or future-you) will finish it.
  • Delegating to an agent — handing a scoped task to a sub-agent or teammate who lacks your conversation history.
  • End of a session/shift — async teams where the next person picks up cold.
  • Escalating — passing a blocked item up or sideways with full context on what was tried.
  • Handing off to a background agent — the work should keep going in a separate session while you do something else (see the background-agent workflow below).

Clarify First

Before writing the handoff, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Receiver: a teammate, a fresh AI agent, or future-you (sets how much background to spell out vs assume).
  • The goal + done-state: what "finished" looks like for this work (anchors the Next Steps section).
  • Current state: what is done, in-progress, and untouched right now (the heart of the handoff).
  • Mode: a person or interactive agent reads the doc and can ask questions; a background agent gets the doc as its whole prompt and cannot. Background mode needs stop conditions and a report-back target.
  • Constraints & landmines: deadlines, decisions already made, paths already tried and abandoned (prevents the receiver repeating dead ends).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start

# Gather objective state (git branch, recent commits, changed/untracked files) to seed the handoff
python scripts/handoff_context.py --repo . --format markdown
  1. Run handoff_context.py to capture the objective state (git status, recent commits, changed files).
  2. Fill the handoff template (assets/handoff_template.md) — lead with goal + current state, not history.
  3. Make every open item actionable: a verb, a file/location, and the expected outcome.
  4. List abandoned approaches and why — this is the highest-value, most-often-omitted section.
  5. End with the single recommended next action so the receiver has zero ambiguity about step 1.

Background-Agent Workflow [RECOMMENDED]

Use when the work should continue unattended in its own session. The doc becomes the background agent's whole prompt, so it must stand alone. Full guidance, launch options per platform and safety notes: references/background-agent-handoff.md.

  1. Write the doc from the template, including the three background sections: Stop and report when, Report back, Suggested skills.
  2. Point at the spec, tickets, branch and commits; do not paste diffs or long excerpts.
  3. Redact keys, tokens, passwords and personal data; name where a secret lives instead.
  4. Save the doc outside the working tree (OS temp or a scratch folder).
  5. Validate with handoff_context.py --check; fix every problem it lists.
  6. After the user confirms, launch a named background session with the doc as its prompt, from the same directory.
python scripts/handoff_context.py --check assets/sample_background_handoff.md --name "Exporter dry-run"
claude --bg --name "Exporter dry-run" -- "$(cat /tmp/handoff.md)"   # flags vary by version: check --help

The handoff structure

Section What it answers Keep it to
Goal & done-state Where are we headed and how do we know we're done? 2-3 sentences
Current state What's done / in-progress / untouched right now? A checklist
Next steps What should the receiver do, in order? Ranked, actionable
Decisions made What's already settled (don't relitigate)? Bullets + one-line why
Abandoned paths What was tried and ruled out, and why? Bullets + reason
Open questions / risks What's unresolved or could bite? Bullets, flag owner
Key locations Files, branches, dashboards, tickets, people Links/paths
Stop and report when (background) When must the agent stop instead of improvising? Bullets
Полный SKILL.md на GitHub

Установить handoff в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/handoff_template.mdassets/sample_background_handoff.mdreferences/background-agent-handoff.mdscripts/handoff_context.py

FAQ

Что делает скилл handoff?

Package in-progress work into a self-contained context doc or a background agent's prompt. Use when handing work off, switching off a task, or delegating to a fresh or background agent.

Как установить скилл handoff?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл handoff запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить handoff с