一键导入
kb-handoff
End-of-session handoff — update context, log progress, commit pending changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
End-of-session handoff — update context, log progress, commit pending changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use GitKB code intelligence tools instead of grep for finding callers, definitions, usages, and dead code. Trigger when exploring code relationships or searching for symbol usage.
Explore codebase with code intelligence and search across code and documents. Use when searching by concept, finding where functionality lives, or investigating unfamiliar code.
Manage GitKB knowledge base for project documentation, tasks, and context. Use when working with KB documents, viewing tasks, updating progress, or managing project knowledge.
Show GitKB kanban board with task status columns
Complete a task with verification — check acceptance criteria, require evidence, update status
Commit workspace changes to the knowledge base with validation
| name | kb-handoff |
| description | End-of-session handoff — update context, log progress, commit pending changes |
Prepare for session end or agent handoff. Ensures all work-in-progress is captured and context documents are fresh for the next session.
Input: $ARGUMENTS
Optional: a summary of what was accomplished this session. If not provided, the command will infer it from workspace changes and recent commits.
Check kb_status for uncommitted workspace changes.
If changes exist:
kb_diff to review themFind all active tasks: kb_list with type: "task", status: "active".
For each active task that was worked on this session:
"Progress: <summary>"If the user provided a session summary in $ARGUMENTS, use it to write better progress entries.
Checkout context/overridable/active and update it to reflect:
Use kb_list and git-kb board to get accurate counts.
If a significant milestone was completed this session (task completed, phase finished, PR merged):
context/overridable/progressFinal checks:
kb_status — workspace should be clean (all committed)Show the next agent (or next session) everything they need:
## Session Handoff
### What Was Done
- [Summary of work completed]
### Current State
- Active tasks: [list with status]
- Pending work: [what's next]
- Blockers: [if any]
### For Next Session
- Start with: /kb-context to load project state
- Then: /kb-start <suggested-task> to resume work
- Watch out for: [any gotchas or context the next session needs]