Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates professional logical flow diagrams and logical system architecture diagrams using draw.io XML format (.drawio files). Use when creating: (1) logical flow diagrams showing data/process flow between system components, (2) logical architecture diagrams representing system structure without cloud provider specifics, (3) BPMN process diagrams, (4) UML diagrams (class, sequence, activity), (5) data flow diagrams (DFD), (6) decision flowcharts, or (7) system interaction diagrams. This skill foc
.claude/skills/giuseppe-trisciuoglio-drawio-logical-diagrams/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-14 | ✗→✓ | ▲ Improved | 188% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 67% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 158% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 217% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 234% | 0% |
Create professional logical diagrams in draw.io's native XML format for logical flow diagrams, system architecture visualizations, and abstract process representations using generic shapes and symbols.
Do NOT use for: AWS/Azure/GCP architecture diagrams (use aws-drawio-architecture-diagrams).
Before outputting the file, verify:
<mxCell>, </mxGeometry>, etc.)source and target attributes reference existing cell IDsparent attributes reference existing cell IDs< → <, > → >, & → &)
 or <br> with html=1 in style| Component | Description | |-----------|-------------| | mxfile | Root element with host and version | | diagram | Contains the diagram definition | | mxGraphModel | Canvas settings (grid, page size) | | root | Container for all cells (must include id="0" and id="1") | | mxCell | Individual shapes (vertices) or connectors (edges) |
xml<mxfile host="app.diagrams.net" agent="Claude" version="24.7.17"> <diagram id="logical-flow-1" name="Logical Flow"> <mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <!-- Shapes and connectors here --> </root> </mxGraphModel> </diagram> </mxfile>
Key rules:
| Shape | Style | |-------|-------| | Rectangle | rounded=0;whiteSpace=wrap;html=1; | | Rounded Rectangle | rounded=1;whiteSpace=wrap;html=1; | | Ellipse/Circle | ellipse;whiteSpace=wrap;html=1; | | Diamond | rhombus;whiteSpace=wrap;html=1; | | Cylinder | shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1; | | Hexagon | shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1; | | Parallelogram | shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1; |
| Element Type | Fill Color | Border Color | Usage | |--------------|------------|--------------|-------| | Process | #dae8fc | #6c8ebf | Operations/actions | | Decision | #fff2cc | #d6b656 | Conditional branches | | Start/End | #d5e8d4 | #82b366 | Terminal states | | Data/Store | #e1f5fe | #0277bd | Databases/files | | Entity | #f3e5f5 | #7b1fa2 | External systems | | Error/Stop | #f8cecc | #b85450 | Error states | | Actor/User | #ffe0b2 | #f57c00 | Users/actors | | Container | #f5f5f5 | #666666 | Grouping areas |
Standard flow:
edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;Dashed (alternative/optional):
edgeStyle=orthogonalEdgeStyle;dashed=1;dashPattern=5 5;strokeColor=#666666;Arrow head styles:
endArrow=classic;endFill=1 - Filled triangleendArrow=open;endFill=0 - Open arrowendArrow=blockThin;endFill=1 - Block arrow| Type | Key Elements | |------|--------------| | Logical Flow | Actors (orange), Services (blue), Data Stores (cyan), External Systems (purple) | | Logical Architecture | Layered containers with nested components | | BPMN | Circle (Start/End), Rounded Rectangle (Activity), Diamond (Gateway) | | UML Sequence | Vertical lifelines with message arrows | | DFD | Square (Entity), Circle (Process), Open Rectangle (Data Store) |
For detailed shape examples and style references, see:
Request: "Create a logical flow diagram showing order processing: customer submits order, system validates, if valid then processes payment and ships, if invalid notifies customer."
xml<mxfile host="app.diagrams.net" agent="Claude" version="24.7.17"> <diagram id="order-flow-1" name="Order Processing"> <mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0"> <root> <mxCell id="0"/><mxCell id="1" parent="0"/> <mxCell id="2" value="Start" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;" vertex="1" parent="1"><mxGeometry x="80" y="50" width="80" height="40" as="geometry"/></mxCell> <mxCell id="3" value="Submit Order" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;" vertex="1" parent="1"><mxGeometry x="60" y="130" width="120" height="60" as="geometry"/></mxCell> <mxCell id="4" value="Validate
Order?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;" vertex="1" parent="1"><mxGeometry x="80" y="230" width="80" height="80" as="geometry"/></mxCell> <mxCell id="5" value="Notify
Customer" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=12;" vertex="1" parent="1"><mxGeometry x="220" y="240" width="100" height="50" as="geometry"/></mxCell> <mxCell id="6" value="Process
Payment" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;" vertex="1" parent="1"><mxGeometry x="60" y="350" width="120" height="60" as="geometry"/></mxCell> <mxCell id="7" value="Ship Order" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;" vertex="1" parent="1"><mxGeometry x="60" y="450" width="120" height="60" as="geometry"/></mxCell> <mxCell id="8" value="End" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;" vertex="1" parent="1"><mxGeometry x="80" y="550" width="80" height="40" as="geometry"/></mxCell> <mxCell id="10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="2" target="3"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="3" target="4"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="12" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#b85450;strokeWidth=2;fontSize=11;" edge="1" parent="1" source="4" target="5"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="13" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#82b366;strokeWidth=2;fontSize=11;" edge="1" parent="1" source="4" target="6"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="6" target="7"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="7" target="8"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#b85450;strokeWidth=2;" edge="1" parent="1" source="5" target="8"><mxGeometry relative="1" as="geometry"/></mxCell> </root> </mxGraphModel> </diagram> </mxfile>
Request: "Create a logical architecture diagram for a web application with presentation, business logic, and data tiers."
xml<mxfile host="app.diagrams.net" agent="Claude" version="24.7.17"> <diagram id="three-tier-1" name="Three-Tier Architecture"> <mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0"> <root> <mxCell id="0"/><mxCell id="1" parent="0"/> <mxCell id="2" value="User" style="ellipse;whiteSpace=wrap;html=1;fillColor=#ffe0b2;strokeColor=#f57c00;fontSize=12;" vertex="1" parent="1"><mxGeometry x="40" y="340" width="60" height="40" as="geometry"/></mxCell> <mxCell id="3" value="Presentation Layer" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=14;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="160" y="40" width="300" height="180" as="geometry"/></mxCell> <mxCell id="4" value="Web
Browser" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;" vertex="1" parent="3"><mxGeometry x="20" y="30" width="80" height="50" as="geometry"/></mxCell> <mxCell id="5" value="Mobile
App" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;" vertex="1" parent="3"><mxGeometry x="120" y="30" width="80" height="50" as="geometry"/></mxCell> <mxCell id="7" value="Application Layer" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=14;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="160" y="260" width="300" height="180" as="geometry"/></mxCell> <mxCell id="8" value="API
Gateway" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;" vertex="1" parent="7"><mxGeometry x="20" y="30" width="80" height="50" as="geometry"/></mxCell> <mxCell id="9" value="Business
Logic" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;" vertex="1" parent="7"><mxGeometry x="110" y="30" width="80" height="50" as="geometry"/></mxCell> <mxCell id="11" value="Data Layer" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=14;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="160" y="480" width="300" height="180" as="geometry"/></mxCell> <mxCell id="12" value="Primary
Database" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;fillColor=#e1f5fe;strokeColor=#0277bd;fontSize=12;" vertex="1" parent="11"><mxGeometry x="20" y="30" width="60" height="80" as="geometry"/></mxCell> <mxCell id="13" value="Cache" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;fillColor=#fff3e0;strokeColor=#e65100;fontSize=12;" vertex="1" parent="11"><mxGeometry x="100" y="30" width="60" height="80" as="geometry"/></mxCell> <mxCell id="20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="2" target="4"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="4" target="8"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="8" target="9"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;" edge="1" parent="1" source="9" target="12"><mxGeometry relative="1" as="geometry"/></mxCell> <mxCell id="24" value="query" style="edgeStyle=orthogonalEdgeStyle;rounded=0;endArrow=open;endFill=0;strokeColor=#666666;strokeWidth=1;fontSize=10;dashed=1;" edge="1" parent="1" source="9" target="13"><mxGeometry relative="1" as="geometry"/></mxCell> </root> </mxGraphModel> </diagram> </mxfile>
For additional templates (microservice architecture, event-driven, decision tree, sequence, DFD), see diagram-templates.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-14 | fail→pass | 11,030 | 2,164 | -80% | 1 | 1 | 0% | 1,767 | 5,095 | +188% | 0 | 0 | — |
case-01 | fail→pass | 29,201 | 25,185 | -14% | 1 | 1 | 0% | 6,210 | 10,368 | +67% | 0 | 0 | — |
case-07 | pass→pass | 9,097 | 7,602 | -16% | 1 | 1 | 0% | 1,656 | 5,905 | +257% | 0 | 0 | — |
case-15 | fail→pass | 14,844 | 7,607 | -49% | 1 | 1 | 0% | 2,405 | 6,214 | +158% | 0 | 0 | — |
case-08 | pass→pass | 7,483 | 3,387 | -55% | 1 | 1 | 0% | 1,322 | 5,336 | +304% | 0 | 0 | — |
case-02 | fail→fail | 28,347 | 26,460 | -7% | 1 | 1 | 0% | 6,196 | 10,952 | +77% | 0 | 0 | — |
case-03 | fail→fail | 22,426 | 18,863 | -16% | 1 | 1 | 0% | 4,901 | 9,161 | +87% | 0 | 0 | — |
case-04 | fail→fail | 29,872 | 31,727 | +6% | 1 | 1 | 0% | 6,192 | 8,948 | +45% | 0 | 0 | — |
case-05 | fail→fail | 32,850 | 24,827 | -24% | 1 | 1 | 0% | 4,428 | 10,194 | +130% | 0 | 0 | — |
case-06 | fail→fail | 30,037 | 29,550 | -2% | 1 | 1 | 0% | 6,173 | 10,929 | +77% | 0 | 0 | — |
case-09 | fail→pass | 9,421 | 3,295 | -65% | 1 | 1 | 0% | 1,696 | 5,376 | +217% | 0 | 0 | — |
case-10 | pass→pass | 10,863 | 5,119 | -53% | 1 | 1 | 0% | 1,878 | 5,673 | +202% | 0 | 0 | — |
case-11 | pass→pass | 11,439 | 5,736 | -50% | 1 | 1 | 0% | 2,137 | 5,800 | +171% | 0 | 0 | — |
case-12 | fail→pass | 10,177 | 3,305 | -68% | 1 | 1 | 0% | 1,613 | 5,388 | +234% | 0 | 0 | — |
case-13 | pass→pass | 12,984 | 4,004 | -69% | 1 | 1 | 0% | 2,387 | 5,517 | +131% | 0 | 0 | — |
case-16 | pass→pass | 7,345 | 3,563 | -51% | 1 | 1 | 0% | 1,295 | 5,387 | +316% | 0 | 0 | — |
case-17 | fail→pass | 8,753 | 4,240 | -52% | 1 | 1 | 0% | 1,423 | 5,495 | +286% | 0 | 0 | — |
case-18 | fail→pass | 9,582 | 2,991 | -69% | 1 | 1 | 0% | 1,483 | 5,179 | +249% | 0 | 0 | — |
case-19 | pass→pass | 4,978 | 4,289 | -14% | 1 | 1 | 0% | 810 | 5,550 | +585% | 0 | 0 | — |
case-20 | fail→fail | 12,221 | 5,083 | -58% | 1 | 1 | 0% | 1,919 | 5,561 | +190% | 0 | 0 | — |
case-21 | pass→pass | 24,771 | 15,300 | -38% | 1 | 1 | 0% | 5,351 | 8,253 | +54% | 0 | 0 | — |
case-22 | pass→pass | 14,672 | 27,875 | +90% | 1 | 1 | 0% | 3,119 | 8,656 | +178% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +32 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.