← ClaudeAtlas

living-docs-driftlisted

Check whether the live records of a living-docs bundle still match the code they cite, and write a dated advisory drift report. Use when the owner asks whether the docs, architecture views, constitution, open issues or Accepted ADRs have drifted from the code. Runs a driver script that resolves each record's code anchors and asks a configurable judge command; never a gate.
ejklock/living-docs-skill · ★ 14 · Data & Documents · score 73
Install: claude install-skill ejklock/living-docs-skill
# Living Docs Drift Doc-to-code drift is a record that cites code that is gone, or describes behavior the code no longer has. `living-docs check` validates doc-to-doc invariants only; this skill covers the other half. The judgment comes from a model run outside the `living-docs` binary through a command you configure. ## When to use The owner asks whether the docs still match the code, or wants a drift review before relying on a view, the constitution or an open issue. Never run it from a hook, pre-commit or CI job: the report is advisory only, never a gate. ## Run From the repository root, with `bash` and `jq` 1.6 or newer on the PATH: ``` bash <skill dir>/scripts/drift.sh [--docs-dir DIR] [--root DIR] [--out DIR] ``` - `--docs-dir`: the bundle (default `<root>/docs`). - `--root`: the repository root that code anchors resolve under (default `.`). - `--out`: where the report goes (default `<root>/.living-docs/drift`, outside the bundle so `check` never sees it; the driver puts a `.gitignore` containing `*` in that default directory when it has none, so git never lists a report). ## Configuration - `LIVING_DOCS_DRIFT_JUDGE`: the judge command line, run through the shell's own word splitting and quoting. Default `claude -p --tools ""`; `codex exec`, pi or any script that reads the prompt and payload on stdin and prints the answer on stdout also works. Set it only to commands you trust: it runs with your permissions. - `LIVING_DOCS_DRIFT_TIMEOUT`: seconds allowed per ju