[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJ6RZWH6FDAH239H7AKEJH":3,"skill-same:01M6FJ6RZWH6FDAH239H7AKEJH":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},"01M6FJ6RZWH6FDAH239H7AKEJH","excalidraw-studio",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\u002Ftech-leads-club\u002Fagent-skills\u002Fexcalidraw-studio\u002FSKILL.md",[],[18,19,20],"excalidraw","studio","excalidraw studio","2026-11-10 10:12:30",false,"# Excalidraw Studio\n\nGenerate Excalidraw-format diagrams from natural language descriptions. Outputs `.excalidraw` JSON files that can be opened directly in Excalidraw (web, VS Code extension, or Obsidian plugin).\n\n## Workflow\n\n```\nUNDERSTAND → CHOOSE TYPE → EXTRACT → GENERATE → SAVE\n```\n\n### Step 1: Understand the Request\n\nAnalyze the user's description to determine:\n\n1. **Diagram type** — Use the decision matrix below\n2. **Key elements** — Entities, steps, concepts, actors\n3. **Relationships** — Flow direction, connections, hierarchy\n4. **Complexity** — Number of elements (target: under 20 for clarity)\n\n### Step 2: Choose the Diagram Type and Visual Mode\n\n**Diagram type:**\n\n| User Intent                | Diagram Type         | Keywords                                      |\n| -------------------------- | -------------------- | --------------------------------------------- |\n| Process flow, steps        | **Flowchart**        | \"workflow\", \"process\", \"steps\"                |\n| Connections, dependencies  | **Relationship**     | \"relationship\", \"connections\", \"dependencies\" |\n| Concept hierarchy          | **Mind Map**         | \"mind map\", \"concepts\", \"breakdown\"           |\n| System design              | **Architecture**     | \"architecture\", \"system\", \"components\"        |\n| Data movement              | **Data Flow (DFD)**  | \"data flow\", \"data processing\"                |\n| Cross-functional processes | **Swimlane**         | \"business process\", \"swimlane\", \"actors\"      |\n| Object-oriented design     | **Class Diagram**    | \"class\", \"inheritance\", \"OOP\"                 |\n| Interaction sequences      | **Sequence Diagram** | \"sequence\", \"interaction\", \"messages\"         |\n| Database design            | **ER Diagram**       | \"database\", \"entity\", \"data model\"            |\n\n**Visual mode** — decide upfront and apply consistently to all elements:\n\n| Mode       | `roughness` | `fontFamily` | When to use                                          |\n| ---------- | ----------- | ------------ | ---------------------------------------------------- |\n| **Sketch** | `1`         | `5`          | Default — informal, approachable, Excalidraw-native  |\n| **Clean**  | `0`         | `2`          | Executive presentations, formal specs                |\n| **Mixed**  | zones: `0`, shapes: `1` | `5` | Architecture diagrams (structural zones + sketchy shapes) |\n\n### Step 3: Extract Structured Information\n\nExtract the key components based on diagram type. For each type, identify:\n\n- **Nodes\u002Fentities** — What are the boxes\u002Fshapes?\n- **Connections** — What connects to what, and with what label?\n- **Hierarchy** — What contains what, what comes before what?\n- **Decision points** — Where does the flow branch?\n\nFor detailed extraction guidelines per diagram type, read `references\u002Felement-types.md`.\n\n### Step 4: Generate the Excalidraw JSON\n\n**CRITICAL: Read `references\u002Fexcalidraw-schema.md` before generating your first diagram.** It contains the correct element format, text container model, and binding system.\n\nKey rules for generation:\n\n1. **Text inside shapes** — Use `boundElements` on the shape and a separate text element with `containerId`. Never use a `label` shorthand:\n\n   ```json\n   [\n     {\n       \"id\": \"step-1\",\n       \"type\": \"rectangle\",\n       \"x\": 100, \"y\": 100, \"width\": 200, \"height\": 80,\n       \"boundElements\": [{ \"type\": \"text\", \"id\": \"text-step-1\" }]\n     },\n     {\n       \"id\": \"text-step-1\",\n       \"type\": \"text\",\n       \"x\": 130, \"y\": 128, \"width\": 140, \"height\": 24,\n       \"text\": \"My Step\", \"originalText\": \"My Step\",\n       \"fontSize\": 20, \"fontFamily\": 5,\n       \"textAlign\": \"center\", \"verticalAlign\": \"middle\",\n       \"containerId\": \"step-1\", \"lineHeight\": 1.25, \"roundness\": null\n     }\n   ]\n   ```\n\n2. **Arrow labels** — Also use `boundElements` + separate text element with `containerId`. Never use a `label` shorthand on arrows:\n\n   ```json\n   [\n     {\n       \"id\": \"arrow-1\",\n       \"type\": \"arrow\",\n       \"x\": 100, \"y\": 150,\n       \"points\": [[0, 0], [200, 0]],\n       \"boundElements\": [{ \"type\": \"text\", \"id\": \"text-arrow-1\" }]\n     },\n     {\n       \"id\": \"text-arrow-1\",\n       \"type\": \"text\",\n       \"x\": 160, \"y\": 132, \"width\": 80, \"height\": 18,\n       \"text\": \"sends data\", \"originalText\": \"sends data\",\n       \"fontSize\": 14, \"fontFamily\": 5,\n       \"textAlign\": \"center\", \"verticalAlign\": \"middle\",\n       \"containerId\": \"arrow-1\", \"lineHeight\": 1.25, \"roundness\": null\n     }\n   ]\n   ```\n\n3. **Arrow bindings** — Use `startBinding`\u002F`endBinding` (not `start`\u002F`end`). Connected shapes must list the arrow in their `boundElements`:\n\n   ```json\n   {\n     \"id\": \"shape-1\",\n     \"boundElements\": [\n       { \"type\": \"text\", \"id\": \"text-shape-1\" },\n       { \"type\": \"arrow\", \"id\": \"arrow-1\" }\n     ]\n   }\n   ```\n   ```json\n   {\n     \"id\": \"arrow-1\",\n     \"type\": \"arrow\",\n     \"startBinding\": { \"elementId\": \"shape-1\", \"focus\": 0, \"gap\": 1 },\n     \"endBinding\": { \"elementId\": \"shape-2\", \"focus\": 0, \"gap\": 1 }\n   }\n   ```\n\n4. **Element order for z-index** — Always declare shapes first, arrows second, text elements last. This guarantees text renders on top and is never obscured by arrows or other shapes.\n\n5. **Positioning** — Use grid-aligned coordinates (multiples of 20px when `gridSize: 20`). Leave 200-300px horizontal gap, 100-150px vertical gap between elements.\n\n6. **Unique IDs** — Every element must have a unique `id`. Use descriptive IDs like `\"step-1\"`, `\"decision-valid\"`, `\"arrow-1-to-2\"`, `\"text-step-1\"`.\n\n7. **Colors** — Use a consistent palette:\n\n   | Role | Color | Hex |\n   |------|-------|-----|\n   | Primary entities | Light blue | `#a5d8ff` |\n   | Process steps | Light green | `#b2f2bb` |\n   | Important\u002FCentral | Yellow | `#ffd43b` |\n   | Warnings\u002FErrors | Light red | `#ffc9c9` |\n   | Secondary | Cyan | `#96f2d7` |\n   | Default stroke | Dark | `#1e1e1e` |\n\n### Step 5: Save and Present\n\n1. Save as `\u003Cdescriptive-name>.excalidraw`\n2. Provide a summary:\n\n   ```\n   Created: user-workflow.excalidraw\n   Type: Flowchart\n   Elements: 7 shapes, 6 arrows, 1 title\n   Total: 14 elements\n\n   To view:\n   1. Visit https:\u002F\u002Fexcalidraw.com → Open → drag and drop the file\n   2. Or use the Excalidraw VS Code extension\n   3. Or open in Obsidian with the Excalidraw plugin\n   ```\n\n## Templates\n\nPre-built templates are available in `assets\u002F` for quick starting points. Use these when the diagram type matches — they provide correct structure and styling:\n\n| Template         | File                                                   |\n| ---------------- | ------------------------------------------------------ |\n| Flowchart        | `assets\u002Fflowchart-template.json`                    |\n| Relationship     | `assets\u002Frelationship-template.json`                 |\n| Mind Map         | `assets\u002Fmindmap-template.json`                      |\n| Data Flow (DFD)  | `assets\u002Fdata-flow-diagram-template.json`            |\n| Swimlane         | `assets\u002Fbusiness-flow-swimlane-template.json`       |\n| Class Diagram    | `assets\u002Fclass-diagram-template.json`                |\n| Sequence Diagram | `assets\u002Fsequence-diagram-template.json`             |\n| ER Diagram       | `assets\u002Fer-diagram-template.json`                   |\n\nRead a template when creating that diagram type for the first time. Use its structure as a base, then modify elements to match the user's request.\n\n## Icon Libraries\n\nFor professional architecture diagrams with service icons (AWS, GCP, Azure, etc.), icon libraries can be set up. Read `references\u002Ficon-libraries.md` when:\n\n- User requests an AWS\u002Fcloud architecture diagram\n- User mentions wanting specific service icons\n- You need to check if icon libraries are available\n\n## Best Practices\n\n### Element Count\n\n| Diagram Type          | Recommended | Maximum |\n| --------------------- | ----------- | ------- |\n| Flowchart steps       | 3-10        | 15      |\n| Relationship entities | 3-8         | 12      |\n| Mind map branches     | 4-6         | 8       |\n| Sub-topics per branch | 2-4         | 6       |\n\nIf the user's request exceeds maximum, suggest breaking into multiple diagrams:\n\n> \"Your request includes 15 components. For clarity, I recommend: (1) High-level architecture diagram with 6 main components, (2) Detailed sub-diagrams for each subsystem. Want me to start with the high-level view?\"\n\n### Layout\n\n- **Flow direction**: Left-to-right for processes, top-to-bottom for hierarchies\n- **Spacing**: 200-300px horizontal, 100-150px vertical between elements\n- **Grid alignment**: Position on multiples of 20px for clean alignment\n- **Margins**: Minimum 50px from canvas edge\n- **Text sizing**: 28-36px titles, 18-22px labels, 14-16px annotations\n- **Font**: Use `fontFamily: 5` (Excalifont) for hand-drawn consistency. Fallback to `1` (Virgil) if 5 is not supported.\n- **Background zones**: For architecture diagrams, add semi-transparent dashed zone rectangles (`opacity: 35`, `strokeStyle: \"dashed\"`, `roughness: 0`) as the first elements in the array to create visual grouping regions. See `references\u002Fexcalidraw-schema.md` → Background Zones.\n- **Element order**: zones first → shapes → arrows → text elements (ensures correct z-index and text always renders on top)\n\n### Common Mistakes to Avoid\n\n- ❌ Using `label: { text: \"...\" }` shorthand on shapes or arrows — not supported by the Excalidraw parser\n- ❌ Putting `text` directly on shape elements without `containerId`\n- ❌ Using `start`\u002F`end` for arrow bindings — use `startBinding`\u002F`endBinding` with `elementId`\u002F`focus`\u002F`gap`\n- ❌ Forgetting to add arrows to their connected shapes' `boundElements` arrays\n- ❌ Omitting `originalText`, `lineHeight`, `autoResize`, or `backgroundColor: \"transparent\"` from text elements inside containers\n- ❌ Omitting required base properties (`angle`, `strokeStyle`, `opacity`, `groupIds`, `frameId`, `index`, `isDeleted`, `seed`, `version`, `versionNonce`, `updated`, `link`, `locked`) — elements will not render\n- ❌ Missing `\"files\": {}` at the top level of the JSON\n- ❌ Using `roundness: { \"type\": 3 }` on ellipses — ellipses must use `roundness: null`\n- ❌ Missing `lastCommittedPoint`, `startArrowhead`, `endArrowhead` on arrows\n- ❌ Declaring text elements before arrows — text renders underneath and gets obscured\n- ❌ Floating arrows without bindings (won't move with shapes)\n- ❌ Overlapping elements (increase spacing)\n- ❌ Inconsistent color usage (define palette upfront)\n- ❌ Too many elements on one diagram (break into sub-diagrams)\n\n## Validation Checklist\n\nBefore delivering the diagram, verify:\n\n- [ ] All elements have unique IDs\n- [ ] Every element has ALL required base properties: `angle`, `strokeStyle`, `opacity`, `groupIds`, `frameId`, `index`, `isDeleted`, `link`, `locked`, `seed`, `version`, `versionNonce`, `updated`\n- [ ] `index` values are assigned in order (`\"a0\"`, `\"a1\"`, …) with text elements getting higher values than shapes\u002Farrows\n- [ ] Top-level JSON includes `\"files\": {}`\n- [ ] Shapes with text use `boundElements` + separate text element with `containerId`\n- [ ] Text elements inside containers have `containerId`, `originalText`, `lineHeight: 1.25`, `autoResize: true`, `roundness: null`, `backgroundColor: \"transparent\"`\n- [ ] Arrows use `startBinding`\u002F`endBinding` (with `elementId`, `focus`, `gap`) when connecting shapes, plus `lastCommittedPoint: null`, `startArrowhead: null`, `endArrowhead: \"arrow\"`\n- [ ] Connected shapes list the arrow in their `boundElements` arrays\n- [ ] Element order: shapes → arrows → text elements (text always on top)\n- [ ] Ellipses use `roundness: null` (not `{ \"type\": 3 }`)\n- [ ] Coordinates prevent overlapping (check spacing)\n- [ ] Text is readable (font size 16+)\n- [ ] Colors follow consistent scheme\n- [ ] File is valid JSON\n- [ ] Element count is reasonable (\u003C20 for clarity)\n\n## Troubleshooting\n\n| Issue                         | Solution                                                                                      |\n| ----------------------------- | --------------------------------------------------------------------------------------------- |\n| Text not showing in shapes    | Use `boundElements` + separate text element with `containerId`, `originalText`, `lineHeight`  |\n| Text hidden behind arrows     | Move text elements to end of `elements` array (after all arrows)                             |\n| Arrows don't move with shapes | Use `startBinding`\u002F`endBinding` with `elementId`, `focus: 0`, `gap: 1`                       |\n| Shape not moving with arrows  | Add the arrow to the shape's `boundElements` array                                            |\n| Elements overlap              | Increase spacing between coordinates                                                          |\n| Text doesn't fit              | Increase shape width or reduce font size                                                      |\n| Too many elements             | Break into multiple diagrams                                                                  |\n| Colors look inconsistent      | Define color palette upfront, apply consistently                                              |\n\n## Limitations\n\n- Complex curves are simplified to straight\u002Fbasic curved lines\n- Hand-drawn roughness is set to default (1)\n- No embedded images in auto-generation (use icon libraries for service icons)\n- Maximum recommended: 20 elements per diagram for clarity\n- No automatic collision detection — use spacing guidelines\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Ftech-leads-club\u002Fagent-skills\u002Fexcalidraw-studio",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 excalidraw-studio",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill excalidraw-studio",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill excalidraw-studio","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Ftech-leads-club\u002Fagent-skills\u002Fexcalidraw-studio\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]]