infographize
Convert markdown documents into AntV infographic SVGs. Analyzes content structure, selects optimal template, generates AntV syntax, and renders to SVG. Use when user wants to create infographics, visual summaries, or storytelling visuals from markdown.
How do I install this agent skill?
npx skills add https://github.com/digital-stoic-org/agent-skills --skill infographizeIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is an infographic generator that converts markdown into SVG visuals using the AntV library. It follows standard practices for data processing and visualization.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Infographize
Convert any markdown document into a visual infographic SVG via AntV Infographic SSR.
Workflow
- Dependency check: Run
bun run -e "import '@antv/infographic'" 2>/dev/null. If it fails, install viainstall-dependencyskill (@antv/infographic, bun package) before proceeding - Read the source markdown file
- Read
<skill_dir>/reference.mdfor template catalog and data field mappings - Analyze content structure — identify the dominant information type:
- Bullet lists, features, options →
list-* - Numbered steps, processes, timelines →
sequence-* - Pros/cons, A vs B, SWOT →
compare-* - Nested structure, org chart, taxonomy →
hierarchy-* - Connected items, network, dependencies →
relation-* - Numeric data, percentages, stats →
chart-*
- Bullet lists, features, options →
- Select the best template from the catalog (match content pattern to template's "best for")
- Map markdown content → AntV syntax using the correct data fields for that category
- Write the AntV syntax to a
.txtfile next to the output path - Render by calling:
bun run <skill_dir>/scripts/render.ts <syntax-file> <output.svg> --preview
Output
- Default output: same directory as input, same basename with
.svgextension - User can specify a custom output path as second argument
Content Mapping Rules
- Be concise: Infographics are visual-first. Distill prose into short labels (3-7 words) and brief descriptions (1 sentence max)
- 60/40 rule: Favor graphics over text. Cut detail that doesn't serve the visual narrative
- One idea per infographic: If the markdown covers multiple distinct topics, pick the primary one or ask the user
- Preserve hierarchy: Map heading levels to visual hierarchy (title → section → item)
- Extract data: Pull numbers, percentages, counts into
valuefields when available
Theme
Default: light. User can request dark, hand-drawn, or custom colors — see reference.md for themeConfig options.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/digital-stoic-org/agent-skills/infographize">View infographize on skillZs</a>