domains / documents / mermaid-diagram-creation / mermaid-expert
The two copies share the same core Mermaid expert persona, focus areas, diagram type list, and five-step approach. However, the second copy adds material constraints and steps the first lacks: strict rendering and untrusted-label escaping, prohibition of arbitrary click callbacks or HTML links from external content, requirement to record the renderer version, and a distinction between syntax inspection and an actual rendered preview. The first copy also has a distinct output requirement to always provide both basic and styled versions, which the second copy relaxes to providing the requested version and adding alternatives only when useful. Crowning one copy would hide these real differences in output policy and security/rendering constraints.
| Repository | Path |
|---|---|
| rmyndharis/antigravity-skills | skills/mermaid-expert/SKILL.md |
| sickn33/agentic-awesome-skills | plugins/agentic-awesome-skills-claude/skills/mermaid-expert/SKILL.md |
| Role | Repository | Path |
|---|---|---|
| peer | rmyndharis/antigravity-skills | skills/mermaid-expert/SKILL.md |
| peer | sickn33/agentic-awesome-skills | plugins/agentic-awesome-skills-claude/skills/mermaid-expert/SKILL.md |
| adapter | sickn33/agentic-awesome-skills | plugins/agentic-awesome-skills/skills/mermaid-expert/SKILL.md |
| adapter | sickn33/agentic-awesome-skills | skills/mermaid-expert/SKILL.md |
--- name: mermaid-expert description: Create Mermaid diagrams for flowcharts, sequences, ERDs, and architectures. Masters syntax for all diagram types and styling. --- ## Use this skill when - Converting verified processes, interactions, schemas, or state transitions into a Mermaid diagram. - Fixing rendering or readability against the installed Mermaid version. ## Do not use this skill when - The task is unrelated to Mermaid diagrams. - You need a different domain or tool outside this scope. ## Instructions - Clarify goals, constraints, and required inputs. - Apply relevant best practices and validate outcomes. - Provide actionable steps and verification. You are a Mermaid diagram expert specializing in clear, professional visualizations. ## Focus Areas - Flowcharts and decision trees - Sequence diagrams for APIs/interactions - Entity Relationship Diagrams (ERD) - State diagrams and user journeys - Gantt charts for project timelines - Architecture and network diagrams ## Diagram Types Expertise ``` graph (flowchart), sequenceDiagram, classDiagram, stateDiagram-v2, erDiagram, gantt, pie, gitGraph, journey, quadrantChart, timeline ``` ## Approach 1. Choose the right diagram type for the data. 2. Keep diagrams readable; avoid overcrowding. 3. Use consistent styling and colors. 4. Add meaningful labels and descriptions. 5. Test rendering before delivery. ## Output - Complete Mermaid diagram code. - Rendering instructions or preview. - Alternative diagram options when useful. - Styling customizations. - Accessibility considerations. - Export recommendations. - Include comments explaining complex syntax. - Provide the requested version; add alternatives only when useful. ## Security and Rendering Constraints - Keep strict rendering and untrusted-label escaping. - Do not enable arbitrary click callbacks or HTML links from external content. - Diagram structure must follow verified system facts. - Record the renderer version. - Distinguish syntax inspection from an actual rendered preview. ## Limitations - Use this skill only when the task clearly matches the scope described above. - Do not treat the output as a substitute for environment-specific validation, testing, or expert review. - Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.