handoff
Was er macht
Dieser Skill schreibt eine kompakte Zusammenfassung, wo die Arbeit steht, mit Commits, offenen Punkten, Hindernissen und Entscheidungen. Er richtet sich an alle, die Arbeit an eine andere Sitzung oder einen Teamkollegen übergeben.
Wann du ihn nutzt
- ✓Wenn eine Sitzung endet und du die Arbeit später fortsetzen willst.
- ✓Wenn du die Arbeit an einen Teamkollegen oder eine neue KI-Sitzung übergeben willst.
- ✓Wenn eine lange Aufgabe einen klaren Zwischenstand braucht, bevor du weggehst.
Link zum Skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/handoff/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Schreibe eine Übergabe für diese Sitzung, damit ich morgen mit der Release-Arbeit weitermachen kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Die KI sammelt den tatsächlichen Stand aus Werkzeugen wie git status, Branches und offenen Pull Requests. Danach schreibt sie eine kurze, entscheidungsreife Notiz, die die nächste Sitzung nutzen kann.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Handoff
Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / "pass the baton" / "hand off", or a long-running operation needs a durable state checkpoint. The goal: the durable artifact survives, the context does not need to.
Invocation: model+user
When to use
- The user says "handoff", "hand off", "pass the baton", "takeover prompt", "write me a handoff", or the session is about to end / compact.
- A long operation (multi-turn, multi-workstream) has state that must survive context loss: commits, branches, PRs, CI, blockers, decisions.
- You are switching to a fresh session and want the new session to start from evidence instead of reconstructing the old one.
What to do
Gather the truth from tools, not memory. Run/collect:
git branch --show-current,git status --short,git log --oneline origin/<default>..HEAD(what is local-only),git log --oneline -5(recent context).- Live remote state where relevant (
gh pr list --state open,gh pr checks <n>,gh run list) — only what the user's operation actually depends on; do not pad the handoff with a full GitHub dump. - Any in-flight work: dirty files, uncommitted slices, partial worktrees, running background jobs/workers, queued CI.
Write a compact markdown handoff (aim under ~60 lines; the user may also ask for a "short text-only" variant — then aim under ~15 lines):
# Handoff — <operation/session name> — <date> - **State:** <one-line: what is done vs in-flight vs blocked> - **Landed/committed:** <exact SHAs + one-line what> - **Branches/PRs:** <names + states; which are ours vs community> - **CI:** <what is green, what is waiting, what is broken> - **Blockers:** <exact blocker + what would unblock> - **Decisions made:** <the WHY that a fresh session must not re-litigate> - **Next step:** <the single next action, one line> - **Continuation records:** <pointers to partial work that must be preserved (worktrees, uncommitted files, receipts)>Persist it. Always write
.codewhale/handoff.mdin the workspace — that is the only path the runtime reads back. On the next session's first turn it is injected as the "## Previous Session Relay" block (HANDOFF_RELATIVE_PATH,crates/engine/src/prompts.rs:85; loader atprompts.rs:301-315). A handoff written anywhere else is never picked up, so the next session starts cold no matter how good the note is.Optionally also write a human-discoverable copy:
- If the workspace has an ops/notes convention (e.g.
codewhale-ops/notes/with a living handoff file), update the living handoff's dated facts and snapshot, or create<topic>-handoff-<date>.mdnext to it. - Otherwise the repo root as
HANDOFF.mdordocs/handoff/<topic>-<date>.md. These are for people; nothing in the runtime reads them. Never overwrite someone else's uncommitted handoff without reading it first.
- If the workspace has an ops/notes convention (e.g.
Clear the way for the new session ("clears context"). A skill cannot delete the current context, but it can make the context disposable:
- Ensure nothing is left only in memory: dirty work is either committed (WIP is fine with a real body), stashed with a note, or recorded in the handoff with its exact location.
- Kill or record background work that would outlive the session (background jobs, sub-agents) — record what is still running and its task id.
- Close with the one-line "next step" so the fresh session has an unambiguous first action.
Deliver. Give the user the compact handoff text in your reply (the persisted file is the durable copy; the reply is the readable one).
Constraints
- Facts only from tool output; never invent SHAs, check states, or blockers.
- Keep claims narrower than evidence: distinguish landed/committed, verified locally, CI-verified, and pending.
- Preserve other people's uncommitted work: read before touching, archive before overwriting.
- The handoff is orientation, not law: tell the next session to refresh live state before acting on it.
- If the user asks for a "short text-only" handoff, give exactly that in the reply and skip the full markdown file unless asked.
Häufige Fragen
Stützt er sich auf die Erinnerung an den Chat?
Nein. Laut Skill holt er die Fakten aus den Werkzeugen statt aus dem Gedächtnis.
Enthält er jedes GitHub-Detail?
Nein. Laut Skill gehört nur der entfernte Stand dazu, von dem die Operation abhängt.
Was macht eine Übergabe nützlich?
Der Skill strebt eine dauerhafte Notiz an, damit die nächste Sitzung mit Belegen startet und nichts rekonstruieren muss.
Details
Originalbeschreibung des Autors
Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / 'pass the baton' / 'hand off', or a long-running operation needs a durable state checkpoint.
repo: codewhale-hq/Codewhale
Beliebtheit
- GitHub-Sterne
- 41k
- Platz im Ranking
- #6536
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
best-of-n
41kHilft deinem Agenten, mehrere unabhängige Lösungen zu einem schweren Problem zu erstellen, anhand eines Rasters zu bewerten und nur die beste anzuwenden.
dataviz
41kHilft deinem Agenten, ein passendes Diagramm oder Dashboard für deine Daten zu wählen, mit klaren Beschriftungen und Prüfung fehlender Werte.
debug
41kHilft deinem Agenten, die echte Ursache eines Fehlers zu finden: reproduzieren, eingrenzen und nur mit deiner Freigabe beheben, statt zu raten.
delegate
41kBringt deinem Agenten bei, große Aufgaben in parallele Helfer aufzuteilen, während Planung und finale Prüfung bei ihm bleiben.
Ähnliche Skills
knowledge-capture
394kBringt deinem Agenten bei, Entscheidungen, Vorlieben und wichtige Fakten als kurze Notizen mit Quellenangabe in deinem Knowledge-Vault zu speichern.
knowledge-claim-consolidation
394kHilft deinem Agenten, einen Knowledge-Vault aufzuräumen: doppelte Aussagen zusammenführen, auf die richtigen Themenseiten verschieben, veraltete ausrangieren.
knowledge-correct
394kLässt deinen Agenten auf Wunsch eine bestimmte gespeicherte Knowledge-Aussage oder Seite korrigieren oder zurückziehen und den Änderungsverlauf festhalten.