MCPInstall
davidlee avatar

handover

Use when handing work to a fresh context — first bring the durable harvest current, then emit a continuation at one of two weights — a printed continuation prompt (light) or a handover.md context packet (full). Use whenever a fresh agent would more efficiently continue.

Installs
146
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/davidlee/doctrine --skill handover
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads handover automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Handover

First capture, then continue: ensure the durable harvest is current, then emit the transient continuation the next agent starts from.

Guiding principle: existing durable artifacts should already provide suitable context for handover. This skill is to improve token efficiency with transient guidance those durable artifacts elide — and to confirm they are in good condition.

Harvest first — always, both branches

Before emitting anything, confirm the capture pass is current:

  • Governing slice: its ## Harvest must be fresh — the fresh-as-of stamp matches the current lifecycle position (phase / stage + head commit). If stale, run /harvest first — do not re-survey what the harvest already swept.
  • Another governing artifact (RFC, spec, review …): the capture pass still runs — route produced / learned / open to their sinks per lib:reference/harvest.md §5; orientation falls back to entity queries.

Phase status accurate and work committed (or its uncommitted state noted) remain adjacent truth checks.

Design work short-circuits

A slice design under a managed run already holds its own continuation. Before reaching for the dial, ask whether one is live:

doctrine design show <SLICE> --format status

A run prints — short-circuit. Do not compose a packet or a continuation prompt; either would restate what the run already carries.

  1. The harvest above is what makes the durable records current. Then land anything you settled this session that the run does not yet hold — status reports the outstanding obligation and the changes since the declared baseline, so check both against what is in your hands, not your memory.

  2. Emit the resume command as the continuation:

    doctrine design resume <SLICE>
    

    It keys on the slice, not on a run id, so it stays true across runs. Add --run <uid> to have a mismatch refused rather than silently resumed against a different run.

  3. Add residual prose only for context you can name that neither the run nor the durable records can represent. Stage, cursor, open questions, decisions and section review state are in the run; a copy of them starts ageing the moment you write it.

No run — the command errors, and the error says which of two cases you are in. Nothing was ever started: there is nothing to short-circuit onto, so continue with the dial. Or design.md is present and the snapshot is gone, and the error names doctrine design start <SLICE> --from-design. Do not run it to manufacture something to hand over. It builds a new run from the authored prose — no attestation, receipt or gate clearance carries across — so handing over its reference would promise more than it holds. Report the loss and hand over with the dial.

This is for managed design runs. Nothing else has a run to short-circuit onto.

The dial

One skill, two weights:

  • light — print a continuation prompt; nothing written.
  • full — write the handover.md context packet and print instructions pointing at it.

Default by context: phase boundary, dispatch conclude, or complex in-flight state → full; a simple "continue this in a fresh context" → light. The user's explicit ask overrides.

Light: the continuation prompt

Print:

/route
(path to the governing artifact and the next obvious task)

If the next task is implementation-bound, include the specific artefacts to read (design.md, plan.toml, the active runtime phase sheet) and name any unresolved assumptions or design questions the next agent must assess before declaring readiness. Have the continuation prompt cite the open ids from the governing slice's ## Harvest — the open DEC / QUE / ASM (decisions / questions / assumptions) — so the next agent inherits the live open items, not a stale story.

Full: the context packet

Write .doctrine/*/<nnn>/handover.md — the disposable, gitignored "start here" for the agent picking up the next Phase or otherwise continuing the work.

It is scaffolding for the next session, not a durable record: durable facts live in persisted artifacts, notes.md or the memory store (doctrine memory); the handover only points at them and frames the immediate work.

For a phase:

  • Read the just-completed state/.../phases/phase-NN.md (findings, hand-forward) and the slice notes.md ## Harvest section for the produced / learned / open ids.
  • Confirm the next phase's scope from plan.toml (EX/VT are authoritative).
  • At a dispatch conclude: embed the slice verify-vt <id> VT summary block and a one-line regression status (from the verify beat's check regression diff) in the packet — surfacing any UNCHECKABLE / WAIVED / Fail gap at handover, not at audit.
  • Emit the sections below into handover.md
  • Print instructions (with path to handover.md) addressed to the next agent

For another artifact:

  • adapt as appropriate — the harvest-first step above still applies
  • author or replace handover.md in the most relevant artifact's folder
  • Print instructions (with path to handover.md) addressed to the next agent

You must include a clear startup instruction (eg /route) with path to handover.md.

Then: STOP

Shape (sections to emit) for a phase packet

  • Where this is — phase status ladder + commit refs; what is DONE, what is now.
  • Reading List — pointers to design/plan/notes, relevant other artifacts / code, key source file:lines. What the next agent should ingest to build context efficiently.
  • Artifacts / pointers — scope / design / plan / notes / specs. Optional / reference material.
  • Terrain — the surface to ride, not refork; e.g. what the last phase built. Point to it described elsewhere, or summarise if it is not.
  • Next actions — the literal doctrine slice phase <ID> PHASE-NN --status in_progress (status is the --status flag, not a trailing positional) / other obvious and immediate next step(s).
  • Procedure & Caveats — risks, unknowns and open decisions. Process guardrails (command, fill the sheet, TDD, commit, flip status, etc).
  • Environment notes — build/gate/lint specifics; pre-existing dirty files to leave.

Rules

  • handover is gitignored + will be deleted — never put the only copy of a durable fact here.
  • Link to durable artifacts, don't repeat their contents.
  • Supersede stale notes explicitly; do not leave contradictory guidance.
  • Don't summarize commands or procedures from skills. The skill gets skipped. Accidents happen. Do reference the skill; describe relevant state.
  • Terse. Fragments fine. Reader is an agent, not human reviewer.

FAQ

What does the handover skill do?

Use when handing work to a fresh context — first bring the durable harvest current, then emit a continuation at one of two weights — a printed continuation prompt (light) or a handover.md context packet (full). Use whenever a fresh agent would more efficiently continue.

How do I install handover?

Run npx skills add https://github.com/davidlee/doctrine --skill handover in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/handover/ (personal) or .claude/skills/handover/ (project).

Which AI agents can use handover?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is handover safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains handover?

It is published by davidlee in davidlee/doctrine. It has 146 recorded installs.

More from davidlee/doctrine

View all →
davidlee avatar

code-review

davidlee/doctrine

Use whenever reviewing code for quality and correctness — a diff, PR, module, or subsystem — producing verified, severity-ranked findings on the RV ledger. Not for comprehension tours (walkthrough) or doctrine-conformance hunts (inquisition, user-invoked only).

davidlee avatar

pair

davidlee/doctrine

Agentic pair programming — drive a change together with a human partner in the loop, narrating intent and pausing at decision points. Use when the user wants to work side-by-side rather than hand off a whole task. Calibrated by three dials (role, detail, autonomy) and an always-on challenge mandate.

AI & Agents148 installs
davidlee avatar

consult

davidlee/doctrine

Use the moment you hit an unanticipated obstacle, a decision with competing tradeoffs, or emergent complexity mid-task — before adapting planned scope, adding a dependency, taking a shortcut, or making any impactful concession on your own.

davidlee avatar

canon

davidlee/doctrine

Use before making architectural or workflow choices, when correctness depends on project governance, or when entering an unfamiliar subsystem — to load the project's authoritative rules before you act on assumptions.

davidlee avatar

retrieve-memory

davidlee/doctrine

Use before making non-trivial assumptions — before touching a subsystem you have not this session, before running or changing a command pipeline, when code and docs conflict, when asked "what is the right way here?", when debugging a recurring failure, or when about to answer with "probably/usually/likely".

davidlee avatar

plan

davidlee/doctrine

Use when a slice's design is locked and it needs an executable phase plan — refine each phase's objective and entry/exit/verification criteria, author plan.toml + plan.md, and materialise the runtime phase sheets. Routed to from /design.

Popular ai & agents skills

View category →
google avatar

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents588.1K installs
google avatar

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents586.9K installs
anthropics avatar

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents439.1K installs
prime-skills avatar

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents413K installs
leonxlnx avatar

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401.1K installs
obra avatar

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents269.7K installs