开发与测试
csm-handoff
Checkpoint expensive state and write a concrete handoff before stopping, compaction, or transferring work in Claude Code.
NovasPlace · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add NovasPlace/CSM --skill csm-handoff技能说明
name: csm-handoff description: Checkpoint expensive state and write a concrete handoff before stopping, compaction, or transferring work in Claude Code.
CSM Handoff
Make every transition cheap to resume. Scope all calls to the current projectRoot.
When to hand off
- Before stopping, before an expected compaction, or before transferring work to another session or person.
- When context pressure is high — inspect
csm_context_pressurewhen a message snapshot is available.
Procedure
- Resolve
projectRootto the current workspace root. - If the current state is expensive to reconstruct,
create_checkpoint. Checklist_checkpointsto avoid redundant checkpoints. - Record the final durable milestone with
bridge_sync_turn, then callbridge_handoff_summary. - Write the handoff concretely: outcome, files changed, verification performed, open risks, and the single next action.
Safety
- Never persist secrets, credentials, tokens, or unnecessary sensitive content — redact first.
- State outcomes faithfully: if tests failed or a step was skipped, say so.
The csm-handoff-writer agent can perform this whole procedure autonomously.