360 Secure SkillHub
360 安全技能中心

Fresh Session Handoff

核心功能为生成结构化精简的会话交接摘要,仅保留当前任务、卡点、下一步等关键有效信息(最多8项),绝不臆测缺失内容。典型场景是用户需通过/reset或/new重置聊天,规避冗余历史上下文同时快速续接任务。输入为续接请求或触发指令,输出为符合规范的简体中文结构化摘要,结尾固定含指定语句。

kisssam6886
kisssam6886
热度 61.16
最近更新 2026-05-11 17:34:24
分类:效率依赖:纯提示词应用场景:摘要总结 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add resetcontinue
Metadata
name
resetcontinue
description
Generate a concise copy-paste session handoff for continuing the current task in a fresh chat after /new or /reset. Use when the user wants to preserve the real task state, current blockers, and immediate next step without carrying over stale context or repeated background explanation. Trigger on direct requests for reset-continue, handoff summary, session handover, or when the user invokes /resetcontinue.
user-invocable
true

Fresh Session Handoff

When invoked, produce a fresh-session handoff summary that the user can paste into a new chat after /new or /reset.

Goal

  • preserve the current task state
  • keep only the facts that help the next session continue quickly
  • reduce context pollution from long or broken prior threads

Output contract

  • Write in 简体中文 unless the user clearly asks otherwise.
  • Output only the handoff summary. Do not add an intro like “下面是摘要”.
  • Keep it short, direct, and concrete.
  • Use 8 items or fewer.
  • Prefer bullets or numbered lines.
  • No Markdown code fences unless the user explicitly needs a command block.
  • Prefer exact facts when available:
    • absolute file paths
    • branch or commit
    • service / room / environment names
    • blocker or error code
    • the immediate next action
  • Never invent missing facts. If something is unclear, omit it instead of guessing.

Required sections

Use these sections when applicable:

  1. 当前任务
  2. 已确认结论
  3. 已排除问题
  4. 当前卡点
  5. 下一步动作
  6. 重要背景
  7. 不要重复做的事
  8. 回复要求

Selection rules

Include only information that meaningfully helps a new session resume fast.

  • Keep stable goals, confirmed decisions, constraints, and current scope.
  • Keep recent troubleshooting conclusions only if they affect the next step.
  • Keep unfinished edits, verification status, or pending push/deploy state when relevant.
  • Keep approvals, credentials, external dependencies, or user promises that still matter.
  • Exclude chit-chat, repeated explanations, and dead exploration unless it should not be retried.
  • If the task is already complete, say that clearly and use 下一步动作 for the most useful follow-up.
  • If several threads were discussed, summarize only the thread the user is actually carrying forward.

Quality bar

  • The summary should let a new session continue with minimal backtracking.
  • The wording should be practical, not essay-like.
  • The next agent should be able to tell what to do first within a few seconds of reading it.

Final line

End with exactly this line:

新会话请直接接着做,不要从头重复背景。