ds-context-reset
Installation
SKILL.md
ds-context-reset
Store the state of the work in a file, not in the chat, so a fresh context can continue without drift.
Steps
- At the start of a long task, create PROGRESS.md at the repo root with these sections:
- Goal: one or two sentences, plus the acceptance check for the whole task.
- Done: the verified steps, each with the command and result that proved it.
- Next: the ordered steps that remain. The first item is the exact next action.
- Open questions: unknowns and decisions that wait for the user.
- Key facts: paths, commands, versions, gotchas, and approaches that failed (with the reason).
- Update PROGRESS.md after every verified step. Do not update it for unverified ones. Commit the code and PROGRESS.md together with a descriptive message.
- Watch for reset signals: you repeat an earlier answer, you forget a fact that is in Key facts, you retry a fix that failed, the same file gets reread many times, or the context is more than about half full.
- When a signal appears, finish or revert the current step so the tree is in a known state.
- Rewrite PROGRESS.md as a complete handoff. A reader who has only this file and the repo must be able to continue. Remove chatter and keep the facts.
- Start a fresh session or subagent. Give it one instruction: "Read PROGRESS.md and
git log -5, run the acceptance check for the last Done item, then do the first item in Next." - In the new context, confirm that the baseline check passes before you make new edits. If it fails, fix that first.