dev.mermaid

Generate Mermaid diagrams with proper syntax. Use when creating flowcharts, sequence diagrams, class diagrams, or any other Mermaid visualizations. Ensures correct label quoting to prevent parsing errors.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dev.mermaid" with this command: npx skills add kevinslin/llm/kevinslin-llm-dev-mermaid

Dev Mermaid

Overview

This skill provides syntax guidelines for generating valid Mermaid diagrams. Mermaid is a diagramming language that renders text into diagrams, but it's strict about parsing—improper syntax causes rendering failures.

Syntax Rules

When generating Mermaid:

  1. Always wrap node labels in double quotes if they contain any of the following:

    • Parentheses ( )
    • Commas ,
    • Arrows like ->, =>,
    • Function-like text (e.g. foo(a, b))
    • Operators or symbols (+, -, _ in method names combined with punctuation)
  2. Use this pattern:

    A["label text here"]
    

    not:

    A[label text here]
    
  3. <br/> is allowed inside quoted labels.

  4. Decision nodes {} may remain unquoted only if they contain simple words (e.g. {dryRun?}).

  5. If unsure whether a label is safe, quote it anyway — quoted labels always parse correctly.

  6. Never rely on Mermaid to "guess" intent; Mermaid is a grammar parser, not markdown.

Mental Model (Important)

Mermaid is not Markdown. It is closer to a programming language. If something looks like code, Mermaid will try to parse it as code.

Quoting labels opts out of that behavior.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

OpenClaw CLI Bridge

Bridge local AI CLIs + web browser sessions (Grok, Gemini, Claude.ai, ChatGPT) into OpenClaw as model providers. Includes /cli-* slash commands for instant m...

Registry SourceRecently Updated
4250Profile unavailable
Coding

Ai Dev Tools

智能推荐适合编程 Agent 使用的大模型和开发工具,提供稳定高效的 AI 编程资源及直达链接。

Registry SourceRecently Updated
2070Profile unavailable
Coding

Voyage AI CLI

Voyage AI embedding and reranking CLI integrated with MongoDB Atlas Vector Search. Use for: generating text embeddings, reranking search results, storing embeddings in Atlas, performing vector similarity search, creating vector search indexes, listing available models, comparing text similarity, bulk ingestion, interactive demos, and learning about AI concepts. Triggers: embed text, generate embeddings, vector search, rerank documents, voyage ai, semantic search, similarity search, store embeddings, atlas vector search, embedding models, cosine similarity, bulk ingest, explain embeddings.

Registry SourceRecently Updated
1.6K0Profile unavailable
Coding

Gitai - Git Commit Automation

Boost developer productivity with Gitai: An AI-powered Git automation tool that analyzes code changes and generates semantic Conventional Commits instantly. Supports Node.js, Python, Java, Go, PHP, and more. Compatible with OpenAI, Anthropic, and Groq.

Registry SourceRecently Updated
2.6K1Profile unavailable