Diagram Design for Claude Code
Native plugin packaging the shared skill and five namespaced slash commands; extends Claude Code through context injection, command surfaces, and guided workflows.
.claude-plugin/plugin.jsonClaude Code plugin and portable Agent Skill · Versioned and extensively documented, with repository-described cross-platform CI and validation gates; adoption and activity metadata are uncertain because supplied dates are future-dated.
MIT-licensed Claude Code plugin and portable Agent Skill for producing 39 opinionated editorial diagram types as self-contained HTML with inline SVG, importing draw.io and Mermaid structure for redrawing, applying brand profiles, optionally adding accessible motion, and exporting diagram-only SVG or PNG through documented supporting workflows.
Selection
Boundaries
Strengths
Risk profile
First-party files say draw.io and Mermaid inputs are parsed as untrusted text without rendering, fetching, executing, or following click targets; motion linting rejects unapproved scripts, remote assets, imports, executable attributes, and unsafe URLs. Static output is normally script-free, a packaged self-check is provided, and vulnerabilities can be reported privately through GitHub. These controls are repository claims and were not independently audited; supported security fixes apply only to the latest main commit.
Component inventory
Native plugin packaging the shared skill and five namespaced slash commands; extends Claude Code through context injection, command surfaces, and guided workflows.
.claude-plugin/plugin.jsonCreates branded editorial diagrams in self-contained HTML with inline SVG/CSS, choosing among 39 visual types and optional semantic patterns.
skills/diagram-design/SKILL.mdExports a generated HTML diagram’s SVG as standalone SVG, PNG, or both; PNG uses Playwright.
commands/export-diagram.mdExtracts structure from supported draw.io containers and redraws it in the editorial design system with selected output dials.
commands/import-drawio.mdParses Mermaid text or fenced Markdown blocks without rendering or executing them, then redraws the content editorially.
commands/import-mermaid.mdManages named brand profiles shared across hosts and resolves project selection through a .diagram-design marker.
commands/profile.mdRuns documented environment diagnostics for the packaged plugin and its routed support files.
commands/doctor.mdExtracts palette and typography from a website, installed skill, local design-system folder, or pasted tokens, checks contrast, and proposes a style-guide update.
skills/diagram-design/references/onboarding.mdSelects one of seven behavior patterns before choosing the nearest visual layout for queues, policy traces, trust boundaries, governance, and related cases.
skills/diagram-design/references/semantic-patterns.mdAdds optional none, reveal, step, or loop presentation modes while preserving a complete static, reduced-motion, print, and export state.
skills/diagram-design/references/animation.mdBrowsable gallery of all 39 diagram types with light, dark, and full-editorial variants.
skills/diagram-design/assets/index.htmlStatic light, dark, full-editorial, terminal, and optional motion scaffolds for creating self-contained diagrams.
skills/diagram-design/assets/Checks generated diagrams for the accessible-SVG contract, single-file safety, and basic motion requirements.
skills/diagram-design/scripts/self_check.pyExposes export, Mermaid import, profile, and doctor prompt templates, plus explicit skill invocation in Pi.
prompts/Packages the same shared diagram skill for Codex with read/write capabilities and marketplace metadata.
.codex-plugin/plugin.jsonPackages the shared diagram skill and plugin command surface for Factory Droid.
.factory-plugin/plugin.jsonTechnical profile
Classification
Evidence: a native Claude plugin loads a routed SKILL.md and commands; bundled Python extractors and self-checks add local executable helpers. Basic Claude installation is short, while optional PNG export and development checks require extra dependencies.
Claude Extension · low setup effort · high confidence · automatedEvidence and risk
Routing context
The repository packages a native Claude Code plugin with a shared Agent Skill and plugin commands.
high confidenceBoth extend Claude Code with design guidance, but this repository specializes in generated editorial diagrams rather than broad design practice.
medium confidenceBoth provide portable design-oriented Agent Skills, while this repository is focused on diagram taxonomy, imports, and SVG output.
medium confidenceGarden Skills covers broader visual and editorial artifact workflows that can use diagrams produced by this specialized skill.
medium confidenceTastemaker focuses on reference-grounded UI taste, while Diagram Design provides branded diagram generation and source redrawing.
medium confidenceThe interface-review collection can review surrounding UI, while this repository generates standalone diagram artifacts.
medium confidence