Token导航 LogoToken导航

Agent Skill · 前端设计

infographic-creation(信息图表创作)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

infographic-creation 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 7,903。

总安装 329周安装 14GitHub Stars 175下载 115核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:infographic-creation(信息图表创作)
来源仓库:https://github.com/nicepkg/ai-workflow
仓库路径:skills/infographic-creation
安装命令:
npx skills add https://github.com/nicepkg/ai-workflow --skill infographic-creation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/nicepkg/ai-workflow --skill infographic-creation

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

infographic-creation 辅助前端页面、组件和样式开发,适合生成或审查 React、Vue 等相关代码。适用于组件结构整理、布局问题定位和性能优化等前端设计场景。使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。涉及页面改动时应配合本地预览和构建检查确认视觉效果。

建议根据实际项目技术栈调整代码风格和实现细节。

来源仓库内路径:skills/infographic-creation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nicepkg/ai-workflow --skill infographic-creati…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

infographic-creation 怎么安装?

在终端执行 npx skills add https://github.com/nicepkg/ai-workflow --skill infographic-creation。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

infographic-creation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

infographic-creation 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

infographic-creation 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

infographic-creation 用的人多吗?

公开数据是累计安装 329 次,近一周安装 14 次,下载 115 次,GitHub 175 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

infographic-creation 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
infographic-creation

信息图表创作 · 本页

329175需要联网MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

An infographic (Infographic) transforms data, information, and knowledge into perceivable visual language. It combines visual design with data visualization, using intuitive symbols to compress complex information and help audiences quickly understand and remember key points.

Infographic = Information Structure + Visual Expression

This is a task that utilizes AntV Infographic to create visual infographics.

Before you start the task, you need to understand the AntV Infographic Syntax specification, including template lists, data structures, themes, and more.

SPECs

AntV Infographic Syntax

AntV Infographic Syntax is a mermaid-like DSL for describing infographic rendering configuration. It uses indentation to describe information, has strong robustness, and makes it easy to render infographics through AI streaming output. It mainly contains the following information:

  1. template: Use template to express text information structure.
  2. data: the infographic data, which contains title, desc, items, etc. The items is an array containing label, value, desc, icon, children, etc.
  3. theme: Theme contains palette, font, and other styling options.

e.g.:

infographic list-row-horizontal-icon-arrow
data
  title Title
  desc Description
  items
    - label Label
      value 12.5
      desc Explanation
      icon mdi/rocket-launch
theme
  palette #3b82f6 #8b5cf6 #f97316

The Syntax

  • The first line starts with infographic <template-name>, and the template is selected from the list below (the *Available Templates* section).
  • Use blocks to describe data / theme, with two-space indentation
  • Key-value pairs are expressed as "key value", and arrays are expressed as "-" items
  • The icon value is provided directly with keywords or icon names (such as mdi/chart-line)
  • data should contain title/desc/items (which can be omitted according to semantics)
  • data.items should contain label(string)/value(number)/desc(string)/icon(string)/children(object), where children represents the hierarchical structure
  • For comparison templates (template names starting with compare-), construct exactly two root nodes and place every comparison item under them as children to keep the hierarchy clear
  • theme field is for customizing the theme of the infographic, including palette, font, etc. e.g. dark theme with custom palette: infographic list-row-simple-horizontal-arrow theme dark palette - #61DDAA - #F6BD16 - #F08BB4 data items - label Step 1 desc Start - label Step 2 desc In Progress - label Step 3 desc Complete
  • Use theme.base.text.font-family to specify fonts, such as the handwriting style '851tegakizatsu'
  • Use theme.stylize to select built-in styles and pass parameters Common stylization types include: e.g: Hand-drawn style (rough): infographic list-row-simple-horizontal-arrow theme stylize rough base text font-family 851tegakizatsu data items - label Step 1 desc Start - label Step 2 desc In Progress - label Step 3 desc Complete

- rough: Apply hand-drawn style to make graphics look like they were drawn by hand. - pattern: Apply pattern fill to add repeated pattern effects to graphics. - linear-gradient / radial-gradient: Apply gradient fill to add linear or radial gradient effects to graphics.

Typescript definition for data field:

interface Data {
  title?: string;
  desc?: string;
  items: ItemDatum[];
  [key: string]: any;
}

interface ItemDatum {
  icon?: string;
  label?: string;
  desc?: string;
  value?: number;
  illus?: string;
  children?: ItemDatum[];
  [key: string]: any;
}

Icon and Illustration Resources

Icons (from Iconify):

  • Format: <collection>/<icon-name>, e.g., mdi/rocket-launch
  • Popular collections:

- mdi/* - Material Design Icons (most commonly used) - fa/* - Font Awesome - bi/* - Bootstrap Icons - heroicons/* - Heroicons

- Tech: mdi/code-tags, mdi/database, mdi/api, mdi/cloud - Business: mdi/chart-line, mdi/briefcase, mdi/currency-usd - Process: mdi/check-circle, mdi/arrow-right, mdi/cog - People: mdi/account, mdi/account-group, mdi/shield-account

Illustrations (from unDraw):

- Tech: coding, programmer, server, cloud-sync - Business: business-plan, team-work, analytics - Abstract: abstract, building-blocks, connection

  • Note: Use sparingly as illustrations are larger and more detailed than icons

Usage Tips:

  • For sequence-* and list-* templates → use icon
  • For larger illustration needs → use illus
  • Not all templates support both icon and illus - refer to template examples

Available Templates

  • sequence-zigzag-steps-underline-text
  • sequence-horizontal-zigzag-underline-text
  • sequence-horizontal-zigzag-simple-illus
  • sequence-circular-simple
  • sequence-filter-mesh-simple
  • sequence-mountain-underline-text
  • sequence-cylinders-3d-simple
  • sequence-color-snake-steps-horizontal-icon-line
  • sequence-pyramid-simple
  • sequence-roadmap-vertical-simple
  • sequence-roadmap-vertical-plain-text
  • sequence-zigzag-pucks-3d-simple
  • sequence-ascending-steps
  • sequence-ascending-stairs-3d-underline-text
  • sequence-snake-steps-compact-card
  • sequence-snake-steps-underline-text
  • sequence-snake-steps-simple
  • sequence-stairs-front-compact-card
  • sequence-stairs-front-pill-badge
  • sequence-timeline-simple
  • sequence-timeline-rounded-rect-node
  • sequence-timeline-simple-illus
  • compare-binary-horizontal-simple-fold
  • compare-hierarchy-left-right-circle-node-pill-badge
  • compare-swot
  • quadrant-quarter-simple-card
  • quadrant-quarter-circular
  • quadrant-simple-illus
  • relation-circle-icon-badge
  • relation-circle-circular-progress
  • compare-binary-horizontal-badge-card-arrow
  • compare-binary-horizontal-underline-text-vs
  • hierarchy-tree-tech-style-capsule-item
  • hierarchy-tree-curved-line-rounded-rect-node
  • hierarchy-tree-tech-style-badge-card
  • chart-column-simple
  • chart-bar-plain-text
  • chart-line-plain-text
  • chart-pie-plain-text
  • chart-pie-compact-card
  • chart-pie-donut-plain-text
  • chart-pie-donut-pill-badge
  • chart-wordcloud
  • list-grid-badge-card
  • list-grid-candy-card-lite
  • list-grid-ribbon-card
  • list-row-horizontal-icon-arrow
  • list-row-simple-illus
  • list-sector-plain-text
  • list-column-done-list
  • list-column-vertical-icon-arrow
  • list-column-simple-vertical-arrow

Template Selection Guidelines:

  • For strict sequential order: processes/steps/development trends → sequence-* series

- Timeline → sequence-timeline-* - Staircase diagram → sequence-stairs-* - Roadmap → sequence-roadmap-vertical-* - Zigzag steps → sequence-zigzag-* - Circular progress → sequence-circular-simple - Color snake steps → sequence-color-snake-steps-* - Pyramid diagram → sequence-pyramid-simple

  • For listing viewpoints → list-row-* series or list-column-* series
  • For comparative analysis (comparing pros and cons of two parties) → compare-binary-* series
  • For SWOT analysis → compare-swot
  • For hierarchical structure (tree diagram) → hierarchy-tree-*
  • For data charts → chart-* series
  • For quadrant analysis → quadrant-* series
  • For grid lists (bullet points) → list-grid-* series
  • For relationship display → relation-circle-*
  • For word cloud → chart-wordcloud

Example

Draw an information graph of the Internet technology evolution

infographic list-row-horizontal-icon-arrow
data
  title Internet Technology Evolution
  desc From Web 1.0 to AI era, key milestones
  items
    - time 1991
      label Web 1.0
      desc Tim Berners-Lee published the first website, opening the Internet era
      icon mdi/web
    - time 2004
      label Web 2.0
      desc Social media and user-generated content become mainstream
      icon mdi/account-multiple
    - time 2007
      label Mobile
      desc iPhone released, smartphone changes the world
      icon mdi/cellphone
    - time 2015
      label Cloud Native
      desc Containerization and microservices architecture are widely used
      icon mdi/cloud
    - time 2020
      label Low Code
      desc Visual development lowers the technology threshold
      icon mdi/application-brackets
    - time 2023
      label AI Large Model
      desc ChatGPT ignites the generative AI revolution
      icon mdi/brain

Example 2: Using Illustrations

infographic sequence-horizontal-zigzag-simple-illus
data
  title Product Development Phases
  desc Key stages in our development process
  items
    - label Research
      desc Understanding user needs
      illus user-research
    - label Design
      desc Creating user experience
      illus design-thinking
    - label Development
      desc Building the product
      illus coding
    - label Launch
      desc Going to market
      illus launch-day

Creation Process

Step 1: Understanding User Requirements

Before creating the infographic, it is important to understand the user's requirements and the information they want to present. This will help in defining the template and the data structure.

If the user provides a clear and concise description of the information they want to present, break down the information into a clear and concise structure.

Otherwise, ask the user for clarification (e.g., "Please provide a clear and concise description of the information you want to present.", "Which template would you prefer to use?")

  • Extract key information structure (title, description, items, etc).
  • Identify the required data fields (e.g., title, description, items, labels, values, icons, etc.).
  • Select an appropriate template.
  • Use the AntV Infographic Syntax to describe the content of the infographic {syntax}.

CRITICAL NOTE: Must respect the language of the user's input content. e.g. if the user's input content is in Chinese, the text content in infographic syntax must be in Chinese.

Step 2: Rendering the Infographic

Once you have the final AntV Infographic Syntax, you can generate the complete infographic HTML file by following these steps:

  1. Create a complete HTML file with the following structure:

- DOCTYPE and HTML meta tags (charset: utf-8) - Title: {title} - Infographic - Include AntV Infographic library script: https://unpkg.com/@antv/infographic@latest/dist/infographic.min.js - Add a resource loader script that handles icon loading from Iconify and illustration loading from unDraw - Create a container div with id container where the infographic will render - Initialize the Infographic instance with width: '100%' and height: '100%' - Replace the placeholder {title} with the actual title - Replace the placeholder {syntax} with the actual AntV Infographic Syntax - Include export functionality that allows users to download the infographic as SVG const svgDataUrl = await infographic.toDataURL({type: 'svg'});

The Html template you can follow:

<div id="container"></div>
<script src="https://unpkg.com/@antv/infographic@latest/dist/infographic.min.js"></script>
<script>
// Resource Loader Script
// Use the following resource loader script to handle icon and illustration loading:
const svgTextCache = new Map();
const pendingRequests = new Map();

AntVInfographic.registerResourceLoader(async (config) => {
    const { data, scene } = config;

    try {
        const key = `${scene}::${data}`;
        let svgText;

        // 1. Check cache
        if (svgTextCache.has(key)) {
            svgText = svgTextCache.get(key);
        }
        // 2. Check if request is already in progress
        else if (pendingRequests.has(key)) {
            svgText = await pendingRequests.get(key);
        }
        // 3. Make new request
        else {
            const fetchPromise = (async () => {
                try {
                    let url;

                    if (scene === 'icon') {
                        url = `https://api.iconify.design/${data}.svg`;
                    } else if (scene === 'illus') {
                        url = `https://raw.githubusercontent.com/balazser/undraw-svg-collection/refs/heads/main/svgs/${data}.svg`;
                    } else return null;

                    if (!url) return null;

                    const response = await fetch(url, { referrerPolicy: 'no-referrer' });

                    if (!response.ok) {
                        console.error(`HTTP ${response.status}: Failed to load ${url}`);
                        return null;
                    }

                    const text = await response.text();

                    if (!text || !text.trim().startsWith('<svg')) {
                        console.error(`Invalid SVG content from ${url}`);
                        return null;
                    }

                    svgTextCache.set(key, text);
                    return text;
                } catch (fetchError) {
                    console.error(`Failed to fetch resource ${key}:`, fetchError);
                    return null;
                }
            })();

            pendingRequests.set(key, fetchPromise);

            try {
                svgText = await fetchPromise;
            } catch (error) {
                pendingRequests.delete(key);
                console.error(`Error loading resource ${key}:`, error);
                return null;
            } finally {
                pendingRequests.delete(key);
            }
        }

        if (!svgText) {
            return null;
        }

        const resource = AntVInfographic.loadSVGResource(svgText);

        if (!resource) {
            console.error(`loadSVGResource returned null for ${key}`);
            svgTextCache.delete(key);
            return null;
        }

        return resource;
    } catch (error) {
        console.error('Unexpected error in resource loader:', error);
        return null;
    }
});
</script>
<script>
 const infographic = new AntVInfographic.Infographic({
    container: '#container',
    width: '100%',
    height: '100%',
  });
  infographic.render(`{syntax}`);
</script>
  1. Write the HTML file named <title>-infographic.html using the Write tool
  2. Display to the user:

- The generated file path with instruction: "Open this file directly in a browser to view and save the SVG" - Display your output syntax with instruction: "If you need to adjust the template/colors/content, just let me know"

Note: The HTML file must include:

  • Complete resource loader for handling icon and illustration assets from external sources
  • SVG export functionality via the export button
  • Responsive container that takes 100% width and height
  • Proper error handling for failed resource loads

平台分布

OpenCode

28.47%
按下载量换算33

Cursor

24.47%
按下载量换算28

Claude Code

17.21%
按下载量换算20

cline

13.87%
按下载量换算16

clawdbot

7.39%
按下载量换算8

trae

3.59%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills