/mif-docs:diataxis-how-to <the task to accomplish>from mif-docs
Write a Diataxis how-to guide — a task-oriented recipe that walks a competent user through accomplishing one real, already-understood goal, start to finish. Use when the user knows what they want to do and needs the steps, not learning or background. Anti-trigger; for a beginner learning by doing use diataxis-tutorial, for looking up facts use diataxis-reference.
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 how-to guide in the Diataxis sense: task-oriented. The reader is already competent and has a specific goal in mind; success is that the goal is accomplished. A how-to is not a tutorial (it does not teach) and not reference (it does not catalog) and not explanation (it does not theorize) — keep those modes out.
accomplish X".TODO, no <your-value-here> left unexplained.When the task is to fix an existing how-to (not author from scratch), it will often contain theory, background, or "why it works" prose that belongs in explanation, or an exhaustive option catalog that belongs in reference. Do not delete that content. Deleting it discards knowledge the author put there for a reason — it just needs a different home. Instead, relocate it:
/explanation/<topic>.md) that captures the removed material.relationships: [{type: relates-to, target: <path>}] (see the L2
exemplar below) — using an explanation-typed target for theory content,
distinct from the reference-typed target the how-to already carries for its
command catalog.<link>
for why this works") so a human reader isn't left wondering where the
context went.Only when no target can plausibly hold the content (it's genuinely redundant or wrong) is outright deletion correct — and that should be the exception, not the default move when cleaning up a draft.
type: procedural (a how-to is a procedure). The genre's MIF ceiling is L2 —
a procedure carries no decision-grade ontology, provenance, or citations the way
an ADR (L3) does, so author to L2 and stop there rather than fabricating L3
fields.
A how-to's commands rot when the underlying tooling changes; an agent that wants to reuse or surface one must know whether it is still current and what it pairs with. As prose (L1) that requires reading and inferring from the steps. The MIF layer makes those questions answerable by reading frontmatter:
| Question an agent asks | Answered by (frontmatter) |
|---|---|
| Is this procedure still current? | temporal.ttl / temporal.validFrom |
| When was it last revised? | modified |
| Which reference catalogs its commands? | typed relationships[] (relates-to) |
| Where does it file in the doc set? | namespace + tags |
The same document still reads as a human how-to and projects losslessly to JSON-LD and back — one artifact, two readers.
This skill ships the same procedure at both MIF levels so the climb is explicit:
templates/good-l1.md — L1 floor: id, type, created + body. A valid
how-to, but opaque to a machine consumer. Gate with mif-validate --level 1.templates/good.md — L2 (highest this genre supports): adds namespace,
modified, temporal validity, and a typed relates-to relationship to the
reference doc it pairs with. Gate with mif-validate --level 2.Author at the highest level the drafting context supports (grade down rather
than fabricate). templates/bad.md shows the antipattern: a how-to that has
drifted into tutorial hand-holding, theory dumps, and exhaustive option catalogs
— 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