Technical Writing Style Guide Template
Tech writing style guide: voice, grammar Do/Don't, terminology, UI and code conventions, procedures, inclusive language, Vale rule mapping, further reading
How to use: Use it to set house style for docs, API docs and UI text. Keep only rules your writers actually break, each with a Do and Don't example and a possible Vale rule, and name a fallback guide. The main pitfall is enabling a large lint style at once so writers learn to ignore alerts.
Preview
Technical Writing Style Guide: [Organisation or product name]
House style for technical documentation: voice, grammar, terminology, UI and code conventions, procedures, headings, links, accessibility, numbers, a review checklist and a mapping of each rule to a Vale prose linter check (Vale 3.x). Original wording; see Further reading for the public style guides worth consulting. Replace every
[bracketed]value and every row marked Example, and adapt the rules to your organisation.
Document control
| Field | Value |
|---|---|
| Document ID | [DOC-STYLE-001] |
| Status | [Draft / Approved / Superseded] |
| Approvers/reviewers | [@docs-team], [@product-design-lead], [@localisation-lead] |
| Classification | [Internal / Public] |
| Applies to | [User docs, API docs, release notes, UI text] |
| Version | [1.0] |
| Owner | [@docs-lead] |
| Fallback references | [Dictionary: Merriam-Webster / Oxford], [general style guide of your choice] |
| Spelling variant | [US English / UK English] |
| Prose linter | [Vale 3.x, style House in styles/House/] |
| Last updated | YYYY-MM-DD |
Approvals
| Role | Name | Decision | Date |
|---|---|---|---|
| Documentation lead | [@docs-lead] | [Approve / Reject] | YYYY-MM-DD |
| Product design lead (UI text rules) | [@name] | [Decision] | YYYY-MM-DD |
| Localisation lead | [@name] | [Decision] | YYYY-MM-DD |
Revision history
| Version | Date | Author | Change |
|---|---|---|---|
| [1.0] | YYYY-MM-DD | [@docs-lead] | [First published version] |
| 1.1 | 2026-10-24 | [@docs-lead] | Updated to add a Vale rule column to the grammar, terminology and checklist tables, a Vale configuration section and Further reading |
| 1.2 | 2026-10-24 | [@docs-lead] | Updated to add Document control, Approvals, Contents and an error-only Vale run for blocking CI |
Contents
1. Voice and tone
Our voice is clear, direct, helpful and calm.
| Trait | In practice | Do | Don't |
|---|---|---|---|
| Clear | Plain words, one idea per sentence | Select Save. | Kindly proceed to effectuate the save operation. |
| Direct | Address the reader as "you"; use the imperative for steps | Enter your API key. | The user should enter their API key. |
| Helpful | Tell readers what happens next and why it matters | Restart the service so the new port takes effect. | Restart the service. (when the reason is not obvious) |
| Calm | Neutral wording in errors and warnings, no blame or alarm | The file could not be uploaded. Check that it is under 25 MB. | Upload FAILED! You chose an invalid file. |
Adjust tone to the situation: brief and neutral in reference, encouraging in tutorials, precise and serious in security warnings. Avoid humour in error messages and in content that will be translated.
2. Audience
Unless a page says otherwise, write for [a technically capable person who is new to our product]. Assume they can use a command line and a web browser; do not assume they know our internal names, architecture or abbreviations. Many readers use English as a second language and many use machine translation, so prefer short sentences and common words.
3. Grammar and mechanics
| ID | Rule | Do | Don't | Possible Vale rule |
|---|---|---|---|---|
| STY-001 | Use active voice; name the actor | The installer creates a service account. | A service account is created. | House.Passive (existence, regex for a form of "be" plus a past participle; level suggestion) |
| STY-002 | Use present tense for product behaviour | The page shows your recent files. | The page will show your recent files. | House.Will (existence, token will; level suggestion) |
| STY-003 | Keep sentences under about 25 words | Split long sentences at "and" or "which". | One sentence with three clauses and two parentheses. | House.SentenceLength (occurrence, scope sentence, max 25) |
| STY-004 | Use sentence case in headings and UI labels | Configure single sign-on | Configure Single Sign-On | House.Headings (capitalization, scope heading, match $sentence, exceptions list for product names) |
| STY-005 | Use the serial comma | files, folders, and links | files, folders and links | House.SerialComma (existence, raw regex for a list missing the final comma; level suggestion) |
| STY-006 | Spell out an abbreviation on first use | Recovery time objective (RTO) | RTO (with no expansion on the page) | House.Abbreviations (conditional, first = definition pattern, second = bare abbreviation) |
| STY-007 | Avoid "please" and "simply" in instructions | Enter your password. | Please simply enter your password. | House.Filler (existence, tokens please, simply, just, easily) |
| STY-008 | Avoid Latin abbreviations | for example, that is | e.g., i.e. | House.Latin (substitution, e.g. to for example, i.e. to that is) |
| STY-009 | Use contractions sparingly and consistently | do not / don't, as decided in [house rule] | Mixing both in one page | House.Contractions (consistency, one pair per line) |
[Adjust the serial comma and contraction rules to your house choice; the point is to be consistent.]
4. Terminology
| Use | Avoid | Notes | Possible Vale rule |
|---|---|---|---|
| sign in, sign out | log in, login (as a verb), log on | "Sign-in" as a noun or adjective | House.Terms (substitution) |
| select | click on, hit, press (for UI controls) | "Press" is for keyboard keys | House.Terms (substitution, level warning because "press" is valid for keys) |
| enter | type in, input (as a verb) | "Type" is fine for literal keystrokes | House.Terms (substitution) |
| [ProductName] | [productname], [Product-Name] | Exact capitalisation, never possessive | Vocabulary accept.txt entry, enforced by Vale.Terms |
| allowlist, blocklist | whitelist, blacklist | Inclusive language, see 10 | House.Inclusive (substitution, level error) |
| primary, replica | master, slave | Inclusive language, see 10 | House.Inclusive (substitution, level error) |
| [Term] | [Avoid] | [Notes] | [Rule name and extension] |
Keep the terminology table and the linter in step: when you add a row here, add the same pair to the substitution rule in the same pull request.
5. UI text conventions
- Put the names of UI elements in bold, exactly as they appear: Select Export.
- Show menu paths with a greater-than sign: File > Export > PDF.
- Do not name the control type unless it helps: "Select Save", not "Click the Save button".
- For keys, use the key name in monospace with
+for combinations:Ctrl+S,Cmd+Shift+P. - Describe location only when the element is hard to find: "In the upper-right corner, select Settings."
- When writing UI text itself: lead with the outcome, keep button labels to a verb and an object (Delete file), and say how to recover in error messages.
6. Code and technical elements
| Element | Format | Example |
|---|---|---|
| Inline code, commands, file names, paths, values | Monospace | Edit config.yaml and set port to 8080. |
| Multi-line code | Fenced block with a language label | A fence opened with three backticks followed by bash |
| Placeholders | Upper case in angle brackets or square brackets, explained after the block | <API_KEY>: your key from Settings > API. |
| Command output | Separate block, labelled as output | A fence labelled text, introduced by "The output is:" |
| Prompts | Omit $ in copyable commands | npm install, not $ npm install |
Code samples must run as shown, use realistic values (not foo and
bar), and never contain real secrets. Keep lines under 80 characters
where possible so they do not scroll.
7. Procedures
- Start with a heading that begins with a verb: "Create a project".
- State prerequisites before step 1.
- Use a numbered list; one action per step; no more than about 10 steps (split longer procedures).
- Put the location before the action: "In Settings, select Users."
- Put the result after the action, as a separate sentence: "The Users page opens."
- Put optional steps in the step itself: "Optional: add a description."
- Put warnings before the step they apply to, never after.
| Do | Don't |
|---|---|
| 1. In Projects, select New project. The dialog opens. | 1. Select New project in Projects which opens a dialog where you can also add a description if you want and then save. |
8. Headings and structure
| Page type | Heading style | Example |
|---|---|---|
| Task (how-to) | Imperative verb | Configure single sign-on |
| Concept | Noun phrase | Workspaces and permissions |
| Reference | Name of the thing | Configuration settings |
| Troubleshooting | Symptom in the reader's words | Import stops at 99% |
Use one H1 per page. Do not skip levels. Do not put two headings in a row without text between them. Keep headings under about eight words and avoid code formatting in headings where possible.
9. Links and cross-references
- Make link text describe the destination: "see [Configure SSO]", not "click [here]".
- Link the first relevant mention on a page, not every mention.
- Prefer relative links within the docs so they survive domain changes.
- Mark links that leave the documentation site or download a file: "[Download the sample CSV (12 KB)]".
10. Accessibility and inclusive language
- Give every image alt text that states what the image shows and why it matters. Decorative images get empty alt text.
- Never rely on colour or position alone: not "the red button" or "the link on the right", but its label.
- Use tables for data, not for layout, and give them header rows.
- Use gender-neutral language: "they" for an unknown person, "people" rather than "guys".
- Avoid ableist idioms and violent metaphors: "check" rather than "sanity check", "stop" rather than "kill" where the UI allows.
- Avoid idioms, sports references and culture-specific jokes.
11. Numbers, dates, times and units
| Item | Rule | Example |
|---|---|---|
| Numbers | Numerals for 10 and above, and for all measurements | 3 projects, 12 users, 5 MB |
| Large numbers | Comma thousands separator in English text | 10,000 requests |
| Dates | ISO 8601 in tables and logs; month name in prose | 2026-10-21; 21 October 2026 |
| Times | 24-hour clock with time zone | 14:30 UTC |
| Units | Space between number and unit; SI prefixes | 25 MB, 500 ms, 2 GHz |
| Ranges | Use "to" in prose | 1 to 64 jobs |
| Percentages | Numeral with % sign, no space | 99.9% |
12. Review checklist
| # | Check | Automated | Possible Vale rule or other tool |
|---|---|---|---|
| 1 | Page has one type (tutorial, how-to, reference or explanation) | No | None: human review (front matter type field can be checked by a schema validator) |
| 2 | Title and headings follow section 8 | Partly | House.Headings (capitalization); heading levels by markdownlint rule MD001 |
| 3 | Every procedure was tested on the current version | No | None: human review |
| 4 | Active voice, present tense, sentences under about 25 words | Yes (linter) | House.Passive, House.Will, House.SentenceLength |
| 5 | Terms match section 4 and the glossary | Yes (linter) | House.Terms, Vale.Terms with the house vocabulary |
| 6 | UI names in bold and match the product exactly | No | None: human review against the build |
| 7 | Code samples run, have language labels, contain no secrets | Partly | Language labels by markdownlint rule MD040; secrets by a secret scanner; running by CI sample tests |
| 8 | Links work and have descriptive text | Yes (link checker) | House.LinkText (existence, scope link, tokens here, click here, this link) plus a link checker |
| 9 | Images have alt text; no meaning conveyed by colour alone | Partly | Alt text by markdownlint rule MD045; colour wording by House.Colour (existence, tokens such as red button) |
| 10 | Numbers, dates and units follow section 11 | Yes (linter) | House.Units (existence, raw regex for a number directly followed by a unit), House.Dates (existence, regex for slash-separated dates) |
| 11 | Inclusive language rules in section 10 are met | Yes (linter) | House.Inclusive (substitution) |
| 12 | Spelling is correct for the chosen variant | Yes (linter) | Vale.Spelling with the house vocabulary, or a House.Spelling (spelling extension) with a custom dictionary |
| 13 | Readability is suitable for the audience in section 2 | Partly | House.Readability (metric, for example a grade-level formula with a threshold you choose); treat it as a signal, not a gate |
13. Linting with Vale
Vale is an open-source prose linter (MIT licence) that reads rules written
as YAML files. Each rule extends one of a small set of check types:
existence, substitution, occurrence, repetition, consistency, conditional,
capitalization, metric, spelling, sequence and script. The "Possible Vale
rule" columns above name a rule and the check type that fits it; the rule
names are suggestions for your own House style, not rules that ship with
Vale.
Place the configuration file at the repository root:
# .vale.ini
StylesPath = styles
MinAlertLevel = suggestion
Vocab = House
[*.md]
BasedOnStyles = Vale, House
Keep product names and accepted jargon in the vocabulary files
(styles/config/vocabularies/House/accept.txt and reject.txt in Vale 3),
so the spelling check and Vale.Terms agree with section 4.
An example substitution rule for the terminology table:
# styles/House/Terms.yml
extends: substitution
message: "Use '%s' instead of '%s'."
level: error
ignorecase: true
swap:
log in: sign in
log on: sign in
click on: select
type in: enter
An example occurrence rule for STY-003:
# styles/House/SentenceLength.yml
extends: occurrence
message: "Try to keep sentences under 25 words."
scope: sentence
level: suggestion
max: 25
token: \b(\w+)\b
Rollout plan:
| Step | Action | Owner | Exit condition |
|---|---|---|---|
| Example 1 | Add .vale.ini, vocabulary and the House.Terms and House.Inclusive rules; run locally | [@docs-lead] | Rules run on the whole docs tree |
| Example 2 | Run Vale in CI on changed files only, non-blocking | [@docs-engineer] | Alert volume reviewed for two weeks |
| Example 3 | Fix existing alerts for error-level rules; make CI blocking for errors | [@docs-team] | Zero error-level alerts on main |
| Example 4 | Review suggestion-level rules quarterly; promote or delete each | [@docs-lead] | Every rule has an owner and a level decision |
The configuration above reports every level, which suits local runs. In
the blocking CI step, fail only on errors by overriding the level on the
command line, for example vale --minAlertLevel=error docs/, and keep
the non-blocking step at suggestion level so writers still see the rest.
Check the current Vale release and rule syntax at https://vale.sh/ before you write rules: option names occasionally change between major versions.
14. Further reading
When this guide is silent, consult one of these public guides and record the decision here so the next writer finds it:
- Google developer documentation style guide, https://developers.google.com/style. Its content is licensed under the Creative Commons Attribution 4.0 licence (code samples under Apache 2.0), so you may adapt passages if you credit Google and indicate changes. This template does not adapt any of its text.
- Microsoft Writing Style Guide, https://learn.microsoft.com/en-us/style-guide/welcome/. All rights reserved by Microsoft: read and cite it, but do not copy its rules, word lists or examples into your own guide.
- Vale documentation, https://vale.sh/, for rule syntax and packaged styles you can study before writing your own.
- Web Content Accessibility Guidelines (WCAG) 2.2, https://www.w3.org/TR/WCAG22/, for the accessibility rules in section 10.
- Related templates: Documentation Plan (
docs/documentation-plan), Glossary (docs/glossary).
Standard and licence note
Based on common industry practice for technical writing style guides and on the public documentation of the Vale prose linter. This template is original text written for this collection: it does not reproduce or adapt any rule, word list or example from the Google developer documentation style guide or the Microsoft Writing Style Guide, which are listed only as further reading. Check the current versions of those guides and of Vale before relying on them. Template licence: MIT.
Related templates
Administrator Guide Template (ISO/IEC/IEEE 26514)
Admin guide – roles, architecture, access, backup/restore, monitoring, maintenance, scaling, security ops, DR, audit
Documentation & SupportDeveloper and SDK Guide Template
Developer guide: setup, auth, multi-language quick start, errors, pagination, rate limits, webhooks, sandbox, OpenAPI/Arazzo/Overlay descriptions, versioning
Documentation & SupportDocs Contribution Guide Template (Vale, markdownlint)
Docs-as-code contributing: repo layout, PR flow, preview, front matter schema, Vale vocabularies, markdownlint-cli2, link checks, alt text, review, release