返回 Skill 列表
extension
分类: 开发与工程无需 API Key

context-dump

通过扫描现有内容并仅追加新的、非重复的进度来创建或更新任务上下文转储文档。仅在用户明确请求将上下文转储、交接说明或进度日志写入文档时使用。

person作者: jakexiaohubgithub

Context Dump

Overview

Capture the current task state into a document by scanning existing notes and appending only new progress without duplication. Always confirm whether the user wants to create a new document or update an existing one before writing.

Workflow

1) Confirm target document

  • Ask: "Do you want to create a new document or update an existing one?"
  • If updating, ask for the exact path or search criteria.
  • If creating, ask for the filename/path and preferred location.

2) Locate and read existing content (update only)

  • Find the document with rg --files and/or rg -n based on user-provided hints.
  • Read relevant sections to avoid duplicating existing content.
  • Identify the best insertion point (e.g., “Progress Notes”, “Updates”, or append at end).

3) Draft new material (non-duplicate only)

  • Summarize new progress since the last update.
  • Do not repeat items already present; only add deltas.
  • Use concise bullet lists and clear dates when helpful.

4) Write updates

  • Use apply_patch to update existing documents.
  • If creating a new document, write a minimal template:
    • Title
    • Date
    • Summary
    • Progress / Changes
    • Open Questions / Risks
    • Next Steps

Guardrails

  • Trigger this skill only when the user explicitly asks for a context dump / handoff / progress log.
  • Always ask whether to create a new document or update an existing one.
  • Do not duplicate existing information; add only new or changed items.
  • Keep updates terse and structured for handoff.