什么是 diagrams?
生成 SVG/PNG 格式的可视化流程图、架构图和系统图。当用户要求流程图、用户流程图、架构图、系统图、交互图或任何可视化图表时使用。支持 ELK JSON 布局引擎,自动渲染为 SVG。 来源:tychohq/agent-skills。
生成 SVG/PNG 格式的可视化流程图、架构图和系统图。当用户要求流程图、用户流程图、架构图、系统图、交互图或任何可视化图表时使用。支持 ELK JSON 布局引擎,自动渲染为 SVG。
通过命令行快速安装 diagrams AI 技能到你的开发环境
来源:tychohq/agent-skills。
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生成 SVG/PNG 格式的可视化流程图、架构图和系统图。当用户要求流程图、用户流程图、架构图、系统图、交互图或任何可视化图表时使用。支持 ELK JSON 布局引擎,自动渲染为 SVG。 来源:tychohq/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/tychohq/agent-skills --skill diagrams 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/tychohq/agent-skills