alpha

Sets standards for creating and validating draw.io diagrams in mxGraph XML, with a required workflow, templates and a validator script.
description: "Use when creating, editing, or reviewing draw.io diagrams and mxGraph XML in .drawio, .drawio.svg, or .drawio.png files."
applyTo: "/*.drawio,/.drawio.svg,**/.drawio.png"
Skill: Load
.github/skills/draw-io/SKILL.mdfor full workflow, XML recipes, and troubleshooting before generating or editing any.drawiofile.
Follow these steps for every draw.io task:
.github/skills/draw-io/templates/ and adapt it, or start from the minimal skeletonpython .github/skills/draw-io/scripts/validate-drawio.py <file>hediet.vscode-drawio)<!-- Set modified to the current ISO 8601 timestamp when generating a new file -->
<mxfile host="Electron" modified="" version="26.0.0">
<diagram id="unique-id" name="Page Name">
<mxGraphModel ...>
<root>
<mxCell id="0" /> <!-- REQUIRED: always first -->
<mxCell id="1" parent="0" /> <!-- REQUIRED: always second -->
<!-- all other cells go here -->
</root>
</mxGraphModel>
</diagram>
</mxfile>
id="0" and id="1" must be present and must be the first two cells — no exceptionsid must be unique within the diagramvertex="1") must have a child <mxGeometry x y width height as="geometry">edge="1") must have source/target pointing to existing vertex ids — exception: floating edges (sequence diagram lifelines) use <mxPoint as="sourcePoint"> and <mxPoint as="targetPoint"> inside <mxGeometry> instead of source/target attributesparent pointing to an existing id| Role | fillColor | strokeColor |
|---|---|---|
| Primary / Info (default) | #dae8fc | #6c8ebf |
| Success / Start / Positive | #d5e8d4 | #82b366 |
| Warning / Decision | #fff2cc | #d6b656 |
| Error / End / Danger | #f8cecc | #b85450 |
| Neutral / Interface | #f5f5f5 | #666666 |
| External / Partner | #e1d5e7 | #9673a6 |
whiteSpace=wrap;html=1;
html=1 whenever a label contains HTML tags (<b>, <i>, <br>)edgeStyle=orthogonalEdgeStyle;html=1;
| Type | Container | Key shapes | Connector style |
|---|---|---|---|
| Flowchart | None | ellipse (start/end), rounded=1 (process), rhombus (decision) | orthogonalEdgeStyle |
| Architecture | swimlane per tier | rounded=1 services, cloud/DB shapes | orthogonalEdgeStyle with labels |
| Sequence | None | mxgraph.uml.actor, dashed lifeline edges | endArrow=block (sync), endArrow=open;dashed=1 (return) |
| ER Diagram | shape=table;childLayout=tableLayout | shape=tableRow, shape=partialRectangle | entityRelationEdgeStyle;endArrow=ERmany;startArrow=ERone |
| UML Class | swimlane per class | text rows for attributes/methods | endArrow=block;endFill=0 (inherit), dashed=1 (realize) |
120 × 60 px (process), 200 × 100 px (decision diamond)1169 × 827 pxstyle="text;strokeColor=none;fillColor=none;fontSize=18;fontStyle=1;align=center;"
.drawio for version-controlled diagrams, .drawio.svg for files embedded in Markdownkebab-case — e.g. order-flow.drawio, database-schema.drawiodocs/ or architecture/ alongside the code they document<diagram> element per logical view within the same <mxfile><mxCell id="0" /> and <mxCell id="1" parent="0" /> are the first two cellssource/target ids resolve to existing vertices<mxGeometry as="geometry">parent&, <, > in attribute values# Run automated validation
python .github/skills/draw-io/scripts/validate-drawio.py <file.drawio>
| File | Use For |
|---|---|
| .github/skills/draw-io/SKILL.md | Full agent workflow, recipes, troubleshooting |
| .github/skills/draw-io/references/drawio-xml-schema.md | Complete mxCell attribute reference |
| .github/skills/draw-io/references/style-reference.md | All style keys, shape names, edge types |
| .github/skills/draw-io/references/shape-libraries.md | Shape library catalog with style strings |
| .github/skills/draw-io/templates/ | Ready-to-use .drawio templates per diagram type |
| .github/skills/draw-io/scripts/validate-drawio.py | XML structure validator |
| .github/skills/draw-io/scripts/add-shape.py | CLI: add a shape to an existing diagram |
© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com


Makes a surreal top-down image where the letters of a chosen book or genre lift off the page and build 3D scenery, on a desk that suits the reader.
image-prompt, placeholders, template, book-cover, typography, 3d-render, surreal, papercraft, high-angle, dreamy, books, concept-art, text-rendering, gpt-image

Turns the AI into Sensei, a kind Socratic mentor who guides junior developers with questions and progressive clues instead of handing over answers.
sub-agent, socratic-method, tutoring, act-as, debugging, code-explanation, guardrails, encouraging, beginner-friendly, for-students, for-developers, coding, education, ai-personality, iterative-refinement, empathetic, long-form, step-by-step-guide, problem-solving

Infrastructure Cost Optimization
Guides an AI coding agent to cut cloud infrastructure costs through rightsizing, reserved and spot instances, waste cleanup and cost monitoring scripts.
agent-skill, cloud, aws, kubernetes, devops, bash, yaml-prompt, code-generation, code, best-practices, for-devops-engineers, for-developers, estimation, audit, dashboard, budgeting, operations, infrastructure-as-code, long-form, advanced, step-by-step-guide, financial-analysis, finops
Loading reviews…
Loading comments…