mermaid-visualizer
Was er macht
Dieser Skill zeigt einem Agenten, wie er geschriebene Inhalte in Mermaid-Diagrammcode umwandelt. Er vermeidet typische Syntaxfehler, damit das Diagramm in Werkzeugen mit Mermaid-Unterstützung korrekt angezeigt wird.
Wann du ihn nutzt
- ✓Wenn ein Nutzer aus einem Text ein Ablauf- oder Prozessdiagramm erstellen möchte.
- ✓Wenn ein Nutzer eine Systemarchitektur oder einen Vergleich für die Dokumentation als Diagramm zeichnen möchte.
- ✓Wenn ein Nutzer eine Mindmap oder ein Diagramm braucht, das in GitHub oder Obsidian angezeigt wird.
Link zum Skill
https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/mermaid-visualizer/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Erstelle aus dieser Beschreibung ein Mermaid-Ablaufdiagramm unseres Bestellprozesses, damit ich es in GitHub einfügen kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent erkennt die wichtigsten Schritte und Beziehungen, wählt einen Diagrammtyp und schreibt den Mermaid-Code in einen Codeblock. Er hält sich an Regeln, die typische Fehler verhindern, damit das Diagramm korrekt dargestellt wird.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Mermaid Visualizer
Overview
Convert text content into clean, professional Mermaid diagrams optimized for presentations and documentation. Automatically handles common syntax pitfalls (list syntax conflicts, subgraph naming, spacing issues) to ensure diagrams render correctly in Obsidian, GitHub, and other Mermaid-compatible platforms.
Quick Start
When creating a Mermaid diagram:
- Analyze the content - Identify key concepts, relationships, and flow
- Choose diagram type - Select the most appropriate visualization (see Diagram Types below)
- Select configuration - Determine layout, detail level, and styling
- Generate diagram - Create syntactically correct Mermaid code
- Output in markdown - Wrap in proper code fence with optional explanation
Default assumptions:
- Vertical layout (TB) unless horizontal requested
- Medium detail level (balanced between simplicity and information)
- Professional color scheme with semantic colors
- Obsidian/GitHub compatible syntax
Diagram Types
1. Process Flow (graph TB/LR)
Best for: Workflows, decision trees, sequential processes, AI agent architectures
Use when: Content describes steps, stages, or a sequence of actions
Key features:
- Swimlanes via subgraph for grouping related steps
- Arrow labels for transitions
- Feedback loops and branches
- Color-coded stages
Configuration options:
layout: "vertical" (TB), "horizontal" (LR)detail: "simple" (core steps only), "standard" (with descriptions), "detailed" (with annotations)style: "minimal", "professional", "colorful"
2. Circular Flow (graph TD with circular layout)
Best for: Cyclic processes, continuous improvement loops, agent feedback systems
Use when: Content emphasizes iteration, feedback, or circular relationships
Key features:
- Central hub with radiating elements
- Curved feedback arrows
- Clear cycle indicators
3. Comparison Diagram (graph TB with parallel paths)
Best for: Before/after comparisons, A vs B analysis, traditional vs modern systems
Use when: Content contrasts two or more approaches or systems
Key features:
- Side-by-side layout
- Central comparison node
- Clear differentiation via color/style
4. Mindmap
Best for: Hierarchical concepts, knowledge organization, topic breakdowns
Use when: Content is hierarchical with clear parent-child relationships
Key features:
- Radial tree structure
- Multiple levels of nesting
- Clean visual hierarchy
5. Sequence Diagram
Best for: Interactions between components, API calls, message flows
Use when: Content involves communication between actors/systems over time
Key features:
- Timeline-based layout
- Clear actor separation
- Activation boxes for processes
6. State Diagram
Best for: System states, status transitions, lifecycle stages
Use when: Content describes states and transitions between them
Key features:
- Clear state nodes
- Labeled transitions
- Start and end states
Critical Syntax Rules
Always follow these rules to prevent parsing errors:
Rule 1: Avoid List Syntax Conflicts
❌ WRONG: [1. Perception] → Triggers "Unsupported markdown: list"
✅ RIGHT: [1.Perception] → Remove space after period
✅ RIGHT: [① Perception] → Use circled numbers (①②③④⑤⑥⑦⑧⑨⑩)
✅ RIGHT: [(1) Perception] → Use parentheses
✅ RIGHT: [Step 1: Perception] → Use "Step" prefix
Rule 2: Subgraph Naming
❌ WRONG: subgraph AI Agent Core → Space in name without quotes
✅ RIGHT: subgraph agent["AI Agent Core"] → Use ID with display name
✅ RIGHT: subgraph agent → Use simple ID only
Rule 3: Node References
❌ WRONG: Title --> AI Agent Core → Reference display name directly
✅ RIGHT: Title --> agent → Reference subgraph ID
Rule 4: Special Characters in Node Text
✅ Use quotes for text with spaces: ["Text with spaces"]
✅ Escape or avoid: quotation marks → use 『』 instead
✅ Escape or avoid: parentheses → use 「」 instead
✅ Line breaks in circle nodes only: ((Text<br/>Break))
Rule 5: Arrow Types
-->solid arrow-.->dashed arrow (for supporting systems, optional paths)==>thick arrow (for emphasis)~~~invisible link (for layout only)
For complete syntax reference and edge cases, see references/syntax-rules.md
Configuration Options
All diagrams accept these parameters:
Layout:
- `
Häufige Fragen
Welche Diagrammtypen werden unterstützt?
Der Skill deckt Prozessabläufe, Systemarchitekturen, Vergleiche, Mindmaps und mehr ab.
Wo wird das Diagramm angezeigt?
Der Skill sagt, die Syntax funktioniert in Obsidian, GitHub und anderen Mermaid-kompatiblen Werkzeugen.
Wie ist das Standardlayout?
Es ist vertikal, sofern der Nutzer kein horizontales Layout verlangt.
Details
Originalbeschreibung des Autors
Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.
repo: breferrari/obsidian-mind
Beliebtheit
- GitHub-Sterne
- 5.5k
- Platz im Ranking
- #14841
- Lizenz
- MIT
- Aktualisiert
- 17.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
excalidraw-diagram
5.5kHilft deinem Agenten, Text in Excalidraw-Diagramme zu verwandeln, gespeichert als Obsidian-Notizen, Standarddateien für Excalidraw oder animierte Fassungen.
qmd
5.5kHilft deinem Agenten, einen Obsidian-Vault nach Bedeutung zu durchsuchen, bevor Dateien geöffnet werden, und liefert passende Ausschnitte, um Zeit und Kontext zu sparen.
Ähnliche Skills
canvas
394kLässt deinen Agenten ein gehostetes visuelles Widget auf einem verbundenen Mac-Panel zeigen und das Panel danach ausblenden oder auf eine andere Seite verschieben.
control-ui
394kHilft deinem Agenten, die OpenClaw-Control-UI zu ordnen und zu prüfen, einschließlich Sitzungen, Dashboards und verbundener Gateways.
diagram-maker
394kHilft deinem Agenten, klare Diagramme als SVG, HTML oder bearbeitbare Excalidraw-Dateien zu erstellen, für Prozesse, Systemarchitekturen und Whiteboard-Skizzen.