By yu-iskw
Template repository for creating high-quality Claude Code plugins with shared CI/CD and testing infrastructure
npx claudepluginhub yu-iskw/mermaid-designComprehensive sample plugin demonstrating all Claude Code extension points.
Professional diagram design from communication intent, with conservative GitHub Mermaid output.
7-day visitors to each marketplace page
A professional diagram-design skill for AI agents, with Mermaid as its GitHub-native compiler target. Describe what you want to communicate; the skill selects a semantic pattern and visual grammar, resolves renderer capabilities, then reviews the source for clarity and complexity.
Example requests:
GitHub is the default target. Unsupported or unverified modern grammars resolve to semantic alternatives. The skill can recommend a table or prose when a diagram adds no value. It does not invent missing architecture, metrics, schedules or guarantees.
Claude Code:
/plugin marketplace add yu-iskw/mermaid-design
/plugin install mermaid-design@claude-plugin-template
The marketplace retains its template identifier for compatibility. The canonical
portable skill is plugins/mermaid-design/skills/diagram-design/SKILL.md.
For an Agent Skills-compatible host, install that complete folder using the host's
skill installation mechanism. No Node runtime is required to use the instructions.
The plugin's root plugin.json is portable packaging; .claude-plugin and
.codex-plugin manifests adapt that same skill. The original hello-world sample
remains available independently.
The v0.1 implementation includes one intent-based router, 11 core grammar references, 12 semantic patterns, five thin domain references, modern fallback guidance, parser fixtures and a 50-case evaluation corpus. Architecture, Sankey, Block and Kanban have local parser fixtures; Swimlane currently has an ownership-preserving Flowchart fallback. Specialized native grammars are deferred as proposed in RFC #4.
Typical generation loads one pattern and one resolved grammar reference, plus at
most one optional domain reference. Compatibility and design references are loaded
only when needed. A major version or latest label alone is not capability evidence.
With Node.js 22 or later:
npm ci --ignore-scripts
npm test
npm run validate:mermaid -- path/to/diagram.mmd
npm run validate:mermaid -- --profile mermaid-11 path/to/diagram.mmd
./integration_tests/run.sh --skip-loading
Tests parse every bundled .mmd fixture and Mermaid code fence, validate relative
skill links, exercise policy failures, and check evaluation corpus structure.
The lockfile pins Mermaid 11.17.2 and its validation environment. mermaid-11 and
latest select local parsing policy; neither certifies the user's remote renderer
nor installs a different parser. The GitHub profile rejects modern grammars without
claiming that GitHub cannot ever render them.
The validator rejects unknown grammar, configuration directives, HTML, interactive links and external icon dependencies. It warns on long quoted labels and measures complexity from the pinned parser's graph database for Flowchart, Sequence, ER, Class, Architecture, Sankey, Gantt, Timeline, User Journey and GitGraph. State, Mindmap, Quadrant, Block and Kanban budgets require manual review. Budget and label checks are heuristics, not a security sanitizer or complete Mermaid linter.
CI runs parsing and policy checks; it does not certify GitHub rendering, layout quality, or semantic correctness. The evaluation protocol tracks the still-pending three-arm blind benchmark. No quality improvement claim is made until actual generations and review establish it.
Existing packaging checks remain available through make lint, make format, and
make test-integration-docker; see CONTRIBUTING.md.
Apache-2.0; see LICENSE.
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.