Логотип Visio Template Drawing

Visio Template Drawing

Спільнота
zxc-heu
visio-template-drawing

Create editable Microsoft Visio drawings (.vsdx) from PNG references, text specifications, or existing Visio templates. Use when Codex needs background Visio COM automation, VSDX output, template-based diagram recreation, screenshot-to-Visio conversion, or editable scientific/technical diagrams. Save .vsdx by default; export PNG previews only when explicitly requested.

Огляд

Видавецьzxc-heu
Репозиторійvisio-template-drawing-skill
Назва навичкиvisio-template-drawing
Зірки
36
Форки
6
Файли в пакеті
21
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

  • Файлів у комплекті: 21

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

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

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

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

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

1

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

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

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/zxc-heu/visio-template-drawing-skill/tree/main/skill/visio-template-drawing
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zxc-heu/visio-template-drawing-skill.git /tmp/visio-template-drawing-skill
mkdir -p .claude/skills
cp -r /tmp/visio-template-drawing-skill/skill/visio-template-drawing .claude/skills/visio-template-drawing
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

Visio Template Drawing

Goal

Create real, editable .vsdx diagrams with Microsoft Visio COM. Use editable Visio shapes, connectors, and text; do not satisfy the task by pasting a reference PNG as the final diagram.

Defaults

  • Output format: .vsdx.
  • Local input file: save beside the input as <source-file-stem>_codex.vsdx.
  • Pasted chat image with no local path: save to the desktop with a descriptive _codex.vsdx name.
  • User-specified output path or filename overrides defaults.
  • Do not export PNG unless the user explicitly asks for a preview, screenshot, or visual QA.
  • Draw completely in the background by default using a new owned Visio.InvisibleApp; close task documents and verify process exit after completion or failure.
  • -Visible shows the process but still closes it; -KeepOpen independently retains only a successfully completed final document. Never use either switch without the corresponding user request.
  • Do not use system clipboard, active selections, mouse, keystrokes, or arbitrary existing Visio instances for background work. Explain any operation requiring foreground interaction before starting it.

Workflow

  1. Confirm inputs and output path. Run scripts/visio_probe.ps1 if Visio COM availability is uncertain.
  2. Analyze the reference semantically: diagram type, layout, labels, shape families, connectors, grouping, colors, images, and any salient geometry.
  3. Choose Visio-native stencils/masters before primitives. Start from references/master-catalog.md; if the needed master is missing, use local master discovery rather than guessing.
  4. Build a drawing plan using references/drawing-plan-schema.md.
  5. For non-trivial diagrams, run scripts/validate_plan_layout.py before drawing. Treat unintentional text/image overlap, unintentional image/image overlap, and page overflow as plan errors that must be fixed before Visio automation. If the reference clearly uses overlays or stacked images, mark the intended overlap explicitly in the plan.
  6. Draft and iterate internally first. Do not show rough intermediate versions to the user.
  7. Use the managed visio_draw_from_plan.ps1 entry point for single or multi-page plans. Draw directly into one document; do not invent clipboard-based merge scripts. Read references/session-lifecycle.md for modes, timeout/cancellation, logs, and recovery. Save and optionally export in that same session.
  8. Check result.json plus the watchdog recovery result. A saved file alone is not success: verify structure, text, connections, and cleanup. Report the artifact, run-log path, fallbacks, and any unresolved process or file lock.

Drawing Principles

  • Think like a skilled Visio user, not a geometry renderer: classify the diagram's semantic family first, then prefer template shapes and Visio stencil masters through explicit COM references before primitives or custom geometry. Use raster images only for photo-like content or user-approved non-editable elements.
  • Do not hand-draw a known Visio shape family. Search built-in stencils and drop masters by NameU; run a small proof when a newly discovered master will be reused.
  • Use native dynamic connectors with glued endpoints for semantic connections. Use straight lines only when the reference or user explicitly calls for straight geometry.
  • For converging or bundled connectors, prioritize readable topology first; prefer smooth curves only when they do not reduce clarity.
  • Route connectors as first-class layout objects. Connector paths must not run through independent labels or non-endpoint node bodies; reserve gaps around branch labels, formulas, and filled nodes. Preserve the reference line style first; if a line is visibly straight, prefer nudging nearby nodes/labels slightly over converting it into an angular detour.
  • For freehand-looking curves, use editable COM spline, Bezier, or polygon geometry in background mode and state any approximation. Exact use of the native "Freeform/任意多边形(F)" UI tool requires prior explanation and explicit interactive authorization; never silently switch to foreground input.
  • Distinguish Visio UI tools from COM fallbacks. In particular, closed polygon, ribbon, DrawPolyline, and DrawSpline outputs are not the same as the Tools menu "Freeform/任意多边形(F)" command.
  • Preserve salient visual logic from the reference when it affects meaning or recognition, including connector style, perspective, grouping, repeated shape families, and arrow direction.
  • Allocate layout regions before placing details. Photographic images, their labels, legend color chips, connector fan-in/fan-out corridors, and module blocks each need reserved space by default. A label, chip, or image may overlap another object only when the reference clearly uses an overlay/stacked design or the drawing plan explicitly marks the overlap as intentional.
  • Use text for label symbols and formulas; do not draw label bars, dashes, formula operators, or mathematical marks as geometry.
  • Use SimSun/宋体 for Chinese text and Times New Roman for English, numbers, and mathematical notation by default.
  • For MathType-like labels, use richText spans so one Visio text box can contain character-level font, italic, subscript, and superscript formatting.
  • If a known flowchart or diagram shape is visible in a screenshot, search template/stencil masters before approximating it with primitives.

Verification

Before final delivery, check that:

  • main diagram elements are editable Visio objects, not a pasted screenshot;
  • labels and formulas remain editable text;
  • connectors and repeated objects preserve the reference's visual logic where practical;
  • layout preflight passes for non-trivial plans, especially no unintended label-on-image collisions and no page overflow;
  • output path follows the defaults or the user's explicit instruction;
  • no PNG preview was generated unless requested;
  • the owned PID exited (or the final document was explicitly retained), original errors are preserved, and unresolved cleanup is reported.

Resources

  • Use scripts/visio_draw_from_plan.ps1 to draw from one or more JSON plans; an atlas may use a pages array.
  • Read references/session-lifecycle.md before changing ownership, cleanup, cancellation, or recovery; use scripts/visio_recover.ps1 to inspect a prior run.
  • COM workers always use Windows PowerShell 5.1 STA, including when launched from PowerShell 7. Do not reuse Document.Activate, doc.Windows, or Marshal.GetActiveObject recovery snippets.
  • Use scripts/validate_plan_layout.py before drawing non-trivial screenshot-derived plans.
  • Use scripts/visio_export_preview.ps1 only when PNG preview output is requested.
  • Read references/master-catalog.md before selecting or discovering Visio masters.
  • Read references/drawing-plan-schema.md for plan fields, including richText.
  • Read references/visio-com-notes.md before changing automation, master lookup, connector behavior, or character formatting.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

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

Що робить навичка ШІ Visio Template Drawing?

Create editable Microsoft Visio drawings (.vsdx) from PNG references, text specifications, or existing Visio templates. Use when Codex needs background Visio COM automation, VSDX output, template-based diagram recreation, screenshot-to-Visio conversion, or editable scientific/technical diagrams. Save .vsdx by default; export PNG previews only when explicitly requested.

Навіщо використовувати Visio Template Drawing у TypingMind?

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

Як встановити Visio Template Drawing у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/zxc-heu/visio-template-drawing-skill/tree/main/skill/visio-template-drawing. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

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

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

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

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

Чи безкоштовна навичка ШІ Visio Template Drawing?

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

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

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

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

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

Усі

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

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