Skip to content
Back to skills

341 Readme Cn F7653211

ASecurity

![fLEWT5x.png](https://iili.io/fLEWT5x.png) 将 Mermaid 图表渲染为精美的 SVG 或 ASCII 艺术 极速、全主题支持、零 DOM 依赖。为 AI 而生。 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Node.js Version](https://img.shields.io/badge/node-%3E%3D14-brightgreen)](https://nodejs.org/) [![GitHub stars](https://img.shields.io/github/stars/imxv/Pretty-mermaid-skills?style=social)](https://github.com/imxv/Pretty-mermaid-skills) **中文** | [English](README.md) </div>

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentsbashnodenodejsgitapi

Works with

  • claude code
  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 341-readme_cn_f7653211 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 341 Readme Cn F7653211?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 341 Readme Cn F7653211
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-341-readme-cn-f7653211/badge)](https://www.skillsdirectory.com/skills/tools-only-341-readme-cn-f7653211)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
<div align="center">

# Pretty-Mermaid Skills

![fLEWT5x.png](https://iili.io/fLEWT5x.png)

将 Mermaid 图表渲染为精美的 SVG 或 ASCII 艺术

极速、全主题支持、零 DOM 依赖。为 AI 而生。

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Node.js Version](https://img.shields.io/badge/node-%3E%3D14-brightgreen)](https://nodejs.org/)
[![GitHub stars](https://img.shields.io/github/stars/imxv/Pretty-mermaid-skills?style=social)](https://github.com/imxv/Pretty-mermaid-skills)

**中文** | [English](README.md)

</div>

## 简介
为 AI 提供的 Mermaid 图表渲染 Skill,支持 SVG 和 ASCII 双格式输出,让您的文档更加生动。

## ✨ 功能特性

- 📊 **多格式支持**:支持 SVG 和 ASCII 渲染导出
- 🎨 **丰富主题**:内置 15 种精美主题,满足不同场景需求
- 📈 **全图表支持**:支持 Flowchart, Sequence, State, Class, ER 等 5 种常用图表
- ⚡ **高效渲染**:支持批量并行渲染,速度飞快
- 📚 **开箱即用**:提供完整的模板和详细文档

### 支持主题列表
| Light Themes | Dark Themes | Other |
| :--- | :--- | :--- |
| zinc-light | zinc-dark | nord |
| tokyo-night-light | tokyo-night | nord-light |
| cappuccin-latte | tokyo-night-storm | dracula |
| github-light | cappuccin-mocha | one-dark |
| solarized-light | github-dark | |
| | solarized-dark | |

## 🤖 AI 助手集成

支持与以下 AI 编程环境无缝集成,通过自然语言即可调用绘图能力:

- **Claude Code**
- **Cursor**
- **Gemini CLI**
- **Antigravity**
- **OpenCode**
- **Codex**
- **qoder**

## 🚀 安装步骤

### 一键安装
```bash
npx skills add https://github.com/imxv/pretty-mermaid-skills --skill pretty-mermaid
```

### 验证安装
```bash
cd Pretty-mermaid
node scripts/themes.mjs
```
> **提示**:首次运行时会自动安装依赖,只需确保您的环境中有 Node.js。

## 📖 快速开始

### 列出可用主题
```bash
node scripts/themes.mjs
```

### 渲染单个图表
```bash
node scripts/render.mjs \
  --input diagram.mmd \
  --output output.svg \
  --theme tokyo-night
```

### 批量渲染
```bash
node scripts/batch.mjs \
  --input-dir ./diagrams \
  --output-dir ./output \
  --theme dracula
```

## 📂 使用示例

查看 `assets/example_diagrams/` 目录下的 5 个模板文件,快速上手:
- `flowchart.mmd` - 流程图
- `sequence.mmd` - 时序图
- `state.mmd` - 状态图
- `class.mmd` - 类图
- `er.mmd` - ER 图

## 📚 完整文档
详细使用指南请参阅 [SKILL.md](SKILL.md)

## ⚙️ 系统要求
- Node.js 14+

## 📄 许可证
MIT License

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=imxv/Pretty-mermaid-skills&type=timeline&legend=top-left)](https://www.star-history.com/#imxv/Pretty-mermaid-skills&type=timeline&legend=top-left)

## 🙏 致谢
基于 [beautiful-mermaid](https://github.com/lukilabs/beautiful-mermaid) 项目

Files in this skill

  • README.md765 B
  • skill.md2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.