会话上下文交接
handoff
将进行中的 Kairos 事项更新至最新状态,然后把本会话遗留的上下文压缩成关于该任务的简短笔记,供下一个会话使用。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 1
- Forks
- 4
01 前言 Front Matter
- name
- handoff
- description
- Bring active Kairos items current, then compact this conversation's leftover context into a short note on the task for the next session.
- argument-hint
- What will the next session be used for?
- disable-model-invocation
- true
02 资源文件 1
- 参考文档references/details.md6.5 KB
03 SKILL.md 正文
Kairos is the persistent memory: durable state — findings, decisions, progress, blockers — belongs on the work items, where any teammate or agent reads it. First bring the active items current (edit_item, transition_item if a column changed) so the boards tell the true story. What remains lives on the items: read the open tasks of the initiative and their blocks edges (get_item, search with traverse), and record each step that is only in this conversation as a task with its edge, or a note on the task when it is small. The note of the handoff names the open tasks in the order of their edges; it does not rewrite the list from memory. A deliverable of the active task is never "out of scope": it is done, split into a task with a reason, or left on the task as open. Each active task has a live state (the state line of get_item: branch, commit, pushed, PR, next step): read it, write the hand-off from it, and set_state with the true branch, commit, pushed, PR and next step before you stop (the write is a patch, KAIROS-A-0029: a field that you do not send keeps its value).
Only then compact what remains — context this conversation alone holds: dead ends already ruled out, in-flight reasoning, environment quirks, the intended next move. Open the note with the short codes the next session should get_item first, then the "Read: ..." line of what grounded the plan (the ADRs and documents read, per GROUND.md); the note is read alongside the board state, never instead of it. Write it on each active task with append_note (on the initiative when no task is active), and end it with a Next step: line. Write no file: each session appends its own note, and no note replaces another. Finish by telling the user the short code and the note id. If nothing remains once the items are current, say so and skip the note.
Reference other artifacts (items, commits, diffs, files) by short code or path rather than restating them. Redact secrets. If the user passed arguments, treat them as what the next session will focus on and tailor the note to it.
04 同仓库更多 Skills
交付看板梳理
triage
梳理交付看板——细化验收标准、确定缺陷优先级、权衡技术债务、归档过期条目、补充待办事项、上报跨团队阻碍。
对话转行动项 PRD
to-initiative
将当前对话转化为一个附带 PRD 的 Kairos 行动项——无需访谈,仅综合已经讨论过的内容。
Ralph 循环执行任务
ralph
以 Ralph 循环的方式逐个运行 Kairos 任务,依次执行 `/kairos:implement` 的各个步骤。
Ralph 循环执行行动项
ralph-initiative
以 Ralph 循环的方式运行 Kairos 行动项中的未完成任务,按照其 blocks(阻塞)边的顺序执行。
交付团队组建配置
onboard-team
带领一个新的或设置了一半的交付团队与相关人员一起进入可工作状态——包括其团队、成员、看板、代码仓库、团队页面和章程、任务派发以及本地配置连接。先读取、列出缺口、每次写入前先询问;可安全重复运行。
Kairos 任务实现
implement
将一个 Kairos 任务从 Todo(待办)推进到 Completed(已完成)。当用户指定要实现的具体任务或短代码、要求接手下一个待办项,或经过梳理(groomed)的工作被移交执行时使用。