skills/sumi/SKILL.md
Generate artistic infographics from any topic. Runs the Sumi pipeline (analyze → structure → craft prompt → generate image) entirely within Claude Code. Use when "generate infographic", "create infographic", "sumi", "make an infographic about", or "visualize topic".
npx skillsauth add paolomoz/skills sumiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a beautiful infographic from a text topic. Claude does all the thinking (analysis, structuring, prompt crafting) using curated reference files. Only the final image generation calls an external API (Gemini).
The user provides:
ukiyo-e, bauhaus, sumi-e, etc.bento-grid, hub-spoke, iceberg, etc.16:9, 9:16, 1:1. Default: 16:9If style or layout are not specified, recommend 3 combinations and let the user pick.
All reference files live in this skill's references/ directory:
references/analysis-framework.md — Framework for analyzing contentreferences/structured-content-template.md — Template for structuring contentreferences/base-prompt.md — Base prompt template for image generationreferences/styles/{style-id}.md — Style definitions (60+ styles)references/layouts/{layout-id}.md — Layout definitions (20 layouts)IMPORTANT: Read the relevant reference files before each step. These contain the secret sauce — detailed visual instructions, color palettes, compositional patterns, and visual metaphor mappings that make the infographics excellent.
references/analysis-framework.mdTo make good recommendations, consult the analysis framework's Content Type Classification table which maps content types to layouts and styles.
Read references/analysis-framework.md and apply it to the topic. Produce a thorough analysis covering:
This analysis is internal working material — don't dump it on the user. Just mention you're analyzing.
Read references/structured-content-template.md and transform the analysis into designer-ready structured content:
This is where it all comes together. Read:
references/layouts/{selected-layout-id}.md — the full layout definitionreferences/styles/{selected-style-id}.md — the full style definitionreferences/base-prompt.md — the base prompt templateThen craft a rich, detailed image generation prompt with these sections:
Fixed header (one line):
Create a single {aspect_ratio} infographic in {Style Name} style using a {Layout Name} layout. All text in English. Use rich visual scenes with clear hierarchy and ample whitespace.
Layout Guidelines: Adapt the generic layout structure to this specific content. Replace placeholders with content-specific descriptions.
Style Guidelines: Include the FULL style description plus:
Content: Describe each content section as a VISUAL SCENE. Each section must have:
Text Labels: Organize ALL text that should appear in the infographic, grouped by area: Title, Hub/Center, Section Labels, Section Content, Key Phrases, Attribution.
Save the crafted prompt to a file for reference.
The ONLY step that needs an external API call. Use the Sumi backend's image generator:
cd /Users/paolo/playground/sumi/backend && source .venv/bin/activate && python -c "
import asyncio
from sumi.engine.image_generator import generate_image
PROMPT = open('/tmp/sumi-prompt.md').read()
ASPECT_RATIO = 'ASPECT_RATIO_HERE'
OUTPUT_PATH = '/tmp/sumi-infographic.png'
async def main():
path = await generate_image(prompt=PROMPT, output_path=OUTPUT_PATH, aspect_ratio=ASPECT_RATIO)
print(f'Image saved: {path}')
asyncio.run(main())
"
Before running this:
/tmp/sumi-prompt.mdopen <path> on macOSIf the user wants to tweak:
aged-academia, airline-travel-poster, art-nouveau, art-nouveau-mucha, atomic-age, axonometric, bauhaus, bold-graphic, botanical-illustration, chalkboard, charley-harper, claymation, constructivism, corporate-memphis, craft-handmade, cubism, daniel-clowes, de-stijl, dia-de-muertos, dr-seuss, fantasy-map, futurism, golden-age-comics, googie, ikea-manual, isometric-technical, isotype, jack-kirby, kandinsky, kawaii, keith-haring, knolling, ligne-claire, matsumoto, memphis, moebius, origami, osamu-tezuka, patent-drawing, paul-rand, pixel-art, pop-art-lichtenstein, renaissance-diagram, richard-scarry, rinpa, saul-bass, shan-shui, storybook-watercolor, studio-ghibli, subway-map, sumi-e, superflat, synthwave, technical-schematic, tibetan-thangka, treasure-map, ukiyo-e
bento-grid, binary-comparison, bridge, circular-flow, comic-strip, comparison-matrix, dashboard, funnel, hierarchical-layers, hub-spoke, iceberg, isometric-map, jigsaw, linear-progression, periodic-table, story-mountain, structural-breakdown, tree-branching, venn-diagram, winding-roadmap
tools
Implement Server-Sent Events streaming from Cloudflare Workers to browser clients with reconnection, state persistence, and progress tracking. Use when building "SSE streaming", "real-time updates", "server push", or "event streaming".
development
Audit websites by cross-referencing query indexes, sitemaps, and navigation to identify content gaps, stale pages, missing metadata, and quality issues. Use when "auditing a website", "finding content gaps", "site quality audit", or "content inventory analysis".
data-ai
Track user session context across multi-turn interactions using browser sessionStorage and server-side KV caching with TTL. Use when implementing "session tracking", "conversation context", "multi-turn sessions", or "user journey tracking".
development
Capture full-page and viewport screenshots of websites using Playwright with overlay removal, cookie consent handling, and comparison modes. Use when "capturing screenshots", "website screenshots", "visual testing", or "page capture".