Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Vale

$ vale Community Low Risk
errata-ai · Design & Docs · MIT · macos / linux / windows

Vale (vale) is an extensible, offline prose linter that checks Markdown, AsciiDoc, reStructuredText, HTML, and code comments against custom or community style guides (Google, Microsoft, Write Good). Structured --output=JSON output and vale ls-config make it a top-tier agent quality gate for technical writing.

FCRS-1.0 Score
92 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install vale
CLI vs MCP Decision CLI Only

vale --output=JSON lints local docs directories deterministically in milliseconds with zero external API calls.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

First-class --output=JSON, --no-wrap, ls-config, and stdin (--ext=.md) linting with precise line/span diagnostics.

  • --output=JSON emits machine-readable file/line/span/rule objects
  • vale ls-config dumps resolved config as JSON
Trust & Safety 24 / 25

Read-only linting never mutates source files; only vale sync writes downloaded style rules to the configured StylesPath.

  • Pure read-only analysis during vale <files>
  • Zero credentials or telemetry
Setup & Portability 15 / 15

Single compiled Go binary available via Homebrew, Scoop, Chocolatey, Docker, and GitHub releases.

  • brew install vale and standalone releases
Utility & Efficiency 14 / 15

Catches passive voice, inconsistent terminology, and style-guide violations across docs and code comments.

  • Supports Google, Microsoft, Red Hat, and custom YAML rule packs
Maintenance & Lineage 8 / 10

Actively maintained MIT project (errata-ai/vale) widely adopted in docs-as-code pipelines.

  • Consistent releases and broad enterprise docs adoption
Docs & Verifiability 8 / 10

Clean official documentation covering CLI flags, .vale.ini, and custom styles.

  • Official docs at vale.sh/docs/vale-cli/overview/

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required; purely local linter (optional vale sync downloads public style packages over HTTPS).

Side Effects
Read-Only Local Write
Cost & Quotas

Free open-source software (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Vale Agent Rules
- Always run `vale --output=JSON <path>` after editing documentation or release notes.
- Pass `--no-exit` only when collecting advisory warnings; keep default exit codes in CI quality gates.
- Run `vale ls-config` first if `.vale.ini` style paths appear missing before running `vale sync`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Lint documentation directory with JSON output
vale --output=JSON docs/

Checks prose style rules across docs/ and emits per-file line/column diagnostics in JSON.

Inspect resolved Vale configuration as JSON
vale --output=JSON ls-config

Prints the resolved .vale.ini styles, packages, and glob rules as JSON.

Controlled Writes & Previews

Sync configured Vale style packages locally
vale sync

Downloads the style packages declared in .vale.ini into the local styles directory.

Strengths for Agents

  • + --output=JSON gives agents exact line, span, severity, and rule-message diagnostics.
  • + Single zero-dependency Go binary runs offline once styles are synced.
  • + Read-only by default so linting never surprises by rewriting prose.

Caveats & Pitfalls

  • ! Requires a .vale.ini file (and vale sync if referencing remote packages) before enforcing non-default style guides.
  • ! Does not auto-fix prose issues (lint-only by design).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI