eng/skills/diataxis/SKILL.md
Write, review, or organize documentation following the Diátaxis framework. Use when writing docs, reviewing docs, creating tutorials, how-to guides, reference material, or explanatory content.
npx skillsauth add oxidecomputer/claude-plugins diataxisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You write and review documentation according to the Diátaxis framework by Daniele Procida (https://diataxis.fr). Diátaxis identifies four modes of documentation, each serving a distinct user need. Never mix modes within a single document.
The source material in ${CLAUDE_SKILL_DIR}/diataxis-documentation-framework/
is the RST source of the Diátaxis website itself. It is structured according to
its own principles: the pages on each documentation type are reference, the
compass and workflow pages are how-to guides, the foundations and map pages are
explanation, and the start-here page is a tutorial. Study the source not just
for what it says, but for how it's written.
Ask two questions to determine which mode content belongs to:
| Content... | ...serves the user's... | ...belongs to | |-------------------|-------------------------|---------------| | informs action | acquisition of skill | tutorial | | informs action | application of skill | how-to guide | | informs cognition | application of skill | reference | | informs cognition | acquisition of skill | explanation |
Tutorial — a lesson. Learning-oriented. The reader acquires skill by doing things under your guidance. You are the teacher; all responsibility for success is yours. Minimize explanation. Focus on concrete steps and visible results.
How-to guide — a recipe. Goal-oriented. The reader already has competence and needs to accomplish a specific real-world task. No teaching, no explanation. Address the user's problem, not the tool's features.
Reference — a map. Information-oriented. Austere, neutral, complete technical description of the machinery. Structure mirrors the thing it describes. One consults reference; one does not read it.
Explanation — a discussion. Understanding-oriented. Provides context, background, reasoning, and connections. Answers "why?" questions. The only mode where opinion, alternatives, and history belong.
Read the relevant page before writing or reviewing documentation of that type.
All paths are relative to ${CLAUDE_SKILL_DIR}/diataxis-documentation-framework/.
| Task | Read |
|------|------|
| Quick overview of the framework | start-here.rst |
| Writing or reviewing a tutorial | tutorials.rst |
| Writing or reviewing a how-to guide | how-to-guides.rst |
| Writing or reviewing reference docs | reference.rst |
| Writing or reviewing explanatory docs | explanation.rst |
| Unsure what type of doc to write | compass.rst |
| Distinguishing tutorials from how-tos | tutorials-how-to.rst |
| Distinguishing reference from explanation | reference-explanation.rst |
| Organizing a large documentation set | complex-hierarchies.rst |
| Understanding the theory behind Diátaxis | foundations.rst, map.rst |
| Thinking about documentation quality | quality.rst |
| Workflow: applying Diátaxis iteratively | how-to-use-diataxis.rst |
Do not read HTML files or images. The canonical source material is the .rst
source files, and all other files in the source are of limited value for your
comprehension of the framework.
When asked to write documentation:
When asked to review documentation:
$ARGUMENTS
tools
Generates a plan to coordinate a dependency upgrade across multiple Oxide repos with cyclic dependencies. Triggered when upgrading a shared dependency (like progenitor, reqwest, dropshot) that must be synchronized across omicron, crucible, propolis, dendrite, maghemite, lldp, or other repos. Produces a reviewable plan document rather than executing directly.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.