handoff

Installation
SKILL.md

Handoff

Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it to a path produced by mktemp -t handoff-XXXXXX.md (read the file before you write to it).

Suggest the skills to be used, if any, by the next session.

Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.

Workflow

  1. Locate the file. Run mktemp -t handoff-XXXXXX.md to get an absolute path. Read the file (it will be empty) before writing — required by the Write tool contract.
  2. Scan the conversation. Pull out: the user's goal, decisions made, blockers hit, what's been tried, what's been ruled out, files touched, commands run, and any uncommitted state.
  3. Find the artifacts. Note every PRD / plan / ADR / issue / commit / PR / diff / log produced this session. Reference them by absolute path or URL — never paste their content.
  4. Tailor to the focus. If $ARGUMENTS describes what the next session will do, prune the doc to what that session needs. Drop history irrelevant to the next move.
  5. Suggest skills. Recommend specific skills the next agent should invoke (e.g. /tdd, /eng-spec, /repo-context-scan). Only suggest skills you actually know exist in the user's environment.
  6. Write and print the path. Save to the mktemp path. Print the path on its own line so the user can copy it.
Related skills
Installs
4
Repository
amit-t/skills
First Seen
3 days ago