Start from a verified need
Document a real user outcome. Do not use content to justify a product structure that already exists.
Strong output begins with a verified user need. It separates reader intent, composes reusable modules, connects facts to technical truth, tests practical assertions, and measures whether the reader succeeds.
These principles constrain structure, presentation, workflow, and quality. They prevent polished output from becoming visually impressive but operationally weak.
Document a real user outcome. Do not use content to justify a product structure that already exists.
Tutorials teach. How-to guides enable work. Reference establishes truth. Explanation builds a model.
Model claims, evidence, decisions, sequences, and constraints before selecting cards, tabs, or diagrams.
Connect exact behavior to schemas, executable examples, subject-matter review, and observed evidence.
Readers arrive through search, deep links, tickets, chat, and agents. Each page must orient independently.
Page views are not outcomes. Track first success, task completion, recovery, retrieval, and comprehension.
The strongest system combines complementary approaches. Use the filters to inspect the methodology by problem domain.
Begin with evidence about who needs to achieve what, in which situation, and why current paths fail.
Decompose real work into decisions, subtasks, dependencies, frequency, complexity, and failure points.
Separate tutorials, how-to guides, reference material, and explanations according to reader intent.
Compose stable concept, procedure, reference, example, decision, and troubleshooting modules.
Design each topic to orient readers who arrive through search, a deep link, a ticket, or an agent.
Apply version control, pull requests, CI, automated builds, issue tracking, and shared ownership.
Treat documented commands, code, links, workflows, and assertions as testable product behavior.
Generate exact reference from machine-readable contracts, then add curated examples and guidance.
Explain software architecture through progressively detailed context, container, component, and code views.
Use a structured architecture coverage model for context, constraints, runtime, deployment, risks, and quality.
Capture one significant decision with context, alternatives, consequences, status, and validation evidence.
Start with meaningful action, reveal only necessary context, and treat errors as expected recovery points.
| Failure mode | Primary method | Supporting method | Evidence of improvement |
|---|---|---|---|
| Content is accurate but irrelevant | User-needs design | Task analysis | Validated need and task completion |
| One page tries to serve every reader | Diátaxis | Modular authoring | Clear dominant page intent |
| Facts drift after product changes | Docs-as-tests | Specification-first | Executable examples and schema validation |
| Architecture lacks rationale | ADR | arc42 | Decision history and explicit consequences |
| Readers land midstream and get lost | Every Page Is Page One | Diátaxis | Independent orientation and deep links |
| Documentation cannot scale across teams | Modular authoring | Docs-as-code | Reuse, ownership, and traceable review |
The sequence converts research into structured, testable, governed documentation. Select a stage to inspect its purpose, outputs, and gate.
Establish evidence before deciding what to write or how to present it.
The need can be expressed without naming a preselected page, component, or product feature.
Choose the documentation form that matches the reader’s state and question.
The artifact has one dominant intent and links to adjacent intents rather than blending them.
Create reusable units around one question, task, decision, or contract.
Each module has one purpose and does not depend on a hidden reading sequence.
Use a structure appropriate to the module rather than a generic page template.
The page structure follows the reader’s cognitive or operational path, not the product’s internal organization.
Classify evidence and automate verification wherever the behavior is deterministic.
No persuasive or operationally significant claim is presented without its evidence state.
Publish to multiple surfaces without duplicating authoritative facts.
The interactive experience is not the only place where critical technical truth exists.
Measure whether documentation changes behavior and remains current.
The team can state how the page’s effectiveness and freshness will be evaluated.
Select a template. Copy it into a repository, prompt, design brief, or content-management workflow.
Automation verifies deterministic properties. Human review verifies meaning, relevance, risk, and comprehension.
Run these checks continuously in the authoring pipeline.
Use expert and representative-reader review for these dimensions.
Use six states: generated, executable, reviewed, observed, proposed, and inferred. A polished presentation must never disguise a proposed or inferred claim as established behavior.
Rate each dimension from zero to four. Production documentation should have no zeros, an average of at least three, and accuracy, executability, and accessibility at three or above.
Start with the decisions that change output quality immediately. Add structure, verification, and outcome measurement in sequence.
The showcase earns attention. The explainer builds the model. The guide enables action. The reference establishes truth. The tests preserve trust. The evidence constrains the hype.
The document synthesizes established documentation, architecture, accessibility, API-description, and software-delivery practices.