checkpoint
便于任务中断交接与历史回溯,提升协作连续性。
可能记录未脱敏的上下文或敏感路径信息。
保存当前任务计划、文件指针与下一步行动的结构化快照。
把当前任务的计划、近期决策、文件指针(含行号)、未决问题和接下来的 1–3 步操作存成结构化快照,方便停工或交接时恢复上下文。适合在要停止、交接、长时间休息或切换模型/协作者前使用。会把快照写到 quality_reports/checkpoints/,并可建议把要学的条目写进 MEMORY.md,配合会话日志更好用。
▸ 展开 SKILL.md 英文原文
Save a structured state snapshot before stopping or handing off. Captures the active plan, recent decisions, file pointers (with line numbers), open questions, and the next 1–3 actions into a checkpoint file under `quality_reports/checkpoints/`. Optionally proposes `[LEARN]` entries to add to MEMORY.md. Use when user says "checkpoint", "save state", "snapshot before I stop", "where am I", "wrap up the session for handoff", or before a long break / model switch / collaborator handoff. Companion to (NOT replacement for) the narrative session-log workflow.
帮我安装这个 skill:https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/checkpoint/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/checkpoint/SKILL.md"<!-- Pattern adapted from Hugo Sant'Anna's clo-author v4.2.0 (github.com/hugosantanna/clo-author),
used with permission. Original /checkpoint shape: project-level session handoff with
state snapshot + memory updates. This implementation is reimplemented in original
prose against this template's narrative-session-log + plan-on-disk + auto-memory
architecture. Attribution credit: Hugo Sant'Anna. -->
# /checkpoint — Structured Session Handoff
Produce a state snapshot that the next session (yours, or a collaborator's, or a fresh-context reboot) can resume from in under a minute. The narrative `quality_reports/session_logs/` continues to live separately — `/checkpoint` write