feat: sync 12 new skills into catalog (total 31 skills), update manifest and README
This commit is contained in:
49
skills/drawio-skill/styles/built-in/colorblind-safe.json
Normal file
49
skills/drawio-skill/styles/built-in/colorblind-safe.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$schema": "../schema.json",
|
||||
"name": "colorblind-safe",
|
||||
"version": 1,
|
||||
"default": false,
|
||||
"source": { "type": "built-in" },
|
||||
"confidence": "high",
|
||||
"palette": {
|
||||
"primary": { "fillColor": "#ccedff", "strokeColor": "#0072b2" },
|
||||
"success": { "fillColor": "#ccfff1", "strokeColor": "#009e73" },
|
||||
"warning": { "fillColor": "#fff8cc", "strokeColor": "#8f7c00" },
|
||||
"accent": { "fillColor": "#ffefcc", "strokeColor": "#e69f00" },
|
||||
"danger": { "fillColor": "#ffe3cc", "strokeColor": "#d55e00" },
|
||||
"neutral": { "fillColor": "#e6e6e6", "strokeColor": "#555555" },
|
||||
"secondary": { "fillColor": "#f1dae7", "strokeColor": "#cc79a7" }
|
||||
},
|
||||
"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": ["external"]
|
||||
},
|
||||
"extras": {
|
||||
"sketch": false,
|
||||
"globalStrokeWidth": 2
|
||||
}
|
||||
}
|
||||
49
skills/drawio-skill/styles/built-in/corporate.json
Normal file
49
skills/drawio-skill/styles/built-in/corporate.json
Normal file
@@ -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": "#fff9c4", "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
|
||||
}
|
||||
}
|
||||
52
skills/drawio-skill/styles/built-in/dark.json
Normal file
52
skills/drawio-skill/styles/built-in/dark.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"$schema": "../schema.json",
|
||||
"name": "dark",
|
||||
"version": 1,
|
||||
"default": false,
|
||||
"source": { "type": "built-in" },
|
||||
"confidence": "high",
|
||||
"palette": {
|
||||
"primary": { "fillColor": "#004870", "strokeColor": "#33b6ff" },
|
||||
"success": { "fillColor": "#007052", "strokeColor": "#33ffc7" },
|
||||
"warning": { "fillColor": "#5a4916", "strokeColor": "#d7b85b" },
|
||||
"accent": { "fillColor": "#705100", "strokeColor": "#ffc633" },
|
||||
"danger": { "fillColor": "#502220", "strokeColor": "#c4716e" },
|
||||
"neutral": { "fillColor": "#383838", "strokeColor": "#999999" },
|
||||
"secondary": { "fillColor": "#3d2c45", "strokeColor": "#a182b0" }
|
||||
},
|
||||
"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": ["external"]
|
||||
},
|
||||
"extras": {
|
||||
"sketch": false,
|
||||
"globalStrokeWidth": 1,
|
||||
"background": "#1e1e1e",
|
||||
"fontColor": "#f0f0f0",
|
||||
"edgeColor": "#bbbbbb"
|
||||
}
|
||||
}
|
||||
49
skills/drawio-skill/styles/built-in/default.json
Normal file
49
skills/drawio-skill/styles/built-in/default.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
49
skills/drawio-skill/styles/built-in/handdrawn.json
Normal file
49
skills/drawio-skill/styles/built-in/handdrawn.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
264
skills/drawio-skill/styles/schema.json
Normal file
264
skills/drawio-skill/styles/schema.json
Normal file
@@ -0,0 +1,264 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "https://github.com/Agents365-ai/drawio-skill/styles/schema.json",
|
||||
"title": "drawio-skill preset",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"version",
|
||||
"palette",
|
||||
"roles",
|
||||
"shapes",
|
||||
"font",
|
||||
"edges"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9][a-z0-9_-]*$"
|
||||
},
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"const": 1
|
||||
},
|
||||
"default": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"confidence": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"low",
|
||||
"medium",
|
||||
"high"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"xml",
|
||||
"image",
|
||||
"built-in",
|
||||
"hand-authored"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"extracted_at": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"palette": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"primary",
|
||||
"success",
|
||||
"warning",
|
||||
"accent",
|
||||
"danger",
|
||||
"neutral",
|
||||
"secondary"
|
||||
],
|
||||
"properties": {
|
||||
"primary": {
|
||||
"$ref": "#/$defs/colorPair"
|
||||
},
|
||||
"success": {
|
||||
"$ref": "#/$defs/colorPair"
|
||||
},
|
||||
"warning": {
|
||||
"$ref": "#/$defs/colorPair"
|
||||
},
|
||||
"accent": {
|
||||
"$ref": "#/$defs/colorPair"
|
||||
},
|
||||
"danger": {
|
||||
"$ref": "#/$defs/colorPair"
|
||||
},
|
||||
"neutral": {
|
||||
"$ref": "#/$defs/colorPair"
|
||||
},
|
||||
"secondary": {
|
||||
"$ref": "#/$defs/colorPair"
|
||||
}
|
||||
}
|
||||
},
|
||||
"roles": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"service": {
|
||||
"$ref": "#/$defs/slotName"
|
||||
},
|
||||
"database": {
|
||||
"$ref": "#/$defs/slotName"
|
||||
},
|
||||
"queue": {
|
||||
"$ref": "#/$defs/slotName"
|
||||
},
|
||||
"gateway": {
|
||||
"$ref": "#/$defs/slotName"
|
||||
},
|
||||
"error": {
|
||||
"$ref": "#/$defs/slotName"
|
||||
},
|
||||
"external": {
|
||||
"$ref": "#/$defs/slotName"
|
||||
},
|
||||
"security": {
|
||||
"$ref": "#/$defs/slotName"
|
||||
}
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {
|
||||
"service": {
|
||||
"type": "string"
|
||||
},
|
||||
"database": {
|
||||
"type": "string"
|
||||
},
|
||||
"queue": {
|
||||
"type": "string"
|
||||
},
|
||||
"decision": {
|
||||
"type": "string"
|
||||
},
|
||||
"external": {
|
||||
"type": "string"
|
||||
},
|
||||
"container": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"font": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"fontFamily",
|
||||
"fontSize"
|
||||
],
|
||||
"properties": {
|
||||
"fontFamily": {
|
||||
"type": "string"
|
||||
},
|
||||
"fontSize": {
|
||||
"type": "integer",
|
||||
"minimum": 8,
|
||||
"maximum": 36
|
||||
},
|
||||
"titleFontSize": {
|
||||
"type": "integer",
|
||||
"minimum": 8,
|
||||
"maximum": 48
|
||||
},
|
||||
"titleBold": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"edges": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"style",
|
||||
"arrow"
|
||||
],
|
||||
"properties": {
|
||||
"style": {
|
||||
"type": "string"
|
||||
},
|
||||
"arrow": {
|
||||
"type": "string"
|
||||
},
|
||||
"dashedFor": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"extras": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"sketch": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"globalStrokeWidth": {
|
||||
"type": "number",
|
||||
"minimum": 0.5,
|
||||
"maximum": 6
|
||||
},
|
||||
"background": {
|
||||
"type": "string",
|
||||
"pattern": "^#[0-9A-Fa-f]{6}$"
|
||||
},
|
||||
"fontColor": {
|
||||
"type": "string",
|
||||
"pattern": "^#[0-9A-Fa-f]{6}$"
|
||||
},
|
||||
"edgeColor": {
|
||||
"type": "string",
|
||||
"pattern": "^#[0-9A-Fa-f]{6}$"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"colorPair": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"fillColor",
|
||||
"strokeColor"
|
||||
],
|
||||
"properties": {
|
||||
"fillColor": {
|
||||
"type": "string",
|
||||
"pattern": "^#[0-9A-Fa-f]{6}$"
|
||||
},
|
||||
"strokeColor": {
|
||||
"type": "string",
|
||||
"pattern": "^#[0-9A-Fa-f]{6}$"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"slotName": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"primary",
|
||||
"success",
|
||||
"warning",
|
||||
"accent",
|
||||
"danger",
|
||||
"neutral",
|
||||
"secondary"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user