[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D9Z8MH1B4PC7QES6H8SFSZ":3,"skill-same:01M6D9Z8MH1B4PC7QES6H8SFSZ":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":29,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":70,"ownerHtmlUrl":71,"ownerBlogUrl":6,"ownerDescription":72,"updatedAt":73,"install":74,"resources":86},"01M6D9Z8MH1B4PC7QES6H8SFSZ","svg-diagram",null,"用 SVG 生成精美的架构图、流程图、时序图、层级图、对比图等结构化图表。直接输出 ```html 代码块（内含 SVG），前端在沙箱 iframe 中渲染。效果比 Mermaid 更美观、布局更灵活。","PM-Shawn\u002FAbu-Cowork","PM-Shawn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F34580770?v=4","01M6D9TVP5HBW9H8SPHYWW0X8E","Shawn","01M6D9TVVM38B7APZDN4NM9Y45",421,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Fbuiltin-skills\u002Fsvg-diagram\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000013","分析与可视化",{"categoryNo":27,"categoryName":28,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"diagram","svg diagram","统计","流程图","图表","动画","可视化","交互","chart","infographic","diagrams","frontend","logo","flow","visualization","generate","mermaid","architecture","image","design","2026-11-10 10:12:30",false,"---\nname: svg-diagram\ndescription: 用 SVG 生成精美的架构图、流程图、时序图、层级图、对比图等结构化图表。直接输出 ```html 代码块（内含 SVG），前端在沙箱 iframe 中渲染。效果比 Mermaid 更美观、布局更灵活。\ndisplay-description:\n  zh-CN: 用 SVG 绘制架构图、流程图、时序图、层级图和对比图\n  en-US: Draw architecture, flow, sequence and hierarchy diagrams as SVG\ntrigger: 用户要求画流程图、架构图、序列图、系统架构、技术架构、层级图、部署图、拓扑图、数据流、状态机、对比图、关系图、组织结构图、路线图、思维导图，或任何结构化的图表\u002F可视化需求\ndo-not-trigger: 用户要求生成照片、插画、艺术画、海报、UI 设计图、Logo（用 generate_image）；用户要求做数据统计海报（用 infographic）；用户要求做交互\u002F动画\u002F按钮操作的组件（用 html-widget）；用户要求数据图表如折线图\u002F柱状图\u002F饼图（用 html-widget + Chart.js）\nuser-invocable: true\ndisable-auto-invoke: true\nargument-hint: \u003C图表描述>\ntags:\n  - 图表\n  - diagram\n  - 流程图\n  - 架构图\n  - 可视化\n  - visualization\n  - SVG\n---\n\n你现在帮用户生成 **精美的 SVG 图表**。直接在回复中输出 ` ```html ` 代码块（内含 SVG），前端会在安全沙箱 iframe 中自动渲染。\n\n## 核心规则\n\n- **输出 ` ```html ` 代码块**，不要用 ` ```mermaid `\n- **不要调用 generate_image 或 write_file 工具**\n- **只输出 HTML 片段**（不含 DOCTYPE\u002Fhtml\u002Fhead\u002Fbody），格式：`\u003Cstyle>` → `\u003Csvg>`\n- **先输出图表，再做文字解释**（如有必要）\n\n---\n\n## SVG 画布规范\n\n```xml\n\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"100%\" viewBox=\"0 0 720 H\" font-family=\"system-ui, -apple-system, sans-serif\">\n```\n\n- 画布宽度固定 **720**，高度 H 按内容计算（最低元素 y + height + 40）\n- 所有元素在 x=20..700 范围内\n- 背景：浅色\u002F白色，与阿布界面一致\n\n---\n\n## 阿布配色体系\n\n每张图从以下色组中选 **2-3 组**搭配，灰色组做中性元素：\n\n| 色组 | 浅底色 (fill) | 边框色 (stroke) | 强调色 | 深色 (文字) |\n|------|-------------|---------------|-------|-----------|\n| 靛蓝 | #EBF0FF | #B4C6FC | #6B7FF5 | #2D3A8C |\n| 翠绿 | #E8FAF0 | #8FE8BE | #2EBD7F | #145A3A |\n| 琥珀 | #FFF8E6 | #F5D97E | #E6A817 | #7A5200 |\n| 灰调 | #F5F6F8 | #D4D8E0 | #8B93A1 | #2E3440 |\n| 玫红 | #FFF0F1 | #F5B3BA | #E8556D | #8C1B30 |\n| 天蓝 | #EDF7FF | #9DD4F5 | #3AA8E0 | #134B73 |\n\n**用色规则**：\n- 节点：浅底色填充 + 边框色描边（stroke-width: 1）\n- 标题文字：深色\n- 副标题\u002F说明文字：强调色\n- 连线\u002F箭头：灰调边框色，stroke-width: 1.5\n- 不用纯黑 `#000`，不用渐变\u002F阴影\u002F发光\n\n---\n\n## 排版规范\n\n**文字**：\n- 标题：15px，font-weight: 600\n- 节点标签：13px，font-weight: 500\n- 说明文字：11px，font-weight: 400\n- 最小字号 11px，不能更小\n- 中文内容用中文字体（system-ui 会自动回退）\n\n**形状**：\n- 矩形节点：rx=\"10\"（圆角）\n- 最小节点宽度：文字字符数 × 8 + 48px\n- 最小节点高度：40px\n- 节点间距：至少 20px\n\n**箭头标记**（需要时定义一次）：\n```xml\n\u003Cdefs>\n  \u003Cmarker id=\"arrow\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\"\n    markerWidth=\"6\" markerHeight=\"6\" orient=\"auto-start-reverse\">\n    \u003Cpath d=\"M1 1.5L7.5 5L1 8.5\" fill=\"none\" stroke=\"context-stroke\"\n      stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u002F>\n  \u003C\u002Fmarker>\n\u003C\u002Fdefs>\n```\n\n---\n\n## 图表类型与布局指南\n\n### 1. 流程图（上→下 或 左→右）\n\n节点用圆角矩形，决策点用菱形或双线框。连线用直线 + 箭头。\n\n```xml\n\u003C!-- 节点示例 -->\n\u003Crect x=\"280\" y=\"20\" width=\"160\" height=\"44\" rx=\"10\" fill=\"#EBF0FF\" stroke=\"#B4C6FC\"\u002F>\n\u003Ctext x=\"360\" y=\"47\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">开始处理\u003C\u002Ftext>\n\n\u003C!-- 连线示例 -->\n\u003Cline x1=\"360\" y1=\"64\" x2=\"360\" y2=\"100\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n```\n\n**布局规则**：每行最多 4 个节点，行间距 70-80px。\n\n### 2. 架构图（分层堆叠）\n\n水平分层带，每层全宽圆角矩形，层内放子节点。\n\n```xml\n\u003C!-- 层容器 -->\n\u003Crect x=\"20\" y=\"20\" width=\"680\" height=\"120\" rx=\"12\" fill=\"#EBF0FF\" stroke=\"#B4C6FC\" stroke-dasharray=\"none\"\u002F>\n\u003Ctext x=\"40\" y=\"48\" font-size=\"11\" font-weight=\"400\" fill=\"#6B7FF5\">用户接入层\u003C\u002Ftext>\n\n\u003C!-- 层内节点 -->\n\u003Crect x=\"60\" y=\"58\" width=\"130\" height=\"60\" rx=\"10\" fill=\"#FFFFFF\" stroke=\"#B4C6FC\"\u002F>\n\u003Ctext x=\"125\" y=\"93\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">Web 客户端\u003C\u002Ftext>\n```\n\n**布局规则**：层从上到下排列，层间距 16px，最上层是用户侧，最下层是基础设施。不同层用不同色组。\n\n### 3. 时间线（水平轴）\n\n水平主轴 + 事件节点交错上下排列。\n\n```xml\n\u003C!-- 主轴 -->\n\u003Cline x1=\"40\" y1=\"140\" x2=\"680\" y2=\"140\" stroke=\"#D4D8E0\" stroke-width=\"2\"\u002F>\n\n\u003C!-- 事件点 -->\n\u003Ccircle cx=\"140\" cy=\"140\" r=\"6\" fill=\"#6B7FF5\" stroke=\"#FFFFFF\" stroke-width=\"2\"\u002F>\n\u003Ctext x=\"140\" y=\"120\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">v1.0 发布\u003C\u002Ftext>\n\u003Ctext x=\"140\" y=\"165\" text-anchor=\"middle\" font-size=\"11\" fill=\"#8B93A1\">2024.03\u003C\u002Ftext>\n```\n\n**布局规则**：事件标签奇数在上、偶数在下，防止重叠。\n\n### 4. 层级图 \u002F 组织架构（树形）\n\n根节点居上居中，子节点向下展开，用竖线连接。\n\n**布局规则**：同层节点等间距分布，父→子用垂直线 + 水平线连接（L 形或 T 形）。\n\n### 5. 循环图 \u002F 反馈环\n\n3-5 个节点环形排列，曲线箭头连接。\n\n```xml\n\u003Cpath d=\"M x1 y1 Q cx cy x2 y2\" fill=\"none\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n```\n\n### 6. 对比图 \u002F 矩阵\n\n左右两栏或 2×2 矩阵，十字轴线分隔，每个象限不同底色。\n\n### 7. 关系图 \u002F 拓扑\n\n节点自由布局，连线表达关系，用不同颜色或虚线\u002F实线区分关系类型。\n\n---\n\n## 质量检查清单\n\n输出前自检：\n1. ✅ viewBox 高度 = 最低元素底部 + 40\n2. ✅ 所有文字可读（≥11px）\n3. ✅ 用了 2-3 组配色，不杂乱\n4. ✅ 节点间距足够，不拥挤\n5. ✅ 箭头方向正确\n6. ✅ 没有元素超出 viewBox 范围\n7. ✅ 中文标签用中文\n\n---\n\n## 完整示例：三层系统架构\n\n```html\n\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"100%\" viewBox=\"0 0 720 340\" font-family=\"system-ui, -apple-system, sans-serif\">\n  \u003Cdefs>\n    \u003Cmarker id=\"arrow\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\" markerWidth=\"6\" markerHeight=\"6\" orient=\"auto-start-reverse\">\n      \u003Cpath d=\"M1 1.5L7.5 5L1 8.5\" fill=\"none\" stroke=\"context-stroke\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u002F>\n    \u003C\u002Fmarker>\n  \u003C\u002Fdefs>\n\n  \u003C!-- 接入层 -->\n  \u003Crect x=\"20\" y=\"16\" width=\"680\" height=\"80\" rx=\"12\" fill=\"#EDF7FF\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"40\" y=\"38\" font-size=\"11\" fill=\"#3AA8E0\" font-weight=\"400\">接入层\u003C\u002Ftext>\n  \u003Crect x=\"60\" y=\"46\" width=\"140\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"130\" y=\"70\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#134B73\">Web 应用\u003C\u002Ftext>\n  \u003Crect x=\"220\" y=\"46\" width=\"140\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"290\" y=\"70\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#134B73\">移动端\u003C\u002Ftext>\n  \u003Crect x=\"380\" y=\"46\" width=\"140\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"450\" y=\"70\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#134B73\">API 网关\u003C\u002Ftext>\n\n  \u003C!-- 连线 -->\n  \u003Cline x1=\"360\" y1=\"96\" x2=\"360\" y2=\"126\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n\n  \u003C!-- 服务层 -->\n  \u003Crect x=\"20\" y=\"126\" width=\"680\" height=\"80\" rx=\"12\" fill=\"#EBF0FF\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"40\" y=\"148\" font-size=\"11\" fill=\"#6B7FF5\" font-weight=\"400\">服务层\u003C\u002Ftext>\n  \u003Crect x=\"80\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"140\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">用户服务\u003C\u002Ftext>\n  \u003Crect x=\"220\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"280\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">订单服务\u003C\u002Ftext>\n  \u003Crect x=\"360\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"420\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">消息服务\u003C\u002Ftext>\n  \u003Crect x=\"500\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"560\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">推荐服务\u003C\u002Ftext>\n\n  \u003C!-- 连线 -->\n  \u003Cline x1=\"360\" y1=\"206\" x2=\"360\" y2=\"236\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n\n  \u003C!-- 数据层 -->\n  \u003Crect x=\"20\" y=\"236\" width=\"680\" height=\"80\" rx=\"12\" fill=\"#E8FAF0\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"40\" y=\"258\" font-size=\"11\" fill=\"#2EBD7F\" font-weight=\"400\">数据层\u003C\u002Ftext>\n  \u003Crect x=\"120\" y=\"266\" width=\"130\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"185\" y=\"290\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#145A3A\">PostgreSQL\u003C\u002Ftext>\n  \u003Crect x=\"290\" y=\"266\" width=\"130\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"355\" y=\"290\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#145A3A\">Redis\u003C\u002Ftext>\n  \u003Crect x=\"460\" y=\"266\" width=\"130\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"525\" y=\"290\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#145A3A\">Kafka\u003C\u002Ftext>\n\u003C\u002Fsvg>\n```\n","你现在帮用户生成 **精美的 SVG 图表**。直接在回复中输出 ` ```html ` 代码块（内含 SVG），前端会在安全沙箱 iframe 中自动渲染。\n\n## 核心规则\n\n- **输出 ` ```html ` 代码块**，不要用 ` ```mermaid `\n- **不要调用 generate_image 或 write_file 工具**\n- **只输出 HTML 片段**（不含 DOCTYPE\u002Fhtml\u002Fhead\u002Fbody），格式：`\u003Cstyle>` → `\u003Csvg>`\n- **先输出图表，再做文字解释**（如有必要）\n\n---\n\n## SVG 画布规范\n\n```xml\n\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"100%\" viewBox=\"0 0 720 H\" font-family=\"system-ui, -apple-system, sans-serif\">\n```\n\n- 画布宽度固定 **720**，高度 H 按内容计算（最低元素 y + height + 40）\n- 所有元素在 x=20..700 范围内\n- 背景：浅色\u002F白色，与阿布界面一致\n\n---\n\n## 阿布配色体系\n\n每张图从以下色组中选 **2-3 组**搭配，灰色组做中性元素：\n\n| 色组 | 浅底色 (fill) | 边框色 (stroke) | 强调色 | 深色 (文字) |\n|------|-------------|---------------|-------|-----------|\n| 靛蓝 | #EBF0FF | #B4C6FC | #6B7FF5 | #2D3A8C |\n| 翠绿 | #E8FAF0 | #8FE8BE | #2EBD7F | #145A3A |\n| 琥珀 | #FFF8E6 | #F5D97E | #E6A817 | #7A5200 |\n| 灰调 | #F5F6F8 | #D4D8E0 | #8B93A1 | #2E3440 |\n| 玫红 | #FFF0F1 | #F5B3BA | #E8556D | #8C1B30 |\n| 天蓝 | #EDF7FF | #9DD4F5 | #3AA8E0 | #134B73 |\n\n**用色规则**：\n- 节点：浅底色填充 + 边框色描边（stroke-width: 1）\n- 标题文字：深色\n- 副标题\u002F说明文字：强调色\n- 连线\u002F箭头：灰调边框色，stroke-width: 1.5\n- 不用纯黑 `#000`，不用渐变\u002F阴影\u002F发光\n\n---\n\n## 排版规范\n\n**文字**：\n- 标题：15px，font-weight: 600\n- 节点标签：13px，font-weight: 500\n- 说明文字：11px，font-weight: 400\n- 最小字号 11px，不能更小\n- 中文内容用中文字体（system-ui 会自动回退）\n\n**形状**：\n- 矩形节点：rx=\"10\"（圆角）\n- 最小节点宽度：文字字符数 × 8 + 48px\n- 最小节点高度：40px\n- 节点间距：至少 20px\n\n**箭头标记**（需要时定义一次）：\n```xml\n\u003Cdefs>\n  \u003Cmarker id=\"arrow\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\"\n    markerWidth=\"6\" markerHeight=\"6\" orient=\"auto-start-reverse\">\n    \u003Cpath d=\"M1 1.5L7.5 5L1 8.5\" fill=\"none\" stroke=\"context-stroke\"\n      stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u002F>\n  \u003C\u002Fmarker>\n\u003C\u002Fdefs>\n```\n\n---\n\n## 图表类型与布局指南\n\n### 1. 流程图（上→下 或 左→右）\n\n节点用圆角矩形，决策点用菱形或双线框。连线用直线 + 箭头。\n\n```xml\n\u003C!-- 节点示例 -->\n\u003Crect x=\"280\" y=\"20\" width=\"160\" height=\"44\" rx=\"10\" fill=\"#EBF0FF\" stroke=\"#B4C6FC\"\u002F>\n\u003Ctext x=\"360\" y=\"47\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">开始处理\u003C\u002Ftext>\n\n\u003C!-- 连线示例 -->\n\u003Cline x1=\"360\" y1=\"64\" x2=\"360\" y2=\"100\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n```\n\n**布局规则**：每行最多 4 个节点，行间距 70-80px。\n\n### 2. 架构图（分层堆叠）\n\n水平分层带，每层全宽圆角矩形，层内放子节点。\n\n```xml\n\u003C!-- 层容器 -->\n\u003Crect x=\"20\" y=\"20\" width=\"680\" height=\"120\" rx=\"12\" fill=\"#EBF0FF\" stroke=\"#B4C6FC\" stroke-dasharray=\"none\"\u002F>\n\u003Ctext x=\"40\" y=\"48\" font-size=\"11\" font-weight=\"400\" fill=\"#6B7FF5\">用户接入层\u003C\u002Ftext>\n\n\u003C!-- 层内节点 -->\n\u003Crect x=\"60\" y=\"58\" width=\"130\" height=\"60\" rx=\"10\" fill=\"#FFFFFF\" stroke=\"#B4C6FC\"\u002F>\n\u003Ctext x=\"125\" y=\"93\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">Web 客户端\u003C\u002Ftext>\n```\n\n**布局规则**：层从上到下排列，层间距 16px，最上层是用户侧，最下层是基础设施。不同层用不同色组。\n\n### 3. 时间线（水平轴）\n\n水平主轴 + 事件节点交错上下排列。\n\n```xml\n\u003C!-- 主轴 -->\n\u003Cline x1=\"40\" y1=\"140\" x2=\"680\" y2=\"140\" stroke=\"#D4D8E0\" stroke-width=\"2\"\u002F>\n\n\u003C!-- 事件点 -->\n\u003Ccircle cx=\"140\" cy=\"140\" r=\"6\" fill=\"#6B7FF5\" stroke=\"#FFFFFF\" stroke-width=\"2\"\u002F>\n\u003Ctext x=\"140\" y=\"120\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">v1.0 发布\u003C\u002Ftext>\n\u003Ctext x=\"140\" y=\"165\" text-anchor=\"middle\" font-size=\"11\" fill=\"#8B93A1\">2024.03\u003C\u002Ftext>\n```\n\n**布局规则**：事件标签奇数在上、偶数在下，防止重叠。\n\n### 4. 层级图 \u002F 组织架构（树形）\n\n根节点居上居中，子节点向下展开，用竖线连接。\n\n**布局规则**：同层节点等间距分布，父→子用垂直线 + 水平线连接（L 形或 T 形）。\n\n### 5. 循环图 \u002F 反馈环\n\n3-5 个节点环形排列，曲线箭头连接。\n\n```xml\n\u003Cpath d=\"M x1 y1 Q cx cy x2 y2\" fill=\"none\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n```\n\n### 6. 对比图 \u002F 矩阵\n\n左右两栏或 2×2 矩阵，十字轴线分隔，每个象限不同底色。\n\n### 7. 关系图 \u002F 拓扑\n\n节点自由布局，连线表达关系，用不同颜色或虚线\u002F实线区分关系类型。\n\n---\n\n## 质量检查清单\n\n输出前自检：\n1. ✅ viewBox 高度 = 最低元素底部 + 40\n2. ✅ 所有文字可读（≥11px）\n3. ✅ 用了 2-3 组配色，不杂乱\n4. ✅ 节点间距足够，不拥挤\n5. ✅ 箭头方向正确\n6. ✅ 没有元素超出 viewBox 范围\n7. ✅ 中文标签用中文\n\n---\n\n## 完整示例：三层系统架构\n\n```html\n\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"100%\" viewBox=\"0 0 720 340\" font-family=\"system-ui, -apple-system, sans-serif\">\n  \u003Cdefs>\n    \u003Cmarker id=\"arrow\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\" markerWidth=\"6\" markerHeight=\"6\" orient=\"auto-start-reverse\">\n      \u003Cpath d=\"M1 1.5L7.5 5L1 8.5\" fill=\"none\" stroke=\"context-stroke\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u002F>\n    \u003C\u002Fmarker>\n  \u003C\u002Fdefs>\n\n  \u003C!-- 接入层 -->\n  \u003Crect x=\"20\" y=\"16\" width=\"680\" height=\"80\" rx=\"12\" fill=\"#EDF7FF\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"40\" y=\"38\" font-size=\"11\" fill=\"#3AA8E0\" font-weight=\"400\">接入层\u003C\u002Ftext>\n  \u003Crect x=\"60\" y=\"46\" width=\"140\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"130\" y=\"70\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#134B73\">Web 应用\u003C\u002Ftext>\n  \u003Crect x=\"220\" y=\"46\" width=\"140\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"290\" y=\"70\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#134B73\">移动端\u003C\u002Ftext>\n  \u003Crect x=\"380\" y=\"46\" width=\"140\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#9DD4F5\"\u002F>\n  \u003Ctext x=\"450\" y=\"70\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#134B73\">API 网关\u003C\u002Ftext>\n\n  \u003C!-- 连线 -->\n  \u003Cline x1=\"360\" y1=\"96\" x2=\"360\" y2=\"126\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n\n  \u003C!-- 服务层 -->\n  \u003Crect x=\"20\" y=\"126\" width=\"680\" height=\"80\" rx=\"12\" fill=\"#EBF0FF\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"40\" y=\"148\" font-size=\"11\" fill=\"#6B7FF5\" font-weight=\"400\">服务层\u003C\u002Ftext>\n  \u003Crect x=\"80\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"140\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">用户服务\u003C\u002Ftext>\n  \u003Crect x=\"220\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"280\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">订单服务\u003C\u002Ftext>\n  \u003Crect x=\"360\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"420\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">消息服务\u003C\u002Ftext>\n  \u003Crect x=\"500\" y=\"156\" width=\"120\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#B4C6FC\"\u002F>\n  \u003Ctext x=\"560\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#2D3A8C\">推荐服务\u003C\u002Ftext>\n\n  \u003C!-- 连线 -->\n  \u003Cline x1=\"360\" y1=\"206\" x2=\"360\" y2=\"236\" stroke=\"#D4D8E0\" stroke-width=\"1.5\" marker-end=\"url(#arrow)\"\u002F>\n\n  \u003C!-- 数据层 -->\n  \u003Crect x=\"20\" y=\"236\" width=\"680\" height=\"80\" rx=\"12\" fill=\"#E8FAF0\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"40\" y=\"258\" font-size=\"11\" fill=\"#2EBD7F\" font-weight=\"400\">数据层\u003C\u002Ftext>\n  \u003Crect x=\"120\" y=\"266\" width=\"130\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"185\" y=\"290\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#145A3A\">PostgreSQL\u003C\u002Ftext>\n  \u003Crect x=\"290\" y=\"266\" width=\"130\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"355\" y=\"290\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#145A3A\">Redis\u003C\u002Ftext>\n  \u003Crect x=\"460\" y=\"266\" width=\"130\" height=\"38\" rx=\"10\" fill=\"#fff\" stroke=\"#8FE8BE\"\u002F>\n  \u003Ctext x=\"525\" y=\"290\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"500\" fill=\"#145A3A\">Kafka\u003C\u002Ftext>\n\u003C\u002Fsvg>\n```\n",{"name":5,"tags":55,"trigger":58,"description":7,"argument-hint":59,"do-not-trigger":60,"user-invocable":61,"disable-auto-invoke":61,"display-description":62},[34,30,33,56,36,44,57],"架构图","SVG","用户要求画流程图、架构图、序列图、系统架构、技术架构、层级图、部署图、拓扑图、数据流、状态机、对比图、关系图、组织结构图、路线图、思维导图，或任何结构化的图表\u002F可视化需求","\u003C图表描述>","用户要求生成照片、插画、艺术画、海报、UI 设计图、Logo（用 generate_image）；用户要求做数据统计海报（用 infographic）；用户要求做交互\u002F动画\u002F按钮操作的组件（用 html-widget）；用户要求数据图表如折线图\u002F柱状图\u002F饼图（用 html-widget + Chart.js）",true,{"en-US":63,"zh-CN":64},"Draw architecture, flow, sequence and hierarchy diagrams as SVG","用 SVG 绘制架构图、流程图、时序图、层级图和对比图","main","7e6d17126241cd6d89b1df0f60e7f98c144377ad","builtin-skills\u002Fsvg-diagram",100,"https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork","https:\u002F\u002Fabuwork.com","https:\u002F\u002Fgithub.com\u002FPM-Shawn","Product Manager","2026-11-13 23:14:50",{"source":8,"skillName":5,"commands":75,"prompt":85,"zipAvailable":61},[76,79,82],{"tool":77,"command":78},"npx","npx skills add PM-Shawn\u002FAbu-Cowork --skill svg-diagram",{"tool":80,"command":81},"bunx","bunx skills add PM-Shawn\u002FAbu-Cowork --skill svg-diagram",{"tool":83,"command":84},"pnpm","pnpm dlx skills add PM-Shawn\u002FAbu-Cowork --skill svg-diagram","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Fbuiltin-skills\u002Fsvg-diagram\u002FSKILL.md",[],[88,102,125,148,165,174],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":97,"publishedAt":50},"01M6DA0B2XCG463VKF522CV68Y","..\u002F..\u002Fevil name","A name the installer would refuse to turn into a directory","https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fplugin-market-broken\u002Fplugins\u002Funsafe-skill-name\u002Fskills\u002Ftools\u002FSKILL.md",[94],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[98,99,100,101],"evil name","evil","directory","installer",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":114,"publishedAt":50},"01M6DA076EN71TPF726NCEYP1B","product-listing","Write or rewrite an e-commerce product listing (title, selling points, spec table, FAQ) from product specs. Use when the user asks for listing copy, a product title, or a detail page.","https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Fexamples\u002Fplugin-market\u002Fplugins\u002Fshop-assistant\u002Fskills\u002Fproduct-listing\u002FSKILL.md",[108,109],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":110,"categoryName":111,"taxonomyType":112,"taxonomyTypeDesc":113},"01JBSEEDCAT000000000000031","产品经理","PROFESSION","适用职业",[115,116,117,118,119,120,121,122,123,124],"product listing","product","table","spec","page","write","user","use","faq","detail",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":132,"publishedAt":50},"01M6D9ZH2JVXR15G1JKQYD1M2N","trigger","创建和管理触发器 - 设置事件驱动的自动化任务","https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Fbuiltin-skills\u002Ftrigger\u002FSKILL.md",[131],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[127,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147],"watch","webhook","file watch","定时","自动化","触发器","事件驱动","文件监听","task","automation","create","run","file","schedule","manage",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":158,"publishedAt":50},"01M6D9YZ1ZRYE8G3FGYMS6T32J","skill-creator","创建、编辑、优化和测试 skills。当用户明确要求创建一个具体的新 skill、修改已有 skill 的内容或描述、运行 skill 评测，或优化 skill 触发准确率时使用。","https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Fbuiltin-skills\u002Fskill-creator\u002FSKILL.md",[154,157],{"categoryNo":155,"categoryName":156,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[159,160,161,143,162,163,164],"skill creator","testing","test","improve","对话","edit",{"skillNo":166,"name":146,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":171,"publishedAt":50},"01M6D9YVAB65YKJ3DXQHT7WC8E","创建和管理定时任务 - 设置定期自动执行的任务","https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Fbuiltin-skills\u002Fschedule\u002FSKILL.md",[170],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[146,172,143,144,173,147,141,136,137],"tasks","recurring",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":181,"publishedAt":50},"01M6D9YQSVMNK85HM6NR5VWFSP","reflect","复盘当前对话——回顾任务过程、总结经验教训、主动沉淀可复用的 skill。当用户要求\"复盘\"、\"反思\"、\"总结一下刚才\"、\"有什么值得记住的\"时使用。","https:\u002F\u002Fgithub.com\u002FPM-Shawn\u002FAbu-Cowork\u002Fblob\u002Fmain\u002Fbuiltin-skills\u002Freflect\u002FSKILL.md",[180],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[176,182,183,163,184,185,186,187,188,189],"memories","chat","save","review","as","总结","复盘","反思"]