ck:mermaidjs-v11

Render Mermaid v11 diagram source into SVG, PNG, or PDF outputs.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/hidonguyen/trade-ops --skill ck-mermaidjs-v11-hidonguyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:mermaidjs-v11
Source: https://github.com/hidonguyen/trade-ops/tree/main/.opencode/skills/mermaidjs-v11
Command: npx skills add https://github.com/hidonguyen/trade-ops --skill ck-mermaidjs-v11-hidonguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Converting plain-text Mermaid v11 diagram definitions into high-quality, shareable visual assets is repetitive and error-prone when done manually; this Skill automates rendering, theming, and export so documentation and diagrams remain synchronized with source text.

Core Features & Use Cases

  • Convert Mermaid v11 source into SVG, PNG, or PDF for documentation, slides, or reports.
  • Support for diagram-level frontmatter, global configuration, custom CSS, and theme overrides for consistent styling.
  • CLI, Docker, and programmatic integrations for batch processing and CI/CD pipeline generation of diagrams.
  • Accessibility preservation with ARIA-friendly title and description tags, useful for public documentation and compliance.
  • Use Cases: render architecture diagrams for README files, convert sequence diagrams for API docs, and generate Gantt charts for project timelines.

Quick Start

Render the supplied Mermaid v11 diagram text to an SVG file with the dark theme and a transparent background.

Frequently Asked Questions about ck:mermaidjs-v11

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render Mermaid v11 diagrams to SVG or PNG images?

To render Mermaid v11 diagrams to SVG or PNG, provide the text diagram source and specify the desired image output format. The Skill processes the Mermaid syntax and exports the visual asset, supporting custom themes and transparent backgrounds.

Can I use mermaid-cli to batch process documentation diagrams in CI/CD?

Yes, mermaid-cli supports CI/CD batch processing and Docker workflows. You can automate converting textual diagram definitions into distributable image outputs like SVG or PDF, keeping documentation synchronized with source text.

Does Mermaid v11 rendering support custom CSS and theme overrides?

Yes, Mermaid v11 rendering supports diagram-level frontmatter, global configuration, custom CSS, and theme overrides. This ensures consistent styling across architecture diagrams, flowcharts, and Gantt timelines for documentation and reports.

How do I add ARIA accessibility metadata to SVG diagrams generated from Mermaid?

Rendering Mermaid v11 diagrams to SVG preserves accessibility metadata by including ARIA-friendly title and description tags. This ensures generated SVG images are compliant and accessible for public documentation.

What is the best way to convert sequence diagrams to PDF for API documentation?

The best way to convert sequence diagrams to PDF for API documentation is using Mermaid v11 syntax. The Skill accepts textual diagram definitions and exports them directly to PDF, automating rendering and theming for reports.

Do I need Docker to generate Gantt charts from Mermaid text?

No, you do not need Docker to generate Gantt charts, as CLI and programmatic integrations are also supported. Docker workflows are available for isolated environments, but standard CLI execution works for project timelines and local rendering.