Skip to content
Development
Skill

/context-layer-consolidation

Keep the context wiki coherent using the deterministic lint report queue

From plugin
posthog
81164 skills1 agent3 commands2 hooks
+1
Install
$ npx -y skills add PostHog/ai-plugin --skill context-layer-consolidation --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/context-layer-consolidation

Context preview

The summary Claude sees to decide when to auto-load this skill.

Keep the context wiki coherent using the deterministic lint report queue

SKILL.md

context-layer-consolidation.SKILL.md
name: context-layer-consolidation
description: Keep the context wiki coherent using the deterministic lint report queue

Context layer consolidation

Start with `scripts/lint --report`. Work the queue on the current dream branch.

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 `superseded` and 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 commit message.

Keep this bounded and evidence-led. Run `scripts/lint` after editing.

Ships withposthog

Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.

Get the whole plugin

Other skills on posthog.