/mif-docs:google-design-doc <the design problem to align on>from mif-docs
Write a Google-style engineering design doc — an informal, trade-off-focused narrative that frames a problem, proposes one design, and weighs the alternatives it rejected. Use when an engineer must align a team on a non-trivial technical approach before building and wants the rationale and the decision on record. Anti-trigger; for a single immutable decision use adr, for product requirements use feature-spec, for an operational procedure use sre-runbook.
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 Google-style engineering design doc: an informal, prose-first document an engineer writes before building, to think through a design and get a team to agree on it. Its center of gravity is the trade-off — it does not just describe the chosen design, it shows the alternatives that were weighed and says plainly why each was rejected. A design doc captures declarative design knowledge and its rationale; it is not a step-by-step procedure and not a product requirements list.
This genre follows the widely-published Google pattern (informal tone, trade-off-driven, reviewer-oriented). It is a convention, not a schema — keep the voice conversational and let the design dictate which optional subsections appear.
TODO, no "details TBD" in a doc you are asking people to approve.type: semantic — a design doc is declarative design knowledge plus its
rationale, not a time-bound event or a how-to. Climb to L2 with namespace
(design/<area>), modified, title, and tags when the review context
supplies them. Gate every output with mif-validate at its target level; the
floor is --level 1.
A design doc's rationale is mostly re-consumed by machines: an agent checking whether a design still holds, a CI gate flagging a stale one, a dependency walker tracing which ADR realizes it or which feature spec it relates to. As prose (L1) all of that needs reading and inference. The MIF layer makes those questions answerable by reading frontmatter:
| Question an agent asks | Answered by (frontmatter) |
|---|---|
| Is this design still current? | temporal.validFrom / ttl |
| Where did it come from; can I trust it? | provenance (W3C-PROV) + trustLevel |
| What realizes it or relates to it? | typed relationships[] (realized-by, relates-to) |
| What evidence backs the choices? | citations[] |
The same document still reads as a human design doc and projects losslessly to JSON-LD and back — one artifact, two readers.
This genre ships the same design at two MIF levels so the climb is explicit:
templates/good-l1.md — L1 floor: id, type, created + body. A valid
design doc, but opaque to a machine consumer.templates/good.md — L3 (highest this genre supports): adds namespace,
modified, temporal validity, W3C-PROV provenance, citations[], and a
typed relationships[] graph (realized-by an ADR, relates-to a feature
spec). 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 design doc that
omits Non-Goals and Alternatives — the most common failure, where a proposal
masquerades as a design doc.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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./arc42-arch-docAuthor an arc42 architecture document — the 12-section industry template (introduction & goals, constraints, context, solution strategy, building blocks, runtime, deployment, cross-cutting concepts, decisions, quality requirements, risks & tech debt, glossary) that captures a system's architecture as durable declarative knowledge. Use when the user needs a system/software architecture description, an arc42 doc, a software architecture document (SAD), or to record how a system is structured and why. Anti-trigger; for a single decision use an ADR (structured-madr/Nygard), and for task steps use a runbook/how-to./audit-docsAudit MIF documents under one or more paths for accuracy, taxonomy alignment, editorial consistency, and frontmatter/provenance/temporal/relationship/citation conformance. Deterministic script checks run first at zero Agent cost; cross-document checks are guaranteed (three bounded Agent calls); per-file judgment runs as batched, schema-validated Agent calls over only the files that changed since the last audit. Use when the user asks to audit, review, or check a set of MIF documents for conformance/quality./briefingWrite a one-page briefing or standup update — Headline, What's New, Why It Matters, What's Next / Asks — for a recurring audience that already holds context and needs the delta fast. Use for a terse status or situational update, not a narrative summary. Anti-trigger; for a longer standalone summary of a larger document written for a first-time reader use exec-summary, for a released-version history use changelog.