Skip to content

About

Claude Code skill and Rust CLI for verified, animated SVG infographics

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

infographic

How infographic works: Claude writes a YAML spec; the CLI draws, checks and reports until the gate passes

Skills and tools that make Claude reliably produce animated SVG infographics explaining technical patterns and processes.

Ask for one in Claude Code with the infographic skill:

/infographic for the circuit breaker pattern

Claude designs the story and writes a YAML spec. The Rust infographic CLI does all layout, timing, SVG output and verification, and reports findings against the spec. Claude fixes them in the spec, never in the SVG.

Install

The CLI is a single binary for macOS and Linux (arm64 and x86-64).

Homebrew:

brew tap grahambrooks/infographic https://github.com/grahambrooks/infographic
brew install grahambrooks/infographic/infographic

Download: take the archive for your platform from the latest release, check it against SHA256SUMS, and put infographic on your PATH.

From source (Rust 1.100 or later):

cargo install --git https://github.com/grahambrooks/infographic

The skill: copy .claude/skills/infographic/ into ~/.claude/skills/ to use it in any project, or work inside a clone of this repository, where Claude Code picks it up automatically.

Use

infographic build examples/circuit-breaker.yaml -o /tmp/out
infographic check any.svg [--profile readme] [--png out.png]

Both print a JSON report. build writes light and dark SVGs, a storyboard PNG, and a <picture> snippet for embedding in a GitHub README.

Examples

Each one was generated from its spec in infographics/. They switch between light and dark with your GitHub theme.

Showcase → has every infographic so far, including benchmark runs for retry with backoff, transactional outbox and the TCP handshake, with build rounds, browser results and the gaps each one found.

Circuit breaker

Made by the skill from the one-line request "create an infographic for the circuit breaker pattern" (spec).

Circuit breaker: A circuit breaker stops calling a failing service and fails fast until a trial call shows it has recovered

How infographic works

The header above (spec).

How infographic works: Claude writes a YAML spec; the CLI draws, checks and reports until the gate passes

Each build also writes a storyboard: one frame per phase, light and dark. Here is the circuit breaker's.

See docs/design.md for the design and milestones.

License

MIT, see LICENSE. The binary includes IBM Plex Sans under the SIL Open Font License 1.1 (assets/fonts/OFL.txt); infographic licenses prints both.

About

Claude Code skill and Rust CLI for verified, animated SVG infographics

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages