Agent Skills
› CodingFeng101/CanvasAnvil
› infographic-skill
infographic-skill
GitHub根据结构化内容要求生成最终信息图图像。适用于数据摘要、流程解释、对比板等单帧信息图形,支持多模型供应商配置并直接导出为本地图片文件。
Trigger Scenarios
需要生成最终信息图图像的任务
数据摘要或可视化需求
Install
npx skills add CodingFeng101/CanvasAnvil --skill infographic-skill -g -y
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:
openaialiyuntencentbytedancezhipugooglexaibfladobe
Order
- Confirm the task is an infographic task.
- Collect required fields.
- Ask follow-up questions for missing required fields.
- Read the required references.
- Produce the final infographic prompt.
- Generate the image through the configured provider.
- Export or bundle artifacts when requested.
Required Fields
themesizeoraspect_ratiostyle_directioncolor_directioninformation_pointsdata_status
Do not guess missing required fields.
Required References
references/infographic-fields.mdreferences/prompt-rules.mdreferences/image-provider-config.mdreferences/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.jsonbefore image generation. - Do not ask the user to paste API keys into chat.
- Stop and tell the user to fill
config/image-provider.jsonwhen provider, apiKey, or model is missing. - Pass a reference image only when
reference_image_statusis positive and a usable reference image URL is available.
Scripts
scripts/generate-infographic-image.mjsscripts/build-infographic-bundle.mjs
Deliverables
Preferred:
png- metadata JSON
Optional on request:
jpg- prompt text
Version History
- d33dc57 Current 2026-08-20 07:35


