Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.
Python agent-skillsarchitecturearchitecture-diagramasyncapibpmnc4-modelclaude-codediagramdiagrams-as-codedrawioflowchartgithub-actionsgraphqlimage-to-diagramkubernetesmcp-serverprotobufsysmlterraformuml
<mxfile host="drawio-skill" agent="diagram-ir" version="3.0.0">
<diagram id="system" name="System">
<mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="shopper" value="Shopper" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1" data-model-id="shopper" data-kind="actor" data-properties="{"trust_boundary":"public","importance":7}" data-source-properties="{"trust_boundary":"public","importance":7}" data-source-label="Shopper" data-provenance="{"path":"examples/architecture-studio/checkout.ir.json"}" data-boundary="public">
<mxGeometry x="180" y="0" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="gateway" value="API Gateway" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1" data-model-id="gateway" data-kind="gateway" data-properties="{"owner":"platform","environment":"production","region":"eu-west-1","runtime":"edge","observability":"OpenTelemetry","trust_boundary":"public","importance":10}" data-source-properties="{"owner":"platform","environment":"production","region":"eu-west-1","runtime":"edge","observability":"OpenTelemetry","trust_boundary":"public","importance":10}" data-source-label="API Gateway" data-provenance="{"path":"examples/architecture-studio/checkout.ir.json"}" data-owner="platform" data-boundary="public">
<mxGeometry x="180" y="110" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="orders" value="Order Service" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;strokeWidth=3;" vertex="1" parent="1" data-model-id="orders" data-kind="service" data-properties="{"owner":"checkout","environment":"production","region":"eu-west-1","runtime":"Kubernetes","observability":"OpenTelemetry","trust_boundary":"private","importance":9,"scenario_status":"failed"}" data-source-properties="{"owner":"checkout","environment":"production","region":"eu-west-1","runtime":"Kubernetes","observability":"OpenTelemetry","trust_boundary":"private","importance":9,"scenario_status":"failed"}" data-source-label="Order Service" data-provenance="{"path":"services/orders.py","line":12}" data-owner="checkout" data-boundary="private">
<mxGeometry x="180" y="210" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="inventory" value="Inventory Service" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1" data-model-id="inventory" data-kind="service" data-properties="{"owner":"catalog","environment":"production","region":"eu-west-1","runtime":"Kubernetes","observability":"OpenTelemetry","trust_boundary":"private","importance":6}" data-source-properties="{"owner":"catalog","environment":"production","region":"eu-west-1","runtime":"Kubernetes","observability":"OpenTelemetry","trust_boundary":"private","importance":6}" data-source-label="Inventory Service" data-provenance="{"path":"examples/architecture-studio/checkout.ir.json"}" data-owner="catalog" data-boundary="private">
<mxGeometry x="0" y="320" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="orders-db" value="Orders DB" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1" data-model-id="orders-db" data-kind="database" data-properties="{"owner":"checkout","environment":"production","region":"eu-west-1","observability":"database metrics","trust_boundary":"data","importance":8,"scenario_status":"impacted"}" data-source-properties="{"owner":"checkout","environment":"production","region":"eu-west-1","observability":"database metrics","trust_boundary":"data","importance":8,"scenario_status":"impacted"}" data-source-label="Orders DB" data-provenance="{"path":"examples/architecture-studio/checkout.ir.json"}" data-owner="checkout" data-boundary="data">
<mxGeometry x="180" y="320" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="stripe" value="Stripe" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1" data-model-id="stripe" data-kind="external" data-properties="{"owner":"payments","region":"global","trust_boundary":"external","importance":5,"scenario_status":"impacted"}" data-source-properties="{"owner":"payments","region":"global","trust_boundary":"external","importance":5,"scenario_status":"impacted"}" data-source-label="Stripe" data-provenance="{"path":"examples/architecture-studio/checkout.ir.json"}" data-owner="payments" data-boundary="external">
<mxGeometry x="360" y="320" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="e0" value="HTTPS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="shopper" target="gateway" data-model-id="shopper-gateway" data-kind="sync" data-properties="{"protocol":"HTTPS"}" data-source-properties="{"protocol":"HTTPS"}" data-source-label="HTTPS">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="260" y="70" />
<mxPoint x="260" y="90" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="e1" value="mTLS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="gateway" target="orders" data-model-id="gateway-orders" data-kind="sync" data-properties="{"protocol":"mTLS"}" data-source-properties="{"protocol":"mTLS"}" data-source-label="mTLS">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="260" y="180" />
<mxPoint x="260" y="200" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="e2" value="gRPC" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="orders" target="inventory" data-model-id="orders-inventory" data-kind="sync" data-properties="{"protocol":"mTLS","timeout":"800ms","isolates_failure":true}" data-source-properties="{"protocol":"mTLS","timeout":"800ms","isolates_failure":true}" data-source-label="gRPC">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="130" y="250" />
<mxPoint x="80" y="250" />
<mxPoint x="80" y="250" />
<mxPoint x="80" y="250" />
<mxPoint x="80" y="310" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="e3" value="PostgreSQL/TLS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="orders" target="orders-db" data-model-id="orders-db" data-kind="sync" data-properties="{"protocol":"TLS"}" data-source-properties="{"protocol":"TLS"}" data-source-label="PostgreSQL/TLS">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="260" y="280" />
<mxPoint x="260" y="310" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="e4" value="HTTPS" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1" source="orders" target="stripe" data-model-id="orders-stripe" data-kind="sync" data-properties="{"protocol":"HTTPS","timeout":"2s"}" data-source-properties="{"protocol":"HTTPS","timeout":"2s"}" data-source-label="HTTPS">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="390" y="250" />
<mxPoint x="440" y="250" />
<mxPoint x="440" y="250" />
<mxPoint x="440" y="250" />
<mxPoint x="440" y="310" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>