Skip to content
Back to skills

386 Markdown To Flowchart

ASecurity

将任意 Markdown 文档转换为 Mermaid 流程图。用于可视化文档中的步骤、流程、架构、依赖关系等。适用于:技术文档(部署、安装、配置)、系统架构设计、API 文档、README 文档、教程手册、决策流程、任务流程、项目管理、运维手册、故障排查等任何需要可视化的场景。当用户要求"做流程图"、"生成流程图"、"可视化文档"、"画个图"时使用。

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
documentationapi

Works with

  • api

Security analysis

A100/100

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

Scanned November 29, 2026

npx -y skills add winlem2024/workbuddy-skills --skill 386-markdown-to-flowchart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 386 Markdown To Flowchart?

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

Security grade badge for 386 Markdown To Flowchart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/winlem2024-386-markdown-to-flowchart/badge)](https://www.skillsdirectory.com/skills/winlem2024-386-markdown-to-flowchart)

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
---
name: markdown-to-flowchart
description: 将任意 Markdown 文档转换为 Mermaid 流程图。用于可视化文档中的步骤、流程、架构、依赖关系等。适用于:技术文档(部署、安装、配置)、系统架构设计、API 文档、README 文档、教程手册、决策流程、任务流程、项目管理、运维手册、故障排查等任何需要可视化的场景。当用户要求"做流程图"、"生成流程图"、"可视化文档"、"画个图"时使用。
---

# Markdown to Flowchart

把 Markdown 文档转换为 Mermaid 流程图,生成简洁清晰的可视化内容。

## 使用方式

1. **读取用户提供的 Markdown 文件**
2. **分析文档结构**,识别:
   - 章节层级 (H1/H2/H3)
   - 步骤顺序 (数字编号、步骤词)
   - 条件分支 (如果/否则、是否)
   - 依赖关系 (需要、先要)
   - 并行流程 (同时)
3. **生成 Mermaid 流程图代码**,包括:
   - `flowchart TD/LR/BT/RL` 主流程图
   - 节点使用中文描述
   - 清晰的连线关系
   - 条件判断使用菱形
4. **输出为 .md 文件**,包含 Mermaid 代码块

## 输出格式

```markdown
# 文档标题 流程图

```mermaid
flowchart TD
    A[开始] --> B[步骤1]
    B --> C{判断?}
    C -- 是 --> D[结果1]
    C -- 否 --> E[结果2]
```
```

## 生成原则

- **简洁优先**:提取核心内容,跳过细枝末节
- **清晰可读**:节点名称用中文,不超过 20 字
- **逻辑完整**:包含顺序、分支、循环、依赖、并行关系
- **格式适配**:根据文档类型选择合适的图表形式(流程图、架构图、状态图等)
- **可选补充**:常用命令速查、端口汇总、配置项等实用信息

## 示例

- 部署文档 → 部署流程图
- API 文档 → 接口调用流程图
- 运维手册 → 故障排查流程图
- README → 项目结构图
- 教程文档 → 学习路径图
- 架构设计 → 系统架构图
- 项目管理 → 任务流程图
- 任何 Markdown 文档 → 可视化流程图

Files in this skill

  • SKILL.md2 KB
  • _skillhub_meta.json888 B

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.

View all in documentation →

Comments

Loading comments…

Newsletter

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