
sparklabx/drawio-ai-kit
Deployment & DevOpsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
sparklabx/drawio-ai-kitは、[[T0]からインポートされたエージェントスキル候補です。
概要
sparklabx/drawio-ai-kitは、[[T0]からインポートされたエージェントスキル候補です。
概要(AI 翻訳)
AWS、Azure、GCPアーキテクチャに最適化された、構造的に正確かつ美的に標準化された draw.io 図を生成できるオーケストレーションおよび検証フレームワークです。
これは、存在しないステンシルIDを生成して空の形状になるなど、一般的なAIエージェントの幻覚を3つの主要な要素を用いて軽減します。
- 宣言的カタログ — ステンシルID(
mxgraph.aws4.*)をそれぞれの分類法や標準カラーパレットに draw.io マッピングする単一の真実の情報源。 - デザイン原則 — 建築およびレイアウトの規則(
skills/drawio/references/principles.md)を成文化したもの。 - Structural Validator — シリアライズ前にステンシル参照が有効で設計原則が満たされていることを保証するために、ダイアグラムXMLを監査する静的解析エンジンです。
AIに自己完結型のdrawio-aiCLI(1つのバンドルファイル、追加インストール不要)を通じてAIに露出させました。
ショーケース
プラットフォームごとに1つの図 — すべてキットによって端から端まで生成され、手作業の座標は不要、実際のステンシル、検証済み、視力確認済み。完全なセットはexamples/に収録されています。
クイックスタート
要件: Node.js ≥20.6 または バン1.4+。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
An orchestration and validation framework enabling AI agents to generate structurally precise and aesthetically standardized draw.io diagrams, optimized for AWS, Azure & GCP architectures.
It mitigates common AI agent hallucinations (such as generating non-existent stencil IDs that result in empty shapes) using three key components:
- Declarative Catalog — A single source of truth mapping draw.io stencil IDs (
mxgraph.aws4.*) to their respective taxonomies and canonical color palettes. - Design Principles — Codified architectural and layout rules (
skills/drawio/references/principles.md). - Structural Validator — A static analysis engine that audits diagram XML to guarantee stencil references are valid and design principles are satisfied prior to serialization.
Exposed to the AI via the self-contained drawio-ai CLI (one bundled file, nothing extra to install).
Showcase
One diagram per platform — all generated end-to-end by the kit: no hand-placed coordinates, real stencils, validated, vision-checked. Full set in examples/.
Quick start
Requirements: Node.js ≥20.6 or Bun 1.4+. Nothing else to install.
Bun-only machine (no
node)? The CLI’s shebang is#!/usr/bin/env node(the Windows-safe standard), soinstall.shwrites~/.local/bin/drawio-aias a wrapper that runsbun /dist/cli.mjs. Re-runinstall.shafterbun update -g. With a manualbun add -g, runbun $(bun pm bin -g)/../install/global/node_modules/drawio-ai-kit/dist/cli.mjsor install Node.
1. One-liner (CLI + skill)
curl -fsSL https://raw.githubusercontent.com/sparklabx/drawio-ai-kit/refs/heads/main/install.sh | sh
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add sparklabx/drawio-ai-kit