Diátaxis
The Diátaxis documentation framework by Daniele Procida: the four kinds of documentation (tutorials, how-to guides, reference, explanation), their key principles and the compass for deciding which kind a piece of content is, read from the reStructuredText source of diataxis.fr.
Follow the workflow below step by step. Every rule here comes from a source in Sources. Quoted requirements are sentences taken from the pinned text, labelled with the section they come from. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.
Inputs (fill in, or ask before starting)
- Role: Author, editor or reviewer of documentation, or someone reorganising a documentation set.
- Target version: Diátaxis (current). See
references/versions.md.
- Revision: the pinned revision in Sources, unless the user names another.
- Sources: when refreshing this skill, re-read every URL in Sources and check the publisher for a newer revision or version line.
Invariants
- Tutorials § Deliver visible results early and often. "Every step the learner follows should produce a comprehensible result, however small."
- Tutorials § Ruthlessly minimise explanation. "Instead, provide a link or reference to that explanation, so that it's available, but doesn't get in the way."
- Tutorials § Aspire to perfect reliability. "At every stage, when you ask your student to do something, they must see the result you promise."
- How-to guides § How-to guides addressed to problems. "How-to guides must be written from the perspective of the user, not of the machinery."
- How-to guides § What how-to guides are not. "How-to guides are wholly distinct from tutorials"
- How-to guides § Pay attention to naming. "Choose titles that say exactly what a how-to guide shows."
- Reference § Reference as description. "There should be no doubt or ambiguity in reference; it should be wholly authoritative."
- Reference § Respect the structure of the machinery. "the structure of the documentation should mirror the structure of the product"
- Explanation § Admit opinion and perspective. "Explanation can and must consider alternatives"
- Explanation § Keep explanation closely bounded. "One risk of explanation is that it tends to absorb other things."
- The compass. "To use the compass, just two questions need to be asked: action or cognition? acquisition or application?"
Workflow
- Pick the version. Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.
->
references/versions.md
✓ The target version is recorded, and it is not a legacy line.
- Apply the pinned requirements. Walk the quotes in
references/requirements.md and implement each one that applies to the role.
-> references/requirements.md
✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the section it came from.
- Upgrade (only when asked). Follow the upgrade section from the source line to the target.
->
references/versions.md
✓ The result cites the target line and no longer depends on a requirement that only the old line stated.
Verify before done
Reference index
references/versions.md: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.
references/requirements.md: quotes taken from the pinned specification, grouped by source. Load for step 2.
Related skills
Install related spec skills by name with npx skills add ScaleDockHQ/scaledock-skills --skill <name>: arc42, c4-model, madr.
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
- Diátaxis, Tutorials: Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.
- Diátaxis, How-to guides: Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.
- Diátaxis, Reference: Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.
- Diátaxis, Explanation: Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.
- Diátaxis, The compass: Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.
1---2name: diataxis3description: >-4 Diátaxis: structure documentation into tutorials, how-to guides, reference and explanation. Covers Diátaxis. Use when structuring documentation. Triggers: Diátaxis.5license: MIT6metadata:7 source: https://skillmd.com/skills/scaledockhq/diataxis8 author: ScaleDockHQ9 version: "1.1.0"10 kind: standard11---1213# Diátaxis1415The Diátaxis documentation framework by Daniele Procida: the four kinds of documentation (tutorials, how-to guides, reference, explanation), their key principles and the compass for deciding which kind a piece of content is, read from the reStructuredText source of diataxis.fr.1617**Follow the workflow below step by step.** Every rule here comes from a source in [Sources](#sources). Quoted requirements are sentences taken from the pinned text, labelled with the section they come from. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.1819## Inputs (fill in, or ask before starting)2021- Role: Author, editor or reviewer of documentation, or someone reorganising a documentation set.22- Target version: Diátaxis (current). See [`references/versions.md`](references/versions.md).23- Revision: the pinned revision in [Sources](#sources), unless the user names another.24- Sources: when refreshing this skill, re-read every URL in [Sources](#sources) and check the publisher for a newer revision or version line.2526## Invariants27281. **Tutorials § Deliver visible results early and often.** "Every step the learner follows should produce a comprehensible result, however small."292. **Tutorials § Ruthlessly minimise explanation.** "Instead, provide a link or reference to that explanation, so that it's available, but doesn't get in the way."303. **Tutorials § Aspire to perfect reliability.** "At every stage, when you ask your student to do something, they must see the result you promise."314. **How-to guides § How-to guides addressed to problems.** "How-to guides must be written from the perspective of the user, not of the machinery."325. **How-to guides § What how-to guides are not.** "How-to guides are wholly distinct from tutorials"336. **How-to guides § Pay attention to naming.** "Choose titles that say exactly what a how-to guide shows."347. **Reference § Reference as description.** "There should be no doubt or ambiguity in reference; it should be wholly authoritative."358. **Reference § Respect the structure of the machinery.** "the structure of the documentation should mirror the structure of the product"369. **Explanation § Admit opinion and perspective.** "Explanation can and must consider alternatives"3710. **Explanation § Keep explanation closely bounded.** "One risk of explanation is that it tends to absorb other things."3811. **The compass.** "To use the compass, just two questions need to be asked: _action or cognition?_ _acquisition or application?_"3940## Workflow41421. **Pick the version.** Use the current line unless a named consumer needs a supported one. Do not author a legacy line. Emit a preview only when its posture is build and the user asked for that draft.43 -> [`references/versions.md`](references/versions.md)44 ✓ The target version is recorded, and it is not a legacy line.452. **Apply the pinned requirements.** Walk the quotes in [`references/requirements.md`](references/requirements.md) and implement each one that applies to the role.46 -> [`references/requirements.md`](references/requirements.md)47 ✓ Each applicable quote is either implemented or recorded as out of scope for the role, with the section it came from.483. **Upgrade** (only when asked). Follow the upgrade section from the source line to the target.49 -> [`references/versions.md`](references/versions.md)50 ✓ The result cites the target line and no longer depends on a requirement that only the old line stated.5152## Verify before done5354- [ ] The artifact cites the target line's revision from [Sources](#sources).55- [ ] Every applicable quoted requirement in [`references/requirements.md`](references/requirements.md) holds.56- [ ] Each document is one kind (tutorial, how-to guide, reference or explanation), checked with the compass's two questions.57- [ ] Nothing from a preview line is emitted unless its posture is build and the user opted in.5859## Reference index6061- **`references/versions.md`**: every version line, which one to use, and how to upgrade. Load for steps 1 and 3.62- **`references/requirements.md`**: quotes taken from the pinned specification, grouped by source. Load for step 2.6364## Related skills6566Install related spec skills by name with `npx skills add ScaleDockHQ/scaledock-skills --skill <name>`: `arc42`, `c4-model`, `madr`.6768## Sources6970Status uses the publishing body's own maturity term. Checked is the date the source was last read.7172- [Diátaxis, Tutorials](https://raw.githubusercontent.com/evildmp/diataxis-documentation-framework/957c09ca40b4a1edc23874f713e01937d50d54d5/source/tutorials.rst): Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.73- [Diátaxis, How-to guides](https://raw.githubusercontent.com/evildmp/diataxis-documentation-framework/957c09ca40b4a1edc23874f713e01937d50d54d5/source/how-to-guides.rst): Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.74- [Diátaxis, Reference](https://raw.githubusercontent.com/evildmp/diataxis-documentation-framework/957c09ca40b4a1edc23874f713e01937d50d54d5/source/reference.rst): Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.75- [Diátaxis, Explanation](https://raw.githubusercontent.com/evildmp/diataxis-documentation-framework/957c09ca40b4a1edc23874f713e01937d50d54d5/source/explanation.rst): Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.76- [Diátaxis, The compass](https://raw.githubusercontent.com/evildmp/diataxis-documentation-framework/957c09ca40b4a1edc23874f713e01937d50d54d5/source/compass.rst): Framework, diataxis.fr source, commit 957c09c (2026-08-06), checked 2026-10-06.