About context-layer-consolidation
A maintenance skill for consolidating sourced Markdown in a mounted context wiki. It works through lint-reported issues while preserving unresolved disagreements and recording deletions.
Key features
- 01Work through the lint consolidation queue
- 02Remove unsupported content
- 03Merge near-duplicate topics
- 04Mark replaced decisions as superseded
- 05Record deletions and run lint
Use cases
- 01Consolidate overlapping wiki pages
- 02Remove expired or unsupported claims
- 03Prepare wiki content for publication
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ posthog/ skills --skill context-layer-consolidationAfter installing, type/context-layer-consolidationin Claude Code to confirm it loaded.
Details
From the project READMEContext layer consolidation
Start with scripts/lint --report. Work the queue in the mounted wiki before the dream publisher creates its branch and commit.
Only edit sourced Markdown content under org/, areas/, decisions/, and existing Space pages. Never edit repository instructions, generated indexes, or scripts/; report structural failures in the run summary for the server to repair.
- Remove unsupported synthesis.
- Remove expired priorities unless historically significant; mark those
status: historical. - Mark replaced decisions
supersededand link their replacement. - Merge near-duplicates and leave a wikilink from the old subject.
- Resolve disagreements only with evidence; leave the rest explicit.
- Repair or intentionally retain ghost links, add sources, and split oversized pages.
- Name every deletion in the run summary. The dream publisher includes it in the commit message.
Keep this bounded and evidence-led. Run scripts/lint after editing.
Comments
Markdown supported