vale

Run Vale on files, then fix issues directly based on the lint output.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vale" with this command: npx skills add htlin222/dotfiles/htlin222-dotfiles-vale

Vale Lint & Fix

Run Vale on files, then fix issues directly based on the lint output.

Workflow

  • Run Vale with JSON output on the target file(s):

vale --output=JSON <file-or-glob>

Parse the JSON output. Each issue has:

  • Line , Span (column range) — location

  • Check — rule name (e.g. Microsoft.Passive , write-good.Weasel )

  • Message — human-readable explanation

  • Severity — error , warning , or suggestion

  • Action.Name — suggested fix type (replace , remove , edit )

  • Action.Params — replacement candidates

Read the file and fix each issue:

  • For replace actions with clear suggestions: apply the best-fit replacement

  • For stylistic issues (passive voice, wordiness, weasel words): rewrite the sentence

  • For issues requiring judgment: use context to determine the best fix

  • Skip rules that conflict with the document's domain (e.g. medical terminology flagged as jargon)

Re-run Vale after fixes to verify issues are resolved. Repeat if needed.

Scope Rules

  • If no file is specified, ask the user which file(s) to lint

  • For globs (e.g. docs/*.md ), process each file sequentially

  • Only fix error and warning by default; include suggestion if user asks for thorough review

What NOT to Fix

  • Domain-specific terminology flagged incorrectly (medical, legal, technical terms)

  • Intentional stylistic choices (e.g. first person in a blog post)

  • Code blocks and frontmatter — Vale should already skip these, but double-check

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

data-science

No summary provided by upstream source.

Repository SourceNeeds Review
General

c-lang

No summary provided by upstream source.

Repository SourceNeeds Review
General

cpp

No summary provided by upstream source.

Repository SourceNeeds Review
General

javascript

No summary provided by upstream source.

Repository SourceNeeds Review