abcd-context/SKILL.md
ABCd context protocol across ABC root files (AGENTS.md, BACKLOG.md, CHANGELOG.md), human entrypoint README.md files tree, and /docs. Use after meaningful project changes, backlog drift, documentation refactors, self-evolving context maintenance, or a forced context reconciliation pass.
npx skillsauth add llblab/skills abcd-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
SKILL_DIR' — the directory containing this SKILL.md file${SKILL_DIR}/scripts/${SKILL_DIR}/docs/protocols.mdREADME.md — top-level human entry point and root navigation**/README.md — local human entry points for subsystems, workspaces, packages, and toolsAGENTS.md (fallbacks: CLAUDE.md, CODEX.md, GEMINI.md, CONTEXT.md)BACKLOG.md (fallbacks: TODO.md, PLAN.md, ROADMAP.md)CHANGELOG.md/docs/README.md/docs/Maintain a living knowledge system with a truthful split between durable protocol, open work, completed delivery, human entrypoint README files, and subsystem documentation.
'Core guarantee': Durable rules stay durable. Open work stays open. Completed work moves to history. README entrypoints stay trustworthy. Docs stay discoverable.
The protocol applies its own rules to itself. Process context (AGENTS.md) ≠ open work (BACKLOG.md) ≠ completed delivery (CHANGELOG.md) ≠ subsystem docs (/docs).
Complexity is earned through discovered constraints, not invented upfront. But once those constraints are real, the protocol should actively restructure flat or drifting context into a more truthful hierarchy instead of preserving accidental shape forever.
Every fact lives in exactly one authoritative place. Navigate by hierarchy; do not duplicate state across root files.
Preferred organic standard: AGENTS.md + BACKLOG.md + CHANGELOG.md.
AGENTS.md — durable protocol, conventions, naming, architectural memoryBACKLOG.md — what remains open, blocked, gated, or nextCHANGELOG.md — what has landedDocs, code, and changelog updates do not implicitly close plan items. If reality changed, the canonical open-work file must change in the same pass.
README.md files are not decorative. Root and subtree README files are the human navigation plane and must be kept honest when topology, setup, ownership, or usage reality changes.
README.md ← root human entry point
*/README.md ← subtree human entry points
AGENTS.md ← durable protocol / context / conventions
BACKLOG.md ← canonical open work / next slices / gates
CHANGELOG.md ← completed delivery history
docs/README.md ← documentation index
docs/* ← subsystem contracts and architecture
About project identity / top-level entry? → README.md
About a subsystem starting point? → nearest relevant subtree README.md
About how we work? → AGENTS.md
About what remains open? → BACKLOG.md
About what landed already? → CHANGELOG.md
About what we build or ship? → /docs/*, then sync docs/README.md
README.md should expose the full root control plane: AGENTS.md, BACKLOG.md, CHANGELOG.md, and docs/README.mdREADME.md files should remain reachable from some parent/root/docs navigation pathREADME.md should be updated alongside the corresponding ABC and /docs truth'Trigger decision tree':
Task touched any *.md file? → YES → run POST_TASK
NO → Changed public APIs/architecture? → YES → run POST_TASK
NO → Changed canonical backlog state? → YES → run POST_TASK
NO → Completed a meaningful slice? → YES → run POST_TASK
NO → skip
'Farmville guard': Before writing any update, ask: "Does this preserve durable wisdom, correct open-work truth, record completed delivery, or repair README/docs discoverability?" If no → skip. Silence is a valid output.
'Light post-task' (small scoped task, no architecture shift):
docs/README.md honest when touched scope changed navigation'Full post-task' (broad diff, architectural impact, or context refactor):
bash "${SKILL_DIR}/scripts/validate-context.sh"Only when explicitly requested. Track surprises, stale docs, stale README entrypoints, backlog drift, repeated mistakes, and root-state confusion during any task, then capture them in POST_TASK.
Full forced reconciliation pass across ABC + README tree + /docs, followed by validation. See protocols.md.
AGENTS.md — align with durable conventionsBACKLOG.md or the canonical plan file — understand open work and current framingREADME.md files — root first, then touched subtree entrypointsdocs/README.md — understand documentation topology/docs files for the touched subsystemCHANGELOG.md entries when recent shipped baseline mattersDefaults for new files and restructuring targets for existing ones. If a file already has a format, match that format unless the current structure is clearly flatter, drifted, or less truthful than the template hierarchy — in that case, evolve it toward the template rather than preserving accidental shape.
Full templates: docs/templates.md
Markdown style: Do not use tables for definition-list content. Use label/bullet definitions. Do not hard-wrap prose; preserve readable paragraph flow unless a project-specific formatter requires wrapping.
'AGENTS entry':
- '[label]': [description of insight or rule]
- Trigger: [cause]
- Action: [what to do]
'BACKLOG item':
- [ ] `[Slice]` [Concrete remaining work with truthful exit criteria]
'CHANGELOG entry':
- `[Area]` [Delivered slice]. Impact: [what changed].
validate-context.shAutomated documentation health checker for the ABC root-memory split, README entrypoint graph, and docs plane.
docs/validation-design.mdbash "${SKILL_DIR}/scripts/validate-context.sh" from project rootbash "${SKILL_DIR}/scripts/validate-context.sh" /path/to/projectVALIDATE_CONTEXT_ROOT=/path/to/project bash "${SKILL_DIR}/scripts/validate-context.sh"--json before or after the pathWhen a task changes the true state of open work, update the canonical plan file in the same pass.
Allowed plan-state operations:
Rules:
AGENTS.md or /docsCHANGELOG.md, not rolling AGENTS.md historyABC + README tree + /docs), not one layer in isolationREADME.md, refresh that local entrypoint with the resulting insight when the README is the honest human starting point for that areadevelopment
Manage a guarded release flow that commits prepared release work on dev, opens a dev-to-main pull request with a release-focused PR summary, waits for checks, merges on success, tags, and optionally publishes an existing npm package. Use when the user asks to prepare or execute a dev→main release PR, hotfix release PR, or Dev2Main PR Summary workflow.
tools
Build, refactor, review, or debug Svelte 5 components that use Bits UI primitives. Use when working with bits-ui dialogs, popovers, dropdowns, comboboxes, selects, tabs, date/time controls, menus, tooltips, portals, render delegation, or Bits UI type helpers.
development
Evidence-grounded review for code, diffs, PRs, documents, plans, specs, and architecture. Use for evidence review, review, code review, quick review, sanity check, quality check, architecture review, production readiness, security review, scaling review, document review, evaluate, or check.
development
Collaborative idea-to-design and inquiry protocol. Use for product/architecture exploration, research-style question shaping, feature design, standards, specs, UX concepts, module boundaries, and non-trivial behavior changes when uncertainty matters.