·diagrams
</>

diagrams

生成 SVG/PNG 格式的可视化流程图、架构图和系统图。当用户要求流程图、用户流程图、架构图、系统图、交互图或任何可视化图表时使用。支持 ELK JSON 布局引擎,自动渲染为 SVG。

6安装·0热度·@tychohq

安装

$npx skills add https://github.com/tychohq/agent-skills --skill diagrams

如何安装 diagrams

通过命令行快速安装 diagrams AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/tychohq/agent-skills --skill diagrams
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:tychohq/agent-skills。

SKILL.md

查看原文

Generate diagrams from structured JSON → SVG (and optionally PNG).

| id | string | Required. Unique identifier | | width | number | Node width in px (default 120) | | height | number | Node height in px (default 40) | | labels | array | [{text}] — used by ELK for layout calculation | | label | string | Display text rendered in SVG (supports emoji). Falls back to id | | color | string | Color key from palette (see below) |

| subtitle | string | Smaller text below the label | | fontSize | number | Label font size (default 13) | | children | array | Nested nodes — makes this a container | | containerColor | string | Color key for container background |

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/tychohq/agent-skills --skill diagrams
分类
</>开发工具
认证
收录时间
2026-02-26
更新时间
2026-03-10

Browse more skills from tychohq/agent-skills

快速解答

什么是 diagrams?

生成 SVG/PNG 格式的可视化流程图、架构图和系统图。当用户要求流程图、用户流程图、架构图、系统图、交互图或任何可视化图表时使用。支持 ELK JSON 布局引擎,自动渲染为 SVG。 来源:tychohq/agent-skills。

如何安装 diagrams?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/tychohq/agent-skills --skill diagrams 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/tychohq/agent-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-26