Логотип Architecture Diagram

Architecture Diagram

Спільнота
ulises-jeremias
architecture-diagram

WHAT — Create polished dark-themed architecture diagrams as self-contained HTML+SVG files (inline SVG, CSS styling, PNG/PDF export toolbar). Use when the user asks for system, infrastructure, cloud, security, or network topology diagrams rendered as a shareable visual artifact rather than code.

Огляд

Видавецьulises-jeremias
Репозиторійagent-toolkit
Назва навичкиarchitecture-diagram
Зірки
20
Форки
5
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: ulises-jeremias. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Architecture Diagram у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/architecture-diagram
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/plugins/agent-toolkit-complete/skills/architecture-diagram .claude/skills/architecture-diagram
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Architecture Diagram в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Architecture Diagram, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Architecture Diagram не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Architecture Diagram — Self-Contained HTML+SVG Diagrams

Create professional technical architecture diagrams as single self-contained HTML files with inline SVG graphics and CSS styling. The output renders correctly when opened directly in any modern browser — no build step, no JavaScript framework, no external images.

When to use

  • System, infrastructure, cloud, security, or network-topology diagrams.
  • A shareable, presentation-ready visual artifact is the deliverable.
  • Dark-theme technical aesthetic is desired.

For methodology (what to draw at each level), pair with architecture/c4-model; for lightweight in-repo text diagrams, use tooling/mermaid. This skill covers the rendered artifact case.

Workflow

  1. Copy resources/template.html as the starting point.
  2. Customize the <title>, header text, and footer metadata.
  3. Adjust the SVG viewBox if needed (default 1000 x 680).
  4. Add/reposition component boxes using the component pattern below.
  5. Draw connection arrows early in the SVG (after the background grid) so they render behind boxes.
  6. Update the three summary cards and legend.
  7. Deliver one .html file.

Design system

Semantic color palette

Component typeFill (rgba)Stroke
Frontendrgba(8, 51, 68, 0.4)#22d3ee
Backendrgba(6, 78, 59, 0.4)#34d399
Databasergba(76, 29, 149, 0.4)#a78bfa
AWS/Cloudrgba(120, 53, 15, 0.3)#fbbf24
Securityrgba(136, 19, 55, 0.4)#fb7185
Message busrgba(251, 146, 60, 0.3)#fb923c
External/Genericrgba(30, 41, 59, 0.5)#94a3b8

Typography

JetBrains Mono throughout (monospace, technical aesthetic):

html
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">

Font sizes: 12px component names, 9px sublabels, 8px annotations, 7px tiny labels.

Visual elements

Background: #020617 with a subtle grid pattern:

svg
<pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">
  <path d="M 40 0 L 0 0 0 40" fill="none" stroke="#1e293b" stroke-width="0.5"/>
</pattern>

Component boxes: rounded rectangles (rx="6"), 1.5px stroke, semi-transparent fills.

Security groups: dashed stroke (stroke-dasharray="4,4"), transparent fill, rose color.

Region boundaries: larger dashed stroke (stroke-dasharray="8,4"), amber color, rx="12".

Arrows: SVG marker arrowheads:

svg
<marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
  <polygon points="0 0, 10 3.5, 0 7" fill="#64748b" />
</marker>

Draw arrows before boxes so they layer behind components.

Masking arrows behind transparent fills: semi-transparent box fills let arrows show through. Pre-draw an opaque rect (fill="#0f172a") beneath the styled rect:

svg
<!-- Opaque background to mask arrows -->
<rect x="X" y="Y" width="W" height="H" rx="6" fill="#0f172a"/>
<!-- Styled component on top -->
<rect x="X" y="Y" width="W" height="H" rx="6" fill="rgba(76, 29, 149, 0.4)" stroke="#a78bfa" stroke-width="1.5"/>

Auth/security flows: dashed lines, rose color (#fb7185).

Message/event buses: small connectors placed in the vertical gap between services:

svg
<rect x="X" y="Y" width="120" height="20" rx="4" fill="rgba(251, 146, 60, 0.3)" stroke="#fb923c" stroke-width="1"/>
<text x="CENTER_X" y="Y+14" fill="#fb923c" font-size="7" text-anchor="middle">Kafka / RabbitMQ</text>

Component box pattern

svg
<rect x="X" y="Y" width="W" height="H" rx="6" fill="FILL_COLOR" stroke="STROKE_COLOR" stroke-width="1.5"/>
<text x="CENTER_X" y="Y+20" fill="white" font-size="11" font-weight="600" text-anchor="middle">LABEL</text>
<text x="CENTER_X" y="Y+36" fill="#94a3b8" font-size="9" text-anchor="middle">sublabel</text>

Info card pattern

html
<div class="card">
  <div class="card-header">
    <div class="card-dot COLOR"></div>
    <h3>Title</h3>
  </div>
  <ul>
    <li>• Item one</li>
    <li>• Item two</li>
  </ul>
</div>

Layout rules

Vertical spacing (critical)

Standard component height is 60px (80–120px for larger blocks); keep a minimum 40px vertical gap between stacked components, and place inline connectors (buses) centered inside that gap — never overlapping either component:

text
Component A: y=70,  height=60  → ends at y=130
Gap:         y=130 to y=170   → 40px gap, bus at y=140 (20px tall)
Component B: y=170, height=60  → ends at y=230

Legend placement (critical)

Place legends outside all boundary boxes (regions, clusters, security groups). Compute the lowest boundary end (y + height), start the legend at least 20px below it, and extend the SVG viewBox height accordingly.

Page structure

  1. Header — title with pulsing dot indicator, subtitle, export toolbar.
  2. Main SVG diagram — contained in a rounded border card.
  3. Summary cards — grid of three cards below the diagram.
  4. Footer — minimal metadata line.

Export toolbar

The template ships a collapsed ⋯ toggle in the header revealing three export actions — clipboard copy, high-DPI PNG download, and one-page PDF — all driven by two pinned CDN scripts with Subresource Integrity hashes (html2canvas, jsPDF). Keep these intact when customizing:

  • Both <script> tags in <head> (pinned versions, SRI hashes, crossorigin="anonymous").
  • id="report-container" on the outermost .container div (capture target).
  • .toolbar markup plus @media print { .toolbar { display: none !important; } }.
  • The copyAsImage(), downloadPNG(), downloadPDF() functions before </body>.

Caveats: the clipboard API needs a user gesture and a secure context; html2canvas renders plain SVG shapes/text reliably but not <foreignObject>; raise capture scale above 2 for higher-resolution output.

Output contract

Exactly one self-contained .html file per diagram:

  • Embedded CSS only (external exception: Google Fonts).
  • Inline SVG only (no external images).
  • Renders correctly opened directly in any modern browser.

References

Поширені запитання

Що робить навичка ШІ Architecture Diagram?

WHAT — Create polished dark-themed architecture diagrams as self-contained HTML+SVG files (inline SVG, CSS styling, PNG/PDF export toolbar). Use when the user asks for system, infrastructure, cloud, security, or network topology diagrams rendered as a shareable visual artifact rather than code.

Навіщо використовувати Architecture Diagram у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Architecture Diagram — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Architecture Diagram у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/architecture-diagram. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Architecture Diagram?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Architecture Diagram?

Зі скількома забажаєте. У TypingMind ви можете використовувати Architecture Diagram із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Architecture Diagram?

Так. На GitHub цю навичку публікує ulises-jeremias за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇