// Validate documentation files for completeness, accuracy, and consistency with the codebase. Use when user mentions "check documentation", "validate docs", "is the README up to date?", requests documentation review, says "docs are wrong" or "fix the docs", or is working on documentation improvements. Covers README files, API docs, CHANGELOG, and any markdown documentation.
| name | doc-validator |
| description | Validate documentation files for completeness, accuracy, and consistency with the codebase. Use when user mentions "check documentation", "validate docs", "is the README up to date?", requests documentation review, says "docs are wrong" or "fix the docs", or is working on documentation improvements. Covers README files, API docs, CHANGELOG, and any markdown documentation. |
Find documentation files
find . -name "*.md" -o -name "*.rst"
Read and analyze
Cross-reference with code
Report findings
โ Good trigger: "Check if our README is complete" โ Good trigger: "Validate the API documentation" โ Good trigger: "The docs mention /old-command but I don't see it in the code"
โ Bad trigger: "Write new documentation" (creation, not validation) โ Bad trigger: "Fix typo in line 42" (too specific, not validation)
For detailed validation rules, see REFERENCE.md.