Skip to content

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.

fix(skill): remove duplicate telling-the-user; protect fillColor=none from preset override

Agents365-ai8e540c52cd07
diff --git a/SKILL.md b/SKILL.md
index 57ee780..f88d038 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -295,9 +295,7 @@ When the Workflow's step *Resolve active preset* identified a preset, it fully r
- `preset.extras.sketch === true` → append `sketch=1` to every vertex style and every edge style.
- `preset.extras.globalStrokeWidth !== 1` (any value other than the drawio default of 1, including `0.5`) → append `strokeWidth=<n>` to every vertex style and every edge style.
-**Telling the user.** The first line of the generation response mentions which preset is active: *"Using preset `<name>` (confidence: `<level>`)."*
-
-**Interaction with diagram-type presets (ERD / UML / Sequence / ML / Flowchart).** Diagram-type presets earlier in this document set structural style keywords that the user preset must preserve (e.g., ERD tables rely on `shape=table;startSize=30;container=1;childLayout=tableLayout;...`). The rule: keep the diagram-type preset's structural keywords, then layer the user preset's color / font / edge / extras on top. When a diagram-type preset hardcodes a color (`fillColor=#dae8fc`, etc.) that conflicts with the user preset, the user preset's color wins.
+**Interaction with diagram-type presets (ERD / UML / Sequence / ML / Flowchart).** Diagram-type presets earlier in this document set structural style keywords that the user preset must preserve (e.g., ERD tables rely on `shape=table;startSize=30;container=1;childLayout=tableLayout;...`). The rule: keep the diagram-type preset's structural keywords, then layer the user preset's color / font / edge / extras on top. When a diagram-type preset hardcodes a color (`fillColor=#dae8fc`, etc.) that conflicts with the user preset, the user preset's color wins. Exception: `fillColor=none` is structural — do not replace it with a palette color.
### Color palette (fillColor / strokeColor)
diff --git a/docs/superpowers/plans/2026-04-23-custom-styles.md b/docs/superpowers/plans/2026-04-23-custom-styles.md
index eb02a7c..f31934f 100644
--- a/docs/superpowers/plans/2026-04-23-custom-styles.md
+++ b/docs/superpowers/plans/2026-04-23-custom-styles.md
@@ -387,7 +387,7 @@ After extracting a candidate preset, render this seven-node sample using the can
The vertex style for role `R` is built as:
`<shapes[R]>;whiteSpace=wrap;html=1;fillColor=<palette[roles[R]].fillColor>;strokeColor=<palette[roles[R]].strokeColor>;fontFamily=<font.fontFamily>;fontSize=<font.fontSize>`
- If `extras.sketch=true`, append `;sketch=1`.
-- If `extras.globalStrokeWidth > 1`, append `;strokeWidth=<n>`.
+- If `extras.globalStrokeWidth !== 1` (any value other than the drawio default of 1, including `0.5`), append `;strokeWidth=<n>`.
The edge style is built as:
`<edges.style>;<edges.arrow>`
@@ -795,7 +795,7 @@ When the Workflow's step *Resolve active preset* identified a preset, it fully r
**Extras.**
- `preset.extras.sketch === true` → append `sketch=1` to every vertex style and every edge style.
-- `preset.extras.globalStrokeWidth > 1` → append `strokeWidth=<n>` to every vertex style and every edge style.
+- `preset.extras.globalStrokeWidth !== 1` (any value other than the drawio default of 1, including `0.5`) → append `strokeWidth=<n>` to every vertex style and every edge style.
**Interaction with diagram-type presets (ERD / UML / Sequence / ML / Flowchart).** Diagram-type presets earlier in this document set structural style keywords that the user preset must preserve (e.g., ERD tables rely on `shape=table;startSize=30;container=1;childLayout=tableLayout;...`). The rule: keep the diagram-type preset's structural keywords, then layer the user preset's color / font / edge / extras on top. When a diagram-type preset hardcodes a color (`fillColor=#dae8fc`, etc.) that conflicts with the user preset, the user preset's color wins.