/docs
Detects drift between your documentation and your code.
When to use
- Auditing docs before a release
- After a major refactor that may have invalidated examples
- The user says "check docs", "audit the README", "find stale references"
Rules
docs-001npm scripts referenced in docs that don't exist (medium)docs-002scoped dependencies referenced that aren't installed (low)docs-003file paths in backticks that don't exist on disk (medium)docs-004npm scripts that aren't documented anywhere (low)
Each finding includes the markdown file, line, column, snippet, message, and a fix.
Run it
dragoon docs # all severities
dragoon docs --severity medium # focus on the actionable ones
dragoon docs --json # CI mode
Exit codes
0no drift1drift detected2bad usage