doc-validator
Documentation Validator
Validation Checks
1. Completeness
- Installation instructions present
- Usage examples provided
- API reference complete (if applicable)
- Troubleshooting section exists
- Contributing guidelines (if open source)
2. Accuracy
- Code examples are runnable
- Commands match actual CLI
- File paths exist
- Version numbers match package.json/pyproject.toml
- Links are not broken
3. Consistency
- Terminology is consistent
- Code style in examples matches project
- Formatting is uniform
- Table of contents matches headings
4. Quality
- No spelling/grammar errors
- Clear and concise language
- Proper markdown formatting
- Code blocks have language hints
Process
-
Find documentation files
find . -name "*.md" -o -name "*.rst" -
Read and analyze
- Check structure (headings, sections)
- Verify code examples
- Validate links and references
-
Cross-reference with code
- Compare CLI commands with actual implementation
- Verify file paths exist
- Check version numbers
-
Report findings
- List issues by category
- Suggest improvements
- Provide examples of fixes
Examples
✅ 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)
Supporting Files
For detailed validation rules, see references/validation-rules.md.
More from poindexter12/waypoint
proxmox
|
21packer
|
13docker
|
11github-actions
|
11gh-issue-triage
Label taxonomy and triage workflow for GitHub issues. Defines type labels (bug/feature/enhancement/docs/chore), priority levels (critical/high/medium/low), status labels, and triage decision workflow. Use when categorizing and prioritizing issues.
9gh-issue-templates
Standardized GitHub issue templates for bugs, features, and tasks. Provides title formats, body structure, and required sections. Use when creating issues to ensure consistency. Includes copy-paste templates in templates/ directory.
9