Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Platform Integrations

БесплатноБез исполняемых скриптовНе проверен

Multi-platform diagram embedding guide for GitHub, Confluence, Jira, Azure DevOps, Notion, Teams, and Harness

TheLobbiот TheLobbi★ 22 звезды на GitHub

Об этом скилле

Platform Integrations for draw.io Diagrams

Format Selection

Format Editable Displayable Best For
.drawio Yes (native) No (needs app) Source of truth
.drawio.svg Yes (embedded XML) Yes (renders as SVG) GitHub, web, markdown
.drawio.png Yes (embedded XML) Yes (renders as PNG) Confluence, Jira, email
.svg (exported) No Yes Static documentation
.png (exported) No Yes Universal fallback
.pdf (exported) No Yes Print, formal docs

Recommended default: Use .drawio.svg files. They render as images everywhere SVG is supported while retaining the editable XML inside the SVG metadata. Re-open in draw.io to edit.


GitHub

Repository Storage

Store diagrams alongside code in docs/ or diagrams/ directories:

project/
  docs/
    architecture.drawio.svg
    data-flow.drawio.svg
    er-diagram.drawio.svg
  src/
  README.md

Markdown Embedding

Reference .drawio.svg files in any markdown file (README, wiki, PR descriptions):

## Architecture

![System Architecture](./docs/architecture.drawio.svg)

## Data Flow

![Data Flow](./docs/data-flow.drawio.svg)

GitHub renders SVG files inline. Clicking the image shows the full SVG.

Pull Request Diagrams

Include diagrams in PR descriptions to document changes:

## Changes

This PR refactors the authentication flow:

![Auth Flow Before](./docs/auth-flow-before.drawio.svg)
![Auth Flow After](./docs/auth-flow-after.drawio.svg)

For PR comments, upload PNG exports directly or link to SVG files in the branch.

GitHub Wiki

GitHub wikis support the same image syntax:

![Diagram](uploads/architecture.drawio.svg)

Or reference from the repo:

![Diagram](https://raw.githubusercontent.com/org/repo/main/docs/architecture.drawio.svg)

GitHub Actions: Auto-Export on Push

Create .github/workflows/drawio-export.yml to automatically convert .drawio files to SVG on push:

name: Export draw.io Diagrams

on:
  push:
    paths:
      - '**/*.drawio'

jobs:
  export:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Install draw.io Desktop (CLI)
        run: |
          wget -q https://github.com/jgraph/drawio-desktop/releases/download/v24.7.17/drawio-amd64-24.7.17.deb
          sudo apt-get install -y ./drawio-amd64-24.7.17.deb
          sudo apt-get install -y xvfb

      - name: Export changed .drawio to .drawio.svg
        run: |
          CHANGED=$(git diff --name-only HEAD~1 HEAD -- '*.drawio')
          for file in $CHANGED; do
            output="${file}.svg"
            xvfb-run -a drawio --export --format svg --embed-diagram \
              --output "$output" "$file"
            echo "Exported: $output"
          done

      - name: Commit exported SVGs
        run: |
          git config user.name "github-actions[bot]"
          git config user.email "github-actions[bot]@users.noreply.github.com"
          git add '*.drawio.svg'
          git diff --cached --quiet || git commit -m "chore: auto-export draw.io diagrams"
          git push

GitHub Actions: Using drawio-export Action

Alternatively use the community action:

- name: Export draw.io
  uses: rlespinasse/drawio-export-action@v2
  with:
    format: svg
    transparent: true
    embed-diagram: true
    output: docs/

VS Code Integration

Install the hediet.vscode-drawio extension:

// .vscode/extensions.json
{
  "recommendations": [
    "hediet.vscode-drawio"
  ]
}

This allows editing .drawio, .drawio.svg, and .drawio.png files directly in VS Code with a graphical editor. Files are saved in the draw.io format and render correctly on GitHub.

GitHub Pages

For interactive diagrams on GitHub Pages, embed the draw.io viewer:

<!-- docs/index.html -->
<div class="mxgraph" data-mxgraph='{"url":"architecture.drawio.svg","highlight":"#0000ff","nav":true,"resize":true}'>
</div>
<script src="https://viewer.diagrams.net/js/viewer-static.min.js"></script>

Or use an iframe:

<iframe
  src="https://viewer.diagrams.net/?url=https://raw.githubusercontent.com/org/repo/main/docs/architecture.drawio.svg&nav=1"
  width="100%" height="600" frameborder="0">
</iframe>

Confluence

draw.io for Confluence (Marketplace App)

The official draw.io app (by draw.io AG) is the most popular Confluence marketplace app. It adds native diagram capabilities.

Insert Diagram

  1. Edit a Confluence page
  2. Click the + button or type /drawio
  3. Select draw.io Diagram
  4. Create or edit diagram in the embedded editor
  5. Click Save & Exit to embed in the page

Embed Existing Diagram

Reference a diagram from another Confluence page:

  1. Insert macro: draw.io Diagram > Existing Diagram
  2. Select the page containing the source diagram
  3. The diagr
Полный SKILL.md на GitHub

Установить Platform Integrations в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Platform Integrations?

Multi-platform diagram embedding guide for GitHub, Confluence, Jira, Azure DevOps, Notion, Teams, and Harness

Как установить скилл Platform Integrations?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Platform Integrations запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Platform Integrations с