--- name: vale-run description: > Use when running Vale (a prose/style linter) on a project that already has a .vale.ini and acting on its output — even when the user does not say "Vale", as in "lint the docs", "check prose style", or "why is CI failing on the docs check". Not setting up Vale config or styles -> `vale-config`. metadata: version: "0.1.2" category: lint source_keys: - context7-websites-vale-sh --- ## Gotchas - Vale's exit code keys off `error`-level alerts only — `warning` and `suggestion` alerts print and still exit `0`, and `MinAlertLevel`/`--minAlertLevel` filter what is displayed, never the exit code — no flag makes warnings fail. A rule that must gate CI or a commit hook has to be `level: error`. This is the most common way a Vale gate silently passes everything. - Check whether the target repo documents its own `vale` wrapper script (README, CONTRIBUTING, pre-commit config, `scripts/`) before calling the binary. Some projects wrap `vale` to work around real bugs — e.g. a scope that silently stops matching multi-line YAML block-scalar frontmatter — so bare `vale` skips whatever the wrapper fixes. Invoke the documented wrapper with the same arguments. ## Running vale Default invocation (when the target repo has no documented Vale wrapper — see Gotchas): ```bash vale ``` Key flags: | Flag | Purpose | |---|---| | `--output=