What problem does it solve? Documentation drifts out of sync with code as branches evolve, leaving READMEs, setup guides, and user manuals describing routes, CLI flags, and config keys that no longer exist. This Skill actively fixes that drift instead of just reporting it. ## Core Features & Use Cases - Diff-Based Drift Detection: Fetches origin/main (or the branch upstream) and classifies doc-relevant changes such as new HTTP routes, shim actions, config keys, and CLI flags. - In-Place Doc Rewrites: Updates README.md, AGENTS.md, setup-guide.md, docs/*.md, and mirrored .codex/.claude skill docs following a strict truth order where code and INVARIANTS.md outrank prose. - Verification Pass: Runs invariant guard and route-coverage tests, then re-greps every route, gate name, and flag written into docs against the cited source. - Use Case: Before cutting a release, run this Skill to compare your feature branch against main and rewrite every doc section that references renamed routes, removed config keys, or changed CLI flags. ## Quick Start Ask the AI to sync the docs by diffing this branch against origin/main and fixing any stale prose in the README and docs folder.