What problem does it solve?
AI agents and new contributors reimplement existing code, follow stale documentation, and invent structure because repository claims (conventions, invariants, sources of truth) are written as prose that silently goes stale. This Skill audits a codebase against the nine Context Architecture principles and binds every claim to a mechanism (compiler, linter, test, or review) that fails when the claim stops being true.
Core Features & Use Cases
- Nine-Principle Audit: Evaluates structure, embedded context, boundaries, legibility, discoverability, and verification with per-principle verdicts and evidence paths.
- Context-Rot Detection: Extracts file paths, commands, and URLs referenced in README/AGENTS.md docs and verifies each still exists, then adds doc-reference tests.
- Incremental Backlog: Produces a prioritized, PR-sized remediation plan (context-rot first, then AGENTS.md at boundaries, codified conventions, named boundaries) instead of a big-bang rewrite.
- Use Case: When an agent keeps reimplementing existing modules or following deleted docs, run the audit to produce a report mapping each failure mode to the unbound claim and the mechanism that should guard it.
Quick Start
Audit this repository against the Context Architecture principles and produce a prioritized backlog with mechanisms for each claim.