Логотип Doc Visual

Doc Visual

Спільнота
LeeJuOh
doc-visual

Перетворіть документ Markdown (README, специфікацію, ADR, документ із дизайну чи дослідницьку нотатку) на візуальний звіт із діаграмами до кожного розділу. Використовуйте, коли просять візуалізувати документ, додати до нього ілюстрації чи діаграми або перетворити Markdown на звіт. Потрібен один файл md.

Add to TypingMind

Огляд

ВидавецьLeeJuOh
Репозиторійclaude-code-zero
Назва навичкиdoc-visual
Зірки
53
Форки
4
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

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

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

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

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

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

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

1

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

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

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vision-powers/skills/doc-visual
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero.git /tmp/claude-code-zero
mkdir -p .claude/skills
cp -r /tmp/claude-code-zero/plugins/vision-powers/skills/doc-visual .claude/skills/doc-visual
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

doc-visual

Read a markdown document and write a visual report with diagrams that match each section's meaning. Output is HTML (default) or markdown. You write the output directly — no templates, no intermediate JSON, no agent chains.

Why this matters

A pipeline of agents that each see only the previous stage's output compresses the content into summaries of summaries. You see the original document in full — that's the core advantage. If you find yourself writing "this section discusses X" instead of explaining X, that's compression, and it's the failure this skill exists to prevent.

Input

Argument = single markdown file path. Directories, URLs, stdin not supported.

  1. Validate file exists + markdown extension (.md, .markdown, .txt)
  2. Missing/no permission → abort immediately
  3. Read the full file content

Format detection

FlagValuesDefault
--formathtml / mdhtml
--langISO codeauto-detected from document
--localswitchoff — capable HTML publishes to an Artifact by default
--artifactswitchretained no-op alias (already the default on capable HTML)

The report language must match the source document's language.

Channel, flags, and config follow ${CLAUDE_PLUGIN_ROOT}/references/design-system/channel-decision.md — read it before writing. In short: capable HTML publishes to a claude.ai Artifact; --local (or "keep it local", "don't publish") forces the local file; md stays local unless this turn asks to publish it. Stored config: node ${CLAUDE_PLUGIN_ROOT}/scripts/config.js get --data-dir "${CLAUDE_PLUGIN_DATA}".

Writing the report

You write the output yourself. No template files, no assembly scripts, no intermediate formats.

Output paths

All under ${CLAUDE_PLUGIN_DATA}/reports/:

ChannelPath
HTML, Artifact (default){doc-basename}-doc-visual.artifact.html
HTML, local (--local / non-capable fallback){doc-basename}-doc-visual.html
md{doc-basename}-doc-visual.md — also inserted into the response body
md, published on request{doc-basename}-doc-visual.artifact.md

The HTML is one file you write yourself; on the local channel it embeds diagrams as <pre class="mermaid"> blocks. The md report uses ```mermaid fences, footer links to the source path, and no CSS or <script>. The saved md copy lets report-manager list and refine it later.

Modes

Decide which mode fits the source document:

ModeWhenDiagramsText depth
explainerTutorials, guides, narrative docsIllustrate conceptsFull prose — preserve all substance
structuralADRs, specs, API docs, config referencesMap relationshipsStructured — tables, definition lists, code blocks

If the document mixes both (e.g., a spec with a narrative intro), use structural as the base and apply explainer treatment to narrative sections.

Section-to-diagram mapping

For each section in the source document, decide whether a diagram adds value. Not every section needs one — if a table or list says it better, use that.

Read ${CLAUDE_PLUGIN_ROOT}/references/design-system/diagram-type-selection.md to choose the right type from the 13-type menu. The mapping priority section tells you which keywords suggest which types.

When no diagram fits, skip it. A section with good prose and no diagram beats a section with a forced diagram.

Component menu

These are the building blocks. Mix them as the content demands:

ComponentWhen to use
Diagram (Mermaid locally, inline SVG on an Artifact)Relationships, flows, hierarchies — when connections are the point
TableComparisons, specs, 2-3 column data
Code blockConfigs, commands, API examples
Prose paragraphNarrative explanation, context, reasoning
Definition listTerm → meaning pairs
Callout boxWarnings, tips, important notes

Content integrity — the cardinal rule

The source document's substance must survive intact in the report. This means:

  • Specific numbers, names, dates from the source → appear in the report
  • Technical details (configs, commands, parameters) → preserved verbatim
  • Reasoning and nuance → kept, not flattened to bullet points
  • Code examples → reproduced in full

If you're writing "this section covers X" or "the document describes Y" — stop. That's a summary of the content, not the content. Include the actual content.

This cardinal rule is summary-leak, one of the reflexes in ${CLAUDE_PLUGIN_ROOT}/references/design-system/anti-slop-tells.md that pass every gate and still flatten the output — read it while shaping the content.

Short documents (<500 chars) get 1 section + 1 hero diagram. Long documents get proper sectioning but still preserve all substance.

Validate and deliver

Artifact channel (HTML default):

  1. node ${CLAUDE_PLUGIN_ROOT}/scripts/artifact-gate.js <output-path> --content-only — fix and re-run, max 2 retries.
  2. Publish the file with the Artifact tool, description = one sentence on what the page is.
  3. node ${CLAUDE_PLUGIN_ROOT}/scripts/write-artifact-sidecar.js --report <output-path> --url <artifact-url> --title <title>
  4. Reply with the URL and the publish notice (channel-decision.md "Artifact channel").

Local channel (--local / non-capable fallback):

  1. node ${CLAUDE_PLUGIN_ROOT}/scripts/artifact-gate.js <output-path>
  2. node ${CLAUDE_PLUGIN_ROOT}/scripts/render-report.js <output-path> --data-dir "${CLAUDE_PLUGIN_DATA}", then read the PNG and check density, hierarchy, Mermaid integrity, and overflow (visual-self-audit.md).
  3. open <output-path>

md: deliver in the response body. On a publish request, publish the .artifact.md with steps 2–3 above and no gate — see "Markdown on request" in channel-decision.md.

Publish unavailable or failed: HTML → regenerate as the local report at its local path, don't open the Artifact file; md → deliver in the chat body. Say so in one line, don't ask.

Error handling

FailureAction
File missing/no permissionAbort with message
Empty fileAbort — nothing to visualize
No headings (H1/H2/H3)Treat as single section
Mermaid syntax error after 2 fixesRemove that diagram, keep section prose

Reference files

Read these during report generation (not upfront — read the relevant one when you need it):

FileWhen to read
${CLAUDE_PLUGIN_ROOT}/references/design-system/channel-decision.mdBefore writing — channel, flags, config, per-channel rules
${CLAUDE_PLUGIN_ROOT}/references/design-system/mermaid-patterns.mdBefore writing any Mermaid diagram (local and md)
${CLAUDE_PLUGIN_ROOT}/references/design-system/semantic-tokens.mdWhen setting up CSS custom properties and Mermaid theme
${CLAUDE_PLUGIN_ROOT}/references/design-system/diagram-type-selection.mdWhen deciding diagram type for a section
${CLAUDE_PLUGIN_ROOT}/references/design-system/diagram-density-rules.mdWhen a diagram feels complex
${CLAUDE_PLUGIN_ROOT}/references/design-system/anti-slop-tells.mdWhile shaping content — to check you're not falling into a behavioral-slop reflex
${CLAUDE_PLUGIN_ROOT}/references/design-system/visual-self-audit.mdAfter the gate passes — the render-and-look loop (full procedure)

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

Що робить навичка ШІ Doc Visual?

Перетворіть документ Markdown (README, специфікацію, ADR, документ із дизайну чи дослідницьку нотатку) на візуальний звіт із діаграмами до кожного розділу. Використовуйте, коли просять візуалізувати документ, додати до нього ілюстрації чи діаграми або перетворити Markdown на звіт. Потрібен один файл md.

Навіщо використовувати Doc Visual у TypingMind?

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

Як встановити Doc Visual у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vision-powers/skills/doc-visual. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

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

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

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

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

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

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

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

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

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

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

Усі

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

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