strategic-compact

Solid

Strategic compression — Manual compression of contexts at logical boundaries rather than arbitrary automatic compression. Key decisions and constraints are preserved and intermediate exploration is discarded.

AI & Automation 36 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 77/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Strategic Compact ## Overview In long sessions, the context window is limited. This skill guides when to compact, what to keep, and what to discard. Core principle: **Compress at logical boundaries, not at any time. ** ## When to Activate - A long-running task is approaching context limits and needs a compact handoff. - Work is crossing a phase boundary such as discovery to implementation or implementation to verification. - A session must preserve decisions, modified files, constraints, tests, and unfinished steps. - The user asks to compress, checkpoint, or make the current state resumable. - A session is about to cross a planning, implementation, validation, or handoff boundary. - The context window is close to compaction and important decisions must survive. - The user asks to save or preserve state before continuing later. ## Red Flags - Compression happens midway through an implementation step with unstated file changes. - The retained summary omits constraints, modified files, validation commands, or current priority. - Exploration transcripts are preserved while actual decisions and blockers are lost. ## Checklist - [ ] Record the current mission, constraints, modified files, and next step. - [ ] Preserve verification commands and whether they passed or failed. - [ ] Drop redundant search output after retaining the evidence-backed conclusions. ## Compress decision table | Current stage | Next stage | Whether to compress | Reason | |----------|----------|-...

Details

Author
majiayu000
Repository
majiayu000/vibeguard
Created
5 months ago
Last Updated
today
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category