Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.
Python agent-skillsarchitecturearchitecture-diagramasyncapibpmnc4-modelclaude-codediagramdiagrams-as-codedrawioflowchartgithub-actionsgraphqlimage-to-diagramkubernetesmcp-serverprotobufsysmlterraformuml
chore: remove misplaced agents/ and docs/ from repo root
Agents365-aide511b3e7b9e
diff --git a/agents/openai.yaml b/agents/openai.yamldeleted file mode 100644index 4720321..0000000--- a/agents/openai.yaml+++ /dev/null@@ -1,19 +0,0 @@-interface:- display_name: "Draw.io Diagrams"- short_description: "Generate draw.io diagrams from natural language and export to PNG/SVG/PDF/JPG with self-check and iterative refinement"- brand_color: "#F08705"--policy:- allow_implicit_invocation: true--capabilities:- - Generate .drawio XML from natural language descriptions- - Export to PNG, SVG, PDF, JPG via draw.io desktop CLI- - 6 diagram presets (ERD, UML Class, Sequence, Architecture, ML/DL, Flowchart)- - Self-check exported images and auto-fix layout issues- - Iterative review loop with targeted XML edits- - Browser fallback via diagrams.net URL when CLI unavailable- - Animated connectors for data-flow diagrams--prerequisites:- - draw.io desktop app (macOS/Linux/Windows)diff --git a/docs/index.html b/docs/index.htmldeleted file mode 100644index b076b15..0000000--- a/docs/index.html+++ /dev/null@@ -1,469 +0,0 @@-<!DOCTYPE html>-<html lang="en" data-theme="dark">-<head>- <meta charset="UTF-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>drawio-skill — From Text to Professional Diagrams</title>- <meta name="description" content="Claude Code skill for generating professional draw.io diagrams from natural language. 6 diagram presets, ML/DL support, self-check loop, animated connectors.">- <meta name="theme-color" content="#0d1117">- <link rel="canonical" href="https://agents365-ai.github.io/drawio-skill/">- <link rel="alternate" hreflang="zh" href="https://agents365-ai.github.io/drawio-skill/zh.html">- <link rel="alternate" hreflang="en" href="https://agents365-ai.github.io/drawio-skill/">- <meta property="og:title" content="drawio-skill — From Text to Professional Diagrams">- <meta property="og:description" content="Claude Code skill for generating professional draw.io diagrams from natural language. 6 diagram presets, ML/DL support, self-check loop.">- <meta property="og:type" content="website">- <meta property="og:url" content="https://agents365-ai.github.io/drawio-skill/">- <meta property="og:image" content="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star.png">- <meta name="twitter:card" content="summary_large_image">- <style>- *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }-- /* Theme variables */- [data-theme="dark"] {- --bg: #0d1117; --bg-card: #161b22; --bg-code: #1c2128;- --border: #30363d; --text: #e6edf3; --text-muted: #8b949e;- --accent: #58a6ff; --accent-hover: #79c0ff;- --green: #3fb950; --red: #f85149;- }- [data-theme="light"] {- --bg: #ffffff; --bg-card: #f6f8fa; --bg-code: #f0f3f6;- --border: #d0d7de; --text: #1f2328; --text-muted: #656d76;- --accent: #0969da; --accent-hover: #0550ae;- --green: #1a7f37; --red: #cf222e;- }-- body {- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;- background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;- transition: background 0.3s, color 0.3s;- }- a { color: var(--accent); text-decoration: none; }- a:hover { color: var(--accent-hover); text-decoration: underline; }-- /* Nav */- nav {- position: sticky; top: 0; z-index: 100;- background: var(--bg); border-bottom: 1px solid var(--border);- padding: 12px 24px; display: flex; justify-content: space-between; align-items: center;- transition: background 0.3s;- }- nav .logo { font-weight: 700; font-size: 16px; color: var(--text); }- nav .logo span { color: var(--accent); }- nav .nav-right { display: flex; align-items: center; gap: 16px; }- .lang-switch {- font-size: 14px; font-weight: 500; color: var(--text-muted);- padding: 4px 12px; border: 1px solid var(--border); border-radius: 6px;- transition: all 0.2s;- }- .lang-switch:hover { color: var(--text); border-color: var(--text-muted); text-decoration: none; }- .theme-btn {- background: none; border: 1px solid var(--border); color: var(--text-muted);- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 16px;- transition: all 0.2s; line-height: 1;- }- .theme-btn:hover { color: var(--text); border-color: var(--text-muted); }-- /* Layout */- .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }- section { padding: 72px 0; }- section + section { border-top: 1px solid var(--border); }-- /* Hero */- .hero { text-align: center; padding: 96px 0 72px; border-bottom: 1px solid var(--border); }- .hero-badge {- display: inline-block; font-size: 13px; color: var(--accent);- border: 1px solid var(--accent); border-radius: 20px;- padding: 4px 14px; margin-bottom: 20px; letter-spacing: 0.5px;- }- .hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }- .hero h1 span { color: var(--accent); }- .hero p { font-size: 20px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }- .hero-install {- display: inline-flex; align-items: center; gap: 12px;- background: var(--bg-code); border: 1px solid var(--border); border-radius: 8px;- padding: 12px 20px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 15px;- margin-bottom: 24px;- }- .hero-install code { color: var(--green); }- .copy-btn {- background: none; border: 1px solid var(--border); color: var(--text-muted);- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 13px; transition: all 0.2s;- }- .copy-btn:hover { color: var(--text); border-color: var(--text-muted); }- .hero-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }- .btn {- display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px;- border-radius: 8px; font-size: 15px; font-weight: 600; transition: all 0.2s;- }- .btn-primary { background: var(--accent); color: #fff; }- [data-theme="light"] .btn-primary { color: #fff; }- .btn-primary:hover { background: var(--accent-hover); text-decoration: none; }- .btn-outline { border: 1px solid var(--border); color: var(--text); }- .btn-outline:hover { border-color: var(--text-muted); text-decoration: none; }-- /* Section headers */- .section-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; text-align: center; }- .section-sub { color: var(--text-muted); font-size: 17px; text-align: center; margin-bottom: 48px; }-- /* Feature cards */- .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }- .feature-card {- background: var(--bg-card); border: 1px solid var(--border);- border-radius: 12px; padding: 28px; transition: background 0.3s;- }- .feature-icon { font-size: 28px; margin-bottom: 12px; }- .feature-card h3 { font-size: 18px; margin-bottom: 8px; }- .feature-card p { color: var(--text-muted); font-size: 14px; }-- /* Demo gallery */- .demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }- .demo-item { text-align: center; }- .demo-item img { width: 100%; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 12px; }- .demo-item h4 { font-size: 16px; margin-bottom: 4px; }- .demo-item p { color: var(--text-muted); font-size: 13px; }-- /* Comparison table */- .compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }- .compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }- .compare-table th { color: var(--text-muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }- .compare-table tr:hover { background: var(--bg-card); }- .check { color: var(--green); font-weight: 700; }- .cross { color: var(--red); }-- /* Install tabs */- .tabs { display: flex; gap: 0; margin-bottom: 0; flex-wrap: wrap; }- .tab {- padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border);- border-bottom: none; color: var(--text-muted); cursor: pointer;- font-size: 14px; font-weight: 500; transition: all 0.2s;- }- .tab:first-child { border-radius: 8px 0 0 0; }- .tab:last-child { border-radius: 0 8px 0 0; }- button.tab { font-family: inherit; }- .tab.active { background: var(--bg-code); color: var(--text); border-bottom-color: var(--bg-code); }- .tab-content {- display: none; background: var(--bg-code); border: 1px solid var(--border);- border-radius: 0 8px 8px 8px; padding: 20px;- }- .tab-content.active { display: block; }- .tab-content pre {- font-family: 'SF Mono', 'Fira Code', monospace; font-size: 14px;- line-height: 1.5; white-space: pre-wrap; color: var(--green);- }-- /* Support */- .support-grid {- display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));- gap: 20px; max-width: 820px; margin: 0 auto 40px;- }- .support-card {- background: var(--bg-card); border: 1px solid var(--border);- border-radius: 12px; padding: 20px;- display: flex; flex-direction: column; align-items: center; text-align: center;- transition: background 0.3s;- }- .support-card img {- width: 160px; height: 160px; object-fit: contain;- border-radius: 8px; margin-bottom: 12px; background: #fff;- }- .support-card b { font-size: 14px; color: var(--text); }- .author-block {- text-align: center; padding-top: 32px; margin-top: 16px;- border-top: 1px solid var(--border);- }- .author-block h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }- .author-block p { color: var(--text-muted); margin-bottom: 12px; }- .author-links { display: inline-flex; gap: 24px; font-size: 14px; }-- /* Footer */- footer {- border-top: 1px solid var(--border); padding: 32px 0;- text-align: center; color: var(--text-muted); font-size: 14px;- }- footer a { color: var(--text-muted); }- footer a:hover { color: var(--text); }-- /* Responsive */- @media (max-width: 640px) {- .hero h1 { font-size: 32px; }- .hero p { font-size: 17px; }- section { padding: 48px 0; }- .features-grid { grid-template-columns: 1fr; }- .hero-install { flex-direction: column; font-size: 13px; }- }- .skip-link {- position: absolute; top: -40px; left: 0; background: var(--accent); color: #fff;- padding: 8px 16px; z-index: 200; font-size: 14px; transition: top 0.2s;- }- .skip-link:focus { top: 0; }- .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }- </style>-</head>-<body>- <a href="#main-content" class="skip-link">Skip to main content</a>-- <nav role="navigation" aria-label="Main">- <div class="logo">drawio-<span>skill</span></div>- <div class="nav-right">- <a href="zh.html" class="lang-switch">中文</a>- <button class="theme-btn" onclick="toggleTheme()" title="Toggle theme" aria-label="Toggle dark/light theme">🌙</button>- </div>- </nav>-- <main id="main-content">- <!-- Hero -->- <div class="hero">- <div class="container">- <div class="hero-badge">v1.4.0 — Custom Output Directory</div>- <h1>drawio-<span>skill</span></h1>- <p>From text to professional diagrams. Generate draw.io files from natural language with self-check, iterative refinement, and ML model support.</p>- <div class="hero-install">- <code id="install-cmd">git clone https://github.com/Agents365-ai/drawio-skill.git ~/.claude/skills/drawio-skill</code>- <button class="copy-btn" onclick="copyInstall()">Copy</button>- </div>- <div class="hero-links">- <a href="https://github.com/Agents365-ai/drawio-skill" class="btn btn-primary">GitHub</a>- <a href="https://clawhub.ai/agents365-ai/drawio-pro-skill" class="btn btn-outline">ClawHub</a>- <a href="https://skillsmp.com/skills/agents365-ai-drawio-skill-skill-md" class="btn btn-outline">SkillsMP</a>- </div>- </div>- </div>-- <!-- Features -->- <section>- <div class="container">- <h2 class="section-title">Why This Skill</h2>- <p class="section-sub">The only pure-SKILL.md solution that reads its own output and auto-fixes before showing you.</p>- <div class="features-grid">- <div class="feature-card">- <div class="feature-icon">📋</div>- <h3>6 Diagram Presets</h3>- <p>ERD, UML Class, Sequence, Architecture, ML/Deep Learning, Flowchart — each with preset shapes, styles, and layout conventions.</p>- </div>- <div class="feature-card">- <div class="feature-icon">🧠</div>- <h3>ML / Deep Learning</h3>- <p>Transformer, CNN, LSTM architectures with tensor shape annotations (B, C, H, W). Built for NeurIPS, ICML, ICLR papers.</p>- </div>- <div class="feature-card">- <div class="feature-icon">🔍</div>- <h3>Self-Check Loop</h3>- <p>Reads the exported PNG, detects 6 issue types (overlaps, clipped labels, stacked edges), and auto-fixes before showing you.</p>- </div>- <div class="feature-card">- <div class="feature-icon">✨</div>- <h3>Animated Connectors</h3>- <p>Add <code>flowAnimation=1</code> for moving dot animations along arrows. Ideal for data-flow and pipeline diagrams in SVG.</p>- </div>- <div class="feature-card">- <div class="feature-icon">🎨</div>- <h3>Style Presets</h3>- <p>Teach the skill your visual style from a <code>.drawio</code> file or image. Save by name and apply to future diagrams. 3 built-ins included: <code>default</code>, <code>corporate</code>, <code>handdrawn</code>.</p>- </div>- <div class="feature-card">- <div class="feature-icon">🌐</div>- <h3>6 Platforms, Zero Config</h3>- <p>Claude Code, Opencode, OpenClaw, Hermes, Codex, SkillsMP — just one SKILL.md file + draw.io desktop. No MCP, no Node.js.</p>- </div>- <div class="feature-card">- <div class="feature-icon">💻</div>- <h3>Browser Fallback</h3>- <p>No desktop CLI? Generates a diagrams.net URL that opens your diagram in the browser for viewing and editing.</p>- </div>- </div>- </div>- </section>-- <!-- Demo Gallery -->- <section>- <div class="container">- <h2 class="section-title">Demo Gallery</h2>- <p class="section-sub">Clean edge routing across different topologies — no lines crossing through shapes.</p>- <div class="demos">- <div class="demo-item">- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star.png" alt="Star topology diagram">- <h4>Star Topology</h4>- <p>7 nodes — central broker, 6 services radiating outward</p>- </div>- <div class="demo-item">- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-layered.png" alt="Layered flow diagram">- <h4>Layered Flow</h4>- <p>10 nodes, 4 tiers — with cross-connections routed cleanly</p>- </div>- <div class="demo-item">- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-ring.png" alt="Ring cycle diagram">- <h4>Ring / Cycle</h4>- <p>8 nodes — CI/CD pipeline with closed loop and spur branches</p>- </div>- </div>- </div>- </section>-- <!-- Comparison -->- <section>- <div class="container">- <h2 class="section-title">vs Native Agent</h2>- <p class="section-sub">What you get with the skill vs prompting an LLM directly.</p>- <div class="table-wrapper">- <table class="compare-table">- <thead>- <tr><th>Feature</th><th>Native Agent</th><th>This Skill</th></tr>- </thead>- <tbody>- <tr><td>Self-check after export</td><td class="cross">✗</td><td class="check">✓ 2-round auto-fix</td></tr>- <tr><td>Iterative review loop</td><td class="cross">✗</td><td class="check">✓ 5-round with targeted edits</td></tr>- <tr><td>Diagram type presets</td><td class="cross">✗</td><td class="check">✓ 6 presets (ERD, UML, Seq, Arch, ML, Flow)</td></tr>- <tr><td>ML model diagrams</td><td class="cross">✗</td><td class="check">✓ Tensor shapes, layer colors</td></tr>- <tr><td>Animated connectors</td><td class="cross">✗</td><td class="check">✓ flowAnimation=1</td></tr>- <tr><td>Grid-aligned layout</td><td class="cross">✗</td><td class="check">✓ 10px snap</td></tr>- <tr><td>Complexity-scaled spacing</td><td class="cross">✗</td><td class="check">✓ 200–350px by node count</td></tr>- <tr><td>Color palette</td><td class="cross">Random</td><td class="check">✓ 7-color semantic system</td></tr>- <tr><td>Edge routing rules</td><td class="cross">Basic</td><td class="check">✓ Corridors + waypoints + distribution</td></tr>- <tr><td>Container/group nesting</td><td class="cross">✗</td><td class="check">✓ Swimlane + group + custom</td></tr>- <tr><td>Embed diagram in export</td><td class="cross">✗</td><td class="check">✓ --embed-diagram</td></tr>- <tr><td>Browser fallback</td><td class="cross">✗</td><td class="check">✓ diagrams.net URL</td></tr>- <tr><td>Auto-launch desktop app</td><td class="cross">✗</td><td class="check">✓ Opens .drawio for fine-tuning</td></tr>- <tr><td>Style presets</td><td class="cross">✗</td><td class="check">✓ Learn, save & apply named styles</td></tr>- </tbody>- </table>- </div>- </div>- </section>-- <!-- Install -->- <section>- <div class="container">- <h2 class="section-title">Install</h2>- <p class="section-sub">Pick your platform. Takes 10 seconds.</p>- <div class="tabs" role="tablist" aria-label="Installation platforms">- <button class="tab active" role="tab" aria-selected="true" aria-controls="tab-claude" onclick="switchTab(event, 'tab-claude')">Claude Code</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-opencode" onclick="switchTab(event, 'tab-opencode')">Opencode</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-openclaw" onclick="switchTab(event, 'tab-openclaw')">OpenClaw</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-skillsmp" onclick="switchTab(event, 'tab-skillsmp')">SkillsMP</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-clawhub" onclick="switchTab(event, 'tab-clawhub')">ClawHub</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-codex" onclick="switchTab(event, 'tab-codex')">Codex</button>- </div>- <div id="tab-claude" class="tab-content active" role="tabpanel">- <pre># Global install (available in all projects)-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.claude/skills/drawio-skill--# Project-level install-git clone https://github.com/Agents365-ai/drawio-skill.git .claude/skills/drawio-skill</pre>- </div>- <div id="tab-opencode" class="tab-content" role="tabpanel">- <pre># Global install (Opencode-native path)-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.config/opencode/skills/drawio-skill--# Project-level install-git clone https://github.com/Agents365-ai/drawio-skill.git .opencode/skills/drawio-skill--# Also auto-detected from existing Claude Code install-# (~/.claude/skills/ and .claude/skills/ are read automatically)</pre>- </div>- <div id="tab-openclaw" class="tab-content" role="tabpanel">- <pre># Via ClawHub registry-clawhub install drawio-pro-skill--# Manual install-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.openclaw/skills/drawio-skill</pre>- </div>- <div id="tab-skillsmp" class="tab-content" role="tabpanel">- <pre># Via SkillsMP CLI-skills install drawio-skill</pre>- </div>- <div id="tab-clawhub" class="tab-content" role="tabpanel">- <pre># Via ClawHub CLI-clawhub install drawio-pro-skill</pre>- </div>- <div id="tab-codex" class="tab-content" role="tabpanel">- <pre># User-level install-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.agents/skills/drawio-skill--# Project-level install-git clone https://github.com/Agents365-ai/drawio-skill.git .agents/skills/drawio-skill</pre>- </div>- </div>- </section>-- <!-- Support & Author -->- <section id="support">- <div class="container">- <h2 class="section-title">Support</h2>- <p class="section-sub">If this skill helps you, consider supporting the author.</p>- <div class="support-grid">- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png" alt="WeChat Pay" loading="lazy">- <b>WeChat Pay</b>- </div>- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png" alt="Alipay" loading="lazy">- <b>Alipay</b>- </div>- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png" alt="Buy Me a Coffee" loading="lazy">- <b>Buy Me a Coffee</b>- </div>- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif" alt="Give a Reward" loading="lazy">- <b>Give a Reward</b>- </div>- </div>- <div class="author-block">- <h3>Author</h3>- <p><strong>Agents365-ai</strong></p>- <div class="author-links">- <a href="https://github.com/Agents365-ai">GitHub</a>- <a href="https://space.bilibili.com/441831884">Bilibili</a>- </div>- </div>- </div>- </section>-- </main>-- <!-- Footer -->- <footer>- <div class="container">- <p>- MIT License ·- <a href="https://github.com/Agents365-ai/drawio-skill">GitHub</a> ·- <a href="https://github.com/Agents365-ai">Agents365-ai</a>- </p>- </div>- </footer>-- <script>- function copyInstall() {- const cmd = document.getElementById('install-cmd').textContent;- navigator.clipboard.writeText(cmd).then(() => {- const btn = document.querySelector('.copy-btn');- btn.textContent = 'Copied!';- setTimeout(() => btn.textContent = 'Copy', 2000);- });- }- function switchTab(e, id) {- document.querySelectorAll('.tab').forEach(t => { t.classList.remove('active'); t.setAttribute('aria-selected', 'false'); });- document.querySelectorAll('.tab-content').forEach(t => t.classList.remove('active'));- e.target.classList.add('active');- e.target.setAttribute('aria-selected', 'true');- document.getElementById(id).classList.add('active');- }- function toggleTheme() {- const html = document.documentElement;- const current = html.getAttribute('data-theme');- const next = current === 'dark' ? 'light' : 'dark';- html.setAttribute('data-theme', next);- localStorage.setItem('theme', next);- document.querySelector('.theme-btn').innerHTML = next === 'dark' ? '🌙' : '☀️';- }- // Restore saved theme- (function() {- const saved = localStorage.getItem('theme');- if (saved) {- document.documentElement.setAttribute('data-theme', saved);- document.querySelector('.theme-btn').innerHTML = saved === 'dark' ? '🌙' : '☀️';- }- })();- </script>-</body>-</html>diff --git a/docs/issue-8/microservices.drawio b/docs/issue-8/microservices.drawiodeleted file mode 100644index 6e83096..0000000--- a/docs/issue-8/microservices.drawio+++ /dev/null@@ -1,56 +0,0 @@-<?xml version="1.0" encoding="UTF-8"?>-<mxfile host="drawio" version="26.0.0">- <diagram name="Microservices">- <mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="800" math="0" shadow="0">- <root>- <mxCell id="0" />- <mxCell id="1" parent="0" />- <mxCell id="2" value="API Gateway" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=14;fontStyle=1;" vertex="1" parent="1">- <mxGeometry x="40" y="200" width="180" height="80" as="geometry" />- </mxCell>- <mxCell id="3" value="Auth Service" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=14;" vertex="1" parent="1">- <mxGeometry x="320" y="40" width="180" height="80" as="geometry" />- </mxCell>- <mxCell id="4" value="User Service" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=14;" vertex="1" parent="1">- <mxGeometry x="320" y="200" width="180" height="80" as="geometry" />- </mxCell>- <mxCell id="5" value="Order Service" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=14;" vertex="1" parent="1">- <mxGeometry x="320" y="360" width="180" height="80" as="geometry" />- </mxCell>- <mxCell id="6" value="PostgreSQL" style="shape=cylinder3;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=14;fontStyle=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="1">- <mxGeometry x="640" y="160" width="160" height="100" as="geometry" />- </mxCell>- <mxCell id="7" value="RabbitMQ" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=14;fontStyle=1;" vertex="1" parent="1">- <mxGeometry x="640" y="360" width="160" height="80" as="geometry" />- </mxCell>- <mxCell id="8" value="Notification Worker" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=14;" vertex="1" parent="1">- <mxGeometry x="900" y="360" width="180" height="80" as="geometry" />- </mxCell>- <mxCell id="20" value="auth" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">- <mxGeometry relative="1" as="geometry" />- </mxCell>- <mxCell id="21" value="users" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="4">- <mxGeometry relative="1" as="geometry" />- </mxCell>- <mxCell id="22" value="orders" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="5">- <mxGeometry relative="1" as="geometry" />- </mxCell>- <mxCell id="23" value="SQL" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="6">- <mxGeometry relative="1" as="geometry" />- </mxCell>- <mxCell id="24" value="SQL" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="6">- <mxGeometry relative="1" as="geometry" />- </mxCell>- <mxCell id="25" value="SQL" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="6">- <mxGeometry relative="1" as="geometry" />- </mxCell>- <mxCell id="26" value="publish" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="7">- <mxGeometry relative="1" as="geometry" />- </mxCell>- <mxCell id="27" value="consume" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="7" target="8">- <mxGeometry relative="1" as="geometry" />- </mxCell>- </root>- </mxGraphModel>- </diagram>-</mxfile>diff --git a/docs/issue-8/microservices.drawio.png b/docs/issue-8/microservices.drawio.pngdeleted file mode 100644index 08f4e64..0000000Binary files a/docs/issue-8/microservices.drawio.png and /dev/null differdiff --git a/docs/zh.html b/docs/zh.htmldeleted file mode 100644index 6609901..0000000--- a/docs/zh.html+++ /dev/null@@ -1,456 +0,0 @@-<!DOCTYPE html>-<html lang="zh-CN" data-theme="dark">-<head>- <meta charset="UTF-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>drawio-skill — 从文本到专业图表</title>- <meta name="description" content="Claude Code skill,通过自然语言生成专业 draw.io 图表。6 种图表预设、ML/DL 支持、自检循环、动画连接线。">- <meta name="theme-color" content="#0d1117">- <link rel="canonical" href="https://agents365-ai.github.io/drawio-skill/zh.html">- <link rel="alternate" hreflang="zh" href="https://agents365-ai.github.io/drawio-skill/zh.html">- <link rel="alternate" hreflang="en" href="https://agents365-ai.github.io/drawio-skill/">- <meta property="og:title" content="drawio-skill — 从文本到专业图表">- <meta property="og:description" content="Claude Code skill,通过自然语言生成专业 draw.io 图表。6 种图表预设、ML/DL 支持、自检循环。">- <meta property="og:type" content="website">- <meta property="og:url" content="https://agents365-ai.github.io/drawio-skill/zh.html">- <meta property="og:image" content="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star-cn.png">- <meta name="twitter:card" content="summary_large_image">- <style>- *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }-- [data-theme="dark"] {- --bg: #0d1117; --bg-card: #161b22; --bg-code: #1c2128;- --border: #30363d; --text: #e6edf3; --text-muted: #8b949e;- --accent: #58a6ff; --accent-hover: #79c0ff;- --green: #3fb950; --red: #f85149;- }- [data-theme="light"] {- --bg: #ffffff; --bg-card: #f6f8fa; --bg-code: #f0f3f6;- --border: #d0d7de; --text: #1f2328; --text-muted: #656d76;- --accent: #0969da; --accent-hover: #0550ae;- --green: #1a7f37; --red: #cf222e;- }-- body {- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;- background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;- transition: background 0.3s, color 0.3s;- }- a { color: var(--accent); text-decoration: none; }- a:hover { color: var(--accent-hover); text-decoration: underline; }-- nav {- position: sticky; top: 0; z-index: 100;- background: var(--bg); border-bottom: 1px solid var(--border);- padding: 12px 24px; display: flex; justify-content: space-between; align-items: center;- transition: background 0.3s;- }- nav .logo { font-weight: 700; font-size: 16px; color: var(--text); }- nav .logo span { color: var(--accent); }- nav .nav-right { display: flex; align-items: center; gap: 16px; }- .lang-switch {- font-size: 14px; font-weight: 500; color: var(--text-muted);- padding: 4px 12px; border: 1px solid var(--border); border-radius: 6px;- transition: all 0.2s;- }- .lang-switch:hover { color: var(--text); border-color: var(--text-muted); text-decoration: none; }- .theme-btn {- background: none; border: 1px solid var(--border); color: var(--text-muted);- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 16px;- transition: all 0.2s; line-height: 1;- }- .theme-btn:hover { color: var(--text); border-color: var(--text-muted); }-- .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }- section { padding: 72px 0; }- section + section { border-top: 1px solid var(--border); }-- .hero { text-align: center; padding: 96px 0 72px; border-bottom: 1px solid var(--border); }- .hero-badge {- display: inline-block; font-size: 13px; color: var(--accent);- border: 1px solid var(--accent); border-radius: 20px;- padding: 4px 14px; margin-bottom: 20px; letter-spacing: 0.5px;- }- .hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }- .hero h1 span { color: var(--accent); }- .hero p { font-size: 20px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }- .hero-install {- display: inline-flex; align-items: center; gap: 12px;- background: var(--bg-code); border: 1px solid var(--border); border-radius: 8px;- padding: 12px 20px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 15px;- margin-bottom: 24px;- }- .hero-install code { color: var(--green); }- .copy-btn {- background: none; border: 1px solid var(--border); color: var(--text-muted);- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 13px; transition: all 0.2s;- }- .copy-btn:hover { color: var(--text); border-color: var(--text-muted); }- .hero-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }- .btn {- display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px;- border-radius: 8px; font-size: 15px; font-weight: 600; transition: all 0.2s;- }- .btn-primary { background: var(--accent); color: #fff; }- [data-theme="light"] .btn-primary { color: #fff; }- .btn-primary:hover { background: var(--accent-hover); text-decoration: none; }- .btn-outline { border: 1px solid var(--border); color: var(--text); }- .btn-outline:hover { border-color: var(--text-muted); text-decoration: none; }-- .section-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; text-align: center; }- .section-sub { color: var(--text-muted); font-size: 17px; text-align: center; margin-bottom: 48px; }-- .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }- .feature-card {- background: var(--bg-card); border: 1px solid var(--border);- border-radius: 12px; padding: 28px; transition: background 0.3s;- }- .feature-icon { font-size: 28px; margin-bottom: 12px; }- .feature-card h3 { font-size: 18px; margin-bottom: 8px; }- .feature-card p { color: var(--text-muted); font-size: 14px; }-- .demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }- .demo-item { text-align: center; }- .demo-item img { width: 100%; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 12px; }- .demo-item h4 { font-size: 16px; margin-bottom: 4px; }- .demo-item p { color: var(--text-muted); font-size: 13px; }-- .compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }- .compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }- .compare-table th { color: var(--text-muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }- .compare-table tr:hover { background: var(--bg-card); }- .check { color: var(--green); font-weight: 700; }- .cross { color: var(--red); }-- .tabs { display: flex; gap: 0; margin-bottom: 0; flex-wrap: wrap; }- .tab {- padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border);- border-bottom: none; color: var(--text-muted); cursor: pointer;- font-size: 14px; font-weight: 500; transition: all 0.2s;- }- .tab:first-child { border-radius: 8px 0 0 0; }- .tab:last-child { border-radius: 0 8px 0 0; }- button.tab { font-family: inherit; }- .tab.active { background: var(--bg-code); color: var(--text); border-bottom-color: var(--bg-code); }- .tab-content {- display: none; background: var(--bg-code); border: 1px solid var(--border);- border-radius: 0 8px 8px 8px; padding: 20px;- }- .tab-content.active { display: block; }- .tab-content pre {- font-family: 'SF Mono', 'Fira Code', monospace; font-size: 14px;- line-height: 1.5; white-space: pre-wrap; color: var(--green);- }-- .support-grid {- display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));- gap: 20px; max-width: 820px; margin: 0 auto 40px;- }- .support-card {- background: var(--bg-card); border: 1px solid var(--border);- border-radius: 12px; padding: 20px;- display: flex; flex-direction: column; align-items: center; text-align: center;- transition: background 0.3s;- }- .support-card img {- width: 160px; height: 160px; object-fit: contain;- border-radius: 8px; margin-bottom: 12px; background: #fff;- }- .support-card b { font-size: 14px; color: var(--text); }- .author-block {- text-align: center; padding-top: 32px; margin-top: 16px;- border-top: 1px solid var(--border);- }- .author-block h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }- .author-block p { color: var(--text-muted); margin-bottom: 12px; }- .author-links { display: inline-flex; gap: 24px; font-size: 14px; }-- footer {- border-top: 1px solid var(--border); padding: 32px 0;- text-align: center; color: var(--text-muted); font-size: 14px;- }- footer a { color: var(--text-muted); }- footer a:hover { color: var(--text); }-- @media (max-width: 640px) {- .hero h1 { font-size: 32px; }- .hero p { font-size: 17px; }- section { padding: 48px 0; }- .features-grid { grid-template-columns: 1fr; }- .hero-install { flex-direction: column; font-size: 13px; }- }- .skip-link {- position: absolute; top: -40px; left: 0; background: var(--accent); color: #fff;- padding: 8px 16px; z-index: 200; font-size: 14px; transition: top 0.2s;- }- .skip-link:focus { top: 0; }- .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }- </style>-</head>-<body>- <a href="#main-content" class="skip-link">跳转到主要内容</a>-- <nav role="navigation" aria-label="主导航">- <div class="logo">drawio-<span>skill</span></div>- <div class="nav-right">- <a href="index.html" class="lang-switch">English</a>- <button class="theme-btn" onclick="toggleTheme()" title="切换主题" aria-label="切换深色/浅色主题">🌙</button>- </div>- </nav>-- <main id="main-content">- <!-- Hero -->- <div class="hero">- <div class="container">- <div class="hero-badge">v1.4.0 — 自定义输出目录</div>- <h1>drawio-<span>skill</span></h1>- <p>从文本到专业图表。通过自然语言生成 draw.io 文件,支持自检、迭代优化和 ML 模型图。</p>- <div class="hero-install">- <code id="install-cmd">git clone https://github.com/Agents365-ai/drawio-skill.git ~/.claude/skills/drawio-skill</code>- <button class="copy-btn" onclick="copyInstall()">复制</button>- </div>- <div class="hero-links">- <a href="https://github.com/Agents365-ai/drawio-skill" class="btn btn-primary">GitHub</a>- <a href="https://clawhub.ai/agents365-ai/drawio-pro-skill" class="btn btn-outline">ClawHub</a>- <a href="https://skillsmp.com/skills/agents365-ai-drawio-skill-skill-md" class="btn btn-outline">SkillsMP</a>- </div>- </div>- </div>-- <!-- Features -->- <section>- <div class="container">- <h2 class="section-title">为什么选择这个 Skill</h2>- <p class="section-sub">唯一能自动读取输出并在展示前自动修复的纯 SKILL.md 方案。</p>- <div class="features-grid">- <div class="feature-card">- <div class="feature-icon">📋</div>- <h3>6 种图表预设</h3>- <p>ERD、UML 类图、序列图、架构图、ML/深度学习、流程图 — 每种都有预设形状、样式和布局规范。</p>- </div>- <div class="feature-card">- <div class="feature-icon">🧠</div>- <h3>ML / 深度学习</h3>- <p>Transformer、CNN、LSTM 架构,带张量形状标注 (B, C, H, W)。专为 NeurIPS、ICML、ICLR 论文打造。</p>- </div>- <div class="feature-card">- <div class="feature-icon">🔍</div>- <h3>自检循环</h3>- <p>读取导出的 PNG,检测 6 类问题(重叠、标签裁切、连线堆叠),在展示给你之前自动修复。</p>- </div>- <div class="feature-card">- <div class="feature-icon">✨</div>- <h3>动画连接线</h3>- <p>添加 <code>flowAnimation=1</code> 即可在箭头上显示移动动画。适合数据流和管道图的 SVG 导出。</p>- </div>- <div class="feature-card">- <div class="feature-icon">🎨</div>- <h3>样式预设</h3>- <p>用一个 <code>.drawio</code> 文件或图片"教会" Skill 你的风格,命名保存后可在后续图表中复用。内置 3 种预设:<code>default</code>、<code>corporate</code>、<code>handdrawn</code>。</p>- </div>- <div class="feature-card">- <div class="feature-icon">🌐</div>- <h3>6 大平台、零配置</h3>- <p>Claude Code、Opencode、OpenClaw、Hermes、Codex、SkillsMP — 仅需一个 SKILL.md + draw.io 桌面版,无需 MCP、Node.js。</p>- </div>- <div class="feature-card">- <div class="feature-icon">💻</div>- <h3>浏览器降级</h3>- <p>没有桌面 CLI?自动生成 diagrams.net URL,在浏览器中查看和编辑图表。</p>- </div>- </div>- </div>- </section>-- <!-- Demo Gallery -->- <section>- <div class="container">- <h2 class="section-title">示例展示</h2>- <p class="section-sub">不同拓扑的清晰连线路由 — 线条不会穿越无关形状。</p>- <div class="demos">- <div class="demo-item">- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star-cn.png" alt="星形拓扑图">- <h4>星形拓扑</h4>- <p>7 个节点 — 中央消息代理 + 6 个微服务辐射排列</p>- </div>- <div class="demo-item">- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-layered-cn.png" alt="分层流程图">- <h4>分层流程</h4>- <p>10 个节点、4 层 — 交叉连线清晰路由</p>- </div>- <div class="demo-item">- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-ring-cn.png" alt="环形循环图">- <h4>环形 / 循环</h4>- <p>8 个节点 — CI/CD 流水线,含闭合回路和分支</p>- </div>- </div>- </div>- </section>-- <!-- Comparison -->- <section>- <div class="container">- <h2 class="section-title">对比原生智能体</h2>- <p class="section-sub">使用本 skill 与直接提示 LLM 的区别。</p>- <div class="table-wrapper">- <table class="compare-table">- <thead>- <tr><th>功能</th><th>原生智能体</th><th>本 Skill</th></tr>- </thead>- <tbody>- <tr><td>导出后自检</td><td class="cross">✗</td><td class="check">✓ 2 轮自动修复</td></tr>- <tr><td>迭代反馈循环</td><td class="cross">✗</td><td class="check">✓ 5 轮定向编辑</td></tr>- <tr><td>图表类型预设</td><td class="cross">✗</td><td class="check">✓ 6 种预设(ERD、UML、序列、架构、ML、流程)</td></tr>- <tr><td>ML 模型图</td><td class="cross">✗</td><td class="check">✓ 张量标注、层配色</td></tr>- <tr><td>动画连接线</td><td class="cross">✗</td><td class="check">✓ flowAnimation=1</td></tr>- <tr><td>网格对齐布局</td><td class="cross">✗</td><td class="check">✓ 10px 对齐</td></tr>- <tr><td>按复杂度分级间距</td><td class="cross">✗</td><td class="check">✓ 200–350px</td></tr>- <tr><td>配色方案</td><td class="cross">随机</td><td class="check">✓ 7 色语义系统</td></tr>- <tr><td>连线路由规则</td><td class="cross">基础</td><td class="check">✓ 走廊 + waypoints + 分布</td></tr>- <tr><td>容器/分组</td><td class="cross">✗</td><td class="check">✓ Swimlane + group + 自定义</td></tr>- <tr><td>嵌入式导出</td><td class="cross">✗</td><td class="check">✓ --embed-diagram</td></tr>- <tr><td>浏览器降级</td><td class="cross">✗</td><td class="check">✓ diagrams.net URL</td></tr>- <tr><td>自动启动桌面版</td><td class="cross">✗</td><td class="check">✓ 导出后打开 .drawio</td></tr>- <tr><td>样式预设</td><td class="cross">✗</td><td class="check">✓ 学习、保存并应用命名样式</td></tr>- </tbody>- </table>- </div>- </div>- </section>-- <!-- Install -->- <section>- <div class="container">- <h2 class="section-title">安装</h2>- <p class="section-sub">选择你的平台,10 秒搞定。</p>- <div class="tabs" role="tablist" aria-label="安装平台">- <button class="tab active" role="tab" aria-selected="true" aria-controls="tab-claude" onclick="switchTab(event, 'tab-claude')">Claude Code</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-opencode" onclick="switchTab(event, 'tab-opencode')">Opencode</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-openclaw" onclick="switchTab(event, 'tab-openclaw')">OpenClaw</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-skillsmp" onclick="switchTab(event, 'tab-skillsmp')">SkillsMP</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-clawhub" onclick="switchTab(event, 'tab-clawhub')">ClawHub</button>- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-codex" onclick="switchTab(event, 'tab-codex')">Codex</button>- </div>- <div id="tab-claude" class="tab-content active" role="tabpanel">- <pre># 全局安装(所有项目可用)-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.claude/skills/drawio-skill--# 项目级安装-git clone https://github.com/Agents365-ai/drawio-skill.git .claude/skills/drawio-skill</pre>- </div>- <div id="tab-opencode" class="tab-content" role="tabpanel">- <pre># 全局安装(Opencode 原生路径)-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.config/opencode/skills/drawio-skill--# 项目级安装-git clone https://github.com/Agents365-ai/drawio-skill.git .opencode/skills/drawio-skill--# 也可自动识别已有的 Claude Code 安装-# (~/.claude/skills/ 和 .claude/skills/ 会被自动读取)</pre>- </div>- <div id="tab-openclaw" class="tab-content" role="tabpanel">- <pre># 通过 ClawHub 安装-clawhub install drawio-pro-skill--# 手动安装-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.openclaw/skills/drawio-skill</pre>- </div>- <div id="tab-skillsmp" class="tab-content" role="tabpanel">- <pre># 通过 SkillsMP CLI-skills install drawio-skill</pre>- </div>- <div id="tab-clawhub" class="tab-content" role="tabpanel">- <pre># 通过 ClawHub CLI-clawhub install drawio-pro-skill</pre>- </div>- <div id="tab-codex" class="tab-content" role="tabpanel">- <pre># 用户级安装-git clone https://github.com/Agents365-ai/drawio-skill.git ~/.agents/skills/drawio-skill--# 项目级安装-git clone https://github.com/Agents365-ai/drawio-skill.git .agents/skills/drawio-skill</pre>- </div>- </div>- </section>-- <!-- 支持作者 -->- <section id="support">- <div class="container">- <h2 class="section-title">支持作者</h2>- <p class="section-sub">如果这个 skill 对你有帮助,欢迎支持作者。</p>- <div class="support-grid">- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png" alt="微信支付" loading="lazy">- <b>微信支付</b>- </div>- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png" alt="支付宝" loading="lazy">- <b>支付宝</b>- </div>- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png" alt="Buy Me a Coffee" loading="lazy">- <b>Buy Me a Coffee</b>- </div>- <div class="support-card">- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif" alt="打赏" loading="lazy">- <b>打赏</b>- </div>- </div>- <div class="author-block">- <h3>作者</h3>- <p><strong>Agents365-ai</strong></p>- <div class="author-links">- <a href="https://github.com/Agents365-ai">GitHub</a>- <a href="https://space.bilibili.com/441831884">Bilibili</a>- </div>- </div>- </div>- </section>-- </main>-- <!-- Footer -->- <footer>- <div class="container">- <p>- MIT 许可证 ·- <a href="https://github.com/Agents365-ai/drawio-skill">GitHub</a> ·- <a href="https://github.com/Agents365-ai">Agents365-ai</a>- </p>- </div>- </footer>-- <script>- function copyInstall() {- const cmd = document.getElementById('install-cmd').textContent;- navigator.clipboard.writeText(cmd).then(() => {- const btn = document.querySelector('.copy-btn');- btn.textContent = '已复制!';- setTimeout(() => btn.textContent = '复制', 2000);- });- }- function switchTab(e, id) {- document.querySelectorAll('.tab').forEach(t => { t.classList.remove('active'); t.setAttribute('aria-selected', 'false'); });- document.querySelectorAll('.tab-content').forEach(t => t.classList.remove('active'));- e.target.classList.add('active');- e.target.setAttribute('aria-selected', 'true');- document.getElementById(id).classList.add('active');- }- function toggleTheme() {- const html = document.documentElement;- const current = html.getAttribute('data-theme');- const next = current === 'dark' ? 'light' : 'dark';- html.setAttribute('data-theme', next);- localStorage.setItem('theme', next);- document.querySelector('.theme-btn').innerHTML = next === 'dark' ? '🌙' : '☀️';- }- (function() {- const saved = localStorage.getItem('theme');- if (saved) {- document.documentElement.setAttribute('data-theme', saved);- document.querySelector('.theme-btn').innerHTML = saved === 'dark' ? '🌙' : '☀️';- }- })();- </script>-</body>-</html>