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 a visual sample gallery with lint-review and icon-rich variants, see Showcase.

For a public AWS architecture reference that pairs editable source with a published SVG, see onizuka-game-agi-co: onizuka-game-agi-aws-architecture.drawio and onizuka-game-agi-aws-architecture.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
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.