Write a handoff document summarizing the current conversation so a new agent can continue the work. Save it to the path generated by mktemp -t handoff-XXXXXX.md . (Read the file before writing.)
Suggest skills for the next session to use (if any).
Do not repeat content already captured in other artifacts (PRD, plan, ADR, issue, commit, diff). Reference them by path or URL.
If the user passed arguments, treat them as a description of what the next session will focus on, and adjust the document accordingly.