[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AYJX5EEWZKBKWDW7D6WY2Q":3,"skill-same:01M7AYJX5EEWZKBKWDW7D6WY2Q":79},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M7AYJX5EEWZKBKWDW7D6WY2Q","drawio-diagrams",null,"Use when creating or porting diagrams to draw.io files.","oat431\u002Fhermes_config_backup","oat431","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54722120?v=4","01M7AYD07EH8SYPMYY8CGZKS22","Oralita","01M7AYD0816QDF77E3TWCRSQC9",1,"MIT","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Ffull-stack\u002Fdrawio-diagrams\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: drawio-diagrams\ndescription: \"Use when creating or porting diagrams to draw.io files.\"\nversion: 1.0.0\nauthor: Hermes Agent\nlicense: MIT\ndependencies: []\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [DrawIO, Diagrams, Flowcharts, Architecture, Visualization, XML, Mermaid]\n    related_skills: [excalidraw, architecture-diagram]\n\n---\n\n# draw.io Diagram Skill\n\nAuthor `.drawio` files directly and prove they render correctly. Covers porting a\ndiagram (mermaid block, prose spec, another tool) into draw.io and placing the\nresult at a requested path.\n\nXML syntax, style properties, containers, layers, tags and layout passes are\ndocumented in the `open_drawio_xml` tool schema — read it at generation time\nrather than reproducing it here. This skill carries the **workflow and the\ndefects the schema does not mention**.\n\n## When to Use\n\n- A request names a `.drawio` file, draw.io, or asks to place a diagram at a path.\n- A mermaid block, prose spec, or another tool's diagram must become a `.drawio`.\n- An existing `.drawio` needs a page added, edited, or verified — use the MCP's\n  `list_pages` \u002F `get_page` \u002F `set_page` against it.\n\nNot the tool for hand-drawn Excalidraw JSON (see `excalidraw`) or an HTML\u002FSVG\nrender (see `architecture-diagram`).\n\n## Workflow\n\n### 1. Establish the source of truth\n\nRead the source and decide what \"faithful\" means: structure, labels, and the\nsource's *own* palette. Port those colors rather than accepting draw.io defaults\n(see **Palette fidelity**). When the source has a quirk — a repeated color, two\npaths converging on one outcome — replicate it and record it as a finding; do not\nsilently redesign. This user reviews before committing and wants discrepancies\nsurfaced, not smoothed over.\n\n### 2. Write the `.drawio` file directly\n\nThe drawio MCP's `open_drawio_xml` \u002F `open_drawio_mermaid` \u002F `open_drawio_csv`\n**open the editor and never write to disk.** An `open_*` call cannot satisfy a\n\"place it at this path\" request; create the file with `write_file`, then use the\nMCP's file operations to inspect it.\n\nEnvelope — store pages uncompressed (readable, diffable, and the MCP\ndecompresses either way):\n\n```xml\n\u003Cmxfile host=\"app.diagrams.net\" agent=\"Hermes Agent\" type=\"device\">\n  \u003Cdiagram id=\"my-diagram\" name=\"Page Name\">\n    \u003CmxGraphModel grid=\"1\" page=\"1\" pageWidth=\"1160\" pageHeight=\"1250\"\n                  background=\"#1B1717\">\n      \u003Croot>\n        \u003CmxCell id=\"0\"\u002F>\n        \u003CmxCell id=\"1\" parent=\"0\"\u002F>\n        \u003C!-- vertices then edges -->\n      \u003C\u002Froot>\n    \u003C\u002FmxGraphModel>\n  \u003C\u002Fdiagram>\n\u003C\u002Fmxfile>\n```\n\nIf the destination is a directory that already exists, place a content-named\nfile inside it — do not assume the requested path was meant as the filename.\n\n### 3. Verify it parses through the MCP\n\n`list_pages(path)` first: cheap, returns index\u002Fid\u002Fname\u002Fsize, and proves the file\nround-trips. Reach for `get_page` only when you need actual cell content — it\npulls the whole page into context. Re-run `list_pages` after any edit.\n\n### 4. Render it and LOOK at the image\n\nReading XML cannot reveal routing defects: the router computes arrowhead anchors\nand bend points at render time, and a syntactically perfect file can still draw\ntwo arrows into the same point.\n\n```bash\n\"\u002Fc\u002FProgram Files\u002Fdraw.io\u002Fdraw.io.exe\" --export --format png --scale 1 \\\n  --output \"C:\u002Fabsolute\u002Fout.png\" \"F:\u002Fabsolute\u002Fin.drawio\"\n```\n\nGive `--output` and the input Windows-style forward-slash paths — the CLI is a\nnative executable and does not understand MSYS `\u002Ftmp` paths. Exit 0 plus a\nnon-empty file is the gate; do not claim the diagram works on the strength of a\nsuccessful parse alone.\n\nThen `vision_analyze` the PNG with pointed questions, because a general \"does\nthis look right\" prompt misses defects. Ask specifically about:\n\n- text clipped or overflowing inside diamonds \u002F small shapes\n- connector lines running **through** a shape\n- two arrowheads landing on the **same point** of one target\n- edge labels colliding with shapes or with each other\n- emoji rendering as tofu boxes\n\nFix, re-export, and re-inspect until clean.\n\nTo assert an exact color, probe the PNG's pixels — vision cannot reliably tell\n`#000000` from `#1B1717` and will report a dark background as black:\n\n```bash\npython scripts\u002Fpng_probe.py out.png --at 2,2 --at -3,-3\n```\n\n(Negative indices count from the far edge. Stdlib only, no PIL required.)\n\n### 5. Deliver\n\nShip the `.drawio` plus a rendered `.png` beside it — this user keeps preview\nPNGs alongside diagram files.\n\n## Always-on rules\n\n**Palette fidelity when porting from mermaid.** Translate the source's\n`%%{init ... themeVariables}%%` block onto draw.io instead of accepting defaults;\nsee `references\u002Fmermaid-porting.md` for the mapping table. Set the canvas with\n`background=\"...\"` on `\u003CmxGraphModel>`. Do not set `adaptiveColors=\"auto\"` on an\nexplicitly dark canvas — it inverts colors you deliberately chose.\n\n**Give converging and diverging edges distinct anchors.** draw.io auto-computes\nanchor points from the nodes' relative centers, so two edges entering one shape\nland on the *same* point and their arrowheads stack — it reads as a drawing\nerror. Two edges leaving one shape likewise share an exit stub. This is the\n\"specific geometric intent\" that justifies connection-point overrides:\n\n- multiple edges into one target → set a distinct `entryX`\u002F`entryY` per edge\n  (e.g. left edge `0,0.5` and bottom edge `0.5,1`)\n- multiple edges out of one source → set `exitX`\u002F`exitY` per edge\n- check that the two paths then run in separate channels and do not cross\n\n**Give edge labels a background chip.** On a dark canvas a `Yes`\u002F`No` label sits\non top of its own connector line; set `labelBackgroundColor` on the edge style.\nKeep labels to one to three words.\n\n**Size text-bearing shapes for their longest line.** A decision diamond's usable\ntext area is roughly 70% of its box — split long questions with explicit `\u003Cbr\u002F>`\nso the router cannot wrap them into the shape's sloped corners.\n\n## Pitfalls\n\n- **Never report success from `list_pages` alone.** It proves the XML parses, not\n  that the diagram draws correctly — those are different claims.\n- **Do not hand-route with `\u003CmxPoint as=\"points\">` waypoints** to dodge a\n  collision; move a node or set an entry\u002Fexit anchor instead. Hard-coded\n  waypoints break the moment anything is nudged or a layout pass runs.\n- **Do not re-send a full page of XML to `open_drawio_xml`** to \"show\" a file you\n  just wrote: the editor opens a detached copy that is not linked to the path, so\n  edits made there never reach the deliverable and the two diverge.\n- **Escape label markup.** `\u003Cbr\u002F>` in an attribute value must be `&lt;br\u002F&gt;`,\n  and every style carrying HTML needs `html=1` or the tags print literally.\n- **Do not `get_page` to confirm an edit landed** — grep the file for the changed\n  attribute instead; `get_page` costs a full page of context for one bit of\n  confirmation.\n\n## Support files\n\n- `references\u002Fmermaid-porting.md` — themeVariable → draw.io style mapping and the\n  porting checklist (needed only when converting a mermaid diagram).\n- `scripts\u002Fpng_probe.py` — stdlib PNG pixel probe for asserting exact colors.\n","# draw.io Diagram Skill\n\nAuthor `.drawio` files directly and prove they render correctly. Covers porting a\ndiagram (mermaid block, prose spec, another tool) into draw.io and placing the\nresult at a requested path.\n\nXML syntax, style properties, containers, layers, tags and layout passes are\ndocumented in the `open_drawio_xml` tool schema — read it at generation time\nrather than reproducing it here. This skill carries the **workflow and the\ndefects the schema does not mention**.\n\n## When to Use\n\n- A request names a `.drawio` file, draw.io, or asks to place a diagram at a path.\n- A mermaid block, prose spec, or another tool's diagram must become a `.drawio`.\n- An existing `.drawio` needs a page added, edited, or verified — use the MCP's\n  `list_pages` \u002F `get_page` \u002F `set_page` against it.\n\nNot the tool for hand-drawn Excalidraw JSON (see `excalidraw`) or an HTML\u002FSVG\nrender (see `architecture-diagram`).\n\n## Workflow\n\n### 1. Establish the source of truth\n\nRead the source and decide what \"faithful\" means: structure, labels, and the\nsource's *own* palette. Port those colors rather than accepting draw.io defaults\n(see **Palette fidelity**). When the source has a quirk — a repeated color, two\npaths converging on one outcome — replicate it and record it as a finding; do not\nsilently redesign. This user reviews before committing and wants discrepancies\nsurfaced, not smoothed over.\n\n### 2. Write the `.drawio` file directly\n\nThe drawio MCP's `open_drawio_xml` \u002F `open_drawio_mermaid` \u002F `open_drawio_csv`\n**open the editor and never write to disk.** An `open_*` call cannot satisfy a\n\"place it at this path\" request; create the file with `write_file`, then use the\nMCP's file operations to inspect it.\n\nEnvelope — store pages uncompressed (readable, diffable, and the MCP\ndecompresses either way):\n\n```xml\n\u003Cmxfile host=\"app.diagrams.net\" agent=\"Hermes Agent\" type=\"device\">\n  \u003Cdiagram id=\"my-diagram\" name=\"Page Name\">\n    \u003CmxGraphModel grid=\"1\" page=\"1\" pageWidth=\"1160\" pageHeight=\"1250\"\n                  background=\"#1B1717\">\n      \u003Croot>\n        \u003CmxCell id=\"0\"\u002F>\n        \u003CmxCell id=\"1\" parent=\"0\"\u002F>\n        \u003C!-- vertices then edges -->\n      \u003C\u002Froot>\n    \u003C\u002FmxGraphModel>\n  \u003C\u002Fdiagram>\n\u003C\u002Fmxfile>\n```\n\nIf the destination is a directory that already exists, place a content-named\nfile inside it — do not assume the requested path was meant as the filename.\n\n### 3. Verify it parses through the MCP\n\n`list_pages(path)` first: cheap, returns index\u002Fid\u002Fname\u002Fsize, and proves the file\nround-trips. Reach for `get_page` only when you need actual cell content — it\npulls the whole page into context. Re-run `list_pages` after any edit.\n\n### 4. Render it and LOOK at the image\n\nReading XML cannot reveal routing defects: the router computes arrowhead anchors\nand bend points at render time, and a syntactically perfect file can still draw\ntwo arrows into the same point.\n\n```bash\n\"\u002Fc\u002FProgram Files\u002Fdraw.io\u002Fdraw.io.exe\" --export --format png --scale 1 \\\n  --output \"C:\u002Fabsolute\u002Fout.png\" \"F:\u002Fabsolute\u002Fin.drawio\"\n```\n\nGive `--output` and the input Windows-style forward-slash paths — the CLI is a\nnative executable and does not understand MSYS `\u002Ftmp` paths. Exit 0 plus a\nnon-empty file is the gate; do not claim the diagram works on the strength of a\nsuccessful parse alone.\n\nThen `vision_analyze` the PNG with pointed questions, because a general \"does\nthis look right\" prompt misses defects. Ask specifically about:\n\n- text clipped or overflowing inside diamonds \u002F small shapes\n- connector lines running **through** a shape\n- two arrowheads landing on the **same point** of one target\n- edge labels colliding with shapes or with each other\n- emoji rendering as tofu boxes\n\nFix, re-export, and re-inspect until clean.\n\nTo assert an exact color, probe the PNG's pixels — vision cannot reliably tell\n`#000000` from `#1B1717` and will report a dark background as black:\n\n```bash\npython scripts\u002Fpng_probe.py out.png --at 2,2 --at -3,-3\n```\n\n(Negative indices count from the far edge. Stdlib only, no PIL required.)\n\n### 5. Deliver\n\nShip the `.drawio` plus a rendered `.png` beside it — this user keeps preview\nPNGs alongside diagram files.\n\n## Always-on rules\n\n**Palette fidelity when porting from mermaid.** Translate the source's\n`%%{init ... themeVariables}%%` block onto draw.io instead of accepting defaults;\nsee `references\u002Fmermaid-porting.md` for the mapping table. Set the canvas with\n`background=\"...\"` on `\u003CmxGraphModel>`. Do not set `adaptiveColors=\"auto\"` on an\nexplicitly dark canvas — it inverts colors you deliberately chose.\n\n**Give converging and diverging edges distinct anchors.** draw.io auto-computes\nanchor points from the nodes' relative centers, so two edges entering one shape\nland on the *same* point and their arrowheads stack — it reads as a drawing\nerror. Two edges leaving one shape likewise share an exit stub. This is the\n\"specific geometric intent\" that justifies connection-point overrides:\n\n- multiple edges into one target → set a distinct `entryX`\u002F`entryY` per edge\n  (e.g. left edge `0,0.5` and bottom edge `0.5,1`)\n- multiple edges out of one source → set `exitX`\u002F`exitY` per edge\n- check that the two paths then run in separate channels and do not cross\n\n**Give edge labels a background chip.** On a dark canvas a `Yes`\u002F`No` label sits\non top of its own connector line; set `labelBackgroundColor` on the edge style.\nKeep labels to one to three words.\n\n**Size text-bearing shapes for their longest line.** A decision diamond's usable\ntext area is roughly 70% of its box — split long questions with explicit `\u003Cbr\u002F>`\nso the router cannot wrap them into the shape's sloped corners.\n\n## Pitfalls\n\n- **Never report success from `list_pages` alone.** It proves the XML parses, not\n  that the diagram draws correctly — those are different claims.\n- **Do not hand-route with `\u003CmxPoint as=\"points\">` waypoints** to dodge a\n  collision; move a node or set an entry\u002Fexit anchor instead. Hard-coded\n  waypoints break the moment anything is nudged or a layout pass runs.\n- **Do not re-send a full page of XML to `open_drawio_xml`** to \"show\" a file you\n  just wrote: the editor opens a detached copy that is not linked to the path, so\n  edits made there never reach the deliverable and the two diverge.\n- **Escape label markup.** `\u003Cbr\u002F>` in an attribute value must be `&lt;br\u002F&gt;`,\n  and every style carrying HTML needs `html=1` or the tags print literally.\n- **Do not `get_page` to confirm an edit landed** — grep the file for the changed\n  attribute instead; `get_page` costs a full page of context for one bit of\n  confirmation.\n\n## Support files\n\n- `references\u002Fmermaid-porting.md` — themeVariable → draw.io style mapping and the\n  porting checklist (needed only when converting a mermaid diagram).\n- `scripts\u002Fpng_probe.py` — stdlib PNG pixel probe for asserting exact colors.\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":39,"description":7,"dependencies":43},"Hermes Agent","1.0.0",{"hermes":27},{"tags":28,"related_skills":36},[29,30,31,32,33,34,35],"DrawIO","Diagrams","Flowcharts","Architecture","Visualization","XML","Mermaid",[37,38],"excalidraw","architecture-diagram",[40,41,42],"linux","macos","windows",[],"main","2988869c5a7d7be2225c9ea7a54a4a56a59b0d45","workflow\u002Ffull-stack\u002Fdrawio-diagrams",0,"https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup","https:\u002F\u002Fgithub.com\u002Foat431","https:\u002F\u002Fpanomete.com\u002F","Hope and Luck is not a part of the strategy, \r\n\r\nSoftskill produces plan Hard skill produce product.","2026-11-03 00:43:08",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add oat431\u002Fhermes_config_backup --skill drawio-diagrams",{"tool":59,"command":60},"bunx","bunx skills add oat431\u002Fhermes_config_backup --skill drawio-diagrams",{"tool":62,"command":63},"pnpm","pnpm dlx skills add oat431\u002Fhermes_config_backup --skill drawio-diagrams","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Ffull-stack\u002Fdrawio-diagrams\u002FSKILL.md",true,[67,73],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fmermaid-porting.md","REFERENCE","参考文档",3466,"https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Ffull-stack\u002Fdrawio-diagrams\u002Freferences\u002Fmermaid-porting.md",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Fpng_probe.py","SCRIPT","脚本",6643,"https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Ffull-stack\u002Fdrawio-diagrams\u002Fscripts\u002Fpng_probe.py",[80,87,94,102,109,116],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7AYZ2JY3NFKAPQSC39N5F3F","project-spec-docs","Fill\u002Fupdate project_spec docs (templates, MM handoffs).","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fproject-spec-docs\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7AYYRZPE7HQX7778558X52S","penpot-mcp","Penpot MCP: connect, verify, and fix streaming via nginx.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fpenpot-mcp\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7AYYNKP61CN2281VMJDXMB5","nginx-streaming-proxy","Configure nginx for streaming endpoints (SSE, MCP, WS).","Unlicense","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fnginx-streaming-proxy\u002FSKILL.md",[],[],{"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":108,"publishedAt":19},"01M7AYYJP0MDV1D3WVEEZB3SGA","branding-ci","Use for brand\u002FCI identity, style guides, and brand docs.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fbranding-ci\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7AYYGCXVT97DDTCM0ZJT6F6","yuanbao","Yuanbao (元宝) groups: @mention users, query info\u002Fmembers.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fshared-skills\u002Fyuanbao\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7AYYC2Y65NMGMD4GQXAZMMS","slidev","Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fshared-skills\u002Fslidev\u002FSKILL.md",[],[]]