[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718GWKT5QQE1FDEE37R6DYT":3,"skill-same:01M718GWKT5QQE1FDEE37R6DYT":59},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M718GWKT5QQE1FDEE37R6DYT","draw",null,"Vector graphics and diagram creation, format conversion (ODG\u002FSVG\u002FPDF) with LibreOffice Draw.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fdraw\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31],"PDF","personal","safe","graphics","diagram","vector","format","conversion","creation","SVG","processing","with","2026","2026-11-10 10:12:30",false,"---\nname: draw\ndescription: \"Vector graphics and diagram creation, format conversion (ODG\u002FSVG\u002FPDF) with LibreOffice Draw.\"\ncategory: graphics-processing\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# LibreOffice Draw\n\n## Overview\n\nLibreOffice Draw skill for creating, editing, converting, and automating vector graphics and diagram workflows using the native ODG (OpenDocument Drawing) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating vector graphics and diagrams in ODG format\n- Converting between ODG, SVG, PDF, PNG formats\n- Automating diagram and flowchart generation\n- Creating technical drawings and schematics\n- Batch processing graphics operations\n\n## Core Capabilities\n\n### 1. Graphics Creation\n- Create new ODG drawings from scratch\n- Generate diagrams from templates\n- Create flowcharts and org charts\n- Design technical drawings\n\n### 2. Format Conversion\n- ODG to other formats: SVG, PDF, PNG, JPG\n- Other formats to ODG: SVG, PDF\n- Batch conversion of multiple files\n\n### 3. Diagram Automation\n- Template-based diagram generation\n- Automated flowchart creation\n- Dynamic shape generation\n- Batch diagram production\n\n### 4. Graphics Manipulation\n- Shape creation and manipulation\n- Path and bezier curve editing\n- Layer management\n- Text and label insertion\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Integration with workflow tools\n\n## Workflows\n\n### Creating a New Drawing\n\n#### Method 1: Command-Line\n```bash\nsoffice --draw template.odg\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_drawing():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.drawing.DrawingDocument\", ctx)\n    page = doc.getDrawPages().getByIndex(0)\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fdrawing.odg\", ())\n    doc.close(True)\n```\n\n### Converting Drawings\n\n```bash\n# ODG to SVG\nsoffice --headless --convert-to svg drawing.odg\n\n# ODG to PDF\nsoffice --headless --convert-to pdf drawing.odg\n\n# ODG to PNG\nsoffice --headless --convert-to png:PNG_drawing drawing.odg\n\n# SVG to ODG\nsoffice --headless --convert-to odg drawing.svg\n\n# Batch convert\nfor file in *.odg; do\n    soffice --headless --convert-to pdf \"$file\"\ndone\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODG (native), SVG, PDF\n\n### Supported Output Formats\n- ODG, SVG, PDF, PNG, JPG, GIF, BMP, WMF, EMF\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --draw  # Draw\n```\n\n## Python Libraries\n\n```bash\npip install ezodf     # ODF handling\npip install odfpy     # ODF manipulation\npip install svgwrite  # SVG generation\n```\n\n## Best Practices\n\n1. Use layers for organization\n2. Create templates for recurring diagrams\n3. Use vector formats for scalability\n4. Name objects for easy reference\n5. Store ODG source files in version control\n6. Test conversions thoroughly\n7. Export to SVG for web use\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n### Quality Issues in PNG Export\n```bash\nsoffice --headless --convert-to png:PNG_drawing_Export \\\n  --filterData='{\"Width\":2048,\"Height\":2048}' drawing.odg\n```\n\n## Resources\n\n- [LibreOffice Draw Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [SVG Specification](https:\u002F\u002Fwww.w3.org\u002FTR\u002FSVG\u002F)\n\n## Related Skills\n\n- writer\n- calc\n- impress\n- base\n- workflow-automation\n","# LibreOffice Draw\n\n## Overview\n\nLibreOffice Draw skill for creating, editing, converting, and automating vector graphics and diagram workflows using the native ODG (OpenDocument Drawing) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating vector graphics and diagrams in ODG format\n- Converting between ODG, SVG, PDF, PNG formats\n- Automating diagram and flowchart generation\n- Creating technical drawings and schematics\n- Batch processing graphics operations\n\n## Core Capabilities\n\n### 1. Graphics Creation\n- Create new ODG drawings from scratch\n- Generate diagrams from templates\n- Create flowcharts and org charts\n- Design technical drawings\n\n### 2. Format Conversion\n- ODG to other formats: SVG, PDF, PNG, JPG\n- Other formats to ODG: SVG, PDF\n- Batch conversion of multiple files\n\n### 3. Diagram Automation\n- Template-based diagram generation\n- Automated flowchart creation\n- Dynamic shape generation\n- Batch diagram production\n\n### 4. Graphics Manipulation\n- Shape creation and manipulation\n- Path and bezier curve editing\n- Layer management\n- Text and label insertion\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Integration with workflow tools\n\n## Workflows\n\n### Creating a New Drawing\n\n#### Method 1: Command-Line\n```bash\nsoffice --draw template.odg\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_drawing():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.drawing.DrawingDocument\", ctx)\n    page = doc.getDrawPages().getByIndex(0)\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fdrawing.odg\", ())\n    doc.close(True)\n```\n\n### Converting Drawings\n\n```bash\n# ODG to SVG\nsoffice --headless --convert-to svg drawing.odg\n\n# ODG to PDF\nsoffice --headless --convert-to pdf drawing.odg\n\n# ODG to PNG\nsoffice --headless --convert-to png:PNG_drawing drawing.odg\n\n# SVG to ODG\nsoffice --headless --convert-to odg drawing.svg\n\n# Batch convert\nfor file in *.odg; do\n    soffice --headless --convert-to pdf \"$file\"\ndone\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODG (native), SVG, PDF\n\n### Supported Output Formats\n- ODG, SVG, PDF, PNG, JPG, GIF, BMP, WMF, EMF\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --draw  # Draw\n```\n\n## Python Libraries\n\n```bash\npip install ezodf     # ODF handling\npip install odfpy     # ODF manipulation\npip install svgwrite  # SVG generation\n```\n\n## Best Practices\n\n1. Use layers for organization\n2. Create templates for recurring diagrams\n3. Use vector formats for scalability\n4. Name objects for easy reference\n5. Store ODG source files in version control\n6. Test conversions thoroughly\n7. Export to SVG for web use\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n### Quality Issues in PNG Export\n```bash\nsoffice --headless --convert-to png:PNG_drawing_Export \\\n  --filterData='{\"Width\":2048,\"Height\":2048}' drawing.odg\n```\n\n## Resources\n\n- [LibreOffice Draw Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [SVG Specification](https:\u002F\u002Fwww.w3.org\u002FTR\u002FSVG\u002F)\n\n## Related Skills\n\n- writer\n- calc\n- impress\n- base\n- workflow-automation\n",{"name":5,"risk":21,"source":20,"category":37,"date_added":38,"description":7},"graphics-processing","2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fglobal\u002Fdraw","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill draw",{"tool":51,"command":52},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill draw",{"tool":54,"command":55},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill draw","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fdraw\u002FSKILL.md",true,[],[60,70,77,85,91,99],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":69},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":69},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":69},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":86,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":69},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":69},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":69},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]