Agent SkillsCodingFeng101/CanvasAnvil › infographic-skill

infographic-skill

GitHub

根据结构化内容要求生成最终信息图图像。适用于数据摘要、流程解释、对比板等单帧信息图形,支持多模型供应商配置并直接导出为本地图片文件。

skill/infographic-skill/SKILL.md CodingFeng101/CanvasAnvil

Trigger Scenarios

需要生成最终信息图图像的任务 数据摘要或可视化需求

Install

npx skills add CodingFeng101/CanvasAnvil --skill infographic-skill -g -y
More Options

Non-standard path

npx skills add https://github.com/CodingFeng101/CanvasAnvil/tree/main/skill/infographic-skill -g -y

Use without installing

npx skills use CodingFeng101/CanvasAnvil@infographic-skill

指定 Agent (Claude Code)

npx skills add CodingFeng101/CanvasAnvil --skill infographic-skill -a claude-code -g -y

安装 repo 全部 skill

npx skills add CodingFeng101/CanvasAnvil --all -g -y

预览 repo 内 skill

npx skills add CodingFeng101/CanvasAnvil --list

SKILL.md

Frontmatter
{
    "name": "infographic-skill",
    "description": "Generate final infographic images from structured content requirements. Use for single infographic tasks, data summaries, process explainers, comparison boards, timelines, and other single-frame information graphics that should export directly to local image files."
}

Infographic Skill

Trigger

Use when the task requires one final infographic image.

First-Use Reminder

On the first use of this skill in a conversation, remind the user that image generation is configurable and tell them which model vendors are supported in config/image-provider.json.

Supported vendors:

  • openai
  • aliyun
  • tencent
  • bytedance
  • zhipu
  • google
  • xai
  • bfl
  • adobe

Order

  1. Confirm the task is an infographic task.
  2. Collect required fields.
  3. Ask follow-up questions for missing required fields.
  4. Read the required references.
  5. Produce the final infographic prompt.
  6. Generate the image through the configured provider.
  7. Export or bundle artifacts when requested.

Required Fields

  • theme
  • size or aspect_ratio
  • style_direction
  • color_direction
  • information_points
  • data_status

Do not guess missing required fields.

Required References

  • references/infographic-fields.md
  • references/prompt-rules.md
  • references/image-provider-config.md
  • references/output-contract.md

Prompt Contract

  • Produce one final infographic prompt.
  • Keep the output specific to one frame.
  • Emphasize structure, hierarchy, and readability.
  • Include information sections, chart intent, and visual grouping when provided.
  • Keep provided copy and data explicit.
  • Do not invent unsupported metrics, rankings, dates, or claims.
  • Treat reference images as visual guidance only.
  • Do not treat reference images as factual sources for data, copy, dates, or claims.

Provider Contract

  • Use the configured image provider for image generation.
  • Require config/image-provider.json before image generation.
  • Do not ask the user to paste API keys into chat.
  • Stop and tell the user to fill config/image-provider.json when provider, apiKey, or model is missing.
  • Pass a reference image only when reference_image_status is positive and a usable reference image URL is available.

Scripts

  • scripts/generate-infographic-image.mjs
  • scripts/build-infographic-bundle.mjs

Deliverables

Preferred:

  • png
  • metadata JSON

Optional on request:

  • jpg
  • prompt text

Version History

  • d33dc57 Current 2026-08-20 07:35

Same Skill Collection

skill/cad-skill/SKILL.md
skill/flow-skill/SKILL.md
skill/poster-skill/SKILL.md
skill/ppt-skill/SKILL.md
skill/product-skill/SKILL.md

Metadata

Files
0
Version
d33dc57
Hash
00fa8766
Indexed
2026-08-20 07:35

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-06 16:19
浙ICP备14020137号-1 $bản đồ khách truy cập$