[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DKA0HKMB03C2NHEYPK0F4M":3,"skill-same:01M7DKA0HKMB03C2NHEYPK0F4M":116},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7DKA0HKMB03C2NHEYPK0F4M","excalidraw-skill",null,"Use for planning, creating, refining, validating, or exporting Excalidraw technical diagrams, including text-only layout proposals before drawing","OrestesK\u002Fomp","OrestesK","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F56927612?v=4","01M7DK9Q3Z03HDVD07W2XSS629","Orestes Kassian","01M7DK9Q520XE48CJKXXKP6HHA",0,"MIT","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: excalidraw-skill\ndescription: Use for planning, creating, refining, validating, or exporting Excalidraw technical diagrams, including text-only layout proposals before drawing\n---\n\n# Excalidraw Skill\n\n## Plan the explanation\n\n- For a before\u002Fafter diagram or an explanation of what changes, read [`references\u002Fchange-explanations.md`](references\u002Fchange-explanations.md) before choosing the layout\n- For a text-only layout request, apply the design guidance and return the proposed composition without opening or changing a canvas\n    - Rendered-image gates apply when drawing is requested. Do not claim visual validation from a text plan\n\n## Design and validation for new diagrams\n\nFor every nontrivial new rendered diagram, complete these design and validation steps before you call the result complete:\n1. Read [`references\u002Forestes-clean-style.md`](references\u002Forestes-clean-style.md). It is the default style\n2. Read [`references\u002Fquality-gates.md`](references\u002Fquality-gates.md)\n3. If the user supplies visual references or native `.excalidraw` files, inspect them before layout. Reference-established traits override every generic default\n4. Decide who will read the diagram, its one-sentence takeaway, output size, overview or detail level, required claims, and non-goals\n5. Make a semantic cut: choose the facts the diagram needs to show. Do not force every source fact onto one canvas. Ask for approval before omitting or materially abstracting facts\n6. Use the overview budget and view-specific checks in `references\u002Fquality-gates.md`. Split into panels or another diagram when exceeded\n7. Construct and screenshot in stages: skeleton → primary arrows → optional clusters\n8. Run the native scene audit and inspect the final export at native, 50%, 35%, and grayscale sizes\n9. For nontrivial work, run a broad blind adversarial review\n\nThe diagram must have complete labels, the allowed arrow count, no clipping at full zoom, and pass the required reviews\n\n## Step 0: Pick an Interface\n\nThree interfaces drive the same live canvas. Pick the first one that applies:\n1. **MCP tools** — if `excalidraw\u002F*` tools (e.g. `batch_create_elements`) are in your tool list, prefer them: results land directly in your context, and screenshots come back as images without touching disk\n2. **CLI** (default when no MCP tools are present):\n   ```bash\n   npx -y mcp-excalidraw-server \u003Ccommand>\n   ```\n   No setup needed — any canvas-touching command **auto-starts the canvas server** on `http:\u002F\u002F127.0.0.1:3000` (first `npx` run downloads the package). If the CLI is installed globally (`npm i -g mcp-excalidraw-server`), the shorter alias `excalidraw-canvas \u003Ccommand>` works too\n3. **REST API** (last resort, e.g. from application code): HTTP endpoints on `http:\u002F\u002F127.0.0.1:3000` — see `references\u002Fcheatsheet.md` for payloads. The server must already be running\n\nThe canvas URL comes from `EXPRESS_SERVER_URL` (default `http:\u002F\u002F127.0.0.1:3000`). Remind the user to open that URL in a browser — screenshots, image export, mermaid conversion, and viewport control need an open tab (CLI exits with code 4 when it's missing)\n\n### CLI Quick Reference\n\nResults are JSON on stdout — except `describe` (plain text) and raw-content output when `--out` is omitted (`export` scene JSON, `screenshot --format svg`). Diagnostics on stderr. Exit codes: 0 ok, 1 error, 2 usage, 3 canvas unreachable, 4 browser tab required\n\n| Task | Command |\n|------|---------|\n| Start \u002F stop \u002F inspect server | `start`, `stop`, `status` |\n| Create elements (batch) | `add elements.json` or `echo '[...]' \\| add` or `add --one '{...}'` |\n| Multi-op patch in one call | `apply patch.json` — `{\"create\":[...],\"update\":[{\"id\":\"a\",\"set\":{...}}],\"delete\":[...]}` |\n| Read one \u002F query many | `get \u003Cid>`, `query [--type t] [--bbox x0,y0,x1,y1] [--filter k=v] [--filter-json '{...}']` |\n| Update \u002F delete | `update \u003Cid> --set '{...}'`, `delete \u003Cid> [...]` |\n| Understand the scene | `describe` (plain-text summary: ids, positions, labels, connections) |\n| See the scene | `screenshot [--out f.png]` (PNG without `--out` → temp file path in JSON |\n| | SVG without `--out` → raw SVG) |\n| Layout operations | `arrange align\\|distribute\\|group\\|ungroup\\|lock\\|unlock\\|duplicate --ids a,b,c [--to left\\|horizontal\\|...]` |\n| Scene files | `export [--out scene.excalidraw]`, `import [scene.excalidraw|-] [--replace]` |\n| Mermaid → canvas | `mermaid [diagram.mmd|-]` (or stdin) |\n| Snapshots | `snapshot save\\|list\\|restore \u003Cname>` |\n| Share link | `share` (encrypted upload → excalidraw.com URL) |\n| Wipe canvas | `clear --yes` |\n| Install \u002F upgrade this skill | `install-skill --dir \u003Cskills-root>` (agent chooses project\u002Fglobal root) |\n\n### Element Format (CLI and MCP)\n\nThe CLI and MCP tools accept the same agent-friendly format and normalize it automatically:\n- **Labels**: put `\"text\": \"My Label\"` on any shape — converted to Excalidraw's bound-label format for you\n- **Arrow binding**: `\"startElementId\": \"a\"` \u002F `\"endElementId\": \"b\"` — arrows auto-route to element edges\n- **fontFamily**: pass a string name (`\"helvetica\"`, `\"cascadia\"`, `\"excalifont\"`, ...) or string number `\"1\"`–`\"8\"`\n- **points**: both `[[x,y], ...]` tuples and `[{\"x\":..,\"y\":..}]` objects are accepted\n- **Patch updates**: in `apply`, update entries can use either direct fields (`{\"id\":\"a\",\"x\":120}`) or a `set` object (`{\"id\":\"a\",\"set\":{\"x\":120}}`). Do not mix both forms in one update entry\n\n**Raw REST is stricter**: labels must be `\"label\": {\"text\": \"...\"}`, bindings must be `\"start\": {\"id\": \"...\"}` \u002F `\"end\": {\"id\": \"...\"}`. Only worry about this when POSTing to the API directly\n\n---\n\n## Coordinate System\n\nThe canvas uses a 2D coordinate grid: **(0, 0) is the origin**, **x increases rightward**, **y increases downward**. Plan your layout before writing any JSON\n\n**General spacing guidelines:**\n- Vertical spacing between tiers: 80–120px (enough that arrows don't crowd labels)\n- Horizontal spacing between siblings: 40–60px minimum:\n  - give labeled arrows 120px+\n- Shape width: `max(160, labelCharCount * 12)` to keep the label on one line\n- Shape height: 60px single-line, 80px two-line labels\n- Background\u002Fzone padding: 50px on all sides around contained elements\n\n**Default local style:**\n- White canvas\n- roughness `1`\n- black or near-black linework\n- Transparent rounded rectangles by default. Use pale semantic fills sparingly and only when they improve role recognition\n- Body labels are normally 20px\n- titles 30–36px\n- small boundary\u002Farrow annotations never below 16px\n- Semantic arrows are black, solid, 2px, short\u002Fdirect, and bound to both endpoints\n- Dashed light-gray rectangles represent real scope boundaries only. Do not start with decorative background zones\n- The palette in the cheatsheet is a fallback library, not a requirement to create color categories\n\n---\n\n## Layout Anti-Patterns (Critical for Complex Diagrams)\n\nThese are the most common mistakes that produce unreadable diagrams. Avoid all of them\n\n### 1. Do NOT use `label.text` (or `text`) on large background zone rectangles\n\nWhen you put a label on a background rectangle, Excalidraw creates a bound text element centered in the middle of that shape — right where your service boxes will be placed. The text overlaps everything inside the zone and cannot be repositioned\n\n**Wrong:**\n```json\n{\"id\": \"vpc-zone\", \"type\": \"rectangle\", \"x\": 50, \"y\": 50, \"width\": 800, \"height\": 400, \"text\": \"VPC (10.0.0.0\u002F16)\"}\n```\n\n**Right — use a free-standing text element anchored at the top of the zone:**\n```json\n{\"id\": \"vpc-zone\", \"type\": \"rectangle\", \"x\": 50, \"y\": 50, \"width\": 800, \"height\": 400, \"backgroundColor\": \"transparent\", \"strokeColor\": \"#adb5bd\", \"strokeStyle\": \"dashed\"},\n{\"id\": \"vpc-label\", \"type\": \"text\", \"x\": 70, \"y\": 60, \"width\": 300, \"height\": 30, \"text\": \"VPC (10.0.0.0\u002F16)\", \"fontSize\": 18}\n```\n\nThe free-standing text element sits at the top corner of the zone and doesn't interfere with elements placed inside\n\n### 2. Avoid cross-zone arrows in complex diagrams\n\nAn arrow from an element in one layout zone to an element in a distant zone will draw a long diagonal line crossing through everything in between. In a multi-zone infra diagram this produces an unreadable tangle of spaghetti\n\n**Design rule:** Keep arrows within the same zone or tier. To show cross-zone relationships, make zone edges adjacent, use one explicit cross-panel edge, or split the content into separate views\n\nDo not use a canvas-spanning perimeter arrow as the usual workaround. A long return path, multi-bend route, or global loop usually means the diagram should move responsibilities, merge duplicate concepts, or split into views\n\n### 3. Use arrow labels sparingly\n\nArrow labels are placed at the midpoint of the arrow. On short arrows, they overlap the shapes at both ends. On crowded diagrams, they collide with nearby elements:\n- Only add an arrow label when the relationship name is genuinely essential (e.g., protocol, port number, data direction)\n- If you're adding a label to every arrow, reconsider — it usually adds visual noise, not clarity\n- Keep arrow labels to ≤ 12 characters. Prefer omitting them entirely on dense diagrams\n\n---\n\n## Check each staged batch\n\nAfter every staged `add`, `apply`, or `batch_create_elements`, take a screenshot and check:\n1. **Primary story** — Can the main comparison, central relationship, or primary route be identified in under three seconds without reading supporting notes? For a flow, is its endpoint clear?\n2. **Hierarchy** — Is the main takeaway dominant, with supporting concerns visibly subordinate?\n3. **Text truncation** — Is all label text fully visible? Increase the shape or reduce copy\n   never solve this by shrinking below the style floor\n4. **Overlap** — Do any semantic shapes share space? Do boundaries contain children with real padding?\n5. **Arrow topology** — Do arrows cut through unrelated elements, cross without bridge\u002Fjunction meaning, or point into empty space? Prefer moving nodes or splitting the view over complex routing\n6. **Binding** — Is every semantic relationship one arrow bound to both endpoints? Free arrows must be explicit annotations\n7. **Arrow-label ownership** — Is every route label visibly attached to exactly one route?\n8. **Spacing and balance** — At least 40px between elements\n   no large empty void beside a congested cluster\n9. **Readability** — Default body text is 20px\n   no annotation below 16px. Judge the rendered target size, not canvas zoom\n10. **Color independence** — Do critical distinctions survive grayscale? Is color meaning consistent and limited?\n11. **Zone label placement** — Keep boundary titles as free-standing text at the top, not centered bound labels\n12. **Reference fidelity** — Does the result match the extracted style contract rather than generic palette defaults?\n\nIf any issue appears: **stop, fix it, re-screenshot, then continue.** The complete final gates are in `references\u002Fquality-gates.md`\n\n---\n\n## Workflow: Drawing a New Diagram\n\n### Mermaid vs. Direct Creation — Which to Use?\n\n**Use `mermaid` \u002F `create_from_mermaid`** when: the user already has a Mermaid diagram, or the structure maps cleanly to a flowchart\u002Fsequence\u002FER diagram with standard Mermaid syntax. It's fast and handles conversion automatically, though you get less control over exact layout\n\n**Create elements directly** when: you need precise layout control, the diagram type doesn't map to Mermaid well (e.g., custom architecture, annotated cloud diagrams), or you want elements positioned in a specific coordinate grid\n\n### Steps (CLI shown: MCP tools are 1:1 — see cheatsheet)\n\n1. Complete the design steps above. `references\u002Fquality-gates.md` gives the required detail\n2. Plan the coordinate grid, panels, and main comparison, central relationship, or route before writing JSON. Identify endpoints for flows\n3. Only after the user approves discarding the current scene, or after a named snapshot under an approved replacement workflow, run `npx -y mcp-excalidraw-server clear --yes`\n4. Create only title\u002Fboundaries and primary nodes first. Use descriptive IDs. Screenshot and correct hierarchy\u002Fwhitespace before arrows:\n   ```bash\n   npx -y mcp-excalidraw-server add - \u003C\u003C'EOF'\n   [\n     {\"id\": \"lb\", \"type\": \"rectangle\", \"x\": 300, \"y\": 50, \"width\": 180, \"height\": 60, \"text\": \"Load Balancer\"},\n     {\"id\": \"svc-a\", \"type\": \"rectangle\", \"x\": 100, \"y\": 200, \"width\": 160, \"height\": 60, \"text\": \"Web Server 1\"},\n     {\"id\": \"svc-b\", \"type\": \"rectangle\", \"x\": 450, \"y\": 200, \"width\": 160, \"height\": 60, \"text\": \"Web Server 2\"},\n     {\"id\": \"db\", \"type\": \"rectangle\", \"x\": 275, \"y\": 350, \"width\": 210, \"height\": 60, \"text\": \"PostgreSQL\"}\n   ]\n   EOF\n   ```\n   (The `-` positional is optional — with no file argument, `add` reads stdin)\n5. Set shape widths using `max(160, labelLength * 12)` and use the 20px body-text default\n6. Add the primary semantic arrows in a second batch. Bind each arrow with `startElementId` and `endElementId`\n   screenshot and trace the main relationships\n7. Add optional branches and callouts one bounded cluster at a time. Screenshot after each cluster and stop when the one-sentence takeaway is complete\n8. Export the native scene. Resolve the skill directory from the loaded `SKILL.md`, then run:\n   ```bash\n   python \u002Fabsolute\u002Fpath\u002Fto\u002Fexcalidraw-skill\u002Fscripts\u002Faudit_scene.py path\u002Fto\u002Fdiagram.excalidraw --mode overview\n   ```\n   Exit `0` is clean, `1` is blocked, `2` is invalid input, and `3` means review is required before acceptance\n9. Export the intended PNG\u002FSVG and complete native, 50%, 35%, grayscale, semantic, and blind visual reviews before reporting readiness\n\n---\n\n## Arrow Routing — Avoid Overlaps\n\nStraight arrows can cross through elements in complex diagrams. Use curved or elbowed arrows when needed:\n\n**Curved arrows** (smooth arc over obstacles):\n```json\n{\n  \"type\": \"arrow\", \"x\": 100, \"y\": 100,\n  \"points\": [[0, 0], [50, -40], [200, 0]],\n  \"roundness\": {\"type\": 2}\n}\n```\nThe intermediate waypoint `[50, -40]` lifts the arrow upward. `roundness: {type: 2}` makes it smooth\n\n**Elbowed arrows** (right-angle \u002F L-shaped routing):\n```json\n{\n  \"type\": \"arrow\", \"x\": 100, \"y\": 100,\n  \"points\": [[0, 0], [0, -50], [200, -50], [200, 0]],\n  \"elbowed\": true\n}\n```\n\n**When to use which:**\n- Default semantic relationship: direct two-point arrow, bound at both ends\n- Fan-out: slightly curved bound arrows only when spacing alone cannot separate them\n- Cross-panel edge: one short explicit edge between adjacent boundaries\n- Annotation pointer: may be unbound only when marked with `customData.auditRole = \"annotation\"`\n\n**Rule:** If an arrow would pass through an unrelated shape, move the elements first. If that cannot produce a local route, split or panelize the content. Waypoints are a last resort, not the primary layout mechanism\n\n---\n\n## Workflow: Iterative Refinement\n\nUse `describe` to inspect scene data and `screenshot` to inspect the rendered result:\n- **`describe`** (`describe_scene` in MCP) returns element IDs, types, positions, labels, and connections. Use it before programmatic updates to find IDs and understand bounding boxes\n- **`screenshot`** (`get_canvas_screenshot` in MCP) returns a PNG of the rendered canvas. Use it to check what the user sees, including truncation, overlap, and arrow routing. The CLI prints the saved file path as JSON\n  read or view that file\n\n**Feedback loop:**\n```\nadd elements\n  → screenshot → view → \"text truncated on auth-svc\"\n  → update auth-svc --set '{\"width\": 220}' → screenshot → \"overlap between auth-svc and rate-limiter\"\n  → update rate-limiter --set '{\"x\": 520}' → screenshot → \"check the next cluster; final gates still remain\"\n  → continue to the next staged cluster; final gates still remain\n```\n\n## Workflow: Refine an Existing Diagram\n\n1. Classify the change:\n   - **Localized non-semantic:** one move, resize, typo, or style correction that does not alter the final scene's story or topology\n   - **Material:** adds or removes nodes or routes, changes hierarchy, scope, or visual grammar, or prepares the final deliverable\n2. For a material change, repeat the applicable design steps and complete the native audit plus the target-size, 50%, 35%, grayscale, semantic, and blind visual reviews. Do not classify a redesign as a localized refinement\n3. `describe` to understand current state — note element IDs and positions\n4. Identify elements by `id` or label text, not coordinates\n5. Update, delete, or use one `apply` patch. Bound arrows re-route when endpoints move\n   do not replace a semantic edge with disconnected line pieces\n6. `screenshot` after the local change. For material changes, use staged cluster screenshots and the complete final gates\n7. If updates fail: check the ID exists with `get \u003Cid>`\n   unlock it if needed\n\n## Workflow: Mermaid Conversion\n\n```bash\necho 'graph TD\n  A[Client] --> B[API]\n  B --> C[(DB)]' | npx -y mcp-excalidraw-server mermaid\n```\nRequires an open browser tab (conversion runs in the frontend\nexit code 4 tells you to open the canvas URL). Afterwards `screenshot` to verify layout. If the auto-layout is poor (nodes crowded, edges crossing), find problem elements with `describe` and reposition them with `update`\n\n## Workflow: File I\u002FO\n\n- Export scene: `export --out diagram.excalidraw` (no `--out` → JSON to stdout)\n- Import scene: `import diagram.excalidraw` (append) or `import diagram.excalidraw --replace`\n- Image: `screenshot --out diagram.png` \u002F `screenshot --format svg --out diagram.svg` (browser tab required)\n- Share link: `share` — encrypts the scene and returns a shareable excalidraw.com URL\n\nThis is how diagrams live in a repo: commit the `.excalidraw` file, and re-`import` + edit + `export` it when the architecture changes\n\n## Workflow: Snapshots\n\n1. `snapshot save \u003Cname>` before risky changes\n2. Make changes, evaluate with `describe` \u002F `screenshot`\n3. `snapshot restore \u003Cname>` to roll back if needed. `snapshot list` shows what's saved\n\n## Workflow: Duplication\n\n`arrange duplicate --ids a,b --offset 40,40` (default offset 20,20). Useful for repeated patterns or copying layouts\n\n## Error Recovery\n\n- **Exit code 3 (canvas unreachable)?** Auto-start is disabled (`EXCALIDRAW_NO_AUTOSTART=1`) or a non-loopback `EXPRESS_SERVER_URL` is set. Run `start` explicitly or fix the env\n- **Exit code 4 (browser required)?** Open `http:\u002F\u002F127.0.0.1:3000` in a browser, then retry — screenshots, image export, viewport, and mermaid conversion render in the frontend\n- **Elements not appearing?** Check `describe` — they may be off-screen. In MCP mode, `set_viewport` with `scrollToContent: true`\n  in a browser, press the zoom-to-fit button\n- **Arrow not connecting?** Verify element IDs with `get \u003Cid>`. Make sure `startElementId`\u002F`endElementId` match existing element IDs\n- **Canvas in a bad state?** Prefer `snapshot restore` when a suitable snapshot exists. Otherwise, save a named snapshot and obtain approval to discard the current scene before `clear --yes` and rebuild\n- **Element won't update?** It may be locked — `arrange unlock --ids \u003Cid>` first\n- **Duplicate text elements \u002F element count doubling?** The frontend auto-sync timer periodically writes the full Excalidraw scene back to the server. Excalidraw internally generates a bound text element for every shape with a label\n  clearing and re-sending elements can re-inject cached bound texts. Clean up: `query --type text` to find elements with a `containerId`, `delete` the unwanted ones, wait a few seconds for auto-sync to settle. To prevent this, follow the background-zone labeling rule above\n\n---\n\n## References\n\n- [`references\u002Fchange-explanations.md`](references\u002Fchange-explanations.md): before\u002Fafter composition, core and supporting concerns, local rationale, and text-only planning\n- [`references\u002Forestes-clean-style.md`](references\u002Forestes-clean-style.md): default visual grammar and reference-matching rules\n- [`references\u002Fquality-gates.md`](references\u002Fquality-gates.md): intake, semantic reduction, complexity budgets, staged construction, target-scale\u002Fgrayscale, and adversarial review gates\n- [`references\u002Fcheatsheet.md`](references\u002Fcheatsheet.md): full CLI reference, MCP tools, REST API endpoints, payload shapes, and fallback colors\u002Fsizing\n- [`scripts\u002Faudit_scene.py`](scripts\u002Faudit_scene.py): deterministic native-scene structural audit:\n  - use visual review in addition to it\n","# Excalidraw Skill\n\n## Plan the explanation\n\n- For a before\u002Fafter diagram or an explanation of what changes, read [`references\u002Fchange-explanations.md`](references\u002Fchange-explanations.md) before choosing the layout\n- For a text-only layout request, apply the design guidance and return the proposed composition without opening or changing a canvas\n    - Rendered-image gates apply when drawing is requested. Do not claim visual validation from a text plan\n\n## Design and validation for new diagrams\n\nFor every nontrivial new rendered diagram, complete these design and validation steps before you call the result complete:\n1. Read [`references\u002Forestes-clean-style.md`](references\u002Forestes-clean-style.md). It is the default style\n2. Read [`references\u002Fquality-gates.md`](references\u002Fquality-gates.md)\n3. If the user supplies visual references or native `.excalidraw` files, inspect them before layout. Reference-established traits override every generic default\n4. Decide who will read the diagram, its one-sentence takeaway, output size, overview or detail level, required claims, and non-goals\n5. Make a semantic cut: choose the facts the diagram needs to show. Do not force every source fact onto one canvas. Ask for approval before omitting or materially abstracting facts\n6. Use the overview budget and view-specific checks in `references\u002Fquality-gates.md`. Split into panels or another diagram when exceeded\n7. Construct and screenshot in stages: skeleton → primary arrows → optional clusters\n8. Run the native scene audit and inspect the final export at native, 50%, 35%, and grayscale sizes\n9. For nontrivial work, run a broad blind adversarial review\n\nThe diagram must have complete labels, the allowed arrow count, no clipping at full zoom, and pass the required reviews\n\n## Step 0: Pick an Interface\n\nThree interfaces drive the same live canvas. Pick the first one that applies:\n1. **MCP tools** — if `excalidraw\u002F*` tools (e.g. `batch_create_elements`) are in your tool list, prefer them: results land directly in your context, and screenshots come back as images without touching disk\n2. **CLI** (default when no MCP tools are present):\n   ```bash\n   npx -y mcp-excalidraw-server \u003Ccommand>\n   ```\n   No setup needed — any canvas-touching command **auto-starts the canvas server** on `http:\u002F\u002F127.0.0.1:3000` (first `npx` run downloads the package). If the CLI is installed globally (`npm i -g mcp-excalidraw-server`), the shorter alias `excalidraw-canvas \u003Ccommand>` works too\n3. **REST API** (last resort, e.g. from application code): HTTP endpoints on `http:\u002F\u002F127.0.0.1:3000` — see `references\u002Fcheatsheet.md` for payloads. The server must already be running\n\nThe canvas URL comes from `EXPRESS_SERVER_URL` (default `http:\u002F\u002F127.0.0.1:3000`). Remind the user to open that URL in a browser — screenshots, image export, mermaid conversion, and viewport control need an open tab (CLI exits with code 4 when it's missing)\n\n### CLI Quick Reference\n\nResults are JSON on stdout — except `describe` (plain text) and raw-content output when `--out` is omitted (`export` scene JSON, `screenshot --format svg`). Diagnostics on stderr. Exit codes: 0 ok, 1 error, 2 usage, 3 canvas unreachable, 4 browser tab required\n\n| Task | Command |\n|------|---------|\n| Start \u002F stop \u002F inspect server | `start`, `stop`, `status` |\n| Create elements (batch) | `add elements.json` or `echo '[...]' \\| add` or `add --one '{...}'` |\n| Multi-op patch in one call | `apply patch.json` — `{\"create\":[...],\"update\":[{\"id\":\"a\",\"set\":{...}}],\"delete\":[...]}` |\n| Read one \u002F query many | `get \u003Cid>`, `query [--type t] [--bbox x0,y0,x1,y1] [--filter k=v] [--filter-json '{...}']` |\n| Update \u002F delete | `update \u003Cid> --set '{...}'`, `delete \u003Cid> [...]` |\n| Understand the scene | `describe` (plain-text summary: ids, positions, labels, connections) |\n| See the scene | `screenshot [--out f.png]` (PNG without `--out` → temp file path in JSON |\n| | SVG without `--out` → raw SVG) |\n| Layout operations | `arrange align\\|distribute\\|group\\|ungroup\\|lock\\|unlock\\|duplicate --ids a,b,c [--to left\\|horizontal\\|...]` |\n| Scene files | `export [--out scene.excalidraw]`, `import [scene.excalidraw|-] [--replace]` |\n| Mermaid → canvas | `mermaid [diagram.mmd|-]` (or stdin) |\n| Snapshots | `snapshot save\\|list\\|restore \u003Cname>` |\n| Share link | `share` (encrypted upload → excalidraw.com URL) |\n| Wipe canvas | `clear --yes` |\n| Install \u002F upgrade this skill | `install-skill --dir \u003Cskills-root>` (agent chooses project\u002Fglobal root) |\n\n### Element Format (CLI and MCP)\n\nThe CLI and MCP tools accept the same agent-friendly format and normalize it automatically:\n- **Labels**: put `\"text\": \"My Label\"` on any shape — converted to Excalidraw's bound-label format for you\n- **Arrow binding**: `\"startElementId\": \"a\"` \u002F `\"endElementId\": \"b\"` — arrows auto-route to element edges\n- **fontFamily**: pass a string name (`\"helvetica\"`, `\"cascadia\"`, `\"excalifont\"`, ...) or string number `\"1\"`–`\"8\"`\n- **points**: both `[[x,y], ...]` tuples and `[{\"x\":..,\"y\":..}]` objects are accepted\n- **Patch updates**: in `apply`, update entries can use either direct fields (`{\"id\":\"a\",\"x\":120}`) or a `set` object (`{\"id\":\"a\",\"set\":{\"x\":120}}`). Do not mix both forms in one update entry\n\n**Raw REST is stricter**: labels must be `\"label\": {\"text\": \"...\"}`, bindings must be `\"start\": {\"id\": \"...\"}` \u002F `\"end\": {\"id\": \"...\"}`. Only worry about this when POSTing to the API directly\n\n---\n\n## Coordinate System\n\nThe canvas uses a 2D coordinate grid: **(0, 0) is the origin**, **x increases rightward**, **y increases downward**. Plan your layout before writing any JSON\n\n**General spacing guidelines:**\n- Vertical spacing between tiers: 80–120px (enough that arrows don't crowd labels)\n- Horizontal spacing between siblings: 40–60px minimum:\n  - give labeled arrows 120px+\n- Shape width: `max(160, labelCharCount * 12)` to keep the label on one line\n- Shape height: 60px single-line, 80px two-line labels\n- Background\u002Fzone padding: 50px on all sides around contained elements\n\n**Default local style:**\n- White canvas\n- roughness `1`\n- black or near-black linework\n- Transparent rounded rectangles by default. Use pale semantic fills sparingly and only when they improve role recognition\n- Body labels are normally 20px\n- titles 30–36px\n- small boundary\u002Farrow annotations never below 16px\n- Semantic arrows are black, solid, 2px, short\u002Fdirect, and bound to both endpoints\n- Dashed light-gray rectangles represent real scope boundaries only. Do not start with decorative background zones\n- The palette in the cheatsheet is a fallback library, not a requirement to create color categories\n\n---\n\n## Layout Anti-Patterns (Critical for Complex Diagrams)\n\nThese are the most common mistakes that produce unreadable diagrams. Avoid all of them\n\n### 1. Do NOT use `label.text` (or `text`) on large background zone rectangles\n\nWhen you put a label on a background rectangle, Excalidraw creates a bound text element centered in the middle of that shape — right where your service boxes will be placed. The text overlaps everything inside the zone and cannot be repositioned\n\n**Wrong:**\n```json\n{\"id\": \"vpc-zone\", \"type\": \"rectangle\", \"x\": 50, \"y\": 50, \"width\": 800, \"height\": 400, \"text\": \"VPC (10.0.0.0\u002F16)\"}\n```\n\n**Right — use a free-standing text element anchored at the top of the zone:**\n```json\n{\"id\": \"vpc-zone\", \"type\": \"rectangle\", \"x\": 50, \"y\": 50, \"width\": 800, \"height\": 400, \"backgroundColor\": \"transparent\", \"strokeColor\": \"#adb5bd\", \"strokeStyle\": \"dashed\"},\n{\"id\": \"vpc-label\", \"type\": \"text\", \"x\": 70, \"y\": 60, \"width\": 300, \"height\": 30, \"text\": \"VPC (10.0.0.0\u002F16)\", \"fontSize\": 18}\n```\n\nThe free-standing text element sits at the top corner of the zone and doesn't interfere with elements placed inside\n\n### 2. Avoid cross-zone arrows in complex diagrams\n\nAn arrow from an element in one layout zone to an element in a distant zone will draw a long diagonal line crossing through everything in between. In a multi-zone infra diagram this produces an unreadable tangle of spaghetti\n\n**Design rule:** Keep arrows within the same zone or tier. To show cross-zone relationships, make zone edges adjacent, use one explicit cross-panel edge, or split the content into separate views\n\nDo not use a canvas-spanning perimeter arrow as the usual workaround. A long return path, multi-bend route, or global loop usually means the diagram should move responsibilities, merge duplicate concepts, or split into views\n\n### 3. Use arrow labels sparingly\n\nArrow labels are placed at the midpoint of the arrow. On short arrows, they overlap the shapes at both ends. On crowded diagrams, they collide with nearby elements:\n- Only add an arrow label when the relationship name is genuinely essential (e.g., protocol, port number, data direction)\n- If you're adding a label to every arrow, reconsider — it usually adds visual noise, not clarity\n- Keep arrow labels to ≤ 12 characters. Prefer omitting them entirely on dense diagrams\n\n---\n\n## Check each staged batch\n\nAfter every staged `add`, `apply`, or `batch_create_elements`, take a screenshot and check:\n1. **Primary story** — Can the main comparison, central relationship, or primary route be identified in under three seconds without reading supporting notes? For a flow, is its endpoint clear?\n2. **Hierarchy** — Is the main takeaway dominant, with supporting concerns visibly subordinate?\n3. **Text truncation** — Is all label text fully visible? Increase the shape or reduce copy\n   never solve this by shrinking below the style floor\n4. **Overlap** — Do any semantic shapes share space? Do boundaries contain children with real padding?\n5. **Arrow topology** — Do arrows cut through unrelated elements, cross without bridge\u002Fjunction meaning, or point into empty space? Prefer moving nodes or splitting the view over complex routing\n6. **Binding** — Is every semantic relationship one arrow bound to both endpoints? Free arrows must be explicit annotations\n7. **Arrow-label ownership** — Is every route label visibly attached to exactly one route?\n8. **Spacing and balance** — At least 40px between elements\n   no large empty void beside a congested cluster\n9. **Readability** — Default body text is 20px\n   no annotation below 16px. Judge the rendered target size, not canvas zoom\n10. **Color independence** — Do critical distinctions survive grayscale? Is color meaning consistent and limited?\n11. **Zone label placement** — Keep boundary titles as free-standing text at the top, not centered bound labels\n12. **Reference fidelity** — Does the result match the extracted style contract rather than generic palette defaults?\n\nIf any issue appears: **stop, fix it, re-screenshot, then continue.** The complete final gates are in `references\u002Fquality-gates.md`\n\n---\n\n## Workflow: Drawing a New Diagram\n\n### Mermaid vs. Direct Creation — Which to Use?\n\n**Use `mermaid` \u002F `create_from_mermaid`** when: the user already has a Mermaid diagram, or the structure maps cleanly to a flowchart\u002Fsequence\u002FER diagram with standard Mermaid syntax. It's fast and handles conversion automatically, though you get less control over exact layout\n\n**Create elements directly** when: you need precise layout control, the diagram type doesn't map to Mermaid well (e.g., custom architecture, annotated cloud diagrams), or you want elements positioned in a specific coordinate grid\n\n### Steps (CLI shown: MCP tools are 1:1 — see cheatsheet)\n\n1. Complete the design steps above. `references\u002Fquality-gates.md` gives the required detail\n2. Plan the coordinate grid, panels, and main comparison, central relationship, or route before writing JSON. Identify endpoints for flows\n3. Only after the user approves discarding the current scene, or after a named snapshot under an approved replacement workflow, run `npx -y mcp-excalidraw-server clear --yes`\n4. Create only title\u002Fboundaries and primary nodes first. Use descriptive IDs. Screenshot and correct hierarchy\u002Fwhitespace before arrows:\n   ```bash\n   npx -y mcp-excalidraw-server add - \u003C\u003C'EOF'\n   [\n     {\"id\": \"lb\", \"type\": \"rectangle\", \"x\": 300, \"y\": 50, \"width\": 180, \"height\": 60, \"text\": \"Load Balancer\"},\n     {\"id\": \"svc-a\", \"type\": \"rectangle\", \"x\": 100, \"y\": 200, \"width\": 160, \"height\": 60, \"text\": \"Web Server 1\"},\n     {\"id\": \"svc-b\", \"type\": \"rectangle\", \"x\": 450, \"y\": 200, \"width\": 160, \"height\": 60, \"text\": \"Web Server 2\"},\n     {\"id\": \"db\", \"type\": \"rectangle\", \"x\": 275, \"y\": 350, \"width\": 210, \"height\": 60, \"text\": \"PostgreSQL\"}\n   ]\n   EOF\n   ```\n   (The `-` positional is optional — with no file argument, `add` reads stdin)\n5. Set shape widths using `max(160, labelLength * 12)` and use the 20px body-text default\n6. Add the primary semantic arrows in a second batch. Bind each arrow with `startElementId` and `endElementId`\n   screenshot and trace the main relationships\n7. Add optional branches and callouts one bounded cluster at a time. Screenshot after each cluster and stop when the one-sentence takeaway is complete\n8. Export the native scene. Resolve the skill directory from the loaded `SKILL.md`, then run:\n   ```bash\n   python \u002Fabsolute\u002Fpath\u002Fto\u002Fexcalidraw-skill\u002Fscripts\u002Faudit_scene.py path\u002Fto\u002Fdiagram.excalidraw --mode overview\n   ```\n   Exit `0` is clean, `1` is blocked, `2` is invalid input, and `3` means review is required before acceptance\n9. Export the intended PNG\u002FSVG and complete native, 50%, 35%, grayscale, semantic, and blind visual reviews before reporting readiness\n\n---\n\n## Arrow Routing — Avoid Overlaps\n\nStraight arrows can cross through elements in complex diagrams. Use curved or elbowed arrows when needed:\n\n**Curved arrows** (smooth arc over obstacles):\n```json\n{\n  \"type\": \"arrow\", \"x\": 100, \"y\": 100,\n  \"points\": [[0, 0], [50, -40], [200, 0]],\n  \"roundness\": {\"type\": 2}\n}\n```\nThe intermediate waypoint `[50, -40]` lifts the arrow upward. `roundness: {type: 2}` makes it smooth\n\n**Elbowed arrows** (right-angle \u002F L-shaped routing):\n```json\n{\n  \"type\": \"arrow\", \"x\": 100, \"y\": 100,\n  \"points\": [[0, 0], [0, -50], [200, -50], [200, 0]],\n  \"elbowed\": true\n}\n```\n\n**When to use which:**\n- Default semantic relationship: direct two-point arrow, bound at both ends\n- Fan-out: slightly curved bound arrows only when spacing alone cannot separate them\n- Cross-panel edge: one short explicit edge between adjacent boundaries\n- Annotation pointer: may be unbound only when marked with `customData.auditRole = \"annotation\"`\n\n**Rule:** If an arrow would pass through an unrelated shape, move the elements first. If that cannot produce a local route, split or panelize the content. Waypoints are a last resort, not the primary layout mechanism\n\n---\n\n## Workflow: Iterative Refinement\n\nUse `describe` to inspect scene data and `screenshot` to inspect the rendered result:\n- **`describe`** (`describe_scene` in MCP) returns element IDs, types, positions, labels, and connections. Use it before programmatic updates to find IDs and understand bounding boxes\n- **`screenshot`** (`get_canvas_screenshot` in MCP) returns a PNG of the rendered canvas. Use it to check what the user sees, including truncation, overlap, and arrow routing. The CLI prints the saved file path as JSON\n  read or view that file\n\n**Feedback loop:**\n```\nadd elements\n  → screenshot → view → \"text truncated on auth-svc\"\n  → update auth-svc --set '{\"width\": 220}' → screenshot → \"overlap between auth-svc and rate-limiter\"\n  → update rate-limiter --set '{\"x\": 520}' → screenshot → \"check the next cluster; final gates still remain\"\n  → continue to the next staged cluster; final gates still remain\n```\n\n## Workflow: Refine an Existing Diagram\n\n1. Classify the change:\n   - **Localized non-semantic:** one move, resize, typo, or style correction that does not alter the final scene's story or topology\n   - **Material:** adds or removes nodes or routes, changes hierarchy, scope, or visual grammar, or prepares the final deliverable\n2. For a material change, repeat the applicable design steps and complete the native audit plus the target-size, 50%, 35%, grayscale, semantic, and blind visual reviews. Do not classify a redesign as a localized refinement\n3. `describe` to understand current state — note element IDs and positions\n4. Identify elements by `id` or label text, not coordinates\n5. Update, delete, or use one `apply` patch. Bound arrows re-route when endpoints move\n   do not replace a semantic edge with disconnected line pieces\n6. `screenshot` after the local change. For material changes, use staged cluster screenshots and the complete final gates\n7. If updates fail: check the ID exists with `get \u003Cid>`\n   unlock it if needed\n\n## Workflow: Mermaid Conversion\n\n```bash\necho 'graph TD\n  A[Client] --> B[API]\n  B --> C[(DB)]' | npx -y mcp-excalidraw-server mermaid\n```\nRequires an open browser tab (conversion runs in the frontend\nexit code 4 tells you to open the canvas URL). Afterwards `screenshot` to verify layout. If the auto-layout is poor (nodes crowded, edges crossing), find problem elements with `describe` and reposition them with `update`\n\n## Workflow: File I\u002FO\n\n- Export scene: `export --out diagram.excalidraw` (no `--out` → JSON to stdout)\n- Import scene: `import diagram.excalidraw` (append) or `import diagram.excalidraw --replace`\n- Image: `screenshot --out diagram.png` \u002F `screenshot --format svg --out diagram.svg` (browser tab required)\n- Share link: `share` — encrypts the scene and returns a shareable excalidraw.com URL\n\nThis is how diagrams live in a repo: commit the `.excalidraw` file, and re-`import` + edit + `export` it when the architecture changes\n\n## Workflow: Snapshots\n\n1. `snapshot save \u003Cname>` before risky changes\n2. Make changes, evaluate with `describe` \u002F `screenshot`\n3. `snapshot restore \u003Cname>` to roll back if needed. `snapshot list` shows what's saved\n\n## Workflow: Duplication\n\n`arrange duplicate --ids a,b --offset 40,40` (default offset 20,20). Useful for repeated patterns or copying layouts\n\n## Error Recovery\n\n- **Exit code 3 (canvas unreachable)?** Auto-start is disabled (`EXCALIDRAW_NO_AUTOSTART=1`) or a non-loopback `EXPRESS_SERVER_URL` is set. Run `start` explicitly or fix the env\n- **Exit code 4 (browser required)?** Open `http:\u002F\u002F127.0.0.1:3000` in a browser, then retry — screenshots, image export, viewport, and mermaid conversion render in the frontend\n- **Elements not appearing?** Check `describe` — they may be off-screen. In MCP mode, `set_viewport` with `scrollToContent: true`\n  in a browser, press the zoom-to-fit button\n- **Arrow not connecting?** Verify element IDs with `get \u003Cid>`. Make sure `startElementId`\u002F`endElementId` match existing element IDs\n- **Canvas in a bad state?** Prefer `snapshot restore` when a suitable snapshot exists. Otherwise, save a named snapshot and obtain approval to discard the current scene before `clear --yes` and rebuild\n- **Element won't update?** It may be locked — `arrange unlock --ids \u003Cid>` first\n- **Duplicate text elements \u002F element count doubling?** The frontend auto-sync timer periodically writes the full Excalidraw scene back to the server. Excalidraw internally generates a bound text element for every shape with a label\n  clearing and re-sending elements can re-inject cached bound texts. Clean up: `query --type text` to find elements with a `containerId`, `delete` the unwanted ones, wait a few seconds for auto-sync to settle. To prevent this, follow the background-zone labeling rule above\n\n---\n\n## References\n\n- [`references\u002Fchange-explanations.md`](references\u002Fchange-explanations.md): before\u002Fafter composition, core and supporting concerns, local rationale, and text-only planning\n- [`references\u002Forestes-clean-style.md`](references\u002Forestes-clean-style.md): default visual grammar and reference-matching rules\n- [`references\u002Fquality-gates.md`](references\u002Fquality-gates.md): intake, semantic reduction, complexity budgets, staged construction, target-scale\u002Fgrayscale, and adversarial review gates\n- [`references\u002Fcheatsheet.md`](references\u002Fcheatsheet.md): full CLI reference, MCP tools, REST API endpoints, payload shapes, and fallback colors\u002Fsizing\n- [`scripts\u002Faudit_scene.py`](scripts\u002Faudit_scene.py): deterministic native-scene structural audit:\n  - use visual review in addition to it\n",{"name":5,"description":7},"main","e1bdb2ccfce81095d27d7b6bbfe77647cb329f82","skills\u002Fexcalidraw-skill","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp","https:\u002F\u002Fgithub.com\u002FOrestesK","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Forestes-kassian\u002F","@ Vals","2026-10-16 11:06:27",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add OrestesK\u002Fomp --skill excalidraw-skill",{"tool":38,"command":39},"bunx","bunx skills add OrestesK\u002Fomp --skill excalidraw-skill",{"tool":41,"command":42},"pnpm","pnpm dlx skills add OrestesK\u002Fomp --skill excalidraw-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002FSKILL.md",true,[46,52,58,62,66,70,74,78,82,86,90,94,98,104,108,112],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"evals\u002Fevals.json","REFERENCE","参考文档",7714,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Fevals.json",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"evals\u002Ffixtures\u002Fbad-overview.excalidraw","OTHER","其他",13028,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Ffixtures\u002Fbad-overview.excalidraw",{"path":59,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":60,"sourceHtmlUrl":61},"evals\u002Ffixtures\u002Fdecision-flow.json",1139,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Ffixtures\u002Fdecision-flow.json",{"path":63,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":64,"sourceHtmlUrl":65},"evals\u002Ffixtures\u002Fnarrow-review.md",307,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Ffixtures\u002Fnarrow-review.md",{"path":67,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":68,"sourceHtmlUrl":69},"evals\u002Ffixtures\u002Fsemantic-inventory.json",4451,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Ffixtures\u002Fsemantic-inventory.json",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Ffixtures\u002Fstyle-a.excalidraw",3098,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Ffixtures\u002Fstyle-a.excalidraw",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Ffixtures\u002Fstyle-b.excalidraw",2899,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Ffixtures\u002Fstyle-b.excalidraw",{"path":79,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Ffixtures\u002Fstyle-c.excalidraw",4147,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fevals\u002Ffixtures\u002Fstyle-c.excalidraw",{"path":83,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fchange-explanations.md",7106,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Freferences\u002Fchange-explanations.md",{"path":87,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fcheatsheet.md",9710,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Freferences\u002Fcheatsheet.md",{"path":91,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Forestes-clean-style.md",5295,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Freferences\u002Forestes-clean-style.md",{"path":95,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fquality-gates.md",6037,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Freferences\u002Fquality-gates.md",{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Faudit_scene.py","SCRIPT","脚本",20672,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fscripts\u002Faudit_scene.py",{"path":105,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fvalidate_semantic_cut.py",17070,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Fscripts\u002Fvalidate_semantic_cut.py",{"path":109,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":110,"sourceHtmlUrl":111},"tests\u002Ftest_audit_scene.py",18079,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Ftests\u002Ftest_audit_scene.py",{"path":113,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":114,"sourceHtmlUrl":115},"tests\u002Ftest_validate_semantic_cut.py",10064,"https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fexcalidraw-skill\u002Ftests\u002Ftest_validate_semantic_cut.py",[117,123,130,137,144,151],{"skillNo":118,"name":119,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7DKBGDWZJV1A5CEKC3DQRV1","vals-memory","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fvals-memory\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M7DKBD4FBQ24P4Q0FWDWE44Q","skill-authoring","Write or revise reusable skill instructions. Use when defining a skill's activation boundary, workflow, constraints, examples, or instructional prose. Do not use for runtime configuration or placement","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fskill-authoring\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M7DKBA5CW10JWBG7TPBNEF4W","session-analysis","Use to analyze past sessions, reconstruct what happened, identify errors and unresolved work, or extract user preferences and workflow friction that could improve agent configuration","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fsession-analysis\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M7DKB8422XHJQ6CJT6HW8P7H","semantic-git","Use for structural Git analysis such as changed functions, semantic diffs, impact analysis, and blame","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fsemantic-git\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":19},"01M7DKB2X8K4W1D334YP9PK4TN","review","Use for independent review of nontrivial implementation proposals before approval and nontrivial implementations before final evidence; also use for explicit code, plan, feedback, pull-request, issue, or deep code-quality, structural, or simplification review","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"01M7DKAYC6GTP988RDYR18DGXK","pr-slack-post","Draft a short Slack message that posts a pull request for review. Use when asked to write, craft, or suggest a Slack message or post for one or more PRs","https:\u002F\u002Fgithub.com\u002FOrestesK\u002Fomp\u002Fblob\u002Fmain\u002Fskills\u002Fpr-slack-post\u002FSKILL.md",[],[]]