diataxis
Diátaxis
Diátaxis is Daniele Procida's approach to technical documentation, published at https://diataxis.fr. It names four kinds of documentation, each serving a different need, and a way of working that improves documentation one small step at a time. This skill paraphrases diataxis.fr as published from its source at commit 957c09c, read on 2026-11-16. Each claim about Diátaxis in references/ links the page it comes from; references/sources.md lists them, says which rules are this skill's own rather than Diátaxis's, and covers the license.
Two misreadings to avoid
Diátaxis is not a structure to impose. Its author calls it "a guide, not a plan", says not to spend energy getting the structure right, and calls creating empty tutorials/how-to/reference/explanation sections "horrible" (how to use Diátaxis). The four-part shape appears because the docs were improved, from the inside. So never open with a target directory tree, never create empty sections or placeholder pages, and never propose pages just to fill a category.
Diátaxis does not make docs correct. Accuracy and completeness are what diataxis.fr calls functional quality, and it says plainly that Diátaxis cannot address it; it can only expose lapses (quality). Checking each claim against the code is separate work, and you still have to do it: references/quality.md says how.
The workflow
This is the cycle diataxis.fr prescribes (how to use Diátaxis, start here). Follow it whatever the size of the request.
- Choose one thing. If the user named a page, a section or a paragraph, that is it. If they asked about the docs in general, take what is in front of you: the page they mentioned, the README, the page most readers land on. Do not survey everything hunting for problems. Smaller is better: a page at most, a section or a paragraph if you can.
- Assess it against the need it serves. Which user need does it serve (run the compass below)? How well does it serve it? What could be added, moved, removed or changed to serve it better? Do its language and logic fit its mode? Check the facts it states against the code, config or CLI while you are there.
- Decide the single next action that would improve it right away. If what you chose states something wrong, correcting it comes first: deep quality is conditional on functional quality (quality), and a wrong flag or version misleads every reader, while a misplaced paragraph only slows them down. Propose the correction as the first change and the restructuring after it.
- Propose that action and wait for approval. See "Proposing a change" below.
- Make the change once approved, as one change the user can commit or publish on its own. Then go back to step 1. Each change usually shows you the next one.