/docs:diataxis-explanationfrom docs
Write, expand, or audit explanation — understanding-oriented documentation in the Diátaxis sense: discursive discussion that deepens the reader's grasp of a topic, read away from the work itself. Use whenever the user wants an architecture overview, design-rationale or "why did we build it this way" doc, concept guide, background or theory piece, ADR-style context, a "philosophy of X" or "about X" article, or asks to capture the reasoning behind a decision — even if they never say "explanation". Also loaded by the `diataxis` router when the compass points to cognition + acquisition: the reader wants to *understand*, as *study*. If the content is facts to consult mid-work, that's `diataxis-reference`; if it directs a task, that's `diataxis-how-to`. When the type is in doubt or mixed, consult the `diataxis` skill first.
Ships in docs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Explanation is discussion that permits reflection — the documentation a practitioner reads away from the keyboard, the way a cook reads On Food and Cooking: not to follow a recipe, but to understand the craft in a way that changes their practice. It answers the question "can you tell me about…?" Diátaxis places explanation at cognition + acquisition: propositional knowledge, in service of study.
Its characteristic problem isn't being written badly — it's not being written at all. The why of a system ends up scattered through commit messages, review threads, and hallway conversations, because explanation has no obvious owner. Writing it down as a first-class document is most of the battle.
diataxis-reference. The boundary test: reference serves the reader mid-work; explanation serves the reader who has stepped back. Lists and tables usually mean reference; "tell me more about…" means explanation.diataxis-how-to.diataxis-tutorial.diataxis router and run the compass.An explanation's title carries an implicit about: "About user authentication," "On caching strategy," "Why the scheduler is cooperative." Fix the topic and its altitude first:
Explanation is the one type whose raw material is mostly not in the artifact. Mine where the reasoning actually lives: design docs, ADRs, commit messages, PR discussions, issue threads, the user's own memory. Interview the user for what nothing else records — "why not the obvious alternative?" is usually the most productive question. Then verify any claims about the current system against the current system.
Explanation has permissions the other three types deny — use them:
Use this on your own draft, and as the audit lens when the diataxis router sends an existing explanation here. An audit invocation runs only this step — skip Steps 1–3 and report findings without editing; edits wait for explicit confirmation — the router's gate, or the user's when invoked directly. The repair move is usually relocation — or consolidation.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub esond/skills --plugin docs5 skills in this plugin
/diataxisRouter for documentation work under the Diátaxis methodology. Use whenever the user wants to write, add to, expand, reorganize, or audit documentation — "write docs for X", "document this feature", "add a page about", "improve our README", "does this doc work", "audit our docs", "--audit" — or mentions Diátaxis, the compass, or a documentation type when no single type skill is the obvious match. Applies the compass (action or cognition? acquisition or application?) to classify the reader's need, then hands off to diataxis-tutorial, diataxis-how-to, diataxis-reference, or diataxis-explanation. When the user points at existing docs or supplies paths, assume the work is adding to or expanding those articles. With --audit, runs an improvement pass instead: classify each unit, run the matching type's drift checklist, and propose relocations and splits that fit the docs to the model without rewriting their substance. Prefer this router over a type skill whenever the type isn't already certain./diataxis-how-toWrite, expand, or audit a how-to guide — goal-oriented documentation in the Diátaxis sense: directions that help an already-competent reader accomplish a specific real-world task. Use whenever the user wants a "how to X" doc, a runbook, playbook, recipe, troubleshooting guide, setup/configuration/ migration/deployment/integration instructions, or step-by-step directions for practitioners — even if they never say "how-to guide". Also loaded by the `diataxis` router when the compass points to action + application: the reader will *do* something to *get work done*. If the reader is a beginner who needs to learn by doing in a safe setting, that's `diataxis-tutorial` instead; if the content mostly enumerates options and facts, that's `diataxis-reference`. When the type is in doubt or mixed, consult the `diataxis` skill first.Other plugins' skills for the same job