By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
(Microsoft Manual of Style, Google Developer Docs Style Guide, Chicago Manual of Style)
A style guide is a rulebook for writing clear, consistent, and professional technical documentation. It ensures that every doc—whether an API reference for a payment gateway (like Stripe’s), a getting-started guide for AWS Lambda, or a CLI tool’s help text—follows the same tone, terminology, and formatting. Without one, docs become confusing (e.g., calling a "user" a "customer" in one section and a "client" in another), frustrating users and increasing support tickets. Style guides also save time: instead of debating whether to write "log in" or "login," you follow the guide and move on.
Microsoft Manual of Style (MSTP): The industry standard for software documentation (Windows, Azure, Office). Focuses on clarity, conciseness, and user-first language (e.g., "Select Save" instead of "Click the Save button"). Used for UI text, error messages, and end-user docs.
Google Developer Docs Style Guide: A minimalist, opinionated guide for developer-facing content (APIs, SDKs, CLI tools). Prioritizes scannability (short sentences, active voice) and code-first examples (e.g., "Use gcloud compute instances create to launch a VM"). Includes rules for Markdown, OpenAPI specs, and CLI docs.
gcloud compute instances create
Chicago Manual of Style (CMOS): The publisher’s bible for grammar, punctuation, and citations. Used for long-form content (whitepapers, books, blog posts) and formal documentation (e.g., IBM’s Redbooks). Less tech-specific but essential for academic or marketing-adjacent docs.
Style Guide vs. Tone Guide:
Tone Guide: Rules for voice and personality (e.g., "Be friendly but not cutesy; avoid humor in error messages").
Docs-as-Code: Treating docs like code—stored in Git, written in Markdown/AsciiDoc, reviewed via PRs, and built with static site generators (e.g., Hugo, Docusaurus). Enables automated style checks (e.g., Vale, textlint) to enforce style guide rules.
Vale: An open-source linter for prose. Scans docs for style guide violations (e.g., passive voice, jargon) and integrates with CI/CD pipelines. Example rule: "Flag ‘utilize’; prefer ‘use.’"
Markdown: A lightweight markup language for formatting docs (e.g., # Heading, bold, [link](url)). Used in GitHub, GitLab, and most docs-as-code workflows.
# Heading
bold
[link](url)
OpenAPI (Swagger): A specification for describing REST APIs. Style guides (like Google’s) include rules for OpenAPI YAML/JSON files (e.g., "Use snake_case for parameter names, PascalCase for schema objects").
snake_case
PascalCase
DITA (Darwin Information Typing Architecture): An XML-based standard for structured authoring (used in enterprise docs like Cisco’s). Enforces modular writing (topics, not pages) and reusability (e.g., a single "installation" topic used in multiple guides).
Static Site Generators (SSGs): Tools like Hugo, Docusaurus, or Sphinx that convert Markdown/AsciiDoc into HTML websites. Often paired with style guides to enforce consistency (e.g., "All code blocks must have syntax highlighting").
Terminology Management: Tools like Acrolinx, TermWeb, or even a shared spreadsheet to define and enforce approved terms (e.g., "Never use ‘abort’; use ‘cancel’ or ‘stop’"). Critical for globalized docs (e.g., avoiding idioms like "bite the bullet").
Accessibility (a11y): Style guides include rules for inclusive writing (e.g., "Avoid ‘see’ for blind users; use ‘read’ or ‘review’"). Tools like axe or WAVE can audit docs for a11y compliance.
.vale.ini
ini [Google.PassiveVoice] BasedOn = Google
<step>
description
Exception: In the Auth API, use "login" as a noun (e.g., "Create a login token") to match the codebase. Elsewhere, use "sign-in."
Why? Undocumented exceptions lead to inconsistency by stealth.
gcloud auth login
Project: "Rewrote the Acme API docs using Google’s style guide" - Audited 50+ endpoints for consistency (e.g., "Ensured all description fields used active voice").- Added Vale to the docs repo to block PRs with style violations.- Reduced support tickets by 20% (data from Acme’s help desk).
Answer:Use docs-as-code with automated checks: - Store docs in the same repo as the code.- Add OpenAPI specs to the codebase and validate them with Spectral in CI/CD.- Use Git hooks or GitHub Actions to block PRs if docs don’t match the code (e.g., "This endpoint’s description doesn’t match the OpenAPI spec").Why? Manual updates always lag; automation keeps docs in sync.
Answer:Check the style guide: - Microsoft’s guide: "log in" (verb), "sign-in" (noun/adjective).- Google’s guide: "sign in" (verb), "sign-in" (noun/adjective).If no guide applies, document the decision in your team’s style guide and enforce it with Vale.Why? Consistency > personal preference.
Answer:"What’s the user’s goal?"- A tutorial teaches concepts by building (e.g., "Build a weather app with our API").- A how-to guide solves a specific problem (e.g., "How to set up OAuth").Why? Mislabeling docs confuses users (e.g., a "tutorial" that’s just a list of steps).
code
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.