All skills
aktsmm avatar

/drawio-diagram-forge

@500f5af
by yamapanaktsmm/agent-skills26 stars
4

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. Triggers on draw.io, drawio, ダイアグラム, 図解, アーキ図, フローチャート, シーケンス図.

Use this Skill: https://skilld.dev/gh/aktsmm/agent-skills/drawio-diagram-forge

This session only. Nothing lands on disk.

referencesdelivery-patterns.md

≈594 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Drawio Delivery Patterns

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.

After any .drawio layout or label edit, regenerate the paired .drawio.svg from its source and verify both rendering and re-opening as an editable draw.io SVG. Do not treat manual content metadata edits as the normal sync path; exporter formatting is implementation-specific.

For draw.io Desktop CLI exports on Windows, use absolute source/output paths and wait for the spawned process. A running GUI instance can make a direct CLI call return before the files appear. Gate delivery on exit code 0, output existence, and an output timestamp newer than the source edit. If source and delivery timestamps are ambiguous, re-export to a temporary file and compare hashes before upload or publication.

Recommended Markdown Pattern

Use `outputs/name.drawio.svg` as the embedded image path.

- outputs/name.drawio.svg
- outputs/name.drawio

Multilingual Variants

Keep parallel filenames instead of overwriting a single asset:

  • name.drawio / name.drawio.svg
  • name-ja.drawio / name-ja.drawio.svg

Local Article Drafting

If the Markdown preview surface does not reliably render the SVG variant:

  • 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.

Qiita-specific

For Qiita articles, do not leave non-trivial diagrams as Mermaid blocks in the article body — Qiita rendering can be inconsistent. Workflow:

  1. Create a .drawio source
  2. Export PNG for Qiita image upload
  3. Keep .drawio.svg as the web artifact
  4. Replace the draft-local path with the hosted Qiita image URL before publish

Source: SKILL.md on GitHub

1 warning14d4 checks · Risk SAFE
  • Gen Agent Trust Hub14d

    The skill is safe for use. It provides a specialized workflow and comprehensive documentation for generating editable draw.io diagrams from text, images, or Excel files. No malicious patterns or security risks were detected.

  • Socket14d

    No alerts

  • Snyk14d

    Risk: LOW · No issues

  • Runlayer7mo

    6/6 files flagged

Signed by skilld at 500f5af. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 17 hours ago.

Activeupdated 2 days ago
argument-hint
図にしたい文章・画像・Excel、図の種類
user-invocable
true
metadata
{
  "author": "yamapan (https://github.com/aktsmm)"
}

README badge

README badge for aktsmm/agent-skills/drawio-diagram-forge