मुख्य सामग्री पर जाएँ
Skillpedia
इंटरफ़ेस (UI/UX)5.5k · #14841

mermaid-visualizer

यह क्या करती है

यह स्किल एजेंट को लिखी सामग्री को Mermaid डायग्राम कोड में बदलना सिखाती है। यह सिंटैक्स की आम गलतियों से बचती है, ताकि डायग्राम Mermaid सपोर्ट करने वाले टूल्स में सही दिखे।

कब इस्तेमाल करें

  • ✓जब यूज़र टेक्स्ट से फ़्लोचार्ट या प्रक्रिया-डायग्राम बनवाना चाहता है।
  • ✓जब यूज़र दस्तावेज़ के लिए सिस्टम आर्किटेक्चर या तुलना को डायग्राम में दिखाना चाहता है।
  • ✓जब यूज़र को ऐसा माइंड मैप या डायग्राम चाहिए जो GitHub या Obsidian में दिखे।

Skill का लिंक

https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/mermaid-visualizer/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/mermaid-visualizer/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस विवरण से हमारी ऑर्डर प्रक्रिया का Mermaid फ़्लोचार्ट बनाइए, ताकि मैं उसे GitHub में चिपका सकूँ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट मुख्य चरण और उनके संबंध पहचानता है, डायग्राम का प्रकार चुनता है, और Mermaid कोड कोड ब्लॉक में लिखता है। डायग्राम सही रेंडर हो, इसके लिए वह आम गलतियाँ रोकने वाले नियम मानता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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:

  1. Analyze the content - Identify key concepts, relationships, and flow
  2. Choose diagram type - Select the most appropriate visualization (see Diagram Types below)
  3. Select configuration - Determine layout, detail level, and styling
  4. Generate diagram - Create syntactically correct Mermaid code
  5. 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:

  • `
अक्सर पूछे जाने वाले सवाल

कौन-से डायग्राम प्रकार समर्थित हैं?

स्किल प्रक्रिया फ़्लो, सिस्टम आर्किटेक्चर, तुलना, माइंड मैप और अन्य प्रकार कवर करती है।

डायग्राम कहाँ दिखता है?

स्किल कहती है कि यह सिंटैक्स Obsidian, GitHub और अन्य Mermaid-संगत टूल्स में काम करता है।

डिफ़ॉल्ट लेआउट कौन-सा है?

डिफ़ॉल्ट लेआउट ऊर्ध्वाधर (वर्टिकल) है, जब तक यूज़र क्षैतिज (हॉरिज़ॉन्टल) लेआउट न माँगे।

जानकारी

लेखक का मूल विवरण

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

लोकप्रियता

GitHub स्टार
5.5k
रैंकिंग में स्थान
#14841
लाइसेंस
MIT
अपडेट की गई
17/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills