Diataxis Classification Review
Scope
Diataxis classification only: identify whether each page is a tutorial, how-to guide, explanation, or reference; note structural mismatches between content type and declared category, and suggest improvements where real issues exist.
Ground classification in the Diataxis foundations: the two axes of craft (action vs cognition, acquisition vs application) define four user needs (learning, goals, information, understanding).
This skill identifies flaws and provides actionable recommendations; it does not enforce compliance or apply pass/fail criteria.
Inputs
- Documentation file(s) under review.
- Diataxis framework principles (embedded in classification criteria below).
Actions
Identify intended category: Determine the declared category based on directory location (tutorial/, how-to/, explanation/, reference/) and file metadata (front matter keys such as category, type, diataxis, or reST .. meta:: entries).
Infer actual category: Analyze the text's structure, tone, and progression to determine which quadrant it actually resembles.
Use these classification criteria:
Tutorial indicators:
- Step-by-step progression building a complete project
- Imperative mood ("Create a file", "Run this command")
- Learning-focused language ("you will learn", "by the end")
- Safe, controlled environment (specific versions, no branching)
- Frequent reassurance and checkpoints
- Teaches by doing, not explaining
How-to guide indicators:
- Problem-solution format with clear goal
- Assumes existing knowledge and competence
- Clearly states prerequisites and applicability scope
- Action-oriented ("To achieve X, do Y")
- Flexible, allows for variation
- Focuses on results, not learning
- Omits explanations unless critical to success
Reference indicators:
- Descriptive, declarative statements
- Comprehensive coverage of subject
- Neutral, technical tone
- Structured for lookup (tables, lists, alphabetical)
- Parameters, options, API signatures
- Accuracy over narrative
Explanation indicators:
- Conceptual focus ("why" and "how it works")
- Discursive, exploratory tone
- Comparative analysis
- Context, background, relationships
- Illuminates understanding, not action
- May include history, design decisions, alternatives
- May contain subjective opinions and personal perspectives
Check user need alignment:
Map the page to the user need implied by the action/cognition and acquisition/application axes (learning, goals, information, understanding).
- Tutorials: Is it a learning-oriented lesson?
Does it build confidence through doing? Is it linear and safe?
- How-to guides: Is it a task-oriented recipe?
Does it help a competent user solve a specific problem?
Is it goal-focused?
- Reference: Is it information-oriented?
Does it describe things accurately and completely?
Is it structured for lookup?
- Explanation: Is it understanding-oriented?
Does it clarify concepts, context, and relationships?
Is it discursive?
Note hard-to-fit genres: Some documentation types do not align cleanly with a single quadrant (for example, release notes or contributing guides).
Flag these cases explicitly, reference the Diataxis guidance on complex hierarchies (https://diataxis.fr/complex-hierarchies/), and choose the closest fit category for reporting.
Evaluate quality:
Functional quality: Is the content accurate, complete, consistent, useful, and precise?
- Missing prerequisites or dependencies
- Incomplete steps or procedures
- Inconsistent terminology or naming
- Outdated information (version mismatches, deprecated features)
Deep quality: Does the content have good flow?
Does it anticipate user questions?
Is the cognitive load appropriate? Is the experience clear?
- Paragraph length (>4 sentences may suggest need for breaking)
- Sentence complexity (nested clauses, dense jargon)
- Transition quality (abrupt topic changes, missing connectives)
- Progressive disclosure (introducing too much too soon)
- User journey mapping (gaps in expected flow)
Document misalignments: Explicitly identify where the document fails to meet the needs of its category, jumps between categories, or where quality breaks down.
For each issue, provide:
- Specific location (section, paragraph)
- Nature of the problem
- Impact on user experience
- Concrete suggestion for improvement
Verify completion: Confirm the analysis completed:
- Category classification completed (declared vs inferred)
- User need alignment analyzed
- Quality assessment performed (functional and deep quality)
- Misalignments documented with recommendations
State the completion status:
✓ Diataxis analysis complete: [declared category] → [inferred category], [N] issues found
- OR
✓ Diataxis analysis complete: Content aligns well with [category]
Constraints
- Do not ignore the Diataxis framework.
- Assign each page to exactly one quadrant.
- Do not introduce categories beyond the four quadrants.
Output
A Diataxis Analysis Report detailing:
- Declared category (from metadata/directory structure).
- Inferred category (from content analysis).
- User need alignment analysis (which quadrant best serves the user).
- Functional quality findings (with specific examples).
- Deep quality findings (with specific examples).
- Identified issues and actionable recommendations for improvement.
If no significant issues are found, state that the documentation aligns well with its intended category.
1---2name: documentation-diataxis3description: Analyzes documentation against Diataxis framework (Tutorial, How-to, Reference, Explanation). Use when reviewing documentation structure or classifying content type. Identifies misalignments between declared category and actual content.4---56# Diataxis Classification Review78## Scope910Diataxis classification only: identify whether each page is a tutorial, how-to guide, explanation, or reference; note structural mismatches between content type and declared category, and suggest improvements where real issues exist.11Ground classification in the Diataxis foundations: the two axes of craft (action vs cognition, acquisition vs application) define four user needs (learning, goals, information, understanding).12This skill identifies flaws and provides actionable recommendations; it does not enforce compliance or apply pass/fail criteria.1314## Inputs1516- Documentation file(s) under review.17- Diataxis framework principles (embedded in classification criteria below).1819## Actions20211. **Identify intended category**: Determine the declared category based on directory location (`tutorial/`, `how-to/`, `explanation/`, `reference/`) and file metadata (front matter keys such as `category`, `type`, `diataxis`, or reST `.. meta::` entries).22232. **Infer actual category**: Analyze the text's structure, tone, and progression to determine which quadrant it actually resembles.24 Use these classification criteria:2526 - **Tutorial indicators**:27 - Step-by-step progression building a complete project28 - Imperative mood ("Create a file", "Run this command")29 - Learning-focused language ("you will learn", "by the end")30 - Safe, controlled environment (specific versions, no branching)31 - Frequent reassurance and checkpoints32 - Teaches by doing, not explaining3334 - **How-to guide indicators**:35 - Problem-solution format with clear goal36 - Assumes existing knowledge and competence37 - Clearly states prerequisites and applicability scope38 - Action-oriented ("To achieve X, do Y")39 - Flexible, allows for variation40 - Focuses on results, not learning41 - Omits explanations unless critical to success4243 - **Reference indicators**:44 - Descriptive, declarative statements45 - Comprehensive coverage of subject46 - Neutral, technical tone47 - Structured for lookup (tables, lists, alphabetical)48 - Parameters, options, API signatures49 - Accuracy over narrative5051 - **Explanation indicators**:52 - Conceptual focus ("why" and "how it works")53 - Discursive, exploratory tone54 - Comparative analysis55 - Context, background, relationships56 - Illuminates understanding, not action57 - May include history, design decisions, alternatives58 - May contain subjective opinions and personal perspectives59603. **Check user need alignment**:6162 Map the page to the user need implied by the action/cognition and acquisition/application axes (learning, goals, information, understanding).6364 - **Tutorials**: Is it a learning-oriented lesson?65 Does it build confidence through doing? Is it linear and safe?66 - **How-to guides**: Is it a task-oriented recipe?67 Does it help a competent user solve a specific problem?68 Is it goal-focused?69 - **Reference**: Is it information-oriented?70 Does it describe things accurately and completely?71 Is it structured for lookup?72 - **Explanation**: Is it understanding-oriented?73 Does it clarify concepts, context, and relationships?74 Is it discursive?75764. **Note hard-to-fit genres**: Some documentation types do not align cleanly with a single quadrant (for example, release notes or contributing guides).77 Flag these cases explicitly, reference the Diataxis guidance on complex hierarchies (https://diataxis.fr/complex-hierarchies/), and choose the closest fit category for reporting.78795. **Evaluate quality**:8081 - **Functional quality**: Is the content accurate, complete, consistent, useful, and precise?82 - Missing prerequisites or dependencies83 - Incomplete steps or procedures84 - Inconsistent terminology or naming85 - Outdated information (version mismatches, deprecated features)8687 - **Deep quality**: Does the content have good flow?88 Does it anticipate user questions?89 Is the cognitive load appropriate? Is the experience clear?90 - Paragraph length (>4 sentences may suggest need for breaking)91 - Sentence complexity (nested clauses, dense jargon)92 - Transition quality (abrupt topic changes, missing connectives)93 - Progressive disclosure (introducing too much too soon)94 - User journey mapping (gaps in expected flow)95966. **Document misalignments**: Explicitly identify where the document fails to meet the needs of its category, jumps between categories, or where quality breaks down.97 For each issue, provide:98 - Specific location (section, paragraph)99 - Nature of the problem100 - Impact on user experience101 - Concrete suggestion for improvement1021037. **Verify completion**: Confirm the analysis completed:104105 - Category classification completed (declared vs inferred)106 - User need alignment analyzed107 - Quality assessment performed (functional and deep quality)108 - Misalignments documented with recommendations109110 State the completion status:111 - `✓ Diataxis analysis complete: [declared category] → [inferred category], [N] issues found`112 - OR `✓ Diataxis analysis complete: Content aligns well with [category]`113114## Constraints115116- Do not ignore the Diataxis framework.117- Assign each page to exactly one quadrant.118- Do not introduce categories beyond the four quadrants.119120## Output121122A Diataxis Analysis Report detailing:123124- Declared category (from metadata/directory structure).125- Inferred category (from content analysis).126- User need alignment analysis (which quadrant best serves the user).127- Functional quality findings (with specific examples).128- Deep quality findings (with specific examples).129- Identified issues and actionable recommendations for improvement.130131If no significant issues are found, state that the documentation aligns well with its intended category.