Product & UX
Vale for product and UX writing
Buttons, error messages, and the strings in your locale files.
The words in an interface are written once and read on every screen: a button label, an error message, an empty state. They live in locale files no docs linter opens. The Microcopy package reads them there, through a View that tells a label from a message by its key, and checks the conventions design systems share: sentence-case labels, a specific verb on every button, errors that say what to do next, and no “please” or “click here”. GlobalEnglish keeps the same strings ready for translation.
Start with this config
Microcopy reads the locale file through its I18n View, so the label rules reach button and title keys and the rest reach every message. The docs get Microcopy’s message rules and GlobalEnglish beside them.
.vale.ini
StylesPath = styles
MinAlertLevel = suggestion
Packages = Microcopy, GlobalEnglish
[locales/*.{json,yml}]
BasedOnStyles = Vale, Microcopy
View = I18n
[docs/*.md]
BasedOnStyles = Vale, Microcopy, GlobalEnglish Then download the packages it names and run Vale over the project:
$ vale sync
$ vale . Packages
Published styles to start from. A package in the Explorer installs by name with Packages and vale sync, one published elsewhere by its release URL, and every rule in either can be turned off or changed in your own config.
Microcopy
UI text: sentence-case labels, specific button verbs, error messages that blame or say nothing, filler, and confirmations, with a View for i18n locale files.
16 rules 14 downloads
GlobalEnglish
English for translation and for readers whose first language isn't English: idioms, phrasal verbs, Latin abbreviations, ambiguous words, and an opt-in style for procedures in controlled English.
23 rules 14 downloads
A11y
Accessible writing: alt text, link text, heading structure, table headers, instructions that rely on color or position, a reading grade per paragraph, and an inclusive-language word list, from the parts of WCAG 2.2 that live in the text.
19 rules 20.6K downloads
alex
Catch insensitive, inconsiderate writing.
18 rules 455.8K downloads
TechTerms
A spelling dictionary of 115,000 technical terms, from product and company names to file types and the vocabulary of some 30 programming languages, built from cspell's MIT-licensed word lists. Vale.Spelling uses it beside its own dictionary.
42 downloads
Where it runs
The browser extension checks a string where it’s typed, in a pull request or a design tool’s comment box. In the repository, the same config runs on the locale files in the editor and in CI.
- Browser Chrome, Edge, Firefox
- VS Code VS Code, Cursor, Windsurf
- GitHub Actions vale-cli/vale-action
- pre-commit Local hooks
- Language server Any LSP-capable editor
With an agent
All agent toolsThe agent tools install as a Claude Code plugin: skills for setting up and tuning Vale, and hooks that lint each file the assistant writes. Type both lines in Claude Code, then ask for what you need.
/plugin marketplace add vale-cli/agent-tools
/plugin install vale@agent-tools - “add prose linting” /vale:setup Install Vale, write a .vale.ini that matches the formats actually present, sync the styles, and get a first run. Covers translated docs and the comments in source code.
- “stop flagging our product name” /vale:vocab Add project terms to a vocabulary, import a word list kept for another spell checker, and set up a regional or other-language dictionary.
- “use title case headings” /vale:tune Change one style choice in plain words: headings, contractions, “we”, passive voice, preferred terms. Ships tested templates for the choices no package covers.
- “run this on PRs” /vale:ci Generate the GitHub Actions workflow or the pre-commit entry from what the repository already has. Asks what it should look at, what to report, and when to fail.
Who runs it
Teams who lint the text of a product: error strings in TSX, interface strings in two languages, the UI components a design system ships, and the docs beside them.
- SuperTokens Lints its docs, and the error strings in its TSX, with its own SuperTokens styles.
- Zeabur Lints English and Chinese docs and interface strings with its own styles for each language.
- NASA Runs NASA and plain-language styles over the Terra UI components, which GES DISC builds on too.
- Cypress Lints the Markdown in its design system with its own Cypress style.
- Semrush Lints the docs for its Intergalactic design system with a DevDocs style.
- Marigold Lints its design-system docs, changesets, and READMEs with its own Marigold style, in pre-commit and CI.
- MUI An MUI style with the Google package, in the main repository.
- Netwrix Applies its own Netwrix style to product documentation and a separate NetwrixKB style to knowledge base articles, skipping bold UI labels and quoted product text.
Formats
Where this kind of writing lives. Vale parses each one, so rules see the prose and skip the markup, the code, and the URLs.
Read more
On the blog
In the docs
- Views
Reading locale files
- Vocabularies
Product and feature names
- Scopes
Other kinds of writing
Technical
Docs, references, and the style guide your team already follows.
Read the guidePublic sector
Plain English for the public, held to a government style guide.
Read the guideResearch
Papers, notebooks, and the docs for the software research runs on.
Read the guideCreative
Fiction, essays, and the rules writers have argued over for a century.
Read the guideCode & data
The prose inside files that aren’t prose: comments, API descriptions, and the log.
Read the guideOpen source
The README, the contributing guide, and the log a project keeps.
Read the guideAI & agents
Hold what a model writes, and what you write for one, to a standard.
Read the guide