/mif-docs:mif-frontmatter <path to the document> [--level 1|2|3]from mif-docs
Author MIF (Modeled Information Format) Level 1-3 frontmatter for any document, climbing from the L1 floor to L2/L3 only when the drafting context supplies real detail. Use whenever a doc needs MIF-conformant YAML frontmatter that projects losslessly to the canonical JSON-LD.
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.
Shared substrate for every genre skill in this suite. It governs the YAML
frontmatter that makes a document a MIF unit: a block that projects to the
canonical JSON-LD and validates fail-closed against
https://mif-spec.dev/schema/.
A MIF doc exists in two interconvertible forms — human-readable markdown
(frontmatter + body) and machine-readable JSON-LD (the schema-checked
canonical object). Authoring is bidirectional and the round-trip is lossless;
see the mif-validate skill for the tooling.
Whenever a level, floor, or the type field itself comes up — deciding
what level a document can claim, explaining the L1 floor, or drafting
frontmatter — state the type enum explicitly (see the L1 row below). It's a
hard constraint on an L1 field, not an implementation detail to leave
implicit, so surface it every time L1 is discussed, not only when actually
writing the YAML. For what distinguishes the three values and how to choose
one before drafting, see
Documentation Taxonomy —
the canonical source for this enum; don't restate its definitions here.
| Level | Frontmatter fields | Emit when |
|---|---|---|
| L1 (hard floor) | id (a UUID), type (enum: semantic | episodic | procedural), created (+ body becomes content) | Always. Below L1 is a skill error. |
| L2 | namespace, modified, temporal | review cadence / topic namespace known |
| L3 | provenance, citations[], relationships[] | doc sourced from real, attributable input |
id -> @id (auto-prefixed urn:mif: if not already a URN). MIF 1.4.0+
requires @id to be urn:mif:<uuid>, so id MUST be a UUID: a slug such
as prd-saved-carts fails the schema. Mint a random UUIDv4 for a new
document; to derive a stable id from an existing slug, use UUIDv5 in the
MIF namespace, uuid5(uuid5(NAMESPACE_URL, "https://mif-spec.dev"), slug),
the same derivation MIF's migration script and mif-rs use. A relationship
target naming another concept by URN uses that concept's
urn:mif:<uuid>; a bundle-relative path (/semantic/policy.md) is the
RECOMMENDED target for a concept in the same bundle.type -> conceptType; MUST be one of semantic, episodic, procedural
(see Documentation Taxonomy
for what each means and how to pick one). @type is always Concept. The
document genre (adr, tutorial, runbook…) lives in namespace/tags,
not in type.created -> created (ISO-8601 date-time)contentAttempt the highest level the drafting context supports, field by field. If a
level's required field cannot be populated from real input (no citations -> no
L3; no review cadence -> omit temporal), drop to the next lower level rather
than writing a placeholder. Never emit an empty or unresolved-placeholder MIF
field. This helper proposes frontmatter; mif-validate disposes.
---
id: 7b3c1e90-5a2f-4c8d-9e10-2f6a4b8c1d3e
type: semantic
created: 2026-06-29T10:30:00Z
---
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub modeled-information-format/mif-docs-plugin --plugin mif-docs47 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.Other plugins' skills for the same job