agentleFS
handsongicehandsongice/vibe-rules/skills/handoff/SKILL.md

handoff

Skill1 starsChanged 3 months agoMITView on GitHub

结束一个会话/换到另一个 agent 前,写一份紧凑的交接文档,让下一个 agent 能无缝接着干

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 5 projects that use this

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 51 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 41 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 15 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 20 projects that use this

  • RoentekSkill

    writing-fragments

    Writing, explore — mine raw fragments, no structure yet.

    Also in 20 projects that use this

  • +5 more from aws
  • +1 more from Roentek

The file

Files
SKILL.md

跨会话交接

触发条件

  • 用户明确说"换 agent"、"重开"、"接着之前的干"
  • 当前会话上下文快满了
  • 你(agent)要从 qoder 切到 codex、从 trae 切到 claude 之类

铁律

不要复述已有产物。 项目根有 AGENTS.md、docs/specs/、docs/plans/、git 历史、commit、diff——这些下一个 agent 自己会读。你只写它们之间没有的东西:现在卡在哪、为什么卡、下一步干什么。

交接文档放哪

写到系统临时目录或项目里 docs/handoffs/YYYY-MM-DD-<topic>.md,不要污染项目根。文档里用相对路径引用已有产物。

必须包含的 6 段

# Handoff: <一句话主题>

## 现在在哪
- 已完成:<列 3-5 条,带 commit 或文件路径>
- 进行中:<具体到哪个文件、哪一行、为什么停>
- 卡住的点:<如果有,说清楚试过什么、为什么不行>

## 下一步
<下一个 agent 第一件事应该做什么。一条就够,不要列计划。>

## 上下文
- 关键文件:<只列下一个 agent 必须立刻读的,其他让它自己 grep>
- 关键决策:<口头达成但没写进 spec 的决定,按重要性排>
- 坑:<这个任务过程中踩到的、下一个 agent 容易再踩的>

## 推荐先调用的 skill
<按顺序:比如 systematic-debugging → tdd → pre-commit-check>

## 已脱敏
<列出你检查过的敏感项:API key、token、PII 都没写进本文档>

不要做

  • 不要把 AGENTS.md 内容抄一遍。
  • 不要把 spec/plan 抄一遍,给路径就行。
  • 不要写"我们讨论了很多"、"这个项目很复杂"这种废话。
  • 不要把密钥、密码、用户个人信息写进来。
  • 不要假设下一个 agent 知道你上一个会话说过什么——口头共识要写出来。

反面:下一个 agent 接到交接时

  1. 先读本文件
  2. 按"推荐 skill"顺序调用
  3. 按"下一步"开始,不要重新质疑已经做过的决策(除非发现明显错)
  4. 如果交接文档和实际代码不符,以代码为准,并在新交接里指出

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.