context-compaction
Installation
SKILL.md
Context Compaction
Preserve essential state when context window fills up.
Always Preserve
| Item | Why |
|---|---|
| Test names + output (pass/fail) | Regression detection, reproducibility |
| Build status (success/error + msg) | Know if in broken state |
| Files modified (path + why) | Track changes, enable rollback |
| Open TODOs with state | Prevents losing WIP |
| Env vars set this session | Re-establish environment |
| Decisions made (WHY) | Enables contextual future decisions |