Space Mermaid Diagram

将任意文本、工作流、逻辑转换为清晰简约的 Mermaid 流程图。支持 flowchart、sequence、class 等多种图表类型。使用场景:(1) 需要可视化工作流程,(2) 将文档/对话转为流程图,(3) 创建系统架构图,(4) 生成时序图/类图。自动保存到 Obsidian 画板目录,按日期和主题分类。

189 stars 37 forksProductivity & Notes

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add SpaceZephyr/design-buddy --skill space-mermaid-diagram
Manual install
git clone --depth 1 https://github.com/SpaceZephyr/design-buddy.git /tmp/design-buddy
mkdir -p ~/.claude/skills
cp -r /tmp/design-buddy/space-mermaid-diagram ~/.claude/skills/space-mermaid-diagram

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Mermaid Generator

将任意文本、描述、工作流转换为清晰简约的 Mermaid 图表。

## 核心能力

1. **智能识别结构** - 从文本中提取逻辑关系和流程步骤
2. **多图表类型** - 支持 flowchart、sequence、class diagram
3. **清晰简约** - 使用 emoji 和图标增强可读性
4. **批量生成** - 复杂逻辑可拆分为多个关联图表
5. **自动分类保存** - 按 MMDD-主题 分文件夹保存

## 支持的图表类型

| 类型      | 适用场景                     | 触发词           |
| --------- | ---------------------------- | ---------------- |
| Flowchart | 工作流程、决策树、系统流程   | 流程图、工作流   |
| Sequence  | 时序交互、API 调用、用户旅程 | 时序图、交互流程 |
| Class     | 系统架构、数据模型、类关系   | 架构图、类图     |

## 工作流程

### 第一步:分析输入内容

识别:

- **内容类型**:工作流/交互流程/系统架构
- **核心实体**:主要角色/系统/模块
- **逻辑关系**:顺序/分支/循环/依赖
- **复杂度**:是否需要拆分为多个图表

### 第二步:选择图表类型

**自动选择规则**:

- 顺序流程 + 分支决策 → Flowchart
- 多方交互 + 时间顺序 → Sequence
- 模块关系 + 继承组合 → Class

**用户可指定**:

```
用户:生成流程图
用户:用时序图展示
用户:创建类图
```

### 第三步:设计图表结构

**Flowchart 设计原则**:

- 使用 `flowchart LR/TB` 方向
- 节点命名简洁(中文 + emoji)
- 用 subgraph 分组相关步骤
- 决策点用菱形 `{}`
- 关键路径用粗箭头 `==>`

**Sequence 设计原则**:

- 参与者命名清晰
- 每步操作一句话描述
- 用 Note 补充关键信息
- 异步操作用虚线 `-->`

**Class 设计原则**:

- 类名用大驼峰
- 核心属性/方法简化展示
- 关系清晰(继承/组合/依赖)
- 用 note 说明设计意图

### 第四步:增强可读性

**使用 Emoji**:

```
📱 应用层
🔧 工具类
📊 数据层
🔐 安全模块
✅ 成功状态
❌ 失败状态
⚙️ 配置
🚀 启动
```

**颜色提示**(在 subgraph 中使用):

```mermaid
flowchart TB
    subgraph input [📥 输入阶段]
        A[用户输入]
    end

    subgraph process [⚙️ 处理阶段]
        B[数据验证]
    end

    subgraph output [📤 输出阶段]
        C[结果展示]
    end
```

### 第五步:保存文件

**目录结构**:
Read the full skill on GitHub

Details

Skill name
space-mermaid-diagram
Path
space-mermaid-diagram/SKILL.md
Repo updated
6 July 2026

FAQ

What does the Space Mermaid Diagram skill do?

将任意文本、工作流、逻辑转换为清晰简约的 Mermaid 流程图。支持 flowchart、sequence、class 等多种图表类型。使用场景:(1) 需要可视化工作流程,(2) 将文档/对话转为流程图,(3) 创建系统架构图,(4) 生成时序图/类图。自动保存到 Obsidian 画板目录,按日期和主题分类。

How do I install the Space Mermaid Diagram skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add SpaceZephyr/design-buddy --skill space-mermaid-diagram. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Space Mermaid Diagram popular?

It lives in SpaceZephyr/design-buddy, which has 189 GitHub stars and 37 forks.

Related skills

Space AI Article Illustration

189

SpaceZephyr/design-buddy

分析文章结构并批量生成AI配图,调用Gemini API为每个段落创建专业逻辑图/概念图。当用户说"批量配图"、"给文章配图"、"生成文章插图"、"为这篇文章配图"时触发。支持两种风格:简约手绘风和建筑蓝图编辑风。自动保存到Obsidian图片目录并插入文档。

AI, LLMs & Agents37

Space Architecture Diagram

189

SpaceZephyr/design-buddy

创建专业、支持深色/浅色双主题切换的系统架构图,输出为独立的 HTML 文件(内含 SVG 图形)。当用户需要系统架构图、基础设施拓扑图、云架构可视化、安全架构图、网络拓扑图,或任何展示系统组件及其关系的技术图表时使用此技能。支持中文标注和说明,内置主题切换按钮。

Software Development37

Space Brand UI Design

189

SpaceZephyr/design-buddy

根据品牌名称从 getdesign.md 自动获取设计规范并生成匹配风格的 UI 代码。支持 62 个顶级品牌风格(苹果/Apple、Notion、Claude、Stripe 等),支持中英文品牌名、混搭风格。当用户提到"XX风格"、"做成XX的感觉"、"参考XX设计"时触发。

Frontend & Design37

Obsidian Bases

193

MavCui/Agent-Skills-Hunter

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

Productivity & Notes28

Mc Workflow

224

jtydhr88/music-composition-skills

Entry point and router for the music composition library (作曲编曲工作流与路由). The S0-S7 stage table from brief to delivered audio, which skill to load for which task, the full-library boundary table that prevents two skills claiming the same decision, the ARR-SPEC gate rules, and the three checks (boundary tables against style bleed, text-layer A/B, compliance rate). Load this FIRST for any request that will produce or change an ARR-SPEC (a whole track, a section rewrite, a generation run). A single knowledge question or a single-part task goes straight to the owning skill without this one. Use when

Productivity & Notes25

Obsidian Markdown

193

MavCui/Agent-Skills-Hunter

Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.

Productivity & Notes28

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.