Find docs that still name a flag, export or file the code removed or renamed in recent commits, and suggest the corrected sentence for each. Read-only report. Use on /docs-drift, or before a release or snapshot.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Docs Drift?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ackeskin-docs-drift)
---
name: docs-drift
description: "Find docs that still name a flag, export or file the code removed or renamed in recent commits, and suggest the corrected sentence for each. Read-only report. Use on /docs-drift, or before a release or snapshot."
disable-model-invocation: true
---
# docs-drift
Lists Markdown lines that describe code which is gone, then proposes a fix for each. Edits nothing unless the user says so.
## Run
```sh
node ~/.claude/skills/docs-drift/docs-drift.mjs [--since 14.days] [--json]
```
Plugin installs: `${CLAUDE_PLUGIN_ROOT}/skills/docs-drift/docs-drift.mjs`. `--since` takes any git date (`30.days`, `2026-11-01`). Run it from the repo root.
What it finds, from the commits in the window:
- **flag**: a `--name` removed from code that no tracked code file has any more.
- **export**: an exported function, class or const removed the same way.
- **renamed** / **deleted**: a file path (or its file name, when no tracked file keeps that name) that moved or went away.
It reads tokens from code files only (not data files or reports), and skips `CHANGELOG`, `HISTORY` and `RELEASES` files, which name old things on purpose.
## Then
1. For each hit, read the doc line and a few lines around it. Drop false hits: a flag of another tool with the same name, or a sentence that already says the thing was removed.
2. Report, grouped by file: `file:line`, the commit that made it stale, the sentence now wrong, and the corrected sentence. For a rename, the new path. Mark per-tool copies (`AGENTS.md`, `copilot/`, `cursor/`, `.github/instructions/`) separately: they are usually regenerated, not hand-edited.
3. Apply fixes only when the user says which ones.
If nothing drifted, say so with the window used. A clean result covers removed names only: a changed default or output format with the same name is not detected.