diataxis

Classify documentation into Tutorials, How-to guides, Reference, and Explanation using the Diátaxis framework.

40|6|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/joshuadavidthomas/agent-skills --skill diataxis-joshuadavidthomas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diataxis
Source: https://github.com/joshuadavidthomas/agent-skills/tree/main/diataxis
Command: npx skills add https://github.com/joshuadavidthomas/agent-skills --skill diataxis-joshuadavidthomas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Diátaxis provides a structured approach to technical documentation by defining four distinct types that align content with user needs, enabling clearer organization and guidance.

Core Features & Use Cases

  • Four documentation types: Tutorials, How-to guides, Reference, and Explanation.
  • Compass-based decision guidance to classify content and guide documentation strategy.
  • Incremental improvement approach that avoids overhauling entire documentation structures at once.

Quick Start

Classify a sample document with the compass and assign it to Tutorials, How-to guides, Reference, or Explanation to begin structuring your content.

Frequently Asked Questions about diataxis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to structure technical documentation for software projects?

The Diátaxis framework structures technical documentation into four types: tutorials, how-to guides, reference, and explanation. This approach aligns content with user needs by categorizing documentation based on whether users are studying, working, finding information, or understanding.

How do I classify existing documentation into tutorials, how-to guides, reference, and explanation?

You can classify existing documentation using a compass-based decision guide. It evaluates the content's purpose and assigns it to one of the four Diátaxis types, ensuring each document aligns with the correct user need and documentation strategy.

Do I need to overhaul my entire documentation structure to apply the Diátaxis framework?

No, you do not need to overhaul your entire documentation structure at once. The Diátaxis framework supports an incremental improvement approach, allowing content teams to classify and restructure documents gradually without disrupting existing software project documentation.

How does the Diátaxis compass categorize content for technical writers?

The compass categorizes content by loading guidance from reference files and applying frontmatter-driven metadata. It consistently sorts technical writing into tutorials, how-to guides, reference, or explanation based on the document's core purpose and target audience needs.

When should I use a how-to guide instead of a tutorial in technical documentation?

Use a how-to guide when the user needs to accomplish a specific task and already knows the basics, whereas tutorials are for learning. The compass helps classify these documents correctly by evaluating whether the goal is practical application or foundational learning.