Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

infographic

БесплатноЗапускает вложенные скриптыНе проверен

Generate high-density infographics with structured layout and style choices and bundled generation tooling. Use when the user asks to create an infographic, a…

onfire7777от onfire7777★ 17 звёзд на GitHub

Об этом скилле

Infographic Generation (infographic)

Reference Images (Important)

If you use reference images (image-to-image / series reference / consistency refs):

  • Reference images must be public URLs.
  • HTTPS is strongly recommended.
  • http:// may work but is insecure and can be blocked by some networks.
  • Local file paths and data: URLs are not supported by the WeryAI gateway.

This skill turns complex source material into a single high-density infographic.

Maintain the layout and style mapping when the bundled generation runtime updates, and re-check recent runtime behavior if a newer version changes prompt handling.

Script:

  • scripts/scaffold.ts
  • scripts/build-prompt.ts
  • scripts/build-batch.ts

Safety & Scope

  • Network: This skill calls the WeryAI gateway over HTTPS (https://api.weryai.com).
  • Auth: Uses IMAGE_GEN_API_KEY. The key is never printed. It may be persisted only when you explicitly run npm run setup -- --persist-api-key.
  • Reference images: Must be public URLs (https:// recommended). http:// may work but is insecure. Local file paths and data: URLs are rejected.
  • No arbitrary shell: The generation runtime does not execute arbitrary shell commands.
  • Files written: Output images and optional local config under .image-skills/infographic/ (project) and/or ~/.image-skills/infographic/ (home).

Use Cases

  • high-density information graphics
  • visual summaries
  • data relationship graphics
  • process posters
  • content that needs to be explained in one image

Not a good fit for:

  • a single article cover image
  • multi-card RedNote content
  • a sequential comic narrative

Core Dimensions

  1. layout: the information structure
  2. style: the visual language

See:

Commands

Script Purpose
scripts/scaffold.ts Initialize analysis.md, structured-content.md, and prompts
scripts/build-batch.ts Generate batch.json from prompt variants
scripts/build-prompt.ts Build final prompt from structured-content.md
npm run generate Generate the infographic
../compression-runtime/scripts/main.ts Compress output for delivery

Workflow

Step 1: Initialize Working Files

Create the working directory and starter files:

${BUN_X} {baseDir}/scripts/scaffold.ts \
  --output-dir infographic/topic-slug \
  --topic "Topic name" \
  --lang en

This creates:

  • analysis.md
  • structured-content.md
  • prompts/infographic.md

Step 2: Understand the Source

Extract:

  • the main topic
  • the target audience
  • the density of information
  • whether the content is driven by data, lists, hierarchy, process, or comparison
  • the user's language, especially for titles, labels, and annotations

Save the result to analysis.md, using:

Step 3: Organize Structured Content

Before selecting the final layout and style, rewrite the material into structured-content.md:

This step should make titles, sections, labels, and data points explicit.

Step 4: Choose layout and style

Default priorities:

  • layout: bento-grid
  • style: infographic

Recommended rules:

  • step-by-step tutorial -> linear-progression
  • comparison -> binary-comparison
  • hierarchy -> hierarchical-layers
  • broad knowledge overview -> bento-grid
  • dense modular content -> dense-modules

If the user explicitly asks for a specific visual direction, follow that preference.

Step 5: Build batch.json for Variants

If you want to explore multiple infographic directions, place multiple prompt files in prompts/, for example:

  • 01-technical.md
  • 02-minimal.md
  • 03-bold.md

Then generate a batch file:

${BUN_X} {baseDir}/scripts/build-batch.ts \
  --prompts infographic/topic-slug/prompts \
  --output infographic/topic-slug/batch.json \
  --images-dir infographic/topic-slug \
  --model "$M" \
  --jobs 3

The script reads Style direction: and Aspect ratio: from each prompt file when possible, then maps them into generation task fields.

Step 6: Build the Final Prompt

Convert structured-content.md into the final prompt:

${BUN_X} {baseDir}/scripts/build-prompt.ts \
  --structured-content infographic/topic-slug/structured-content.md \
  --output infographic/topic-slug/prompts/infographic.md \
  --audience "product teams" \
  --style technical-schematic \
  --aspect 4:3 \
  --lang en

This keeps the prompt synchronized with the structured content instead of rewriting it by hand.

Step 7: Map to the Bu

Полный SKILL.md на GitHub

Установить infographic в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.md_meta.jsoneval.yamlpackage.jsonreferences/analysis-framework.mdreferences/layouts-and-styles.mdreferences/prompt-template.mdreferences/structured-content-template.mdscripts/bootstrap.mjsscripts/build-batch.tsscripts/build-prompt.tsscripts/ensure-ready.mjsscripts/package.jsonscripts/scaffold.tsscripts/setup.mjsscripts/visual-policy.ts

FAQ

Что делает скилл infographic?

Generate high-density infographics with structured layout and style choices and bundled generation tooling. Use when the user asks to create an infographic, a visual summary, or a dense single-page information graphic.

Как установить скилл infographic?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл infographic запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить infographic с