diataxis
Skill104 starsChanged 44 days agoMITView on GitHub
Write technical documentation following the Diataxis framework by Daniele Procida. Use when writing, reviewing, or restructuring documentation to ensure correct separation of tutorials, how-to guides, reference, and explanation.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- rlespinasse/agent-skillstheir own version, first seen Nov 8, 2026
- pfeff/claude-skillstheir own version, first seen Nov 1, 2026
- geekatron/jerrytheir own version, first seen Nov 1, 2026
- ericmasiello/skillstheir own version, first seen Oct 20, 2026
- nstarman/skillstheir own version, first seen Oct 20, 2026
- inngest/websitetheir own version, first seen Oct 9, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- event-driven-io/emmett★ 562same name
- inngest/website★ 51same name
- joshuadavidthomas/agent-skills★ 49same name
- geekatron/jerry★ 37same name
- keithpatton/diataxis-agent-skill★ 18same name
- rlespinasse/agent-skills★ 13same name
- pfeff/claude-skills★ 3same name
- BlakeHastings/claude-code-artifacts★ 1same name
- nstarman/skills★ 1same name
- ericmasiello/skills★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs-authoringSkill
- mintlifySkill
- releaseSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use this decision table when you need to classify content:
- Distinctive: line 70
Read after stepping away from work.
- Very specific: line 85
All files in references/ contain the complete, unabridged content from diataxis.fr:
- Very specific: line 127
Read the full reference file for that type (e.g., references/tutorials.md)
- Distinctive: line 128
Follow the language patterns and structural rules for that type
- Very specific: line 135
Check references/tutorials-how-to.md if tutorials and how-tos seem conflated
- Very specific: line 136
Check references/reference-explanation.md if reference and explanation seem blurred
- Very specific: line 140
Read references/how-to-use-diataxis.md for the overall workflow
- Very specific: line 141
Read references/complex-hierarchies.md for handling large documentation sites
- Distinctive: line 147
All reference content is Daniele Procida's original writing from diataxis.fr — do not paraphrase when the original words apply
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diataxis Documentation Framework
Complete reference for the Diataxis framework — a systematic approach to technical documentation authoring by Daniele Procida. All content sourced verbatim from diataxis.fr.
When to Use This Skill
This skill should be triggered when:
- Writing documentation: Creating new docs pages of any type
- Reviewing documentation: Checking if content is in the right place and follows the right form
- Restructuring documentation: Reorganizing existing docs into proper Diataxis categories
- Deciding content type: Determining whether something should be a tutorial, how-to, reference, or explanation
- Resolving confusion: Distinguishing tutorials from how-to guides, or reference from explanation
The Diataxis Compass
Use this decision table when you need to classify content:
| If the content... | ...and serves the user's... | ...then it belongs in... |
| informs action | acquisition of skill | a tutorial |
| informs action | application of skill | a how-to guide |
| informs cognition | application of skill | reference |
| informs cognition | acquisition of skill | explanation |
Two questions to ask:
- Action or cognition? Is this about doing something or knowing something?
- Acquisition or application? Is the user learning or working?
Full compass guidance: references/compass.md
The Four Documentation Types
Tutorials (learning-oriented)
- An experience guided by a tutor, where the learner acquires skills by doing
- Teacher holds nearly all responsibility — learner just follows directions
- Concrete steps, no choices, no branching, ruthlessly minimal explanation
- Language: "We will...", "First, do X. Now, do Y.", "Notice that...", "You have built..."
Full reference: references/tutorials.md
How-to Guides (goal-oriented)
- Directions that guide a competent user through a real-world problem
- Assumes the user already knows the basics and has a specific goal
- Can branch ("If this, do that"), addresses real-world conditions
- Language: "If you want X, do Y." Conditional imperatives.
Full reference: references/how-to-guides.md
Reference (information-oriented)
- Technical description of the machinery — austere, factual, structured like the code
- Consulted while working, not read cover-to-cover
- Neutral, objective. Describe and only describe. No teaching, no opinions.
- Language: "X does Y.", "You must use X.", lists, tables, warnings.
Full reference: references/reference.md
Explanation (understanding-oriented)
- Discursive treatment that permits reflection and deepens understanding
- Read after stepping away from work. Discusses why, provides context, weighs alternatives.
- Admits opinion and perspective. Makes connections across topics.
- Language: "The reason for X is...", "Consider...", analogies, history, alternatives.
Full reference: references/explanation.md
Critical Distinctions
The most common mistake in documentation is mixing types. Read these when boundaries are unclear:
- Tutorials vs How-to Guides:
references/tutorials-how-to.md— The single most common conflation in software documentation. Tutorials are safe, contrived, teacher-led. How-to guides are real-world, user-led, assume competence. - Reference vs Explanation:
references/reference-explanation.md— Key test: would you consult this while working (reference) or after stepping away (explanation)?
Reference Files
All files in references/ contain the complete, unabridged content from diataxis.fr:
Getting Started
references/index.md— Overview and introduction to Diataxisreferences/start-here.md— Getting started primerreferences/application.md— Applying Diataxis in practice
The Four Types (read before writing any documentation)
references/tutorials.md(16K) — Complete tutorial guidance with all principlesreferences/how-to-guides.md(11K) — Complete how-to guide guidancereferences/reference.md(6K) — Complete reference documentation guidancereferences/explanation.md(7K) — Complete explanation guidance
Practical Tools
references/compass.md— The decision compass for classifying contentreferences/how-to-use-diataxis.md— Workflow guidance for applying the framework
Theory & Principles
references/theory.md— Theoretical foundations overviewreferences/foundations.md— Foundational concepts underpinning Diataxisreferences/map.md— The Diataxis map and its relationshipsreferences/quality.md(11K) — Theory of functional vs deep quality in documentation
Boundaries & Edge Cases
references/tutorials-how-to.md(14K) — Tutorials vs how-to guides (the most important distinction)references/reference-explanation.md— Reference vs explanationreferences/complex-hierarchies.md(8K) — Handling complex documentation structures
Meta
references/colophon.md— About Diataxis itself
Working with This Skill
Before Writing a Page
- Determine which Diataxis type it is using the compass above
- Read the full reference file for that type (e.g.,
references/tutorials.md) - Follow the language patterns and structural rules for that type
- Never mix types on a single page
When Reviewing Documentation
- For each page, use the compass to verify its type
- Flag any content that mixes types (e.g., explanation inside a how-to guide)
- Check
references/tutorials-how-to.mdif tutorials and how-tos seem conflated - Check
references/reference-explanation.mdif reference and explanation seem blurred
When Restructuring
- Read
references/how-to-use-diataxis.mdfor the overall workflow - Read
references/complex-hierarchies.mdfor handling large documentation sites - Classify every existing page using the compass
- Move misplaced content to its correct type
Notes
- All reference content is Daniele Procida's original writing from diataxis.fr — do not paraphrase when the original words apply
- The reference files are the authority. When in doubt, re-read the relevant file.
- Source: https://diataxis.fr/ — Copyright Daniele Procida
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

