Back to Creative & Visual

baoyu-infographic

infographicsdata visualizationvisual contentdesignpresentationmarketing assetsai designcontent creation
21.7k🕒 2026-06-13Source ↗

Install this skill

npx skills add jimliu/baoyu-skills

Works across Claude Code, Cursor, Codex, Copilot & Antigravity

The baoyu-infographic skill transforms raw text into structured visual representations by decoupling information architecture from artistic presentation. It provides a system to map content into 20 distinct layout schemas, such as funnel flows, tree branchings, or bento grids, while applying one of 17 artistic filters, ranging from technical blueprints to playful claymation. Rather than requiring users to manually sketch designs, this tool parses markdown content to determine the optimal relationship between elements. Users can specify aspect ratios and output languages to ensure the final graphic fits specific platforms or audiences. By maintaining a clear separation between the logical arrangement of data and the visual theme, this agent creates professional, consistent documentation that clarifies complex topics through categorized, repeatable design patterns.

When to Use This Skill

  • Creating visual step-by-step assembly guides for technical manuals
  • Converting comparison data into professional marketing infographics
  • Visualizing complex project roadmaps or cyclical business processes
  • Summarizing dense research findings into high-level bento-grid dashboards

How to Invoke This Skill

Example prompts that trigger this skill in Claude Code, Cursor, or Antigravity:

  • Create an infographic from this project documentation
  • Visualize these research notes using a funnel layout
  • Generate a diagram for the following process
  • Make an infographic of my notes with a technical blueprint style
  • Design a summary graphic for this article

Pro Tips

  • 💡Start with the skill's auto-recommendation feature (`/baoyu-infographic path/to/content.md`) to quickly get a suitable layout and style combination based on your content's nature.
  • 💡Experiment with specific `--layout` options like 'funnel' for processes or 'hierarchical-layers' for structures to ensure the infographic accurately reflects the underlying data relationships.
  • 💡Leverage the `--aspect` option (portrait, landscape, square) to optimize your infographic for different output platforms, such as social media, presentations, or print publications.

What this skill does

  • Maps content to 20 unique structural layout types
  • Applies 17 distinct artistic style filters to visual output
  • Generates automated layout and style pairings based on text analysis
  • Supports customizable aspect ratios for landscape, portrait, or square formats
  • Handles direct content input via standard input streams or markdown file paths

When not to use it

  • When generating high-fidelity photos or realistic portraits
  • When you need raw data analysis rather than a visual summary
  • When your content requires specific, non-standard custom vector illustrations

Example workflow

  1. Draft the informational content in a markdown file.
  2. Run the skill using the content path and preferred style flags.
  3. Review the agent's analysis of your content structure.
  4. Adjust the layout or style parameters if the initial recommendation needs refinement.
  5. Retrieve the generated output from the topic-slug directory.

Prerequisites

  • Markdown source file or prepared text content
  • Local terminal access

Pitfalls & limitations

  • !Choosing an inappropriate layout for the data type can result in confusing hierarchies
  • !Some styles may lack sufficient contrast for complex technical data
  • !Requires careful content preparation to ensure the agent correctly identifies keys and relationships

FAQ

Can I combine any layout with any style?
Yes, all 20 layout types can be mixed with any of the 17 visual styles to create custom aesthetic combinations.
What should I do if the auto-recommended style does not fit my brand?
Simply override the suggestion by explicitly passing your preferred style using the --style flag.
How does the tool handle long-form text?
It performs an internal analysis to summarize key points into the chosen layout, making it ideal for condensing long articles into visual summaries.
Is it possible to generate graphics in languages other than English?
Yes, use the --lang option followed by the language code to set the text output language for your infographic.

How it compares

Unlike manual design in software like Illustrator, this skill uses algorithmic structural mapping to ensure information hierarchy is logical, while using automated style tokens to guarantee consistent aesthetic formatting.

Source & trust

22k stars🕒 Updated 2026-06-13
📄 Full skill instructions — original source: jimliu/baoyu-skills
# Infographic Generator

Generate professional infographics with two dimensions: layout (information structure) and style (visual aesthetics).

## Usage

# Auto-recommend combinations based on content
/baoyu-infographic path/to/content.md

# Specify layout
/baoyu-infographic path/to/content.md --layout hierarchical-layers

# Specify style (default: craft-handmade)
/baoyu-infographic path/to/content.md --style technical-schematic

# Specify both
/baoyu-infographic path/to/content.md --layout funnel --style corporate-memphis

# With aspect ratio
/baoyu-infographic path/to/content.md --aspect portrait

# Direct content input
/baoyu-infographic
[paste content]

# Direct input with options
/baoyu-infographic --layout linear-progression --style aged-academia
[paste content]


## Options

| Option | Description |
|--------|-------------|
| --layout <name> | Information layout (20 options, see Layout Gallery) |
| --style <name> | Visual style (17 options, default: craft-handmade) |
| --aspect <ratio> | landscape (16:9), portrait (9:16), square (1:1) |
| --lang <code> | Output language (en, zh, ja, etc.) |

## Two Dimensions

| Dimension | Controls | Count |
|-----------|----------|-------|
| **Layout** | Information structure: hierarchy, flow, relationships | 20 types |
| **Style** | Visual aesthetics: colors, textures, artistic treatment | 17 types |

Layout × Style can be freely combined. Example: --layout hierarchical-layers --style craft-handmade creates a hierarchy with playful hand-drawn aesthetics.

## Layout Gallery

| Layout | Best For |
|--------|----------|
| linear-progression | Timelines, step-by-step processes, tutorials |
| binary-comparison | A vs B, before-after, pros-cons |
| comparison-matrix | Multi-factor comparisons |
| hierarchical-layers | Pyramids, concentric circles, priority levels |
| tree-branching | Categories, taxonomies |
| hub-spoke | Central concept with related items |
| structural-breakdown | Exploded views, cross-sections, part labeling |
| bento-grid | Multiple topics, overview (default) |
| iceberg | Surface vs hidden aspects |
| bridge | Problem-solution, gap-crossing |
| funnel | Conversion processes, filtering |
| isometric-map | Spatial relationships, locations |
| dashboard | Metrics, KPIs, data display |
| periodic-table | Categorized collections |
| comic-strip | Narratives, sequences |
| story-mountain | Plot structure, tension arcs |
| jigsaw | Interconnected parts |
| venn-diagram | Overlapping concepts |
| winding-roadmap | Journey, milestones |
| circular-flow | Cycles, recurring processes |

Detailed layout definitions: references/layouts/<layout>.md

## Style Gallery

| Style | Description |
|-------|-------------|
| craft-handmade (Default) | Hand-drawn illustration, paper craft aesthetic |
| claymation | 3D clay figures, playful stop-motion |
| kawaii | Japanese cute, big eyes, pastel colors |
| storybook-watercolor | Soft painted illustrations, whimsical |
| chalkboard | Colorful chalk on black board |
| cyberpunk-neon | Neon glow on dark, futuristic |
| bold-graphic | Comic style, halftone dots, high contrast |
| aged-academia | Vintage science, sepia sketches |
| corporate-memphis | Flat vector people, vibrant fills |
| technical-schematic | Blueprint, isometric 3D, engineering |
| origami | Folded paper forms, geometric |
| pixel-art | Retro 8-bit, nostalgic gaming |
| ui-wireframe | Grayscale boxes, interface mockup |
| subway-map | Transit diagram, colored lines |
| ikea-manual | Minimal line art, assembly style |
| knolling | Organized flat-lay, top-down |
| lego-brick | Toy brick construction, playful |

Detailed style definitions: references/styles/<style>.md

## Recommended Combinations

Based on content analysis, the system recommends 3-5 layout×style combinations:

| Content Type | Recommended Combination |
|--------------|------------------------|
| Timeline/History | linear-progression + craft-handmade |
| Step-by-step Process | linear-progression + ikea-manual |
| Comparison (A vs B) | binary-comparison + corporate-memphis |
| Hierarchy/Levels | hierarchical-layers + craft-handmade |
| Relationships/Overlap | venn-diagram + craft-handmade |
| Conversion/Sales | funnel + corporate-memphis |
| Recurring Process | circular-flow + craft-handmade |
| Technical/System | structural-breakdown + technical-schematic |
| Data/Metrics | dashboard + corporate-memphis |
| Educational/Overview | bento-grid + chalkboard |
| Journey/Roadmap | winding-roadmap + storybook-watercolor |
| Categories/Types | periodic-table + bold-graphic |

**Default combination**: bento-grid + craft-handmade

## File Structure

Each session creates an independent directory:

infographic/{topic-slug}/
├── source-{slug}.{ext} # Source files
├── analysis.md # Deep content analysis
├── structured-content.md # Instructional content structure
├── prompts/
│ └── infographic.md # Generated prompt
└── infographic.png # Output image


**Slug Generation**:
1. Extract main topic from content (2-4 words, kebab-case)
2. Example: "Machine Learning Basics" → ml-basics

**Conflict Resolution**:
If infographic/{topic-slug}/ already exists:
- Append timestamp: {topic-slug}-YYYYMMDD-HHMMSS
- Example: ml-basics exists → ml-basics-20260120-103052

## Instructional Design Approach

This skill applies a **world-class instructional designer** mindset to infographic creation:

1. **Deep Understanding**: Read and comprehend the source material thoroughly
2. **Learning Objectives**: Identify what the viewer should understand after seeing the infographic
3. **Information Architecture**: Structure content for maximum clarity and retention
4. **Visual Storytelling**: Use visuals to communicate complex ideas accessibly
5. **Verbatim Data**: Preserve all source data exactly as written—no summarization or rephrasing of facts

## Workflow

### Step 1: Analyze Content → analysis.md

Read source content and perform deep instructional analysis.

**Actions**:
1. **Save source content** (if not already a file):
- If user provides a file path: use as-is
- If user pastes content: save to source.md in target directory

2. **Deep reading**:
- Read the entire document thoroughly
- Develop deep understanding before proceeding
- Identify the core message and purpose

3. **Content analysis**:
| Aspect | Questions to Answer |
|--------|---------------------|
| **Main Topic** | What is this content fundamentally about? |
| **Data Type** | Timeline? Hierarchy? Comparison? Process? Relationships? |
| **Complexity** | Simple (3-5 points) or complex (6-10+ points)? |
| **Tone** | Technical, educational, playful, serious, persuasive? |
| **Audience** | Who is the intended viewer? What do they already know? |

4. **Language detection**:
- Detect **source language** from content
- Detect **user language** from conversation
- Note if source_language ≠ user_language (will ask in Step 4)

5. **Extract design instructions** from user input:
- Style preferences (colors, mood, aesthetic)
- Layout preferences (structure, organization)
- Any specific visual requirements
- Separate these from content—they go in the Design Instructions section

6. **Save to analysis.md**

**Analysis Output Format**:
---
title: "[Main topic title]"
topic: "[Category: educational/technical/business/etc.]"
data_type: "[timeline/hierarchy/comparison/process/etc.]"
complexity: "[simple/moderate/complex]"
source_language: "[detected language]"
user_language: "[user's language]"
---

## Main Topic
[1-2 sentence summary of what this content is about]

## Learning Objectives
After viewing this infographic, the viewer should understand:
1. [Primary objective]
2. [Secondary objective]
3. [Tertiary objective if applicable]

## Target Audience
- **Knowledge Level**: [Beginner/Intermediate/Expert]
- **Context**: [Why they're viewing this]
- **Expectations**: [What they hope to learn]

## Content Type Analysis
- **Data Structure**: [How information relates to itself]
- **Key Relationships**: [What connects to what]
- **Visual Opportunities**: [What can be shown rather than told]

## Design Instructions (from user input)
[Any style, color, layout, or visual preferences extracted from user's steering prompt]


### Step 2: Generate Structured Content → structured-content.md

Transform analyzed content into a structured format for the infographic designer.

**Instructional Design Process**:

1. **Create high-level outline**:
- Title that captures the essence
- List all main learning objectives
- Identify the logical flow

2. **Flesh out each section**:
- For each learning objective, create a section
- Mix conceptual explanations with practical elements
- Preserve all source data **verbatim**—do not summarize or rephrase

3. **Structure for visual communication**:
- Identify what becomes a headline
- Identify what becomes supporting text
- Identify what becomes a visual element
- Identify data points, statistics, or quotes

**Critical Rules**:
| Rule | Requirement |
|------|-------------|
| **Output format** | Markdown only |
| **Tone** | Expert trainer: knowledgeable, clear, encouraging |
| **No new information** | Do not add anything not in the source |
| **Verbatim data** | All statistics, quotes, and facts copied exactly |

**Structured Content Format**:
# [Infographic Title]

## Overview
[Brief description of what this infographic conveys]

## Learning Objectives
The viewer will understand:
1. [Objective 1]
2. [Objective 2]
3. [Objective 3]

---

## Section 1: [Section Title]

**Key Concept**: [One-sentence summary]

**Content**:
- [Point 1 - verbatim from source]
- [Point 2 - verbatim from source]
- [Point 3 - verbatim from source]

**Visual Element**: [What to show visually]

**Text Labels**:
- Headline: "[Exact text for headline]"
- Subhead: "[Exact text for subhead]"
- Labels: "[Label 1]", "[Label 2]", ...

---

## Section 2: [Section Title]
[Continue pattern...]

---

## Data Points (Verbatim)
[All statistics, numbers, quotes exactly as they appear in source]
- "[Exact quote or statistic 1]"
- "[Exact quote or statistic 2]"

---

## Design Instructions
[Extracted from user's steering prompt]
- Style: [preferences]
- Colors: [preferences]
- Layout: [preferences]
- Other: [any other visual requirements]


### Step 3: Generate Layout×Style Recommendations

Based on analysis and structured content, recommend 3-5 combinations.

**Selection Criteria**:
| Factor | How to Match |
|--------|--------------|
| **Data structure** | Timeline→linear-progression, Hierarchy→hierarchical-layers, etc. |
| **Content tone** | Technical→technical-schematic, Playful→kawaii, etc. |
| **Audience** | Business→corporate-memphis, Educational→chalkboard, etc. |
| **Complexity** | Simple→sparse layouts, Complex→dense layouts |
| **User preferences** | Honor any design instructions from Step 1 |

**Format each recommendation**:
[Layout] + [Style]: [Brief rationale based on content analysis]


### Step 4: Confirm Options

**IMPORTANT**: Present ALL options in a single confirmation step using AskUserQuestion.

**Questions to ask**:

| Question | When to Ask |
|----------|-------------|
| Combination | Always (required) |
| Aspect ratio | Always |
| Language | Only if source_language ≠ user_language |

**AskUserQuestion format**:

**Question 1 (Combination)** - always:
- Option A (Recommended): [layout] + [style] - [brief rationale]
- Option B: [layout] + [style] - [brief rationale]
- Option C: [layout] + [style] - [brief rationale]
- Custom: Specify your own layout and/or style

**Question 2 (Aspect)** - always:
- landscape (16:9, Recommended) - standard presentation
- portrait (9:16) - mobile/social media
- square (1:1) - social media posts

**Question 3 (Language)** - only if source ≠ user language:
- [Source language] (matches content)
- [User language] (your preference)

**Language handling**:
- If source language = user language: Just inform user
- If different: Ask which language to use for all text

### Step 5: Generate Prompt → prompts/infographic.md

Create the image generation prompt.

**Process**:
1. Read layout definition from references/layouts/<layout>.md
2. Read style definition from references/styles/<style>.md
3. Read base prompt template from references/base-prompt.md
4. Combine with structured content from Step 2
5. **All text in prompt uses confirmed language**

**Prompt Structure**:
Topic: [main topic from analysis]
Layout: [selected layout]
Style: [selected style]
Aspect: [confirmed ratio]
Language: [confirmed language]

## Layout Guidelines
[From layout definition file]

## Style Guidelines
[From style definition file]

## Content to Visualize

### Learning Objectives
[From structured-content.md]

### Sections
[From structured-content.md - each section with its visual elements]

### Data Points (Verbatim)
[All exact statistics, quotes, and facts from source]

## Text Labels (in [language])
[All text that appears in the infographic, organized by section]

## Design Instructions
[Any specific visual requirements from user's steering prompt]


### Step 6: Generate Image

**Image Generation Skill Selection**:
1. Check available image generation skills
2. If multiple skills available, ask user to choose

**Generation**:
Call selected image generation skill with:
- Prompt file path: prompts/infographic.md
- Output path: infographic.png
- Aspect ratio parameter if supported

**Error handling**:
- On failure, auto-retry once before reporting error
- If retry fails, inform user with error details

### Step 7: Output Summary

Infographic Generated!

Topic: [topic from analysis]
Layout: [layout name]
Style: [style name]
Aspect: [aspect ratio]
Language: [confirmed language]
Location: [output directory path]

Learning Objectives Covered:
1. [Objective 1] ✓
2. [Objective 2] ✓
3. [Objective 3] ✓

Files:
✓ analysis.md
✓ structured-content.md
✓ prompts/infographic.md
✓ infographic.png

Preview the image to verify it matches your expectations.


## Quality Checklist

Before generating the final image, verify:

- [ ] All source data preserved verbatim (no summarization)
- [ ] Learning objectives clearly represented
- [ ] Layout matches information structure
- [ ] Style matches content tone and audience
- [ ] All text labels in correct language
- [ ] Design instructions from user honored
- [ ] Visual hierarchy supports comprehension

## References

Detailed templates and guidelines in references/ directory:
- analysis-framework.md - Instructional design analysis methodology
- structured-content-template.md - Structured content format and examples
- base-prompt.md - Base prompt template for image generation
- layouts/<layout>.md - Detailed layout definitions (20 files)
- styles/<style>.md - Detailed style definitions (17 files)

## Notes

- Layout determines information architecture; style determines visual treatment
- Default style craft-handmade works well with most layouts
- Technical content benefits from technical-schematic or ui-wireframe
- Educational content works well with chalkboard, storybook-watercolor
- Business content pairs with corporate-memphis, dashboard
- All text in the infographic uses the confirmed language
- **Never add information not present in the source document**
- **Statistics and quotes must be copied exactly—no paraphrasing**

## Extension Support

Custom styles and configurations via EXTEND.md.

**Check paths** (priority order):
1. .baoyu-skills/baoyu-infographic/EXTEND.md (project)
2. ~/.baoyu-skills/baoyu-infographic/EXTEND.md (user)

If found, load before Step 1. Extension content overrides defaults.

How to Use This Skill Unit

Option A: Project-Specific (Recommended)

  1. Click "Download" above
  2. In your project, create the directory: .agent/skills/baoyu-infographic/
  3. Save the file as SKILL.md
  4. The agent will automatically discover the skill based on its description.

Option B: Global Installation (All Agents)

Save the file to these locations to make it available across all projects:

  • Claude Code: ~/.claude/skills/jimliu/baoyu-skills/baoyu-infographic/SKILL.md
  • Cursor: ~/.cursor/skills/jimliu/baoyu-skills/baoyu-infographic/SKILL.md
  • Antigravity: ~/.gemini/antigravity/skills/jimliu/baoyu-skills/baoyu-infographic/SKILL.md

🚀 Install with CLI:
npx skills add jimliu/baoyu-skills

Read the Master Guide: Mastering Agent Skills

Recommended Rules

View more rules

Recommended Workflows

View more workflows

Recommended MCP Servers

View more MCP servers

Take It Further

Maximize your productivity with these powerful resources

📋

Define Your Standards

Set up coding standards to ensure this workflow produces consistent, high-quality results.

Browse Rules Library
📖

Master Workflows

Learn how to create custom workflows, use Turbo Mode, and build your automation library.

Complete Guide

How to use this Skill in Claude Code & Cursor

For Claude Code (CLI)

To use this skill in Claude Code, copy the rule content into your project's custom instructions or follow our Add-Skill CLI guide. This ensures Claude follows your standards during every code generation.

For Cursor & Windsurf

For Cursor or Windsurf, individual skills are best used in the "Rules for AI" section. This specific unit helps the agent avoid creative & visual issues, leading to cleaner, more efficient code.

Why the skill format matters: the standardized Agent Skills format lets your AI agent load detailed instructions only when they are relevant, keeping your prompt clean while improving results.

Source & attribution

This skill is categorized under Creative & Visual and is published by Jim Liu, maintained in jimliu/baoyu-skills.

← Browse All Agent Skills
Sponsored AI assistant. Recommendations may be paid.