Documentation Quality Standards
This guide defines the writing and maintenance standards for AuroraSOC documentation.
Quality Goal
Every page should be useful for:
- A beginner who needs to accomplish a task safely
- A professional who needs depth, precision, and implementation detail
Writing Model (Layered by Depth)
Each major page should include these layers in order:
- Plain-language summary
- Step-by-step workflow
- Advanced details and constraints
- Failure modes and troubleshooting
- Related pages and next steps
Required Page Sections
For setup, architecture, and integration pages, include all of these:
- When to use this page
- Prerequisites
- Happy-path walkthrough
- Verification checklist
- Common failure modes
- Links to deeper references
Accuracy Rules
- Prefer source-linked facts over memory.
- Avoid stale fixed counts unless they are tested or generated.
- Keep one canonical source for each fact family:
- Runtime versions:
pyproject.toml,dashboard/package.json,docs/package.json - Agents and ports:
aurorasoc/agents/factory.py,aurorasoc/config/settings.py - API behavior: FastAPI OpenAPI and route implementations
- Runtime versions:
Language Rules
- Use direct, plain English first.
- Define domain terms before using acronyms.
- Use consistent terms for the same concept across pages.
- Keep examples realistic and runnable.
- Explain why, not only what.
Code and Command Examples
- Commands must run as written on Linux.
- Include context for where to run commands.
- Avoid placeholder output unless clearly labeled.
- Prefer copy-safe commands.
Beginner Experience Checklist
- Can a first-time user complete the page without external help?
- Is there at least one end-to-end example?
- Are expected results stated after each major step?
- Is troubleshooting provided for top failure cases?
Professional Experience Checklist
- Are assumptions explicit?
- Are tradeoffs and constraints explained?
- Are security implications called out?
- Are observability and validation paths documented?
Definition of Done for Docs PRs
A docs pull request is complete when:
- Facts are validated against code.
- Internal links are valid.
- The page follows layered structure.
- At least one verification path is included.
- Build passes with strict link checks.
Review Rubric
Score each page from 1 to 5:
- Correctness
- Clarity
- Completeness
- Actionability
- Maintainability
Any category below 4 must be improved before merge.