कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

skill-mermaid-diagrams

chunhualiao द्वारा

Coding Agents & IDEs
481clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Generate consistent, template-based Mermaid diagrams for technical content.

विवरण

यह स्किल क्या करती है

Generates Mermaid diagrams from 12 pre-built templates with LLM-powered placeholder filling. Supports architecture, flowchart, sequence, Gantt, class, and state diagram types with a consistent color scheme. A subagent handles the full workflow: reading source content, selecting templates, rendering diagrams, and validating output.

Rendering diagrams locally with mermaid-cli costs 95-99% less than AI image generation services while producing consistently styled, version-controllable vector output.

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

  • Generating system architecture diagrams for technical documentation
  • Creating Gantt charts for project milestone tracking
  • Producing UML class diagrams from code structure descriptions
  • Building sequence diagrams for API interaction walkthroughs
  • Visualizing process state machines in workflow documentation

उदाहरण वर्कफ़्लो

इनपुट

User asks: Generate 3 diagrams for chapters/chapter-05.md

एजेंट
  1. 1

    Reads chapter-05.md and analyzes its content

  2. 2

    Selects 3 appropriate templates from the 12 available types

  3. 3

    Fills each template's placeholders with labels derived from chapter content and writes content.json

  4. 4

    Runs generate.mjs to render .mmd source, .svg, and .png files

  5. 5

    Runs validate.mjs to confirm all outputs rendered without errors or unresolved placeholders

आउटपुट

3 diagram sets saved to diagrams/chapter-05/ as .mmd, .svg, and .png files with a summary.json metadata file

आवश्यकताएँ

  • mermaid-cli >= 11.0.0 installed globally via npm install -g @mermaid-js/mermaid-cli

इंस्टॉलेशन

clawhub install chunhualiao/skill-mermaid-diagrams

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक