# epic-infographics

Adopt this skill: https://proskills.md/skills/other/orron-epicinfographics-skills-epic-infographics

Page: https://proskills.md/skills/other/orron-epicinfographics-skills-epic-infographics
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: skills/epic-infographics/SKILL.md
size: 8087
upstream: https://github.com/orron/epicinfographics/blob/main/skills/epic-infographics/SKILL.md

````text
---
name: epic-infographics
description: Create polished, professional infographic images from data, facts, or a topic. Builds a self-contained HTML/CSS+SVG page in one of several fully-specified design languages, renders it to PNG with a bundled script, then reviews and fixes its own output. Can also choreograph the same file with CSS animation and render it to MP4/GIF. Use when the user asks for an infographic, a visual summary, a stats poster, a social graphic, a one-pager image, an animated infographic or short data video, or "turn this data into an image."
license: MIT
---

# Epic Infographics

You are going to produce an infographic **image** (PNG) by writing a single
self-contained HTML file and rendering it with the bundled script. The three
things that separate a great result from a mediocre one:

1. **Varied data representations** — not everything is a bar chart.
2. **Executing one design language exactly** — its tokens are law.
3. **The check–render–review loop** — the mechanical preflight must pass,
   and you MUST look at your own PNG and fix it before delivering. Never
   deliver a render you haven't looked at.

## Workflow

### 1. Understand the brief
An infographic made for "everyone" lands with no one. Before touching any
data, pin down three things:

- **Audience** — who is this for, and how much do they already know?
  (executives skimming, practitioners fluent in the jargon, general public)
- **Goal** — what should the graphic *do*: inform, persuade, impress, or
  drive one action? The goal decides what kind of fact can be the hero.
- **Context** — where will it live (feed, slide deck, print, link preview)?
  This feeds the canvas choice in step 5 and sets how loud the design can be.
- **Still or animated** — offer an animated MP4/GIF version alongside the
  still (step 12). Motion earns its keep where the graphic will autoplay
  (social feeds, stories, slides, landing pages); for print or a link
  preview the still alone is the right answer, so say so in the offer.

If the request already answers these, restate them in one line and move on.
If not, ask the user before proceeding — one round of questions, as
multiple-choice where you have a tool for it (e.g. AskUserQuestion) so
answering takes one click. Only when you are running unattended and cannot
ask, pick sensible answers and state those assumptions at delivery.

### 2. Gather the data
Collect the facts that serve the brief. Use what the user gave; research or
derive the rest — never invent statistics; if values are illustrative, label
them so. Gather slightly more than one graphic needs: the pitch in step 3 is
only honest when there was more than one possible angle in the material.

### 3. Pitch the story
An infographic is an argument, not a data dump. From the data, draft **2–3
candidate story angles**. Each pitch is a working headline, the hero
number/fact that anchors it, and one sentence: *what should the reader
remember?* The angles must genuinely differ — e.g. "how big it is" vs. "how
fast it's changing" vs. "what it costs you" — not rewordings of one claim.

Present the pitches to the user as a multiple-choice question (AskUserQuestion
where available, plain text otherwise), with your recommended angle first and
marked as recommended. If you cannot ask, take your recommendation and say so
at delivery. The chosen angle decides the hero element; every other fact is
support or gets cut.

### 4. Find the visual metaphor
Read `references/illustration-and-texture.md`. List 2–3 physical objects
the subject evokes and pick one that can **carry data** (a cup whose fill
level is the value, a ladder whose rungs are the steps). This becomes the
canvas's subject — the reason the graphic could only be about THIS topic.
Type-led styles (swiss) may go abstract instead, but then scale and
composition must do the identity work. The litmus test comes back at
review: cover the text — is the topic still recognizable?

### 5. Pick the canvas
| Preset | Size (px) | Use for |
|---|---|---|
| `square` | 1080×1080 | social feed post |
| `story` | 1080×1920 | stories/reels, phone-first |
| `wide` | 1920×1080 | presentations, YouTube, wallpaper |
| `og` | 1200×630 | link previews, banners |
| `a4` | 1240×1754 | print poster/handout |
| `tall` | 1080×auto | long-form scrolling infographic |

Aspect drives layout before style does: `story`/`tall` = vertical single-column
flow; `wide` = 2–3 column zones; `square` = hero + 2×2 support grid is a safe
default.

### 6. Pick the design language
Read exactly ONE file from `references/design-languages/` and follow it
completely — palette hexes, fonts, geometry, signature devices, do/don'ts.

- User asked for a vibe → match it (technical → `blueprint`, dramatic/tech →
  `dark-glass`, literary → `editorial`, warm/craft → `retro-print`,
  friendly → `hand-drawn`, nature/science/anatomy → `naturalist-plate`,
  systems/places/playful-spatial → `isometric-world`, places/journeys/
  vistas → `park-poster`, how-it-works/inside-a-machine → `cutaway`).
- No preference → pick by subject matter, favoring the scene-native styles
  above.
- **High slop-risk styles** — `swiss`, `corporate-clean`, `neo-brutalist` —
  are flat by construction (type + shapes on a plain ground) and have
  repeatedly failed audience tests. Use them ONLY when the user explicitly
  asks for that look, and even then import scene-craft: environment,
  detail density, a story path (composition.md rule zero).
- Every color and font size in your HTML must come from the style file. No
  freelancing.

### 7. Choose data representations
Read `references/data-vocabulary.md` and pick deliberately **varied** forms:
one hero element (big number, hero chart, or hero pictogram) plus 2–4 support
elements of *different* types. Three bar charts in a row is a failure even if
each one is correct. Prefer forms that fuse with the metaphor (liquid fill,
object-as-bar, icon army) over generic charts beside it.

### 8. Compose and build
Read `references/composition.md` and **pick one named composition pattern**
(Big Object, Bleed, Overlap stack, Diagonal drive, Editorial spread,
Specimen sheet) — state it in an HTML comment. A card grid may only be a
sub-zone (≤ ⅓ of the canvas), never the whole layout. Apply the tension
rules: one dense zone + one empty zone, three sizes minimum, something
crossing a boundary, a non-uniform background, canvas-level texture if the
style calls for it. Then start from `templates/skeleton.html`. Rules:

- Single self-contained file: style tokens as CSS custom properties, all
  charts as **inline SVG** (recipes + math in `references/charts.md`),
  Google Fonts via `<link>`, no other external resources, no JS frameworks.
- One hero element; everything else visually subordinate to it. Mark it
  with the `data-hero` attribute — the preflight checker uses it to verify
  emphasis.
- A consistent spacing scale (the style file defines it) — no ad-hoc margins.
- Footer strip: data source (if one exists) and/or attribution.

### 9. Preflight the layout — mechanical gate
```bash
node scripts/check.mjs infographic.html --preset square
```
Before rendering a single pixel, the checker loads the page headless and
measures the actual glyph geometry. It reports **errors** (text painted over
other text, text clipped by an overflow ancestor or cut by the canvas edge,
content escaping the canvas, fonts below the readable floor, more than one
`data-hero`) and **warnings** (missing `data-hero`, weak hero dominance,
tight font sizes, near-miss overlaps).

- **Errors block you.** Fix the HTML and re-run until the error count is
  zero. Never render around an error — an error at this stage is a real
  defect, not a formality.
- **Warnings are review items**: fix each one, or keep it only with a
  one-line justification (e.g. a deliberate 10px caption in a print
  titleblock).
- Ink-on-ink layering you designed on purpose (a giant translucent numeral
  behind a headline) is waived with `data-overlap-ok` on on
````

## File: README.md
upstream: https://github.com/orron/epicinfographics/blob/main/README.md

````text
<div align="center">

# Epic Infographics

### Infographics that don't look AI-made.

**An open-source skill that teaches AI agents to design infographics the way a studio would.**

It skips the stock templates, the rounded card grids, the Tailwind blue, and the emoji icons.
Every image below came straight out of the skill, brief to PNG, with nothing touched up by hand.

[![CI](https://github.com/OrRon/EpicInfographics/actions/workflows/ci.yml/badge.svg)](https://github.com/OrRon/EpicInfographics/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

</div>

<br>

![The streaming wars, dark-glass style](examples/streaming-wars/infographic.png)

<table>
<tr>
<td width="50%"><img src="examples/attention-spotlight/infographic.png" alt="The spotlight is shrinking, dark-glass story"></td>
<td width="50%"><img src="examples/coffee-botanical/infographic.png" alt="The coffee tree, naturalist plate"></td>
</tr>
</table>

## Why this exists

Ask an AI for an infographic and you usually get the same thing: rounded
cards in a symmetric grid, Tailwind blue, an emoji where an icon should be,
and a bar chart floating on a flat background. It works, and it is instantly
recognizable as machine-made.

This skill writes down what a good studio actually does, as steps an agent
can follow without needing taste of its own:

- The canvas is a place, not a page. Every piece builds a scene (a drafting
  sheet, a dark theatre, a naturalist's folio, a miniature world) and the
  data lives inside that scene. Flat graphic minimalism counts as a failure
  here, even when it's tidy.
- The drawn object carries the data: a cup filled to two thirds because 2 in
  3 adults drink coffee, a rocket whose hatched section is exactly the 90%
  propellant fraction, a funnel of stage light drawn at 1px per 140 users.
- Charts are computed rather than eyeballed. Bar ratios, donut arcs and areas
  come from arithmetic written into the file, and every palette goes through
  a color-blindness checker before it ships.
- The agent reviews its own render. Every graphic gets screenshotted, read
  back, and checked against a hard anti-slop list (the no-text squint test,
  the template test, the flat-ground test) before you ever see it.

## The gallery

Thirteen briefs, twelve design languages, six canvas formats, and every
piece animated. Click any image for its brief, its HTML source, and the
MP4 and GIF versions.

<table>
<tr>
<td align="center" width="33%"><a href="examples/rocket-launch/"><img src="examples/rocket-launch/infographic.png"></a><br><b>Orbital launch</b><br><sub>blueprint · story</sub></td>
<td align="center" width="33%"><a href="examples/tallest-buildings/"><img src="examples/tallest-buildings/infographic.png"></a><br><b>Tallest buildings</b><br><sub>blueprint · a4</sub></td>
<td align="center" width="33%"><a href="examples/launch-funnel/"><img src="examples/launch-funnel/infographic.png"></a><br><b>Signup funnel</b><br><sub>dark-glass · square</sub></td>
</tr>
<tr>
<td align="center" width="33%"><a href="examples/streaming-wars/"><img src="examples/streaming-wars/infographic.png"></a><br><b>The streaming wars</b><br><sub>dark-glass · wide</sub></td>
<td align="center" width="33%"><a href="examples/sleep/"><img src="examples/sleep/infographic.png"></a><br><b>The case for sleep</b><br><sub>editorial · story</sub></td>
<td align="center" width="33%"><a href="examples/pizza-anatomy/"><img src="examples/pizza-anatomy/infographic.png"></a><br><b>Anatomy of a margherita</b><br><sub>hand-drawn · square</sub></td>
</tr>
<tr>
<td align="center" width="33%"><a href="examples/honeybee-economy/"><img src="examples/honeybee-economy/infographic.png"></a><br><b>The honeybee economy</b><br><sub>retro-print · a4</sub></td>
<td align="center" width="33%"><a href="examples/coffee-botanical/"><img src="examples/coffee-botanical/infographic.png"></a><br><b>The coffee tree</b><br><sub>naturalist-plate · a4</sub></td>
<td align="center" width="33%"><a href="examples/attention-spotlight/"><img src="examples/attention-spotlight/infographic.png"></a><br><b>The spotlight is shrinking</b><br><sub>dark-glass · story</sub></td>
</tr>
<tr>
<td align="center" width="33%"><a href="examples/remote-vs-office-worlds/"><img src="examples/remote-vs-office-worlds/infographic.png"></a><br><b>Two tiny worlds of work</b><br><sub>isometric-world · wide</sub></td>
<td align="center" width="33%"><a href="examples/web-history-road/"><img src="examples/web-history-road/infographic.png"></a><br><b>The road the internet took</b><br><sub>isometric-world · story</sub></td>
<td align="center" width="33%"><a href="examples/visit-mars/"><img src="examples/visit-mars/infographic.png"></a><br><b>Visit Mars</b><br><sub>park-poster · story</sub></td>
</tr>
<tr>
<td align="center" width="33%"><a href="examples/wind-turbine/"><img src="examples/wind-turbine/infographic.png"></a><br><b>Inside a wind turbine</b><br><sub>cutaway · a4</sub></td>
<td align="center" width="33%"><br><b>Your brief here</b><br><sub>the skill made all of these;<br>test briefs in <a href="examples/briefs.md">examples/briefs.md</a></sub></td>
<td align="center" width="33%"></td>
</tr>
</table>

## It also moves

Every gallery piece is also a short animation, rendered from the same
HTML file as its still. The skill asks up front whether the graphic
should move, storyboards the build (the scene is already on stage, the
data arrives in order, the hero lands last), and choreographs it in the
design language's own motion character: the blueprint rocket is drafted
line by line, the honeybee poster arrives as screen-print ink passes,
the theatre runs its lighting cues, and the Mars vista pulls layer by
layer off the screen. A bundled script scrubs the page's CSS animations frame
by frame in headless Chromium and assembles the MP4 and GIF with ffmpeg,
so every render is deterministic and the layout checks still hold on the
finished frame.

![The signup funnel, animated](examples/launch-funnel/infographic.gif)

## The design languages

Each style file is a complete spec the agent can execute as written: exact
hexes, font pairings, geometry, signature devices, do's and don'ts. Every
chart palette passes a six-check color-blind-safety validation, including
the dark ones.

| Scene-native (the defaults) | |
|---|---|
| **blueprint** | cyanotype drafting sheet: dimension arrows, hatch fills, stamped title block |
| **dark-glass** | luminous data on deep space: aurora fields, glass panels, disciplined glow |
| **naturalist-plate** | 19th-century field-guide engraving: figure systems, watercolor tints, foxing |
| **isometric-world** | miniature floating dioramas: data as architecture, exact 2:1 projection |
| **retro-print** | mid-century poster: four inks, misregistration, film grain, arc text |
| **editorial** | magazine feature: Fraunces at huge sizes, drop caps, charticles |
| **hand-drawn** | marker sketchbook: wobble-filtered linework, washi tape, doodle arrows |
| **park-poster** | WPA screen-print vista: layered flat planes, title band, a tiny figure for scale |
| **cutaway** | DK-style cross-section: sliced machines, numbered callouts, detail lenses, tiny people |

| High slop-risk (explicit request only) | |
|---|---|
| **swiss** · **corporate-clean** · **neo-brutalist** | flat by construction; the skill only uses them when asked, and forces scene-craft into them |

## Install

**Claude Code**

```text
/plugin marketplace add OrRon/EpicInfographics
/plugin install epic-infographics@epic-infographics
```

Updates: `/plugin` → Marketplaces → epic-infographics → Enable auto-update.

**Codex**

```bash
codex plugin marketplace add OrRon/EpicInfographics
codex plugin add epic-infographics@epic-infographics
```

**Factory Droid**

```bash
droid plugin marketplace add https://github.com/OrRon/EpicInfographics
droid plugin install epic-infographics@epic-infographics --scope user
```

**Pi**

```bash
pi install https://github.com/OrRo
````
