/docs:diataxis-referencefrom docs
Write, expand, or audit reference documentation — information-oriented technical description in the Diátaxis sense: austere, accurate, consistent facts about the machinery, consulted while working. Use whenever the user wants API docs, a configuration or parameter listing, CLI or command documentation, an options table, schema or data-model docs, error-code catalogs, environment-variable docs, or any "document what X is / what settings exist" request — even if they never say "reference". Also loaded by the `diataxis` router when the compass points to cognition + application: the reader needs *facts to consult* while *getting work done*. If the content is mostly why-and-context discussion, that's `diataxis-explanation`; if it directs the reader's actions step by step, 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.
Reference is a map of the machinery. A map tells you what you need to know about the territory without your having to go out and survey it yourself — and like a map, reference is neutral: it doesn't care what the reader is doing. The same chart serves the navigator plotting a course and the judge investigating a wreck. Diátaxis places reference at cognition + application: propositional knowledge, consulted in the middle of work.
What the working reader needs from it is truth and certainty — a firm platform to stand on. That single need dictates the style: austere, uncompromising, consistent, complete.
diataxis-explanation. Heuristics from the boundary: if it's boring and unmemorable, it's probably reference; lists and tables almost always belong in reference; anything you'd introduce with "can you tell me more about…" leans explanation. The real test — consulted while actively working → reference; read away from the work to understand → explanation.diataxis-how-to.diataxis-tutorial.diataxis router and run the compass.The structure of reference documentation should mirror the structure of the product, the way a map mirrors the territory. If a method belongs to a class inside a module, the documentation shows that same nesting. The reader navigates the docs by their knowledge of the thing itself — so before writing, identify the product's own architecture and organize by it, not by task, audience, or narrative.
For anything derivable from the code (signatures, defaults, options, types), read the source and derive it — never write a fact about the machinery you haven't verified against the machinery.
Reference is useful when it is consistent: the reader should always find the same kind of information in the same place in the same form. Decide the standard entry shape up front — e.g., for each option: name, type, default, effect, constraints — and apply it uniformly. One voice throughout; a reference that changes register between entries makes the reader re-learn how to read it at every entry.
If auditing an existing reference, infer the dominant pattern first and bring outliers into line with it rather than inventing a new one.
Neutral description is the key imperative. State facts, plainly:
Usage examples are welcome and often the fastest way to convey a fact — but keep them illustrative. An example that starts narrating steps has become instruction; one that starts justifying the design has become explanation.
Use this on your own draft, and as the audit lens when the diataxis router sends an existing reference 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, not deletion.
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-explanationWrite, 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.Other plugins' skills for the same job