xiaohongshu
xiaohongshu
mermaid-creator
Create Mermaid diagrams for technical documentation, system design, and data modeling. Use when creating flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, git graphs, or any other Mermaid-supported diagram type. Supports both creating new diagrams from desc...
Full skill instructions
Create professional diagrams using Mermaid syntax for documentation, architecture design, and data modeling.
.mmd fileChoose the right diagram type for your use case:
| Type | Use Case | Reference |
|---|---|---|
| Flowchart | Processes, workflows, decision trees | flowchart.md |
| Sequence | API interactions, system communications, message flows | sequence.md |
| Class | Object-oriented design, data models, relationships | class.md |
| State | State machines, workflow states, system states | state.md |
| ER | Database schemas, entity relationships | er.md |
| Gantt | Project timelines, task scheduling | other-types.md |
| Pie | Data distribution, percentages | other-types.md |
| Git | Git history, branching strategies | other-types.md |
| Journey | User experience flows | other-types.md |
| Quadrant | 2D comparison, prioritization | other-types.md |
| Timeline | Chronological events | other-types.md |
Load references as needed: Each reference file contains syntax, patterns, examples, and best practices for that diagram type.
flowchart TD
A[Start] --> B{Decision}
B -->|Yes| C[Process]
B -->|No| D[Alternative]
C --> E[End]
D --> E
sequenceDiagram
participant Client
participant Server
participant DB
Client->>Server: Request
Server->>DB: Query
DB-->>Server: Data
Server-->>Client: Response
classDiagram
class User {
+String name
+String email
+login()
}
class Post {
+String title
+String content
+publish()
}
User "1" --> "*" Post : creates
The skill includes ready-to-use .mmd example files in assets/examples/ that can be copied and modified:
assets/examples/
├── flowchart/ # 10 flowchart examples
│ ├── basic.mmd
│ ├── node-shapes.mmd
│ ├── connections.mmd
│ ├── process-flow.mmd
│ ├── decision-tree.mmd
│ └── ...
├── sequence/ # 12 sequence diagram examples
│ ├── basic.mmd
│ ├── rest-api.mmd
│ ├── authentication-flow.mmd
│ └── ...
├── class/ # 13 class diagram examples
│ ├── basic.mmd
│ ├── inheritance.mmd
│ ├── interface.mmd
│ └── ...
├── state/ # 13 state diagram examples
│ ├── basic.mmd
│ ├── order-processing.mmd
│ ├── authentication.mmd
│ └── ...
├── er/ # 10 ER diagram examples
│ ├── basic.mmd
│ ├── blog-system.mmd
│ ├── ecommerce.mmd
│ └── ...
└── other/ # 16 other diagram type examples
├── gantt-basic.mmd
├── pie-basic.mmd
├── git-feature-branch.mmd
├── journey-shopping.mmd
├── quadrant-basic.mmd
├── timeline-basic.mmd
└── ...
Usage: Copy example files as templates for your diagrams. All examples are tested and ready to use with the Mermaid CLI.
npm install -g @mermaid-js/mermaid-cli
mmdc -i diagram.mmd -o diagram.svg
mmdc -i input1.mmd -i input2.mmd -o output/
mmdc -i diagram.mmd -o diagram.svg -t dark -b transparent
Options:
-t - Theme (default, dark, forest, neutral)-b - Background color or transparent-w - Width-H - Height.mmd files for each diagram%% for Mermaid comments.mmd source and generated SVGtransparent background to match slide themesUse flowcharts with diamond decision nodes:
flowchart TD
Input[Get Input] --> Validate{Valid?}
Validate -->|Yes| Process[Process]
Validate -->|No| Error[Error]
Use sequence diagrams for temporal interactions:
sequenceDiagram
User->>System: Action
System->>Database: Query
Database-->>System: Result
System-->>User: Response
Use ER diagrams for database schemas or class diagrams for object models.
Use state diagrams for state machines or flowcharts for process flows.
Run mmdc -i file.mmd -o output.svg to see specific error messages.
Common issues:
A-->B should be A --> B in some contexts)mmdc --versionnpm install -g @mermaid-js/mermaid-cli@latestmmdc -w 1920 for high-resolution outputtransparent for flexible embeddingMost diagram types support:
See individual diagram reference files for syntax and examples.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience