Generate draw.io diagrams programmatically using Python. Creates flowcharts, architecture diagrams, tree structures, network diagrams, and more. Use when the user requests a .drawio file, diagram, flowchart, or visual documentation.
89
86%
Does it follow best practices?
Impact
89%
3.17xAverage score across 3 eval scenarios
Passed
No known issues
Tree diagram with auto-layout
Uses drawpyo library
0%
100%
PEP 723 shebang
100%
100%
PEP 723 script block
0%
100%
Correct drawpyo version
0%
100%
Python version constraint
0%
100%
Uses TreeDiagram class
0%
100%
NodeObject with parent
0%
80%
Calls auto_layout
0%
100%
Output path /mnt/user-data/outputs/
0%
0%
Script produces .drawio file
100%
100%
Flowchart helper script and uv run usage
Uses create_flowchart.py
0%
100%
Uses uv run
0%
100%
JSON has id field
100%
100%
JSON has type field
100%
100%
JSON has label field
100%
100%
Decision nodes use yes/no branches
100%
100%
Linear steps use next field
100%
100%
CLI argument order correct
0%
100%
Output path /mnt/user-data/outputs/
0%
0%
Flowchart file produced
100%
100%
Custom architecture diagram with Object and Edge styling
Uses drawpyo library
0%
100%
PEP 723 script block
0%
100%
Correct drawpyo version in deps
0%
100%
Python version constraint
0%
100%
Uses Object or object_from_library
0%
100%
Uses Edge for connections
0%
100%
Applies styling with apply_style_string
0%
100%
Style strings end with semicolons
0%
100%
Output path /mnt/user-data/outputs/
0%
0%
Script runnable with uv run
0%
100%
Diagram file produced
100%
100%
3f74412
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.