[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FHTNKQ8BVSSGBAVTEJYE0V":3,"skill-same:01M6FHTNKQ8BVSSGBAVTEJYE0V":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6FHTNKQ8BVSSGBAVTEJYE0V","draw-io",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fsoftaworks\u002Fagent-toolkit\u002Fdraw-io\u002FSKILL.md",[],[18,19,20],"draw io","draw","io","2026-11-10 10:12:30",false,"# draw.io Diagram Skill\n\n## 1. Basic Rules\n\n- Edit only `.drawio` files\n- Do not directly edit `.drawio.png` files\n- Use auto-generated `.drawio.png` by pre-commit hook in slides\n\n## 2. Font Settings\n\nFor diagrams used in Quarto slides,\nspecify `defaultFontFamily` in mxGraphModel tag:\n\n```xml\n\u003CmxGraphModel defaultFontFamily=\"Noto Sans JP\" ...>\n```\n\nAlso explicitly specify `fontFamily` in each text element's style attribute:\n\n```xml\nstyle=\"text;html=1;fontSize=27;fontFamily=Noto Sans JP;\"\n```\n\n## 3. Conversion Commands\n\nSee conversion script at [scripts\u002Fconvert-drawio-to-png.sh](scripts\u002Fconvert-drawio-to-png.sh).\n\n```sh\n# Convert all .drawio files\nmise exec -- pre-commit run --all-files\n\n# Convert specific .drawio file\nmise exec -- pre-commit run convert-drawio-to-png --files assets\u002Fmy-diagram.drawio\n\n# Run script directly (using skill's script)\nbash ~\u002F.claude\u002Fskills\u002Fdraw-io\u002Fscripts\u002Fconvert-drawio-to-png.sh assets\u002Fdiagram1.drawio\n```\n\nInternal command used:\n\n```sh\ndrawio -x -f png -s 2 -t -o output.drawio.png input.drawio\n```\n\n| Option | Description |\n|--------|-------------|\n| `-x` | Export mode |\n| `-f png` | PNG format output |\n| `-s 2` | 2x scale (high resolution) |\n| `-t` | Transparent background |\n| `-o` | Output file path |\n\n## 4. Layout Adjustment\n\n### 4.1. Coordinate Adjustment Steps\n\n1. Open `.drawio` file in text editor (plain XML format)\n2. Find `mxCell` for element to adjust (search by `value` attribute for text)\n3. Adjust coordinates in `mxGeometry` tag\n   - `x`: Position from left\n   - `y`: Position from top\n   - `width`: Width\n   - `height`: Height\n4. Run conversion and verify\n\n### 4.2. Coordinate Calculation\n\n- Element center coordinate = `y + (height \u002F 2)`\n- To align multiple elements, calculate and match center coordinates\n\n## 5. Design Principles\n\n### 5.1. Basic Principles\n\n- Clarity: Create simple, visually clean diagrams\n- Consistency: Unify colors, fonts, icon sizes, line thickness\n- Accuracy: Do not sacrifice accuracy for simplification\n\n### 5.2. Element Rules\n\n- Label all elements\n- Use arrows to indicate direction\n  (prefer 2 unidirectional arrows over bidirectional)\n- Use latest official icons\n- Add legend to explain custom symbols\n\n### 5.3. Accessibility\n\n- Ensure sufficient color contrast\n- Use patterns in addition to colors\n\n### 5.4. Progressive Disclosure\n\nSeparate complex systems into staged diagrams:\n\n| Diagram Type | Purpose |\n|--------------|---------|\n| Context Diagram | System overview from external perspective |\n| System Diagram | Main components and relationships |\n| Component Diagram | Technical details and integration points |\n| Deployment Diagram | Infrastructure configuration |\n| Data Flow Diagram | Data flow and transformation |\n| Sequence Diagram | Time-series interactions |\n\n### 5.5. Metadata\n\nInclude title, description, last updated, author, and version in diagrams.\n\n## 6. Best Practices\n\n### 6.1. Background Color\n\n- Remove `background=\"#ffffff\"`\n- Transparent background adapts to various themes\n\n### 6.2. Font Size\n\n- Use 1.5x standard font size (around 18px) for PDF readability\n\n### 6.3. Japanese Text Width\n\n- Allow 30-40px per character\n- Insufficient width causes unintended line breaks\n\n```xml\n\u003C!-- For 10-character text, allow 300-400px -->\n\u003CmxGeometry x=\"140\" y=\"60\" width=\"400\" height=\"40\" \u002F>\n```\n\n### 6.4. Arrow Placement\n\n- Always place arrows at back (position in XML right after Title)\n- Position arrows to avoid overlapping with labels\n- Keep arrow start\u002Fend at least 20px from label bottom edge\n\n```xml\n\u003C!-- Title -->\n\u003CmxCell id=\"title\" value=\"...\" ...\u002F>\n\n\u003C!-- Arrows (back layer) -->\n\u003CmxCell id=\"arrow1\" style=\"edgeStyle=...\" ...\u002F>\n\n\u003C!-- Other elements (front layer) -->\n\u003CmxCell id=\"box1\" ...\u002F>\n```\n\n### 6.5. Arrow Connection to Text Labels\n\nFor text elements, exitX\u002FexitY don't work, so use explicit coordinates:\n\n```xml\n\u003C!-- Good: Explicit coordinates with sourcePoint\u002FtargetPoint -->\n\u003CmxCell id=\"arrow\" style=\"...\" edge=\"1\" parent=\"1\">\n  \u003CmxGeometry relative=\"1\" as=\"geometry\">\n    \u003CmxPoint x=\"1279\" y=\"500\" as=\"sourcePoint\"\u002F>\n    \u003CmxPoint x=\"119\" y=\"500\" as=\"targetPoint\"\u002F>\n    \u003CArray as=\"points\">\n      \u003CmxPoint x=\"1279\" y=\"560\"\u002F>\n      \u003CmxPoint x=\"119\" y=\"560\"\u002F>\n    \u003C\u002FArray>\n  \u003C\u002FmxGeometry>\n\u003C\u002FmxCell>\n```\n\n### 6.6. edgeLabel Offset Adjustment\n\nAdjust offset attribute to distance arrow labels from arrows:\n\n```xml\n\u003C!-- Place above arrow (negative value to distance) -->\n\u003CmxPoint x=\"0\" y=\"-40\" as=\"offset\"\u002F>\n\n\u003C!-- Place below arrow (positive value to distance) -->\n\u003CmxPoint x=\"0\" y=\"40\" as=\"offset\"\u002F>\n```\n\n### 6.7. Remove Unnecessary Elements\n\n- Remove decorative icons irrelevant to context\n- Example: If ECR exists, separate Docker icon is unnecessary\n\n### 6.8. Labels and Headings\n\n- Service name only: 1 line\n- Service name + supplementary info: 2 lines with line break\n- Redundant notation (e.g., ECR Container Registry): shorten to 1 line\n- Use `&lt;br&gt;` tag for line breaks\n\n### 6.9. Background Frame and Internal Element Placement\n\nWhen placing elements inside background frames (grouping boxes),\nensure sufficient margin.\n\n- YOU MUST: Internal elements must have at least 30px margin from frame boundary\n- YOU MUST: Account for rounded corners (`rounded=1`) and stroke width\n- YOU MUST: Always visually verify PNG output for overflow\n\nCoordinate calculation verification:\n\n```text\nBackground frame: y=20, height=400 -> range is y=20-420\nInternal element top: frame y + 30 or more (e.g., y=50)\nInternal element bottom: frame y + height - 30 or less (e.g., up to y=390)\n```\n\nBad example (may overflow):\n\n```xml\n\u003C!-- Background frame -->\n\u003CmxCell id=\"bg\" style=\"rounded=1;strokeWidth=3;...\">\n  \u003CmxGeometry x=\"500\" y=\"20\" width=\"560\" height=\"400\" \u002F>\n\u003C\u002FmxCell>\n\u003C!-- Text: y=30 is too close to frame top (y=20) -->\n\u003CmxCell id=\"label\" value=\"Title\" style=\"text;...\">\n  \u003CmxGeometry x=\"510\" y=\"30\" width=\"540\" height=\"35\" \u002F>\n\u003C\u002FmxCell>\n```\n\nGood example (sufficient margin):\n\n```xml\n\u003C!-- Background frame -->\n\u003CmxCell id=\"bg\" style=\"rounded=1;strokeWidth=3;...\">\n  \u003CmxGeometry x=\"500\" y=\"20\" width=\"560\" height=\"430\" \u002F>\n\u003C\u002FmxCell>\n\u003C!-- Text: y=50 is 30px from frame top (y=20) -->\n\u003CmxCell id=\"label\" value=\"Title\" style=\"text;...\">\n  \u003CmxGeometry x=\"510\" y=\"50\" width=\"540\" height=\"35\" \u002F>\n\u003C\u002FmxCell>\n```\n\n## 7. Reference\n\n- [Layout Guidelines](references\u002Flayout-guidelines.md)\n- [AWS Icons](references\u002Faws-icons.md)\n- [AWS Icon Search Script](scripts\u002Ffind_aws_icon.py)\n\nAWS icon search examples:\n\n```sh\npython ~\u002F.claude\u002Fskills\u002Fdraw-io\u002Fscripts\u002Ffind_aws_icon.py ec2\npython ~\u002F.claude\u002Fskills\u002Fdraw-io\u002Fscripts\u002Ffind_aws_icon.py lambda\n```\n\n## 8. Checklist\n\n- [ ] No background color set (page=\"0\")\n- [ ] Font size appropriate (larger recommended)\n- [ ] Arrows placed at back layer\n- [ ] Arrows not overlapping labels (verify in PNG)\n- [ ] Arrow start\u002Fend sufficiently distant from labels (at least 20px)\n- [ ] Arrows not penetrating boxes or icons (verify in PNG)\n- [ ] Internal elements not overflowing background frame (verify in PNG)\n- [ ] 30px+ margin between background frame and internal elements\n- [ ] AWS service names are official names\u002Fcorrect abbreviations\n- [ ] AWS icons are latest version (mxgraph.aws4.*)\n- [ ] No unnecessary elements remaining\n- [ ] Visually verified PNG conversion\n\n## 9. Image Display in reveal.js Slides\n\nAdd `auto-stretch: false` to YAML header:\n\n```yaml\n---\ntitle: \"Your Presentation\"\nformat:\n  revealjs:\n    auto-stretch: false\n---\n```\n\nThis ensures correct image display on mobile devices.\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fsoftaworks\u002Fagent-toolkit\u002Fdraw-io",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill draw-io",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill draw-io",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill draw-io","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fsoftaworks\u002Fagent-toolkit\u002Fdraw-io\u002FSKILL.md",true,[],[49,58,67,76,82,88],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[55,56,57],"model","model hierarchy","model hierarchy skill",{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[64,65,66],"MCP","zoom","zoom mcp",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[73,74,75,65],"sdk","zoom apps sdk","apps",{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[78],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[90]]