一键导入
session-summarizer
Leaving-agent protocol. Produces a compressed, decision-first handoff that preserves intent and next steps while stripping execution noise.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Leaving-agent protocol. Produces a compressed, decision-first handoff that preserves intent and next steps while stripping execution noise.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Change-aware quality pass: diff scope, readability, function size and control flow, comments where non-obvious, and alignment with project linting. Use before merge or with handoff when the user wants industry-style maintainability beyond what tests assert.
Review code changes for correctness, security, project conventions, and maintainability. Use when reviewing a diff, before commit, or when the user asks for a code review.
Receiving-agent protocol. Boots a new agent into the minimum correct context (select + isolate) and produces a clear next-step plan without guessing.
Define and maintain lightweight evaluations (acceptance criteria, regression checks, golden tests) so "green" is objective and repeatable.
Validates a game or interactive product for playability, clarity, feedback, and scale-readiness. Use at milestones, before large scope changes, or when the user asks if the product feels ready or is ready to scale.
Short-lived feature branches; TDD + lint + merge-ready command as exit criteria before commit; push and merge to main (or user-directed flow). Do not default to asking the user to open a PR. Use when implementing a feature or non-trivial fix, when the user asks for branch/git workflow, or after substantial edits that should not stay uncommitted.
| name | session-summarizer |
| description | Leaving-agent protocol. Produces a compressed, decision-first handoff that preserves intent and next steps while stripping execution noise. |
Use this skill when ending a session, reducing context, handing work to a new agent, or preparing a "feature-agent" to pause safely.
Goal: transfer working state (decisions, rationale, next steps) with minimal tokens.
Always keep (highest value per token):
Keep only summary-level:
Strip unless directly decision-relevant:
Default target: ≤ 500 words (≈ 700 tokens).
If you exceed the budget, remove execution details first.
Write the handoff note using this structure (mirrors the repo template):
.cursor/handoff/NNNN-handoff-YYYY-MM-DD_HHmm.mddoc/handoff/NNNN-HANDOFF-YYYY-MM-DD_HHmm.mdNNNN must be new and monotonic (0001, 0002, …). Never reuse a number.Before ending: