skills/docs-align/SKILL.md
Align docs with code. Detect drift and update ADRs, specs, README, AGENTS. Use after implementation or for docs drift reviews. Not for code review fixes or platform architecture.
npx skillsauth add bjornmelin/dev-skills docs-alignInstall 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.
Use this skill after implementation work or when you suspect documentation drift.
AGENTS.md.SKILL.md), run drift collection (requires git on PATH):
python3 scripts/docs_drift.py collect --cwd <repo> --out <json>python3 scripts/check_docs_drift.py --cwd <repo> --out <json>python3 scripts/docs_drift.py compare --input <json> --out <json>python3 scripts/docs_drift.py render --input <json> --format mdCommands above assume the current working directory is this skill’s root (skills/docs-align in this repository). If the working directory is elsewhere, invoke the same files with an absolute path, for example:
python3 "<skill-dir>/scripts/docs_drift.py" collect --cwd <repo> --out <json>
Create or update an ADR when the implementation changed:
Do not create ADR churn for small local refactors.
Update product or architecture specs when the implementation changed:
Prefer deleting stale spec text over leaving contradictory guidance.
Update the README when the change affects:
Keep the README high signal; move deep details into docs when needed.
development
Pre-PR multi-model review, parallel opus and codex exec adversarial lanes, then adversarial verification of merged findings. Read-only. Use before shipping nontrivial diffs.
tools
Independent gpt-5.6 diff review via the Codex CLI, normal or steerable adversarial with JSON findings. Use before shipping nontrivial changes.
development
Delegate implementation, investigation, or bulk work to gpt-5.6 codex via pinned codex exec. Use for clear-spec builds, migrations, debugging, or any task MODELS.md routes to codex.
development
Adversarial pre-mortem: imagine the plan failed, work backwards to surface risky assumptions + irreversible bets, then harden them. Proactively offer it (after the current request; confirm first) before a hard-to-reverse or one-way-door call (API, schema, framework, a hire), an all-upside plan, or unvalidated assumptions. Also on request.