drawio-diagram-forge
Generate draw.io editable diagrams (.drawio, .drawio.svg) from text, images, or Excel. Orchestrates 3-agent workflow (Analysis → Manifest → SVG generation) with quality gates. Use when creating architecture diagrams, flowcharts, sequence diagrams, or converting existing images to editable format. Supports Azure/AWS cloud icons.
What this skill does
# Draw.io Diagram Forge Generate **draw.io editable diagrams** using AI-powered workflow. ## When to Use - Creating architecture diagrams (Azure, AWS) - Converting flowcharts from text descriptions - Transforming images/screenshots into editable format - Generating swimlane, sequence diagrams - Editing Azure/AWS icons in existing .drawio files Choose this skill when the result will need later **GUI editing** in draw.io, cloud icons, or documentation-facing diagram assets. ## When NOT to Use - Quick inline diagrams that are easier to keep as Mermaid in README or Markdown - One-off text-native diagrams where manual GUI adjustment is not expected ## Prerequisites | Tool | Required | | ----------------------------------------------------------------------------------------------- | -------- | | VS Code | Yes | | [Draw.io Integration](https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio) | Yes | | GitHub Copilot | Yes | ## Quick Start ``` Create a login flow diagram ``` ``` Generate an Azure Hub-Spoke architecture diagram ``` ``` From inputs/requirements.md, create a system diagram ``` ## Output Formats | Extension | Description | When to Use | | -------------- | -------------- | --------------- | | `*.drawio` | Native format | **Recommended** | | `*.drawio.svg` | SVG + metadata | Markdown/Web | | `*.drawio.png` | PNG + metadata | Image with edit | **Output**: `outputs/` ### Recommended Delivery Pattern For documentation-facing diagrams, generate outputs as a pair: - `name.drawio` for editing in VS Code Draw.io - `name.drawio.svg` for README / web embedding Reserve `*.drawio.svg` for SVG files that actually contain draw.io metadata. If you hand-author or post-process a plain SVG without embedded draw.io metadata, name it `*.svg` instead of `*.drawio.svg`. If the visible asset started from manual SVG cleanup or hand-authored layout tweaks, still keep a matching `name.drawio` as the editable SSOT. Do not leave documentation diagrams as SVG-only when future edits are expected. Recommended markdown pattern: ```markdown  - [outputs/name.drawio.svg](outputs/name.drawio.svg) - [outputs/name.drawio](outputs/name.drawio) ``` If multilingual variants are needed, keep parallel filenames instead of overwriting a single asset: - `name.drawio` / `name.drawio.svg` - `name-ja.drawio` / `name-ja.drawio.svg` This keeps the editable source, the embeddable image, and the language variants aligned. For local article drafting, if the Markdown preview surface does not reliably render the SVG variant, it is acceptable to: - keep `.drawio` as the editable source - keep `.drawio.svg` as the web / embeddable artifact - temporarily reference a generated `*.png` from the draft article for local preview stability At publish time, replace local relative preview paths with the final hosted asset URL. For Qiita articles, do not leave non-trivial diagrams as Mermaid blocks in the article body. Qiita rendering can be inconsistent. Create a `.drawio` source, export PNG for Qiita image upload, keep `.drawio.svg` as the web artifact, and replace the draft-local path with the hosted Qiita image URL before publish. ## Workflow ``` USER INPUT → ORCHESTRATOR → MANIFEST GATEWAY → SVG FORGE → COMPLETED ``` ### Quality Gates | Score | Action | | ------ | ------------- | | 90-100 | Proceed | | 70-84 | Fix and retry | | 50-69 | Simplify | | 0-29 | Ask user | ### Limits | Limit | Value | | ----------------- | ----- | | Manifest revision | 2 | | SVG revision | 2 | | Total timeout | 45min | ## Cloud Icons → **[references/cloud-icons.md](references/cloud-icons.md)** For Azure-centric diagrams, proactively use the official Azure icon set when a verified Azure2 icon exists. Prefer icon + short label over plain rounded boxes for first-class Azure services. Fall back to generic boxes only when the icon is missing, misleading, or would hurt readability. ### Enable in VS Code 1. Open `.drawio` file 2. Click **"+ More Shapes"** (bottom-left) 3. Enable: Azure, AWS 4. Apply ### Azure Format (Critical) This format applies to both new diagrams and edits to existing .drawio files. When fixing or replacing Azure icons, always use this format. ```xml <!-- WRONG --> <mxCell style="shape=mxgraph.azure.front_door;..." /> <!-- CORRECT --> <mxCell style="aspect=fixed;image=img/lib/azure2/networking/Front_Doors.svg;..." /> ``` ### Azure Icon Preference - Use Azure service icons aggressively for Azure architecture diagrams when the service has a verified Azure2 path. - Keep the service name as a short text label even when the icon is obvious. - Do not mix verified Azure2 icons with generic blue boxes for the same diagram layer unless there is a clear reason. - If only some services have official icons, use icons for those services and use neutral fallback boxes for the rest. ## References | File | Description | | ----------------------------------------------------- | ------------------------ | | [mxcell-structure.md](references/mxcell-structure.md) | mxCell XML structure | | [cloud-icons.md](references/cloud-icons.md) | Azure/AWS icon guide | | [style-guide.md](references/style-guide.md) | Node colors, edge styles | ## Scripts | Script | Description | | ---------------------------- | ------------------------- | | `scripts/validate_drawio.py` | Validate mxCell structure | ## Troubleshooting | Issue | Solution | | --------------------------------- | ---------------------------------------------------------------------------------------------- | | Blank in draw.io | Check `content` attribute | | Edges not visible | Verify node IDs | | Icons missing | Enable Azure/AWS shapes | | Text overlaps near outer frame | Inset top note/callout boxes 16-24px from the panel border, increase box height, and wrap to 3-4 lines. Review at actual embed width before finishing. See [style-guide.md](references/style-guide.md) Top Callouts / Note Boxes | | README image only links to source | Generate `*.drawio.svg` and embed that instead of linking only to `*.drawio` | | SVG is viewable but hard to edit later | Keep a paired `*.drawio` source and treat it as the editable SSOT; use SVG as delivery output, not as the only source file | | VS Code says a `.drawio.svg` or `.drawio` file cannot be opened even though the file exists | Check whether the file is actually a plain SVG misnamed as `.drawio.svg`; if so, rename it to `*.svg`. If path resolution still looks stale, create a short alias filename such as `current-understanding.drawio` / `current-understanding.svg` and repoint links | | Local Markdown preview does not show the expected diagram | Export `*.png` from `.drawio` and use that in the draft article preview. Keep `.drawio` and `*.drawio.svg` as the editable and embeddable pair for final delivery | | Too many crossing arrows | Align source/target y to make edges horizontal; spread `entryY` on shared targets. See [style-guide.md](references/style-guide.md) Edge Crossing Prevention | | Legend inside a container | Move legend outside the o
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.