跳到主要内容
知仓学习社ZHICANG

session-handoff

Write a handoff summary so another agent or person (or a fresh session) can pick up the work with full context. Use when ending a work session, hitt…

不碰外部(只输出文字)无严重或高危命中mohitagw15856/pm-claude-skills

它会碰到什么

扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Session Handoff Skill

Work gets dropped at boundaries — a context window fills, a session ends, a task passes to someone else — and

the next person (or agent) re-derives everything from scratch. This skill writes a tight handoff that

carries the state across that boundary: the goal, what's done, where things stand, the exact next step, and

the landmines. Optimised to be the first thing a fresh session reads.

Required Inputs

Ask for these only if they aren't already provided (or infer from the session so far):

  • The objective — what we're ultimately trying to achieve.
  • Progress — what's been done and decided so far.
  • Current state — what's in-flight right now, what's working/broken, where files/branches are.
  • Next step — the single most important thing to do next.
  • Gotchas — dead ends tried, constraints, things that will bite the next person.

Output Format

Handoff: [task]

🎯 Objective — the goal in 1–2 lines, and the definition of done.

✅ Done so far — key work completed and decisions made (with the why for non-obvious calls), as tight bullets.

📍 Current state — exactly where things stand: branch/PR, what runs, what's failing, files touched, any half-finished change.

⏭️ Next step — the very next action, concrete enough to start immediately. Then the following 2–3 steps.

⚠️ Gotchas & dead ends — what was tried and didn't work (so it isn't repeated), constraints, sharp edges, anything surprising.

🔗 Pointers — key files (path:line), commands to run, links (PR, issue, docs) the next person needs.

Keep it skimmable — the next reader should grasp the state in under a minute.

Quality Checks

  • [ ] Objective and definition-of-done are stated up front
  • [ ] Current state is concrete (branch/PR, what runs, what's broken) — not "made progress"
  • [ ] The next step is specific enough to act on immediately
  • [ ] Dead ends and gotchas are captured so they aren't repeated
  • [ ] Pointers (files, commands, links) are included; the whole thing is skimmable in ~a minute

Anti-Patterns

  • [ ] Do not write a vague status ("worked on the feature") — state exactly what's done and what's not
  • [ ] Do not omit dead ends — repeating failed attempts is the most common handoff waste
  • [ ] Do not bury the next step — it should be obvious and immediately actionable
  • [ ] Do not assume shared memory — the reader may have zero prior context
  • [ ] Do not pad it — a handoff nobody reads is worthless; keep it tight and scannable

Based On

Engineering handoff / pairing-rotation practice and incident-handoff (SBAR-style) structure adapted for agent and human work.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

同名技能的其他版本

有 4 个不同仓库或目录里都有叫 session-handoff 的技能。它们内容并不相同,别混用: