Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

diataxis

БесплатноЗапускает вложенные скриптыНе проверен

Use whenever writing, editing, restructuring, or reviewing technical documentation — READMEs, API docs, guides, tutorials, reference, onboarding, or developer…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

Diátaxis

A runbook for producing and fixing technical documentation with the Diátaxis framework. Diátaxis splits documentation into four modes — tutorials, how-to guides, reference, explanation — because they answer four different user needs that pull in opposite directions. The single idea that makes it work:

Most documentation problems are a single thing: content that tries to serve more than one need at once. Separate the four modes and most confusion dissolves.

Diátaxis is descriptive, not prescriptive — a way to understand documentation, not a template to fill in. Don't wait to understand the whole framework before applying it: pick one small thing, classify it, improve it, publish, repeat.

When to Apply

Use this skill when:

  • Writing or generating new documentation of any kind (README, API docs, guide, onboarding, developer docs) — decide which mode(s) the content needs before writing it.
  • A page is confusing, bloated, or "tries to do everything" — diagnose the type-mixing and split it.
  • Users can't get started, can't complete a task, can't find a fact, or don't understand why — locate the missing or weak mode.
  • Restructuring or auditing an existing doc set — apply the small-step workflow instead of a big rewrite.
  • You're unsure whether something is a tutorial, how-to, reference, or explanation — run the compass.

Do not reach for this skill for pure prose/copy-editing within an already-correct mode (use a copywriting skill), or for design/spec/proposal documents — those are mostly explanation and are better served by dev-rfc or feature-spec.

The four modes

Each mode serves a different user, in a different situation, with a different content style. The quickest way to keep them straight:

Mode Serves Oriented to Analogy Answers
Tutorial a beginner learning learning, study teaching a child to cook "teach me, by doing"
How-to guide a user working a goal, a task a recipe in a cookbook "how do I achieve X?"
Reference a user working information an encyclopaedia entry "what is X exactly?"
Explanation a user studying understanding an article about cooking "why is X this way?"

Two of them serve practical steps (tutorial, how-to); two serve theoretical knowledge (reference, explanation). Two serve someone acquiring skill / studying (tutorial, explanation); two serve someone applying skill / working (how-to, reference).

The compass — decide what you are writing

When you are unsure which mode a piece of content belongs to, answer two questions. This is the master decision tool; the full tree is in compass-tree.md.

1. Does it inform action or cognition? — practical steps (doing) vs theoretical knowledge (thinking). 2. Does it serve acquisition or application? — study (learning) vs work (applying what you know).

Action (practical steps) Cognition (theoretical knowledge)
Acquisition (study / learning) Tutorial Explanation
Application (work / doing) How-to guide Reference

Read as a decision: informs action + serves acquisition → tutorial; informs action + serves application → how-to guide; informs cognition + serves application → reference; informs cognition + serves acquisition → explanation. Apply the compass at any scale — a whole document, a section, or a single sentence that has drifted into the wrong mode.

Common Symptoms

Start here. Match the situation, open its tree. Severity reflects how badly the reader is failed right now (see symptoms.md).

Symptom / trigger Likely problem Tree
"Write docs for X" / "document this" — and it's unclear what kind of doc No mode chosen yet — classify first compass-tree
A page feels bloated, rambling, or mixes teaching + steps + specs + opinion Type-mixing — two needs in one document wrong-type-tree
Beginners can't get started · competent users can't finish a task · people can't find a fact · users don't understand why A missing or weak quadrant gaps-tree
"Our docs are a sprawling mess — where do I even start?" Needs the iterative workflow, not a rewrite restructure-tree

How to use

  1. Match the symptom in the table above and open its tree in references/. For a large
Полный SKILL.md на GitHub

Установить diataxis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/templates/report.mdconfig.jsongotchas.mdmetadata.jsonreferences/compass-tree.mdreferences/explanation.mdreferences/gaps-tree.mdreferences/how-to-guides.mdreferences/quality.mdreferences/queries/scan-docs.shreferences/reference.mdreferences/restructure-tree.mdreferences/symptoms.mdreferences/tutorials.mdreferences/workflow.mdreferences/wrong-type-tree.md

FAQ

Что делает скилл diataxis?

Use whenever writing, editing, restructuring, or reviewing technical documentation — READMEs, API docs, guides, tutorials, reference, onboarding, or developer docs of any kind — to apply the Diátaxis framework, which splits content into four modes (tutorials, how-to guides, reference, explanation) that each serve a distinct user need. Trigger even when the user just says "write docs", "document this", "improve the README", or "our docs are confusing" without naming Diátaxis or documentation types. Use it to decide WHAT KIND of doc to write (via the compass), to diagnose docs that feel bloated, mix instruction with reference, or leave users unable to get started or find facts, and to improve docs in small safe iterations. Especially when you are unsure whether something belongs in a tutorial vs how-to vs reference vs explanation, or when one page is trying to do all four at once.

Как установить скилл diataxis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл diataxis запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить diataxis с