Diátaxis documentation framework for organizing content into four categories - tutorials (learning-oriented), how-to guides (problem-solving), reference (technical specifications), and explanation...
This Skill provides guidance for applying the Diátaxis documentation framework to organize and create documentation. Diátaxis categorizes documentation into four distinct types based on user needs and context.
When to use this Skill:
Purpose: Guide learners through a complete journey to achieve a specific learning outcome.
Characteristics:
Directory: docs/tutorials/
Example: "Data Tutorial - Beginner" teaching fundamentals step-by-step.
Purpose: Provide step-by-step instructions to solve specific problems or complete specific tasks.
Characteristics:
Directory: docs/how-to/
Example: "How to Add a New Nx App" - concrete steps for a specific task.
Purpose: Provide factual, accurate technical information for lookup.
Characteristics:
Directory: docs/reference/
Example: "Monorepo Structure Reference" - technical specifications.
Purpose: Explain concepts, design decisions, principles, and context.
Characteristics:
Directory: docs/explanation/
Example: "Repository Governance Architecture" - explains six-layer system concept.
| User Wants To... | Documentation Type | Directory |
|---|---|---|
| Learn a skill | Tutorial | docs/tutorials/ |
| Solve a specific problem | How-To | docs/how-to/ |
| Look up technical details | Reference | docs/reference/ |
| Understand concepts/WHY | Explanation | docs/explanation/ |
The explanation directory has special subdirectories:
Wrong: Tutorial that jumps to reference-style technical specs Right: Keep tutorials narrative and learning-focused; reference technical details in separate reference doc
Wrong: Placing "How to configure X" in docs/explanation/ Right: Place in docs/how-to/ (it's task-oriented, not conceptual)
Wrong: Making reference documentation tutorial-like with extensive narrative Right: Keep reference factual, structured, lookup-friendly
Wrong: Step-by-step instructions in explanation documents Right: Explain concepts and rationale; link to how-to for implementation steps
Tutorials:
How-To Guides:
Reference:
Explanation:
Primary Convention: Diátaxis Framework Convention
Related Conventions:
Related Skills:
docs-applying-content-quality - Universal markdown quality standardsThis Skill packages Diátaxis framework knowledge for organizing and creating properly categorized documentation. For comprehensive details, consult the primary convention document.