writing-documentation-with-diataxis

Apply the Diataxis framework to identify and structure technical documentation types.

155|25|Updated Apr 27, 2025
One-click install
npx skills add https://github.com/sammcj/agentic-coding --skill writing-documentation-with-diataxis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-documentation-with-diataxis
Source: https://github.com/sammcj/agentic-coding/tree/main/Claude/skills/diataxis-documentation
Command: npx skills add https://github.com/sammcj/agentic-coding --skill writing-documentation-with-diataxis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates confusion and poor structure in technical documentation by applying the proven Diataxis framework, ensuring your docs serve user needs effectively.

Core Features & Use Cases

  • Documentation Type Identification: Uses the Diataxis compass to determine whether content should be tutorials, how-to guides, reference, or explanation based on user needs.
  • Quality Framework: Provides detailed principles for each documentation type to ensure clarity, flow, and usability.
  • Use Case: Imagine you're reviewing a messy documentation page that mixes instructions with explanations. Use this Skill to identify which parts belong to which documentation type and restructure accordingly.

Quick Start

Use the writing-documentation-with-diataxis skill to analyze this API documentation and suggest improvements based on Diataxis principles.

Frequently Asked Questions about writing-documentation-with-diataxis

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

FAQPage Schema
How do I structure technical documentation to match user needs?

The Diataxis framework structures documentation into four types—tutorials, how-to guides, reference, and explanations—each serving different user actions and cognitive stages. Align your content with whether users are learning, solving problems, or looking up facts to ensure clarity and usability.

What is the Diataxis framework and why use it for documentation?

Diataxis is a proven framework that organizes documentation by separating learning from problem-solving and action from understanding. It eliminates mixed content that confuses readers and ensures each page serves a single, clear purpose aligned with how users actually work.

How do I identify whether content should be a tutorial, how-to guide, reference, or explanation?

Use the Diataxis compass to map content against two dimensions: action versus cognition (what users do versus understand) and acquisition versus application (learning new skills versus applying knowledge). This determines the correct documentation type and structure for your audience's immediate need.

Can I apply Diataxis principles to existing documentation?

Yes. Review messy or mixed documentation pages, identify which parts address learning, problem-solving, reference lookup, or conceptual understanding, then restructure and separate them into their appropriate Diataxis types using the framework's principles for language, flow, and review.

What review practices ensure documentation quality with Diataxis?

Diataxis provides detailed principles for each documentation type—clarity standards, language expectations, and structural patterns. Use these to review and guide authoring workflows, ensuring tutorials flow logically, how-to guides are task-focused, reference is scannable, and explanations build understanding.

Does Diataxis work for API documentation and product guides?

Yes. Diataxis applies across products, APIs, and platforms. Analyze API documentation using the framework to separate getting-started tutorials, endpoint how-to guides, API reference pages, and conceptual explanations, improving usability for all user skill levels.