/mif-docs:svg-charts <chart type: bar|line|pie|combo> <data + labels> [--colors #hex,#hex,...] [--output path.svg]from mif-docs
Generate a standalone, brand-colorable SVG chart file (bar, line, pie, or combo) for cases the suite's default Mermaid-in-markdown convention cannot cover — more than roughly five pie or bar segments, custom per-series colors, log scales, or multi-series combo charts — saved as a real file and embedded via an img tag, since GitHub strips inline svg markup from rendered markdown. Use when a genre skill's chart need exceeds Mermaid's documented limits.
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 helper (not a standalone document genre). Produces a real, standalone
.svg file — never inline <svg> markup pasted into a document body —
for chart needs the suite's default embedded-Mermaid convention (see
market-research-report, competitive-quadrant, trend-analysis,
c4-model-diagram, business-plan) cannot cover.
GitHub Flavored Markdown strips embedded <svg> elements from rendered
markdown for XSS/security reasons; SVG only renders there via an <img> tag
pointing at a separate file, never inline in the markdown body. Since
every MIF document this suite produces is read as rendered markdown (GitHub
PRs, repository browsing, Starlight sites), a chart helper that emitted
inline SVG markup into the document body would silently fail to render on
GitHub — the primary surface these documents are viewed on. svg-charts
therefore always writes a real .svg file next to the document and returns
the <img src="..."> line to embed — never raw markup for the body.
Source: GitHub strips embedded <svg> elements; only an <img> pointing to
an external file renders — https://alexwlchan.net/notes/2024/how-to-render-svgs-on-github/,
https://github.com/orgs/community/discussions/151372.
Stay with the default embedded-Mermaid convention (xychart-beta,
pie, quadrantChart — see market-research-report,
competitive-quadrant, trend-analysis, c4-model-diagram, or
business-plan) for anything within its documented range: simple bar/line
trend charts, a cost or use-of-funds breakdown of five or fewer segments,
standard-theme colors. Mermaid renders natively and inline on GitHub with no
extra file to manage — do not reach for svg-charts when Mermaid already
covers the need.
Reach for svg-charts instead when the chart genuinely needs something
Mermaid cannot do:
Sources on these specific limits: https://www.mermaidcreator.com/blog/mermaid-pie-bar-chart-metrics-visualization, https://www.pkgpulse.com/guides/mermaid-vs-d3-vs-chartjs-diagrams-data-visualization-2026.
.svg file (inline <style>/attributes
only — no external font, script, or CSS references) at the given or a
sibling --output path, alongside the document that will embed it.<img src="<relative-path>" alt="<chart title>"> line
for the calling skill to embed in the document body — never raw
<svg>...</svg> markup, which will not render on GitHub.--colors); otherwise use a small, colorblind-safe default palette and
say so explicitly rather than guessing brand intent.<script>, no animation, no interactivity.
Pitch-deck research is explicit that investors want clarity over
decoration, not interactive flourishes: https://slidemodel.com/financial-projections-slide-pitch-deck/.<img> reference where a mermaid code block
would already work is unnecessary indirection.A business-plan document names seven wholesale-grocer accounts (too many
for a readable Mermaid pie) and wants each shown in the company's own brand
colors. It calls svg-charts for a bar chart of per-account revenue share
in those colors, gets back assets/wholesale-account-share.svg plus
<img src="assets/wholesale-account-share.svg" alt="Wholesale account revenue share">,
and embeds that line in its Market Analysis section instead of a mermaid pie block, which could not have rendered all seven accounts legibly.
What SKILL.md sets; muted values are Claude Code's defaults
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.Other plugins' skills for the same job
/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