DocDrift

catch stale code references in your docs before they mislead your next AI session

npx -y github:Isco0819/docdrift

Ever run into this?

Like Vale which has 4k+ GitHub stars for prose linting, but missing code-reference awareness. When AI agents refactor code they rename functions, CLI flags, and env vars without touching the README. Those stale backtick references silently mislead future AI coding sessions and confuse contributors who trust the docs.

The fix

npx CLI and MCP server that parses your markdown docs for inline code references, cross-checks each against the actual source tree, and reports every drift with fuzzy-match rename suggestions — runs pre-commit or as an MCP tool the agent calls before finishing a refactor.

What it does

npx -y github:Isco0819/docdrift