Skip to content

Architecture

Repository Surfaces

Repository structure overview

For Japanese-facing docs or slides, use the localized companion source at ../../assets/draw-io-skill-structure.ja.drawio and the exported assets beside it.

For shape-focused routing and border-fit examples, use ../../assets/draw-io-skill-structure-shapes.drawio plus ../../assets/draw-io-skill-structure-shapes.drawio.png and ../../assets/draw-io-skill-structure-shapes.drawio.svg.

Core Files

PathPurpose
SKILL.mdAgent-facing instructions for creating, exporting, and checking diagrams
scripts/export-drawio.mjsCross-platform wrapper around the draw.io CLI
scripts/check-drawio-svg-overlaps.mjsSVG linting for overlaps, border contact, penetration, and text overflow
scripts/find_aws_icon.pyAWS icon search helper run through uv
assets/draw-io-skill-structure-shapes.drawioShape-focused sample diagram used to review non-rect layout and routing behavior
fixtures/basicBaseline fixture for a clean lint result
fixtures/border-overlapRegression fixture for border-contact detection
fixtures/shape-border-overlapRegression fixture for supported non-rect shape border-contact detection
references/layout-guidelines.mdPractical layout rules for boxes, spacing, and containers
references/aws-icons.mdAWS icon lookup reference material

Why The Repository Keeps Both Source And Export Concepts

  • .drawio is the editable truth
  • exported artifacts are disposable outputs
  • embedded XML keeps exports useful without replacing the source file

That split makes it easier to version diagrams, regenerate outputs, and review changes without losing editability.

QA Strategy

The repo uses three layers of QA:

  1. script syntax checks for the JavaScript tools
  2. fixture-based lint verification
  3. documentation build validation for the public-facing site

This keeps the technical tooling and the human-facing documentation aligned in CI.

Released under the MIT License.