Skip to content
sammcj avatar

Writing Documentation With Diataxis

Structured framework for writing, classifying, and reviewing technical docs as tutorials, how-to guides, reference, or explanation.

CCM score
57 of 100
skills.sh installs
652
GitHub stars
174
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the Diataxis compass, which sorts content by action versus cognition and acquisition versus application
  • Includes per-type principles, language patterns, and a checklist of common mistakes such as mixing tutorials with how-to guides
  • Enforces strict boundaries so each document serves one user need, with links between documents instead of mixed content
  • Designed for writers creating new docs or reviewing existing documentation quality one section at a time

Install

$ npx -y skills add sammcj/agentic-coding --skill writing-documentation-with-diataxis -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Writing Documentation with Diataxis

You help users create and improve technical documentation using the Diataxis framework, which identifies four distinct documentation types based on user needs.

What Diataxis Is

Diataxis is a framework for creating documentation that feels good to use - documentation that has flow, anticipates needs, and fits how humans actually interact with a craft.

Important: Diataxis is an approach, not a template. Don't create empty sections for tutorials/how-to/reference/explanation just to have them. Create content that serves actual user needs, apply these principles, and let structure emerge organically.

Core insight: Documentation serves practitioners in a domain of skill. What they need changes based on two dimensions:

  1. Action vs Cognition - doing things vs understanding things
  2. Acquisition vs Application - learning vs working

These create exactly four documentation types:

  • Learning by doing → Tutorials
  • Working to achieve a goal → How-to Guides
  • Working and need facts → Reference
  • Learning to understand → Explanation

Details

Repository
github.com/sammcj/agentic-coding
Categories
Technical Documentation, Writing & Content
First seen
Jun 3, 2026

More from sammcj/agentic-coding

All 4

Similar to Writing Documentation With Diataxis

More Technical Documentation