[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77CS2QNE9DPR99TCGPVPSW3":3,"skill-same:01M77CS2QNE9DPR99TCGPVPSW3":47},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77CS2QNE9DPR99TCGPVPSW3","drawio-generator",null,"将自然语言或文档（docx\u002Fpdf\u002Ftxt）转换为 draw.io 可编辑 XML 图表（.drawio 文件）。当用户说\"画个流程图\"、\"生成图表\"、\"画架构图\u002F时序图\u002F网络拓扑图\"、\"帮我画xxx流程\"、\"生成draw.io\"等时自动触发。使用流程：接收描述→生成JSON→用户确认→调用gen.py生成.drawio→告知用户用draw.io打开。","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fd\u002Fdrawio-ai-maker\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: drawio-generator\ndescription: 将自然语言或文档（docx\u002Fpdf\u002Ftxt）转换为 draw.io 可编辑 XML 图表（.drawio 文件）。当用户说\"画个流程图\"、\"生成图表\"、\"画架构图\u002F时序图\u002F网络拓扑图\"、\"帮我画xxx流程\"、\"生成draw.io\"等时自动触发。使用流程：接收描述→生成JSON→用户确认→调用gen.py生成.drawio→告知用户用draw.io打开。\n---\n\n# drawio-generator\n\n## 如何使用（标准流程）\n\n**Step 1**：接收用户的流程描述（文字或文件上传）\n\n**Step 2**：根据描述生成结构化 JSON（nodes + edges），将 JSON 展示给用户确认\n\n**Step 3**：用户确认后，调用生成脚本：\n```bash\npython3 skills\u002Fdrawio-generator\u002Fscripts\u002Fgen.py \"图表标题\" '{\"title\":\"...\",\"nodes\":[...],\"edges\":[...]}' [类型]\n```\n\n**Step 4**：交付 `.drawio` 文件到输出目录，并告知用户：\n> 用 draw.io 打开此文件（网页版 https:\u002F\u002Fapp.diagrams.net 或桌面版 App），如需微调请手动调整节点位置后保存。\n\n> ⚠️ 生成结果非完美，可能存在线条重叠或间距不理想，需要在 draw.io 中手动微调。\n\n**输出目录**：\n- 默认：`\u002FUsers\u002Fowen\u002FDesktop\u002Fdrawio-generator\u002F`\n- 可通过环境变量 `DRAWIO_OUTPUT_DIR` 或命令行 `--output-dir` 自定义\n\n---\n\n## JSON 结构\n\n```json\n{\n  \"title\": \"流程名称\",\n  \"type\": \"flowchart\",\n  \"nodes\": [\n    {\"id\": \"0\", \"type\": \"start\", \"label\": \"开始\"},\n    {\"id\": \"1\", \"type\": \"process\", \"label\": \"处理步骤\"},\n    {\"id\": \"2\", \"type\": \"decision\", \"label\": \"判断条件？\"},\n    {\"id\": \"3\", \"type\": \"end\", \"label\": \"结束\"}\n  ],\n  \"edges\": [\n    {\"source\": \"0\", \"target\": \"1\"},\n    {\"source\": \"1\", \"target\": \"2\"},\n    {\"source\": \"2\", \"target\": \"3\", \"label\": \"是\"},\n    {\"source\": \"2\", \"target\": \"1\", \"label\": \"否\"}\n  ]\n}\n```\n\n### 节点 type 值\n\n| type | 形状 |\n|------|------|\n| `start` | 椭圆 |\n| `end` | 椭圆 |\n| `process` | 圆角矩形 |\n| `decision` | 菱形 |\n| `document` | 文档形状 |\n| `data` | 平行四边形 |\n\n### edges.label 值\n\n| label | 含义 |\n|-------|------|\n| `是` \u002F `Y` | 条件为真 |\n| `否` \u002F `N` | 条件为假 |\n| 空 | 普通顺序流 |\n\n### 支持的图表类型\n\n`flowchart` | `sequence` | `network` | `architecture` | `hierarchy` | `function` | `deployment`\n\n---\n\n## 文件说明\n\n| 文件 | 说明 |\n|------|------|\n| `scripts\u002Fgen.py` | **标准生成脚本**（必须使用，禁止直接调用 generator.py） |\n| `scripts\u002Fgenerator.py` | 底层 XML 生成器（gen.py 内部调用） |\n| `scripts\u002Fparser.py` | 输入解析（txt 直接读取，docx\u002Fpdf 需额外安装库） |\n| `references\u002Fdrawio-xml-spec.md` | draw.io XML 格式规范 |\n\n**依赖说明**：\n- 解析 .docx 需要：`pip install python-docx`\n- 解析 .pdf 需要：`pip install pdfplumber`\n\n## 布局参数\n\n| 参数 | 默认值 | 说明 |\n|------|--------|------|\n| `CANVAS_WIDTH` | 850 | 画布宽度 |\n| `_LAYER_GAP_Y` | 120 | 层间垂直间距 |\n| `MAIN_X` | 425 | 主轴 X 坐标 |\n","# drawio-generator\n\n## 如何使用（标准流程）\n\n**Step 1**：接收用户的流程描述（文字或文件上传）\n\n**Step 2**：根据描述生成结构化 JSON（nodes + edges），将 JSON 展示给用户确认\n\n**Step 3**：用户确认后，调用生成脚本：\n```bash\npython3 skills\u002Fdrawio-generator\u002Fscripts\u002Fgen.py \"图表标题\" '{\"title\":\"...\",\"nodes\":[...],\"edges\":[...]}' [类型]\n```\n\n**Step 4**：交付 `.drawio` 文件到输出目录，并告知用户：\n> 用 draw.io 打开此文件（网页版 https:\u002F\u002Fapp.diagrams.net 或桌面版 App），如需微调请手动调整节点位置后保存。\n\n> ⚠️ 生成结果非完美，可能存在线条重叠或间距不理想，需要在 draw.io 中手动微调。\n\n**输出目录**：\n- 默认：`\u002FUsers\u002Fowen\u002FDesktop\u002Fdrawio-generator\u002F`\n- 可通过环境变量 `DRAWIO_OUTPUT_DIR` 或命令行 `--output-dir` 自定义\n\n---\n\n## JSON 结构\n\n```json\n{\n  \"title\": \"流程名称\",\n  \"type\": \"flowchart\",\n  \"nodes\": [\n    {\"id\": \"0\", \"type\": \"start\", \"label\": \"开始\"},\n    {\"id\": \"1\", \"type\": \"process\", \"label\": \"处理步骤\"},\n    {\"id\": \"2\", \"type\": \"decision\", \"label\": \"判断条件？\"},\n    {\"id\": \"3\", \"type\": \"end\", \"label\": \"结束\"}\n  ],\n  \"edges\": [\n    {\"source\": \"0\", \"target\": \"1\"},\n    {\"source\": \"1\", \"target\": \"2\"},\n    {\"source\": \"2\", \"target\": \"3\", \"label\": \"是\"},\n    {\"source\": \"2\", \"target\": \"1\", \"label\": \"否\"}\n  ]\n}\n```\n\n### 节点 type 值\n\n| type | 形状 |\n|------|------|\n| `start` | 椭圆 |\n| `end` | 椭圆 |\n| `process` | 圆角矩形 |\n| `decision` | 菱形 |\n| `document` | 文档形状 |\n| `data` | 平行四边形 |\n\n### edges.label 值\n\n| label | 含义 |\n|-------|------|\n| `是` \u002F `Y` | 条件为真 |\n| `否` \u002F `N` | 条件为假 |\n| 空 | 普通顺序流 |\n\n### 支持的图表类型\n\n`flowchart` | `sequence` | `network` | `architecture` | `hierarchy` | `function` | `deployment`\n\n---\n\n## 文件说明\n\n| 文件 | 说明 |\n|------|------|\n| `scripts\u002Fgen.py` | **标准生成脚本**（必须使用，禁止直接调用 generator.py） |\n| `scripts\u002Fgenerator.py` | 底层 XML 生成器（gen.py 内部调用） |\n| `scripts\u002Fparser.py` | 输入解析（txt 直接读取，docx\u002Fpdf 需额外安装库） |\n| `references\u002Fdrawio-xml-spec.md` | draw.io XML 格式规范 |\n\n**依赖说明**：\n- 解析 .docx 需要：`pip install python-docx`\n- 解析 .pdf 需要：`pip install pdfplumber`\n\n## 布局参数\n\n| 参数 | 默认值 | 说明 |\n|------|--------|------|\n| `CANVAS_WIDTH` | 850 | 画布宽度 |\n| `_LAYER_GAP_Y` | 120 | 层间垂直间距 |\n| `MAIN_X` | 425 | 主轴 X 坐标 |\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fd\u002Fdrawio-ai-maker",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill drawio-generator",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill drawio-generator",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill drawio-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fd\u002Fdrawio-ai-maker\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]