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
feat: add built-in presets (default, corporate, handdrawn)
Agents365-ai805889ee85a3
diff --git a/styles/built-in/corporate.json b/styles/built-in/corporate.jsonnew file mode 100644index 0000000..5a7aafa--- /dev/null+++ b/styles/built-in/corporate.json@@ -0,0 +1,49 @@+{+ "$schema": "../schema.json",+ "name": "corporate",+ "version": 1,+ "default": false,+ "source": { "type": "built-in" },+ "confidence": "high",+ "palette": {+ "primary": { "fillColor": "#E3F2FD", "strokeColor": "#1565C0" },+ "success": { "fillColor": "#E8F5E9", "strokeColor": "#2E7D32" },+ "warning": { "fillColor": "#FFF8E1", "strokeColor": "#F57C00" },+ "accent": { "fillColor": "#FFF3E0", "strokeColor": "#E65100" },+ "danger": { "fillColor": "#FFEBEE", "strokeColor": "#C62828" },+ "neutral": { "fillColor": "#ECEFF1", "strokeColor": "#455A64" },+ "secondary": { "fillColor": "#F3E5F5", "strokeColor": "#6A1B9A" }+ },+ "roles": {+ "service": "primary",+ "database": "success",+ "queue": "warning",+ "gateway": "accent",+ "error": "danger",+ "external": "neutral",+ "security": "secondary"+ },+ "shapes": {+ "service": "rounded=0",+ "database": "shape=cylinder3",+ "queue": "rounded=0",+ "decision": "rhombus",+ "external": "rounded=0;dashed=1",+ "container": "swimlane;startSize=30"+ },+ "font": {+ "fontFamily": "Arial",+ "fontSize": 11,+ "titleFontSize": 13,+ "titleBold": true+ },+ "edges": {+ "style": "edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1",+ "arrow": "endArrow=classic;endFill=1",+ "dashedFor": ["optional", "async"]+ },+ "extras": {+ "sketch": false,+ "globalStrokeWidth": 1+ }+}diff --git a/styles/built-in/default.json b/styles/built-in/default.jsonnew file mode 100644index 0000000..a202de1--- /dev/null+++ b/styles/built-in/default.json@@ -0,0 +1,49 @@+{+ "$schema": "../schema.json",+ "name": "default",+ "version": 1,+ "default": false,+ "source": { "type": "built-in" },+ "confidence": "high",+ "palette": {+ "primary": { "fillColor": "#dae8fc", "strokeColor": "#6c8ebf" },+ "success": { "fillColor": "#d5e8d4", "strokeColor": "#82b366" },+ "warning": { "fillColor": "#fff2cc", "strokeColor": "#d6b656" },+ "accent": { "fillColor": "#ffe6cc", "strokeColor": "#d79b00" },+ "danger": { "fillColor": "#f8cecc", "strokeColor": "#b85450" },+ "neutral": { "fillColor": "#f5f5f5", "strokeColor": "#666666" },+ "secondary": { "fillColor": "#e1d5e7", "strokeColor": "#9673a6" }+ },+ "roles": {+ "service": "primary",+ "database": "success",+ "queue": "warning",+ "gateway": "accent",+ "error": "danger",+ "external": "neutral",+ "security": "secondary"+ },+ "shapes": {+ "service": "rounded=1",+ "database": "shape=cylinder3",+ "queue": "rounded=1",+ "decision": "rhombus",+ "external": "rounded=1;dashed=1",+ "container": "swimlane;startSize=30"+ },+ "font": {+ "fontFamily": "Helvetica",+ "fontSize": 12,+ "titleFontSize": 14,+ "titleBold": true+ },+ "edges": {+ "style": "edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1",+ "arrow": "endArrow=classic;endFill=1",+ "dashedFor": []+ },+ "extras": {+ "sketch": false,+ "globalStrokeWidth": 1+ }+}diff --git a/styles/built-in/handdrawn.json b/styles/built-in/handdrawn.jsonnew file mode 100644index 0000000..d31129d--- /dev/null+++ b/styles/built-in/handdrawn.json@@ -0,0 +1,49 @@+{+ "$schema": "../schema.json",+ "name": "handdrawn",+ "version": 1,+ "default": false,+ "source": { "type": "built-in" },+ "confidence": "high",+ "palette": {+ "primary": { "fillColor": "#FFE4B5", "strokeColor": "#B8651E" },+ "success": { "fillColor": "#DEF0DC", "strokeColor": "#5C8A49" },+ "warning": { "fillColor": "#FFF4CC", "strokeColor": "#B8901A" },+ "accent": { "fillColor": "#FFD9B3", "strokeColor": "#C25100" },+ "danger": { "fillColor": "#FFCDBF", "strokeColor": "#A53D3D" },+ "neutral": { "fillColor": "#F5E6D3", "strokeColor": "#8B7355" },+ "secondary": { "fillColor": "#E6D7E8", "strokeColor": "#7B4397" }+ },+ "roles": {+ "service": "primary",+ "database": "success",+ "queue": "warning",+ "gateway": "accent",+ "error": "danger",+ "external": "neutral",+ "security": "secondary"+ },+ "shapes": {+ "service": "rounded=1",+ "database": "shape=cylinder3",+ "queue": "rounded=1",+ "decision": "rhombus",+ "external": "rounded=1;dashed=1",+ "container": "swimlane;startSize=30"+ },+ "font": {+ "fontFamily": "Helvetica",+ "fontSize": 12,+ "titleFontSize": 14,+ "titleBold": true+ },+ "edges": {+ "style": "edgeStyle=orthogonalEdgeStyle;curved=1;rounded=1;orthogonalLoop=1;jettySize=auto;html=1",+ "arrow": "endArrow=classic;endFill=1",+ "dashedFor": ["optional"]+ },+ "extras": {+ "sketch": true,+ "globalStrokeWidth": 2+ }+}