diagram-skill SKILL.md skillA
diagram-skill from codingfeng101/canvasanvil is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add codingfeng101/canvasanvil/diagram-skill@git:20261107.4066bfaPins git:20261107.4066bfa in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- codingfeng101/canvasanvil
- Path
skill/diagram-skill/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261107.4066bfa, committed Nov 7, 2026
- First version recorded
- Oct 27, 2026
- Size
- 5,977 bytes
- Repository stars
- 174
- License
- MIT
Generate, edit, and validate draw.io or diagrams.net diagrams as XML, then open them directly in the draw.io online editor so the user can keep editing there. Use for new diagrams, local XML edits, shape-library diagrams, and truncated XML continuation.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Diagram Skill ## Trigger Use when the user asks for a diagram, flowchart, architecture diagram, network diagram, ER diagram, BPMN diagram, or a cloud/infrastructure diagram, or mentions draw.io, diagrams.net, drawio, or a `.drawio` file. ## Order 1. Classify the request. 2. Read the required references. 3. Plan: in 1–3 sentences, say what the diagram shows, its layout kind, its groups and its main flow (for an edit, what changes and why). Show the plan to the user. 4. Produce or modify draw.io XML, laid out on a grid for that layout kind. 5. Write the XML to a `.drawio` file (a scratch file if file writes are limited). 6. Validate the structure with `scripts/validate-drawio-xml.mjs`. 7. Check the layout with `scripts/check-layout.mjs`. Fix every error it reports and run it again, keeping the arrangement while fixing. 8. Build an online editor URL and open it in the agent's built-in browser. 9. Return the plan, the XML code, the `.drawio` path, the layout score and the online editor link. ## Classification - `prompts/display.md` - new diagram - major rewrite - major relayout - any case where local editing is fragile - `prompts/edit.md` - current XML exists …
Read the whole file at its exact version.
How to install
mdr add codingfeng101/canvasanvil/diagram-skill@sha256:05acfbbc6bd56503The line at the top of this page pins the label git:20261107.4066bfa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_4sw5urzgaudfpt5h)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Oct 27, 2026 and Nov 7, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261107.4066bfa latest | 2026-11-07 | 4066bfa | 5,977 B | A | view · diff |
| git:20261106.7bb8df8 | 2026-11-06 | 7bb8df8 | 5,753 B | A | view · diff |
| git:20261027.5dabe63 | 2026-10-27 | 5dabe63 | 4,157 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5977 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
codingfeng101/canvasanvil · 174 stars · license MIT · pushed 2026-11-09 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4sw5urzgaudfpt5h GET https://markdownregistry.com/api/v1/resolve?ref=codingfeng101/canvasanvil/diagram-skill GET https://markdownregistry.com/api/v1/blob/05acfbbc6bd565033bf8bff533e85cefabd841d715039caa7362260f36c471e3
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.