/mif-docs:diataxis-reference <the one thing to describe (CLI, config, API, schema)>from mif-docs
Write a Diataxis reference — a dry, information-oriented, exhaustive description of ONE thing (a CLI command, config file, API endpoint, or schema) whose structure mirrors the thing itself. Use when the user needs lookup material they consult, not read through. Anti-trigger; for learning by doing use diataxis-tutorial, for accomplishing a known task use diataxis-how-to.
Ships in mif-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.
Produces a reference in the Diataxis sense: information-oriented. The reader already knows what they are doing and has arrived to look one fact up — a flag's default, a field's type, an endpoint's status codes. Reference is neutral and exhaustive; it is not a tutorial (learning-oriented) and not an explanation (understanding-oriented) — keep those modes out.
none or —, never silence.type: semantic (declarative knowledge — facts that are true independent of any
task or moment). Climb to L2 with namespace (e.g. reference/cli), tags, and
title when known. Gate every output with mif-validate; the floor is
--level 1.
A reference is consumed by agents as much as by people: an agent looking up a flag's default needs to know the page still describes the current tool, can be trusted, and where to go for the why it deliberately omits. As plain prose (L1) all of that requires reading and inferring. The MIF layer makes those questions answerable by reading frontmatter:
| Question an agent asks | Answered by (frontmatter) |
|---|---|
| Is this reference still current? | temporal.validFrom / ttl |
| What does it document; can I trust it? | provenance (W3C-PROV wasDerivedFrom) + trustLevel |
| What evidence backs it? | citations[] (the tool, the Diátaxis spec) |
| Where is the rationale a reference omits? | typed relationships[] (relates-to the explanation) |
The same document still reads as a human reference and projects losslessly to JSON-LD and back — one artifact, two readers.
This skill ships the same mifx export reference at two MIF levels so the
climb is explicit:
templates/good-l1.md — L1 floor: id, type, created + body. A valid,
readable reference, but opaque to a machine consumer.templates/good.md — L3 (highest the genre supports): adds modified,
temporal validity, W3C-PROV provenance (wasDerivedFrom the CLI it
documents), citations[], and a typed relates-to relationships[] link to
the explanation doc. Validate with mif-validate --level 3.Author at the highest level the drafting context supports (grade down rather
than fabricate). templates/bad.md shows the antipattern: a reference that has
drifted into tutorial/explanation mixing — the most common error.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
47 skills in this plugin
/academicWrite a formal academic research report — Abstract, Background, Method, Findings, Discussion, References — with a selectable citation style (author-date/APA or numbered/Vancouver-IMRaD) and optional APA Method sub-sections. Use when the deliverable is a scholarly write-up for a research or technical-expert audience that demands traceable evidence and explicit method. Anti-trigger; for an informal trade-off narrative use google-design-doc, for a practitioner decision report built around a mandatory comparison table use engineering./adrWrite an Architectural Decision Record (ADR) in the Structured MADR format — one decision, its drivers, the options weighed with risk, the chosen outcome, the consequences accepted, and an audit trail — validated by the structured-madr Action in both smadr and MIF modes. Use when a team is making or capturing a consequential, hard-to-reverse technical choice and needs it documented with rationale. Anti-trigger; for a how-to use diataxis-how-to, for requirements use prd or feature-spec, not an ADR./ai-architecture-docWrite a composite AI-spec architecture document that embeds an arc42/C4-style structure plus testable non-functional requirements and an ADR-style decision log in one spec-channel artifact. Use for an architecture spec a coding agent can consume. Anti-trigger; for a pure narrative use arc42-arch-doc, for diagrams alone use c4-model-diagram.npx claudepluginhub modeled-information-format/mif-docs-plugin --plugin mif-docs