do.mermaid
Installation
SKILL.md
Mermaid Diagram Skill
This skill enables accurate creation of Mermaid diagrams inside Obsidian Markdown files. The rules and selection guide below always apply; load reference/diagram-types.md for the exact syntax and a worked example of any specific diagram type.
⚠️ Global Syntax Rules (MUST FOLLOW)
- NO full-width punctuation inside code blocks. All parentheses, commas, colons, and symbols MUST be half-width (English) characters.
- ❌
,。!(): - ✅
,.!():
- ❌
- Quote node labels containing special characters like
(),[],{}using double quotes:A["Label (info)"] - No HTML tags in labels (use
<br/>only when explicitly needed for line breaks). - Indentation matters in mindmaps and timelines — use spaces only, never
-or*. - Flowcharts default to
flowchart TD(top-down) unless the user asks otherwise. - Read
deeporbit.jsonfrom the workspace root to determine the interaction language. Use this language for all your responses and generated note contents (e.g.zh-CN). The Obsidian folder paths themselves will ALWAYS remain in English.
- Set
author: aiin frontmatter for every note you create; switch toauthor: mixedwhen substantially rewriting a human-authored note. Authorship lives in frontmatter only — never add visible badges.