/project-management:documentation-validationfrom project-management
Validates documentation quality with tools for prose linting (Vale), Markdown/RST syntax checking, link validation, code example testing, and CI integration for research software projects.
Ships in project-management. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Treat documentation as a tested, linted, CI-checked deliverable — not an afterthought.
References (detailed guides — use the table of contents in each file):
| File | Contents |
|---|---|
references/vale-configuration.md | Vale .vale.ini options, style packages (proselint, write-good, Google, alex), custom rules, vocabulary files, editor/CI integration, configuration recipes |
references/validation-tools.md | markdownlint, HTMLProofer, doc8, link checkers (lychee, markdown-link-check), language-specific doc testing (Python/Rust/R/Go/Julia), notebook validation, CI pipeline assembly, pre-commit hooks, container-based instruction testing |
references/documentation-standards.md | Diataxis framework, completeness criteria (4 maturity levels), README standards, API doc coverage, readability metrics, documentation debt, definition of "documentation complete" |
Assets (ready-to-use):
| File | Contents |
|---|---|
assets/vale-config.ini | Annotated Vale config template for scientific documentation |
assets/validation-checklist.md | Completeness checklist for project handoff (Essential Files, User Docs, Developer Docs, Project Health, Scientific-specific, Onboarding) |
What do you need to validate?
│
├── Prose quality (grammar, style, passive voice, jargon)?
│ └── Vale → see references/vale-configuration.md
│
├── Markdown syntax and formatting?
│ └── markdownlint-cli2 → see references/validation-tools.md#markdownlint
│
├── reStructuredText syntax?
│ └── doc8 → see references/validation-tools.md#doc8
│
├── Broken links?
│ ├── In Markdown files → markdown-link-check or lychee
│ ├── In HTML docs → HTMLProofer
│ └── In Sphinx projects → sphinx-build -b linkcheck
│
├── Code examples actually work?
│ ├── Python (>>> blocks) → pytest --doctest-glob
│ ├── Rust (/// comments) → cargo test --doc
│ ├── Go (// Output: blocks) → go test -run Example
│ └── Julia (jldoctest) → julia Documenter.jl doctests
│
├── Jupyter notebooks execute correctly?
│ └── nbval / pytest-notebook → see references/validation-tools.md#notebook-validation
│
├── Setup instructions work in a clean environment?
│ └── Container-based testing → see references/validation-tools.md#container-based-instruction-testing
│
└── Overall documentation completeness?
└── assets/validation-checklist.md
# Prose linting
vale docs/ # lint all docs
vale --minAlertLevel=error docs/ # errors only
# Markdown linting
markdownlint-cli2 "docs/**/*.md" # lint
markdownlint-cli2 --fix "docs/**/*.md" # auto-fix
# RST linting
doc8 docs/
# Link checking
lychee "**/*.md" # Markdown files
sphinx-build -b linkcheck docs docs/_build/linkcheck # Sphinx
htmlproofer docs/_build/html --ignore-status-codes "403,429" # HTML output
# Code examples
pytest --doctest-glob="*.md" --doctest-glob="*.rst" docs/
cargo test --doc
go test -run Example ./...
# Notebook validation
pytest --nbval-lax docs/notebooks/
# Container-based instruction testing
docker build -f Dockerfile.test-docs -t docs-test .
Follow these steps in order, verifying each checkpoint before proceeding.
# Install Vale (macOS/Linux)
brew install vale # macOS
snap install vale # Linux
# Copy the template config and sync packages
cp path/to/assets/vale-config.ini .vale.ini
vale sync
# Checkpoint: Vale runs locally without errors
vale docs/
For full configuration options (style packages, custom rules, vocabulary), see references/vale-configuration.md.
npm install -g markdownlint-cli2
pip install doc8
# Checkpoint: linters run cleanly
markdownlint-cli2 "docs/**/*.md"
doc8 docs/
For .markdownlint-cli2.yaml and .doc8.ini config examples, see references/validation-tools.md.
brew install lychee # or: cargo install lychee
# Checkpoint: no broken internal links
lychee --exclude "example\.com" "**/*.md"
Set up a scheduled CI job for external links (external links are slow and flaky — avoid blocking PRs on them). See references/validation-tools.md#ci-pipeline-assembly for a ready-to-use GitHub Actions workflow.
# Python
pytest --doctest-glob="*.md" docs/
# Checkpoint: all >>> blocks pass
Other languages: see references/validation-tools.md#language-specific-doc-testing.
Add Vale and markdownlint to .pre-commit-config.yaml so every commit is checked locally. See references/validation-tools.md#pre-commit-integration for the full hook config.
Add a GitHub Actions workflow that runs all validation on every PR touching docs. See references/validation-tools.md#ci-pipeline-assembly for a complete multi-job workflow.
Checkpoint: Before marking documentation ready, verify against the completeness criteria in references/documentation-standards.md#completeness-criteria and the "definition of documentation complete" checklist.
assets/vale-config.ini to .vale.ini in the repo rootvale sync to download style packages.vale/styles/Vocab/Scientific/accept.txtvale docs/ to see initial findingsreferences/vale-configuration.md for style package selection and custom rule examplesvale docs/, markdownlint-cli2 "**/*.md", lychee "**/*.md"pytest --doctest-glob="*.md" docs/assets/validation-checklist.md item by itemreferences/documentation-standards.md#completeness-criteriaCreate a Dockerfile.test-docs that installs the project from scratch and runs the quickstart example. See references/validation-tools.md#container-based-instruction-testing for a language-agnostic template and multi-OS GitHub Actions matrix.
See references/validation-tools.md#ci-pipeline-assembly for a complete GitHub Actions workflow covering prose linting, Markdown linting, link checking, code example testing, and documentation build.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (uw-ssec/savvy) — no native marketplace selected
npx claudepluginhub p/uw-ssec-project-management-plugins-project-management2 skills in this plugin
Other plugins' skills for the same job