Documentation Writing Standards
Overview
Standards for writing clear, actionable documentation. Every document should be succinct, scannable, and consistent so contributors can find answers quickly without wading through prose. These rules apply to all markdown files in the repository.
Rules
Follow Core Principles
All documentation must follow these principles:
- Succinct - No fluff, get to the point
- Actionable - Lead with what to do, not background
- Scannable - Tables, headers, and lists over paragraphs
- Consistent - Use the same structure and formatting across all documents
- Audience-first - Write for the reader, not the writer
Use the Standards Document Template
All standards documents must follow this canonical outline:
Section details:
- Overview - A single paragraph (2-4 sentences) describing what the standard covers, when it applies, and why it matters.
- Rules - Each
### Rule Namegets a description, then optionally#### Correctand#### Incorrectsubsections with examples. - Resources - External links only. Omit this section if there are none.
- References - Internal links to related standards documents.
Use the Guide Template
Guides provide step-by-step instructions for completing a task.
- Title starts with a verb (Add, Create, Setup, Run, Debug, Write, Configure)
- Steps are numbered
- Include Prerequisites, Verification, and Troubleshooting sections
- Link to reference docs for detailed options
Use the Overview Template
Overviews provide a conceptual introduction to a topic.
- Explain "what" and "why" briefly
- Show "how" with focused examples
- Include architecture diagram if applicable
- Link to guides for step-by-step instructions
Use the Troubleshooting Template
Troubleshooting documents list common issues and fixes.
- H2 is the issue (linkable via anchor)
- Keep fixes short -- command or 1-2 sentences
- No background explanations
- Include exact error messages when applicable
Issue Naming:
Include Common Sections Correctly
Add these sections to any document as needed:
- Resources - Link to external documentation at the end of a document. Contains only external URLs.
- References - Link to related internal standards or documentation. Contains only relative links to other files in the repository.