/mif-docs:doc-set-planner <subject> [--recipe diataxis|ai-spec|kiro|architecture]from mif-docs
Plan and decompose a broad documentation subject into a coordinated SET of MIF documents, fan out to the genre member skills, and reconcile the cross-document MIF relationship graph. Use when a request spans multiple documents ("document the auth system", "produce the full spec set for feature X") rather than a single genre artifact.
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.
The orchestration engine of the suite. A broad subject is planned and
decomposed, not hand-assembled doc-by-doc. One engine + declarative per-group
recipes (mirroring an orchestrator -> fan-out pattern): take a subject, decompose
it into a group's member documents, fan out to the member genre skills, and
reconcile the cross-document MIF relationships[] graph.
recipes/<group>.json.relationships[] across members per the recipe's
cross-link contract; dedupe entities. When a corpus is available, offer
find-similar results per member as candidate additional
relationships[] targets for the author to accept or reject.mif-validate --level 1) and the set is link-complete: every declared cross-relationships[]
target resolves to a produced member.recipes/*.json| Recipe | Members | Decomposition | Cross-link contract |
|---|---|---|---|
diataxis | tutorial, how-to, reference, explanation | subject -> 4 user-need modes | each mode links to its siblings |
ai-spec | prd, feature-spec, ai-architecture-doc | problem -> solution -> architecture | PRD realized-by feature-spec; feature-spec depends-on arch-doc |
kiro | kiro-requirements, kiro-design, kiro-tasks | feature -> req -> design -> tasks | tasks trace-to design trace-to requirements |
architecture | arc42-arch-doc, c4-model-diagram | subject -> narrative + diagrams | C4 diagrams referenced by matching arc42 sections |
Singletons have no member set and are invoked directly: adr, changelog,
sre-runbook, playbook, rust-rfc, python-pep, google-design-doc,
engineering, academic, systematic-review, computing-paper,
humanities-mla, humanities-chicago, clinical-submission, nist-sp,
regulatory-disclosure, compliance-audit, security-pentest,
legal-memo, market-research-report, business-plan,
sustainability-report, trend-analysis, competitive-quadrant,
briefing, exec-summary.
When the optional mif-rs tooling is available (an mif-mcp server or the
mif-cli binary — see the mif-corpus skill for resolution order and store
conventions), the engine uses it at exactly two points:
search_documents / mif-cli search) with
each planned member's one-line scope. A hit whose cosine similarity is
roughly 0.55 or higher is surfaced in the plan as an existing-coverage
decision: extend the found doc, or proceed and cross-link it. Read the
similarity as the mif-corpus skill's "Reading search scores" section
says: the match's cosine field when it has one, otherwise score; on
the CLI with mif-rs 0.13.0 or later, pass --mode semantic. Since mif-rs
0.13.0 the default score is a rank-fusion value that never reaches 0.55,
so comparing it would hide every existing doc. State the cosine similarity
and id; the human (or calling context) decides.find_similar_documents / mif-cli find-similar) on its urn:mif: id
and offer the top matches as candidate relationships[] targets beyond
the recipe's contract. Candidates are suggestions; never write them into a
member silently.Two hard rules. First, the corpus never gates: recipe decomposition, the
cross-link contract, and planner-check behave byte-identically with or
without it — similarity output adds candidates and decisions, not verdicts.
Second, absence is stated, not papered over: with no corpus available the
engine runs exactly as before, and if discovery was asked for explicitly, say
the tooling is not installed rather than substituting string search.
node scripts/planner-check.mjs <recipe> # asserts every recipe member exists
# and the cross-link graph closes
planner-check is deterministic and corpus-independent by design: it checks
the declared cross-link graph over the recipe's declared member set, never
similarity.
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.