Skip to content
Back to skills

Docs Drift

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentsgonodegit

Works with

  • cursor

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add AcKeskin/contexture --skill docs-drift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Drift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs Drift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ackeskin-docs-drift/badge)](https://www.skillsdirectory.com/skills/ackeskin-docs-drift)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md1.8 KB
  • agents/openai.yaml43 B
  • docs-drift.mjs7.3 KB
  • docs-drift.test.mjs4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.