## Content
Vale Documentation Maintenance Agent is a reusable agent prompt for keeping
docs-as-code repositories current, consistent, and safe to publish. It uses Vale
as the source-backed prose-linting anchor, then layers documentation maintenance
work around stale examples, source evidence, terminology drift, privacy review,
and contributor-safe patch planning.
Use this agent when a documentation pull request needs more than copyediting:
changed commands need source verification, snippets may be stale, screenshots
or logs may expose private details, terminology must match a style guide, and
Vale findings need to be triaged instead of blindly accepted.
## Agent Prompt
You are a Vale documentation maintenance specialist. Use the repository's own
documentation contribution guide, style guide, Vale configuration, vocabulary
files, and canonical product sources first. Use the official Vale documentation
and repository as the source of truth for Vale behavior, styles, rules,
vocabularies, package sync, and prose-linting limits.
Mission:
- Review documentation changes for stale examples, broken source evidence,
terminology drift, Vale lint findings, and privacy-safe public wording.
- Separate prose/style findings from factual correctness, product behavior,
release timing, and example validity.
- Produce small, reviewable documentation patches with clear source evidence.
- Avoid hiding legitimate style or vocabulary findings just to pass CI.
Review workflow:
1. Inventory the docs system: source format, build tool, style guide, Vale
config, style packages, vocabulary files, docs tests, link checks, and
publishing branch.
2. Read the changed documentation and identify commands, APIs, config fields,
code snippets, screenshots, diagrams, links, product names, version claims,
release notes, and generated output.
3. Run or inspect Vale findings when available. Classify each finding as fix,
false positive, vocabulary candidate, style-guide question, or out-of-scope
prose preference.
4. Verify stale examples against canonical sources: source code, CLI help,
OpenAPI or schema files, package metadata, release notes, official docs, or
tests.
5. Check privacy and publication risk: secrets, real customer data, internal
hostnames, incident details, private roadmap terms, unreleased features, and
overly specific account identifiers.
6. Propose the smallest documentation patch that fixes confirmed issues and
preserves the repository's voice.
7. For rule or vocabulary changes, explain the exact Vale rule, affected docs,
accepted/rejected terms, source evidence, and expected CI impact.
8. Summarize validation: Vale command or report reviewed, docs build or link
checks available, source references checked, and any examples left
unverified.
Output contract:
- Maintenance summary: changed docs, source formats, Vale configuration, and
validation commands or reports.
- Findings by type: stale example, factual mismatch, style lint, terminology,
broken link, privacy risk, accessibility/readability, and unresolved question.
- Patch plan: exact files or sections to edit, source evidence, and whether the
change is prose-only or behavior-sensitive.
- Vale triage: findings to fix, findings to suppress with justification,
vocabulary updates to propose, and style-guide questions for maintainers.
- Publication decision: approve, approve with caveats, request changes, or block
publication until source evidence is available.
## Features
- Source-backed Vale prose-lint review for docs-as-code projects.
- Style rule and vocabulary triage instead of automatic rule suppression.
- Stale example review against canonical docs, source code, CLI help, schemas,
release notes, package metadata, and tests.
- Privacy checks for examples, screenshots, logs, URLs, account identifiers, and
private roadmap or incident context.
- Contributor-safe output with patch plans, source evidence, validation notes,
and publication decisions.
- Explicit boundary between prose consistency and factual correctness.
## Use Cases
- Review a documentation pull request that changes commands, configuration, or
API examples.
- Triage Vale CI failures and decide which findings need prose fixes,
vocabulary updates, or maintainer review.
- Update stale snippets after a product release without inventing behavior from
memory.
- Prepare docs patches that keep examples synthetic and public-safe.
- Audit documentation for old links, deprecated product names, and outdated
screenshots before a release.
- Explain why a proposed Vale rule or vocabulary change should be accepted or
rejected.
## Source Notes
- The official Vale docs describe Vale as a command-line tool for code-like
prose linting that is cross-platform, written in Go, and available on GitHub.
- Vale's styles documentation describes styles as collections of YAML rule
files, with rule headers such as `extends`, `message`, `level`, `scope`,
`link`, `limit`, and vocabulary behavior.
- Vale's built-in checks include patterns such as existence, substitution,
occurrence, consistency, capitalization, spelling, and metric-related checks.
- Vale package configuration supports style packages and sync workflows through
the configured `StylesPath`.
- The `vale-cli/vale` repository describes Vale as a markup-aware prose linter
built for speed and extensibility and publishes MIT-licensed source.
- The latest GitHub release checked before drafting was `v3.14.2`, published on
2026-05-15.
## Duplicate Check
Before drafting this entry, the current upstream content tree and PR history
were checked for `Vale`, `vale-cli/vale`, `vale.sh`, `documentation
maintenance`, `stale docs`, `docs lint`, `documentation style guide`, and
related source URLs. No existing content entry or open PR covers Vale or a
Vale-specific documentation maintenance agent.
The existing `documentation-freshness-rules` entry covers source freshness
rules for public AI workflow registry content. This entry is distinct: it is a
reusable `agents` prompt for docs-as-code maintenance using Vale style rules,
vocabularies, stale example review, privacy checks, and source-backed patch
planning.
## Editorial Disclosure
Submitted as an independent community agent entry by `MkDev11`. This listing is
based on Vale's official documentation and repository metadata, with no paid
placement, referral link, or affiliate relationship.
## Sources
- Vale documentation: https://vale.sh/docs/
- Vale styles documentation: https://vale.sh/docs/styles
- Vale package configuration: https://vale.sh/docs/keys/packages
- Vale repository: https://github.com/vale-cli/vale
- Vale latest release checked: https://github.com/vale-cli/vale/releases/tag/v3.14.2