askill
infographize

infographizeSafety 95Repository

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.

4 stars
1.2k downloads
Updated 2/20/2026

Package Files

Loading files...
SKILL.md

Infographize

Convert any markdown document into a visual infographic SVG via AntV Infographic SSR.

Workflow

  1. Dependency check: Run bun run -e "import '@antv/infographic'" 2>/dev/null. If it fails, install via install-dependency skill (@antv/infographic, bun package) before proceeding
  2. Read the source markdown file
  3. Read <skill_dir>/reference.md for template catalog and data field mappings
  4. 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-*
  5. Select the best template from the catalog (match content pattern to template's "best for")
  6. Map markdown content → AntV syntax using the correct data fields for that category
  7. Write the AntV syntax to a .txt file next to the output path
  8. 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 .svg extension
  • 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 value fields when available

Theme

Default: light. User can request dark, hand-drawn, or custom colors — see reference.md for themeConfig options.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

74/100Analyzed 2/24/2026

Well-structured skill with clear purpose, workflow steps, and content mapping rules. Good description and "when to use" guidance. Minor deductions for referencing external files (reference.md, render.ts) that aren't included in the skill content, and lacking error handling details. Overall solid and actionable with clear bonus for structured steps and metadata.

95
75
78
72
75

Metadata

Licenseunknown
Version-
Updated2/20/2026
Publisherdigital-stoic-org

Tags

github-actions