scan
Installation
SKILL.md
doc-sentinel:scan
Deep scan that cross-references all documentation against the current state of the codebase. Unlike the hook (which checks only files changed in a commit), this scans everything.
This skill is read-only — it reports drift but does not modify files.
Phase 1: Load Configuration
cat .doc-sentinel.json 2>/dev/null || echo "No config — using defaults"
Defaults if no config:
docs_root:docswatch_files:AGENTS.md,ARCHITECTURE.md,README.md,CLAUDE.mdignore_sources:*.test.*,*.spec.*,__tests__/**