跳到正文
cccskills
免费在 GitHub 公开

handoff

Write a short handoff note for the next chat or a teammate, with what is done, what is open, what comes next and what was rejected and why. Saves it to project memory so the next chat sees it at the start, and prints it so it can be pasted into a message or a pull request. Use when the user ends a piece of work, switches tasks, or hands the project to someone.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Write a handoff note

1. Gather the facts

Run this from the project root to see what memory and git already know:

claude-db catchup

Combine that with what happened in this chat. The chat is the best source for what was done and what is still open. The output fills gaps and checks dates. If it shows a Last handoff, that is the note you will carry forward in step 2.

2. Write the note

The first line is the title and has today's date. Get it with date '+%b %-d'. Then write at most 8 lines, each under about 200 characters. The next chat reads this note at its start, so every line costs context.

Handoff, Oct 7:
- Done: timers, queue, mail family.
- Open: PR #18 not merged.
- Next: ask which retries to change on the worker queue.
- Decided: retries stay at 3, because the queue already backs off.
- Rejected: a second worker pool, because it doubled the mail cost.
- Watch out: tests read dist/, so run the build first.
- State: branch v0.12, 4 files uncommitted, last commit 1db3638.

Lines:

  • Done, Open and Next are always there. One line each.
  • Decided, Rejected, Watch out and State only when there is something real to say. Never pad.
  • Rejected and Decided give the reason after "because". A rejected idea with no reason is not worth a line.
  • State comes from the catchup output, not from memory: the Branch line and the newest of the Recent commits. Add a pull request number only if this chat mentioned one.
  • Decided and Rejected start from Decisions and dead ends in the output, plus this chat.
  • Name real things: a file, a pull request number, a command, a decision. Do not write various changes.
  • Use only what this chat or the output showed. Mark anything you are unsure of with (guess).
  • If there is no clear next step, write - Next: no clear next step yet. Do not invent one.
  • Leave out secrets, tokens, passwords and personal data.

Carry forward. Keep a line from the previous handoff when it is still true and still matters, and add the date to it, for example (Oct 5). Drop what is finished or wrong. If the note is over 8 lines, shorten lines or drop the oldest finished ones. Never drop a Rejected line that is still true.

3. Save it

Call the remember memory tool once, with these exact values:

  • text: the note
  • key: handoff
  • kind: context
  • tags: ["handoff"]

The key makes a new handoff replace the old one for this project, so there is one current note. The next chat sees it at the start under Last handoff. It is shown for 14 days. Only the first 8 lines are shown, each cut at about 220 characters.

4. Print it

Show the note in a code block so the user can paste it into a message or a pull request. Then say in one line that it was saved, and that it replaces any earlier handoff for this project.

If the memory tool is not available, still print the note and say it was not saved.

Sharing

A teammate sees the saved note when both of you use the same Postgres or MongoDB database. With the default SQLite file on one machine, the printed note is the way to share it.

Shipped with claude-db. It is replaced when claude-db updates.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

catchup

免费

Answer "where did I stop?" for this project. Gives three short groups, done, open and next, taken from the last chat, the recorded to-dos, the last handoff note and git. Use when the user comes back to a project, starts a new chat, or asks where they left off. It writes nothing.

中文简介正在准备中。当前显示原文说明。

Avijit07x/claude-db2332026年10月22日 更新

cdb-scan

免费

Map this codebase into project memory — a code graph of every symbol and how they connect, plus a written profile of stack, layout, conventions and workflows. Re-run any time to refresh both in place. Use when memory is newly installed on an existing project, or when the project has changed enough that the stored map is stale.

中文简介正在准备中。当前显示原文说明。

Avijit07x/claude-db2332026年10月22日 更新

查看 Avijit07x 的全部技能

报告此技能的问题