Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

mermaid-creatorMermaid creator 搜索

Agent Skill

mermaid-creator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

306

周安装

13

GitHub Stars

公开资料未说明

下载量

107
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mermaid-creator(Mermaid creator 搜索)
来源仓库:https://github.com/narumiruna/agent-skills
仓库路径:skills/mermaid-creator
安装命令:
npx skills add narumiruna/agent-skills --skill "mermaid-creator"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add narumiruna/agent-skills --skill "mermaid-creator"

简介

mermaid-creator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 它支持基于关键词、任务场景或来源线索进行信息筛选,适用于研究与开发场景。
  • 通过 npx skills add narumiruna/agent-skills --skill "mermaid-creator" 安装,需确认权限与维护状态。
  • 使用前建议核实是否会触发联网、命令执行或文件读写,确保操作安全。
  • 可结合原始 README 了解具体功能与限制。

SKILL.md

name
mermaid-creator
description
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 descriptions and converting diagrams to SVG format for embedding in presentations or documents.

Mermaid Creator

Create professional diagrams using Mermaid syntax for documentation, architecture design, and data modeling.

Workflow

  1. Choose diagram type - Select the appropriate diagram based on what needs to be visualized
  2. Create .mmd file - Write Mermaid syntax in a .mmd file
  3. Validate syntax - Check syntax is correct (Mermaid CLI will report errors)
  4. Convert to SVG (optional) - Generate SVG for embedding in presentations or documents

Diagram Type Selection

Choose the right diagram type for your use case:

TypeUse CaseReference
FlowchartProcesses, workflows, decision treesflowchart.md
SequenceAPI interactions, system communications, message flowssequence.md
ClassObject-oriented design, data models, relationshipsclass.md
StateState machines, workflow states, system statesstate.md
ERDatabase schemas, entity relationshipser.md
GanttProject timelines, task schedulingother-types.md
PieData distribution, percentagesother-types.md
GitGit history, branching strategiesother-types.md
JourneyUser experience flowsother-types.md
Quadrant2D comparison, prioritizationother-types.md
TimelineChronological eventsother-types.md

Load references as needed: Each reference file contains syntax, patterns, examples, and best practices for that diagram type.

Quick Start Examples

Flowchart

flowchart TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Process]
    B -->|No| D[Alternative]
    C --> E[End]
    D --> E

Sequence Diagram

sequenceDiagram
    participant Client
    participant Server
    participant DB

    Client->>Server: Request
    Server->>DB: Query
    DB-->>Server: Data
    Server-->>Client: Response

Class Diagram

classDiagram
    class User {
        +String name
        +String email
        +login()
    }

    class Post {
        +String title
        +String content
        +publish()
    }

    User "1" --> "*" Post : creates

Example Files

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.

Mermaid CLI

Installation

npm install -g @mermaid-js/mermaid-cli

Convert to SVG

mmdc -i diagram.mmd -o diagram.svg

Batch Conversion

mmdc -i input1.mmd -i input2.mmd -o output/

With Configuration

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

Best Practices

General Guidelines

  • Choose the right diagram type - Match the diagram to the information structure
  • Keep it simple - Split complex diagrams into multiple focused diagrams
  • Use descriptive labels - Avoid abbreviations unless well-known
  • Be consistent - Use consistent naming and styling within a diagram
  • Validate syntax - Run through Mermaid CLI to catch errors early

For Documentation

  • Create separate .mmd files for each diagram
  • Store diagrams near the documentation they support
  • Include comments in complex diagrams using %% for Mermaid comments
  • Generate SVG for static documentation
  • Commit both .mmd source and generated SVG

For Presentations

  • Use high contrast colors for visibility
  • Keep text large and readable
  • Test diagram rendering at presentation size
  • Use transparent background to match slide themes
  • Prefer SVG over PNG for crisp rendering

Performance

  • Large diagrams (>50 nodes) may render slowly
  • Split large flowcharts using off-page connectors
  • For ER diagrams with many entities, show only relevant relationships
  • Consider using subgraphs to organize complex diagrams

Common Patterns

Decision Logic

Use flowcharts with diamond decision nodes:

flowchart TD
    Input[Get Input] --> Validate{Valid?}
    Validate -->|Yes| Process[Process]
    Validate -->|No| Error[Error]

System Interactions

Use sequence diagrams for temporal interactions:

sequenceDiagram
    User->>System: Action
    System->>Database: Query
    Database-->>System: Result
    System-->>User: Response

Data Models

Use ER diagrams for database schemas or class diagrams for object models.

Process Workflows

Use state diagrams for state machines or flowcharts for process flows.

Troubleshooting

Syntax Errors

Run mmdc -i file.mmd -o output.svg to see specific error messages.

Common issues:

  • Missing spaces around arrows (A-->B should be A --> B in some contexts)
  • Unclosed quotes in labels
  • Invalid characters in IDs (use alphanumeric + underscore)
  • Wrong diagram type declaration

Rendering Issues

  • Check Mermaid CLI version: mmdc --version
  • Update to latest: npm install -g @mermaid-js/mermaid-cli@latest
  • Try different themes if elements overlap
  • Reduce diagram complexity

SVG Quality

  • Use mmdc -w 1920 for high-resolution output
  • Set background to transparent for flexible embedding
  • Test generated SVG in target environment

Advanced Features

Most diagram types support:

  • Styling: Custom colors, fonts, and borders
  • Subgraphs/Grouping: Organize related elements
  • Notes: Add explanatory text
  • Direction: Change layout orientation
  • Classes: Reusable style definitions

See individual diagram reference files for syntax and examples.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

54.14%
按下载量换算58

Claude Code

29.69%
按下载量换算32

weavefox

14.81%
按下载量换算16

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills