Logo van Doc Visual

Doc Visual

Community
LeeJuOh
doc-visual

Zet een Markdown-document (README, spec, ADR, ontwerpdocument, onderzoeksnotitie) om in een visueel rapport met diagrammen die bij elke sectie passen. Gebruik dit wanneer iemand vraagt om een document visueel weer te geven, te illustreren of van diagrammen te voorzien, of om Markdown om te zetten in een rapport. Accepteert één md-bestand.

Add to TypingMind

Overzicht

UitgeverLeeJuOh
Repositoryclaude-code-zero
Skillnaamdoc-visual
Sterren
53
Forks
4
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door LeeJuOh op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Doc Visual in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vision-powers/skills/doc-visual
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Doc Visual in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Doc Visual automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Doc Visual niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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)

Veelgestelde vragen

Wat doet de AI-skill Doc Visual?

Zet een Markdown-document (README, spec, ADR, ontwerpdocument, onderzoeksnotitie) om in een visueel rapport met diagrammen die bij elke sectie passen. Gebruik dit wanneer iemand vraagt om een document visueel weer te geven, te illustreren of van diagrammen te voorzien, of om Markdown om te zetten in een rapport. Accepteert één md-bestand.

Waarom Doc Visual gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Doc Visual bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Doc Visual in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vision-powers/skills/doc-visual. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Doc Visual gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Doc Visual gebruiken?

Zoveel als je wilt. Je kunt Doc Visual gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Doc Visual gratis?

Ja. Deze skill is door LeeJuOh op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇