mermaidcli
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mermaidcli" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c7114624a2a0b99e51f6cc2ccef690f9b9b0f94e07e2640fab9edb5b11880218. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/mermaid-cli-diagram-as-code-renderer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Mermaid CLI (mmdc) is a command-line tool that converts text-based Mermaid chart definitions into SVG, PNG, and PDF output files, enabling chart generation from code.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Mermaid CLI 图表即代码渲染器"
slug: "mermaid-cli-diagram-as-code-renderer"
version: "1.0.0"
displayName: "Mermaid CLI 图表即代码渲染器"
summary: "Mermaid CLI (mmdc) 是 Mermaid 图表库的命令行界面。它将基于文本的图表定义转换为 SVG、PNG 和 PDF 输出文件,从而能够从代码中自动生成图表。"
license: "MIT"
description: "Mermaid CLI (mmdc) 是 Mermaid 图表库的命令行界面。它将基于文本的图表定义转换为 SVG、PNG 和 PDF 输出文件,从而实现从代码自动生成功率图。"
github_stars: 4341
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Image & Creative Automation"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 4341
npm_package: "@mermaid-js/mermaid-cli"
npm_weekly_downloads: 438910Mermaid CLI 图表即代码渲染器
Mermaid CLI (mmdc) is the command-line interface for the Mermaid diagramming library. It converts text-based diagram definitions into SVG, PNG, and PDF output files, enabling automated diagram generation from code.
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @mermaid-js/mermaid-cli
-
Use Docker/Podman:
- docker pull minlag/mermaid-cli
- docker pull ghcr.io/mermaid-js/mermaid-cli/mermaid-cli
Requirements and caveats from upstream:
Basic usage or getting-started notes:
-
sh
-
Convert Mermaid mmd Diagram File To SVG
-
mmdc -i input.mmd -o output.svg
-
Extracted from upstream docs: https://raw.githubusercontent.com/mermaid-js/mermaid-cli/HEAD/README.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Mermaid 图表的命令行渲染能力,适合开发者和文档自动化场景
- 支持多种输出格式(SVG/PNG/PDF),实用性强
Highlights
- 触发词精准完整,覆盖 Mermaid CLI 的核心功能
- description 位置正确,内容完整无截断
Areas to improve
-
缺少详细步骤划分 Reported severity: Minor
文档缺少明确的 Phase/步骤划分和出口条件说明
Recommendation: 建议添加详细的执行步骤和条件判断说明
-
文档结构可优化 Reported severity: Minor
Installation 和 Usage 部分可以进一步结构化
Recommendation: 建议按照标准模板优化文档结构,增加 When to Use 章节
Highlights
- frontmatter 完整,包含必要元数据
- 提供了基本的使用示例
Areas to improve
-
缺少错误处理说明 Reported severity: Minor
未覆盖主要异常情况的处理方法
Recommendation: 建议添加常见错误的处理方式和排查指南
-
缺少确认机制说明 Reported severity: Minor
对于文件输出等操作缺少确认机制说明
Recommendation: 建议说明如何确认输出文件生成成功
Highlights
- 工具来源明确,提供了 npm 和 Docker 两种安装方式
- 基本使用命令清晰易懂
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 29
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- hub.docker.com
- img.shields.io
- raw.githubusercontent.com
- www.npmjs.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.