diataxis

diataxis is a skill for Claude Code from zircote-plugins/documentation-review. It costs 212 tokens per session (3,994 once invoked), scanned A, original, MIT.

A documentation framework that separates writing into four types: tutorials for learning, how-to guides for completing tasks, reference pages for looking up details, and explanations for understanding concepts.

In plain words
What is it for?
Use it to classify existing documentation, plan missing pages, and create or review tutorials, task guides, reference material, and conceptual explanations.
Why use it?
It prevents different reader needs from being mixed together, such as turning a beginner tutorial into a dense list of technical facts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the documentation-review plugin — 4 skills, 6 commands, 2 agents shipped together

Good fit Use it to classify existing documentation, plan missing pages, and create or review tutorials, task guides, reference material, and conceptual explanations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zircote-plugins/documentation-review/diataxis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zircote-plugins/documentation-review --skill diataxis
Clone the repo
git clone --depth 1 https://github.com/zircote-plugins/documentation-review

Made for: Claude Code.

Or install documentation-review, the plugin that ships this one along with the rest of its 4 skills, 6 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diataxis

README.md
[![agentmods](https://agentmods.dev/badge/skills/zircote-plugins/documentation-review/diataxis/github.svg)](https://agentmods.dev/skills/zircote-plugins/documentation-review/diataxis)
Your own site
<a href="https://agentmods.dev/skills/zircote-plugins/documentation-review/diataxis"><img src="https://agentmods.dev/badge/skills/zircote-plugins/documentation-review/diataxis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diataxis

Your own site · 80×15
<a href="https://agentmods.dev/skills/zircote-plugins/documentation-review/diataxis"><img src="https://agentmods.dev/badge/skills/zircote-plugins/documentation-review/diataxis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00212 $0.03994
Opus 5.5 $0.00085 $0.01598
Sonnet 5.5 $0.00042 $0.00799
Haiku 4.5 $0.00021 $0.00399

Measured 1mo ago against content hash c676498903bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diataxis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/diataxis/SKILL.md · 478 lines

How it starts

The opening of the file, as written. The whole thing — 478 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Diátaxis Documentation Framework

Most documentation problems stem from mixing different types of content in ways that serve nobody well. A tutorial that drifts into reference material loses beginners; a reference page with step-by-step instructions frustrates experts looking up specifics. Diátaxis solves this by identifying four distinct documentation modes, each serving a different user need at a different moment. Keeping these modes separate and well-executed is the foundation of documentation that actually works.

The Diátaxis Compass

Two fundamental axes classify all documentation:

Acquisition (study/learning) Application (work/doing)
Action Tutorial How-to Guide
Cognition Explanation Reference

Diagnostic questions:

  1. Does this content involve practical steps (action) or theoretical knowledge (cognition)?
  2. Is the user learning something new (acquisition) or applying existing skill (application)?

The answers place content in exactly one quadrant.


The Four Documentation Modes

1. Tutorials (Learning-oriented)

Purpose: Guide a learner through a series of steps to acquire skills and understanding.

Defining characteristics:

  • The teacher takes full responsibility for the learner's success
  • Learning happens through doing, not through explanation
  • The learner follows a carefully designed path to a meaningful result

Effective tutorials: (A learner in acquisition mode needs confidence and momentum — these principles protect that.)

  • Show the destination upfront — what the learner will accomplish
  • Deliver visible results at every step — each action produces comprehensible output
  • Maintain narrative expectations — "You will notice that...", "The output should look like..."
  • Point out observable details — direct the learner's attention to important cues
  • Target the "feeling of doing" — help learners discover rhythm and satisfaction
  • Encourage repetition — design steps that reward being repeated
  • Aspire to perfect reliability — learners must get the promised results every time

Read the full file on GitHub · 478 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 478 lines · 212 tokens per session scan A c676498903bd

Subscribe to this mod's changes

diataxis is a skill published in the GitHub repository zircote-plugins/documentation-review (5 stars, last pushed 4mo ago), licensed MIT. It adds 212 tokens to every session and 3,994 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

documentation-standards

Use when writing README files, API documentation, user guides, or technical documentation following industry standards from Google, Microsoft, and GitLab style guides.

MadAppGang/claude-code · 34 tokens

documentation-writer

Write clear, scannable documentation with a research-first, phase-separated workflow. Pick one Diátaxis mode, then apply STE and Global English. Apply when the user asks for documentation, READMEs, doc sites, API reference, migration guides, or technical markdown. Use marketing-psychology for marketing copy. Use…

afaraha8403/balakit · 99 tokens

technical-documentation

AI-powered technical documentation creation, maintenance, and auditing across README, ADR, API docs, runbooks, onboarding guides, changelogs, knowledge bases, and AI agent context files (AGENTS.md/CLAUDE.md). Primary keywords: technical documentation writing automation, ADR architecture decision record, API docs…

JPeetz/agent-skills · 115 tokens

walkthedoc

Run a command within a directory to check Markdown files for broken links and dead URLs.

sraaaaaaay/walkthedoc · 22 tokens

API Documentation Generator

AI-powered API documentation generation tool that auto-generates comprehensive API docs from source code, including OpenAPI/Swagger specs, Postman collections, and markdown documentation with examples and authentication details.

XSpoonAi/spoon-awesome-skill · 41 tokens

feedback-triage

This skill should be used when the user asks to "process beta reader feedback", "alpha reader feedback", "feedback round", "synthesize reader feedback", "reader notes", "beta feedback", "reader readiness check", "review copy", "send the draft to readers", "share with readers who don't use GitHub", "triage the reader…

danjdewhurst/story-skills · 135 tokens