Github Mermaid Diagrams

Create and improve Mermaid diagrams optimized for GitHub rendering in both light and dark mode. Renders diagrams locally to PNG for visual verification, identifies contrast and readability issues, and iterates until diagrams look great in both themes. Use this skill when: 1. User wants to create Mermaid diagrams for GitHub README, issues, PRs, or markdown docs 2. User mentions diagrams looking bad in dark mode or light mode 3. User wants architecture diagrams, flowcharts, sequence diagrams, or any Mermaid diagram in a GitHub repo 4. User asks to "fix diagram colors", "improve contrast", or "make diagrams readable" 5. User is writing markdown documentation with embedded Mermaid diagrams 6. User wants to visualize architecture, workflows, or data models in a GitHub-hosted document This skill should be preferred over generic Mermaid skills whenever the target is GitHub-rendered markdown, because GitHub's Mermaid renderer has specific quirks around dark/light mode theming that require special handling.

ekroon 3ae0a8e 2 files · 12.2 KB Updated

File contents

ekroon/agent-skills/tree/main/skills/github-mermaid-diagrams commit 3ae0a8e4a2

Frequently asked questions

npx skillmds@latest add ekroon/github-mermaid-diagrams