首页 / 全部技能 / 设计 / content-infographic
设计 · vstorm-co/content-skills

content-infographic

Generate SVG and HTML infographics with brand-aware design. Use when user wants to create an infographic, data visualization, process flow, comparison chart, stat card, or visual data summary.

L1 基础 · 登记来源即可V1 已固定Dual-pass Audit
💬 对话试用 (预览)
Author vstorm-coGitHub vstorm-co/content-skills ↗Stars 27License MITCommit 5138a11b1e
管控等级描述 skill 的能力与建议配套的管控措施,不代表质量或安全认证,也不表示可用或不可用。是否使用由用户和管理者决定。不同 agent 宿主对权限的约束各不相同,请勿假定宿主一定会提供安全兜底。第三方 skill 版权归原作者,使用风险由使用者自行承担。

1实现原理 · 为什么它能做到

默认优先生成矢量 SVG 图表,并界定交互式场景退避至 HTML

skills/content-infographic/SKILL.md
Always default to SVG output unless the user requests otherwise. SVG advantages:…When to use HTML instead of SVG:…Interactive infographics with hover states, tooltips, or animations.
这里在做什么:确立 SVG 优先的交付规范,确保矢量图在印刷、缩放与屏幕阅读器无障碍支持上的优势,同时明确仅在悬停交互、动态重排时退避至 HTML

自动探测 brand/ 目录以提取品牌色彩、字体与 Logo 矢量路径

skills/content-infographic/SKILL.md
Read these files if they exist: - `brand/VISUAL.md` -- colors, fonts, logo rules - `brand/BRAND.md` -- identity, audience (affects visual tone) Extract: - Primary, secondary, and accent colors
这里在做什么:建立品牌资产感知机制,优先提取企业视觉标准;在缺少品牌上下文时主动向用户询问基准色并回退到干净默认样式

在设计前通过四维度问题解构数据类型与核心洞察

skills/content-infographic/SKILL.md
Before designing anything, understand what needs to be communicated: - **What is the data?** Numbers, categories, processes, comparisons, timelines. - **What is the key insight?** Every infographic has one main takeaway. Identify it.
这里在做什么:强制在绘图前剖析输入数据、受众、发布场景与单一关键结论,避免无上下文的图表堆叠

根据数据逻辑形态自动路由至四类专用模板体系

skills/content-infographic/SKILL.md
| Quantitative comparison | `data-viz` | Bar charts, line charts, pie charts, metrics | | Sequential steps | `process-flow` | Workflows, how-it-works, timelines, pipelines |
这里在做什么:将量化对比、工序流转、并列横评与关键指标映射至预设的四大 SVG 模板,规范排版布局

按规范注入 viewBox、CSS 变量、字体样式与无障碍元数据生成 SVG

skills/content-infographic/SKILL.md
Build the SVG following these principles: - Set a viewBox appropriate for the output context (1200x800 for blog embeds, 1080x1080 for social, custom for others). - Use CSS custom properties for colors so the user can retheme easily. - Embed brand fonts via `<style>` inside the SVG or use web-safe fallbacks.
这里在做什么:定义 SVG 结构规范,通过 CSS 变量保证易于换肤,内嵌 title/desc 标签确保读屏器友好

实施数据墨水比与无障碍核验清单把关图表交付质量

skills/content-infographic/SKILL.md
Before delivering, check:…Key insight is immediately visible (the most important information is the largest/most prominent element).…Color contrast passes WCAG AA for all text.…No more than 5-6 colors total.…SVG is valid and renders in all major browsers.
这里在做什么:在交付前执行严格的检查清单,覆盖视觉焦点突出度、WCAG AA 文本对比度、颜色数量上限与跨浏览器兼容性

贯彻爱德华·塔夫特的数据墨水比原则剔除装饰性图表垃圾

skills/content-infographic/design-principles.md
Coined by Edward Tufte: maximize the share of ink used to present data, minimize everything else.…Remove…Decorative borders, shadows, and bevels…3D effects on charts (they distort data perception)…Background textures and patterns (unless encoding information)
这里在做什么:将经典数据可视化理论固化为工程规则,严禁阴影、3D 与多余网格等干扰数据认知的多余元素

2核心能力

01多场景 SVG 与 HTML 信息图生成
02品牌视觉识别自动融入与回退机制
03量化数据可视化排版与零基准轴对齐
04时序流转与步骤管道图表绘制
05对比矩阵与优劣特性横向评测设计
06单指标 KPI 统计卡片与趋势高亮
07WCAG AA 无障碍与色盲友好配色设计

4管控建议与判定依据

建议配套管控措施
面向 Agent
可自动加载
面向管理者
登记来源与版本
审计说明: 纯 Markdown 指令与静态 SVG 模板资产,无任何可执行代码、外部程序调用、网络外发、敏感凭证读取或恶意写盘行为,评为 green 档。

5第二遍独立确认

  • [ok] 外部程序执行与脚本运行核查 — 经复核,技能目录仅包含 Markdown 规则和 4 个 SVG 模板,无任何 Python/Bash/Node 脚本或动态执行命令。
  • [ok] 网络请求与外部端点调用核查 — 静态扫描及逐行审查均无 URL 与网络端点命中,纯本地 prompt 驱动生成。
  • [ok] 敏感凭证与环境变量读取核查 — 未发现读取 API Key、环境变量或 Keychain 的行为,仅探测本地工作区的 brand/ 设计规范文件。
  • [ok] 文件写入与磁盘操作核查 — Skill 自身不包含自动化写盘脚本,由宿主大模型在生成 SVG/HTML 文本后按用户指令输出。
  • [ok] 品牌资产注入与模板完整性核查 — 模板文件与设计原则文档均完备存在,引用的 brand/VISUAL.md 与 brand/BRAND.md 均有缺失回退兜底。

6结论

  • 严格遵循数据墨水比原则,内建对假大空装饰、3D 扭曲与截断坐标轴的强制约束,确保信息图直击核心洞察。
  • 原生优先输出矢量 SVG,通过内嵌样式与 CSS 自定义变量实现轻量化、高清晰度与极佳的可换肤性。
  • 严谨的无障碍考量,深度整合 WCAG AA 对比度校验标准与针对色盲用户的 Tableau 10 推荐调色板。
  • 适合: 需要为技术博客、社交媒体海报、业务报表或演示文稿快速产出清晰、专业、符合品牌规范且支持无损放大的矢量图表与指标卡片的团队与创作者。
    不适合: 需要多维实时数据钻取、高频实时交互联动的大型 BI 大屏,或需要几十种复杂金融衍生图表的场景。
    💬 Online Trial Chat Sandbox

    Preview this skill in an interactive chat playground. Generic LLM evaluation trial.

    💬 Open Chat Trial (Preview)
    Under construction · Generic sandbox trial
    Install Agent-Ready
    ① Accelerated Distribution dl.bestaiskill.com
    Option A · Direct Zip Download⚡ Download content-infographic (Zip)
    Edge-accelerated mirror via dl.bestaiskill.com
    Option B · Copy Guide for Agent
    install.json
    agent 读 JSON 指南后会自动从本站下载安装,无需更多说明。
    ② Upstream GitHub
    GitHub Repo ↗
    Pinned to commit 5138a11b1e.