界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

context

context

【效率与协作】Working-state snapshot guidance. Restates task/files/decisions in one block so state survives context compaction. Compaction timing is the host's job.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: context description: "Working-state snapshot guidance. Restates task/files/decisions in one block so state survives context compaction. Compaction timing is the host's job."

Context — Working-State Snapshot

Compaction timing belongs to the host (native auto-compaction; the harness already snapshots state on the PreCompact hook). This skill is about WHAT survives, not WHEN to compact.

Process

Before or during compaction, restate the working state in one block:

- Working on: [task description]
- Files modified: [explicit list]
- Status: [what's done, what remains]
- Key decisions: [important choices made, with why]
- Next step: [what to do after compaction]

Keep it terse — this block is what you (and the resume hook) reload after compaction. Re-reading large files afterwards costs more than summarizing the key facts beforehand.

Evidence Required

  • Task, files, decisions, and next step all present in the summary block
  • Snapshot written by the PreCompact hook (show file name if asked)
我的收藏