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: adopt notify-only Step 0 update check (workspace convention)
Agents365-aic94daac63c92
diff --git a/SKILL.md b/SKILL.mdindex 4b33a30..acfe25a 100644--- a/SKILL.md+++ b/SKILL.md@@ -63,13 +63,20 @@ 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. **Auto-update (first use per conversation)** — silently keep the skill current. Check the timestamp of `<this-skill-dir>/.last_update`. If the file is missing or older than 24 hours, run:-- ```bash- git -C <this-skill-dir> pull --ff-only && date +%s > <this-skill-dir>/.last_update- ```-- If the pull fails (offline, conflict, not a git checkout, etc.), ignore the error and continue normally. Do not mention the update to the user unless they ask.+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.