Command Palette

Search for a command to run...

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

diataxis

БесплатноБез исполняемых скриптовНе проверен

Author and restructure technical documentation with the Diátaxis framework — tutorials, how-to guides, reference, and explanation. Use when writing or…

shepherdjerredот shepherdjerred★ 85 звёзд на GitHub

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

Diátaxis

Diátaxis says there are exactly four kinds of technical documentation, because there are exactly two axes of any craft. Each kind serves one user need and must not be mixed with the others on one page.

Most bad documentation is not badly written. It is two or three kinds of documentation on one page, each getting in the other's way.

The compass — use this first

When you don't know what a page is, what it should be, or why it feels wrong, ask two questions:

  1. Does it inform action (doing) or cognition (thinking)?
  2. Does it serve acquisition (the reader is at study) or application (the reader is at work)?
Informs Serves It is a
action acquisition tutorial
action application how-to guide
cognition application reference
cognition acquisition explanation

Apply it to a whole page, a section, or a single sentence. The most useful move in a rewrite is running the compass over one paragraph at a time and relocating whatever answers a different question than its neighbours.

Action Cognition
Acquisition (at study) Tutorial Explanation
Application (at work) How-to guide Reference

The four kinds

Tutorial — a lesson

A learning experience. The reader does something meaningful under your guidance and gains confidence. Success is what they can now do, not what they produced.

  • Must not contain: explanation, options, alternatives, or completeness for its own sake.
  • Language: "In this tutorial we will…", "First, do x. Now do y.", "The output should look something like…", "Notice that…"
  • Failure mode: the author cannot resist teaching. Explanation dissolves the learner's attention. One clause is enough — link out for the rest.
  • Show the destination up front. Deliver a visible result at every step. Narrate what to expect and what to notice. Permit repetition. It must work every time.

How-to guide — a recipe

Directions that get a competent reader from a real problem to a result.

  • Must not contain: teaching, background, or reference for completeness.
  • Language: "This guide shows you how to…", "If you want x, do y", "Refer to the x reference for the full list of options."
  • Failure mode: written from the machine's perspective ("To deploy, press Deploy") instead of the reader's goal. Title it for the goal.
  • Address real-world complexity — a guide useful for exactly one narrow case is rarely useful. Practical usability beats completeness. Sequences may fork.

Reference — a description

Facts the reader consults while working. Austere, neutral, authoritative.

  • Must not contain: instruction, discussion, or opinion.
  • Language: "Sub-commands are: a, b, c." "You must not apply b unless c."
  • Failure mode: examples grow into explanation. Illustrate, never instruct.
  • Mirror the structure of the thing described. Adopt consistent patterns — the value of reference is that it is boring and predictable. Tables, not prose.
  • Generated reference (from code, schemas, registries) beats transcribed reference, because it cannot drift.

Explanation — a discussion

Understanding, from a wider angle. The only kind you would read away from the keyboard.

  • Must not contain: steps, or a list of flags.
  • Language: "The reason for x is historically y…", "w is better than z because…", "Some prefer w, which can be good, but…"
  • Failure mode: it absorbs everything nearby, because every topic touches instruction and description. Keep it bounded; link out.
  • Say why: design decisions, constraints, history, alternatives rejected. Opinion and judgement belong here and nowhere else. Make connections.
  • It may be called Concepts, Background, Discussion, or Topics.

The two distinctions people actually get wrong

Tutorial vs how-to is the most common and most damaging conflation. Both are practical, both are step-by-step, so they look alike. The difference is the reader: at study or at work.

Tutorial How-to guide
builds basic competence assumes competence
a managed path, one line, no choices forks and branches; the real world
a contrived, safe, repeatable setting whatever reality throws at it
eliminates the unexpected prepares for the unexpected
responsibility lies with the teacher responsibility lies with the user
concrete and particular general, adaptable

It is not the difference between basic and advanced. A how-to can be elementary; a tutorial can be highly adv

Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Author and restructure technical documentation with the Diátaxis framework — tutorials, how-to guides, reference, and explanation. Use when writing or reorganising docs, when a page mixes instruction with description or discussion, when deciding where a piece of content belongs, when a doc "reads badly" without an obvious cause, or when the user mentions Diátaxis, docs structure, or a documentation rewrite.

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить diataxis с