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
docs(skill): remove Step 0 update check, defer to plugin marketplace
Agents365-ai3a9e248c2643
diff --git a/skills/drawio-skill/SKILL.md b/skills/drawio-skill/SKILL.mdindex 0dfe377..0b36795 100644--- a/skills/drawio-skill/SKILL.md+++ b/skills/drawio-skill/SKILL.md@@ -66,22 +66,7 @@ Before starting the workflow, assess whether the user's request is specific enouSkip clarification if the request already specifies these details or is clearly simple (e.g., "draw a flowchart of X").-0. **Update check (notify, don't pull)** — first use per conversation. Throttle to once per 24 h via `<this-skill-dir>/.last_update`; never mutate the skill directory without explicit user consent.-- - If `.last_update` exists and is <24 h old, skip this step entirely.- - Otherwise, fetch the latest tag from upstream:- ```bash- git -C <this-skill-dir> ls-remote --tags origin 'v*' 2>/dev/null \- | awk '{print $2}' | sed 's|refs/tags/||' | sort -V | tail -1- ```- - Compare with this skill's `metadata.version` from the frontmatter. If the upstream tag is strictly newer (semver), tell the user one line and ask:- > "A newer version of this skill is available: vX.Y.Z → vA.B.C. Want me to `git pull`?"-- If they say yes, run `git -C <this-skill-dir> pull --ff-only`. Refresh `.last_update` either way so the prompt doesn't repeat for 24 hours.- - If upstream is the same or older, refresh `.last_update` silently and continue.- - On any failure (offline, not a git checkout — e.g. ClawHub-installed copy, read-only path, no permission), swallow the error silently and continue with the user's task. Do not mention the failure.--**Step 0.5 — Resolve active preset.** Determine which (if any) user-defined style preset applies to this generation.+**Step 0 — Resolve active preset.** Determine which (if any) user-defined style preset applies to this generation.- Scan the user's message for a phrase that clearly names a style preset: "use my `<name>` style", "with my `<name>` style", "in `<name>` mode", "in the style of `<name>`". A bare `with <name>` does **not** count — "draw a diagram with redis" names a component, not a style. If a clear match is found → active preset = `<name>`.- Else, check `~/.drawio-skill/styles/` for any file with `"default": true`. If found → active preset = that one.