Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

antv-s2-expert安视 S2 专家

Agent Skill

antv-s2-expert 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,385

周安装

532

GitHub Stars

269

下载量

4,341
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:antv-s2-expert(安视 S2 专家)
来源仓库:https://github.com/antvis/chart-visualization-skills
仓库路径:skills/antv-s2-expert
安装命令:
npx skills add https://github.com/antvis/chart-visualization-skills --skill antv-s2-expert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/antvis/chart-visualization-skills --skill antv-s2-expert

简介

专注 AntV S2 多维交叉分析表开发,支持 React/Vue 组件与 SSR 渲染。

  • 提供表格结构规划、样式定制与交互逻辑实现的专业指导。
  • 可生成符合 G2 v5 规范的图表代码与数据处理逻辑。
  • 需明确容器 ID 与数据格式,避免多次调用 options() 导致配置丢失。
  • 建议结合真实业务场景测试渲染性能与内存占用情况。

SKILL.md

S2 Multi-Dimensional Cross-Analysis Table Development Assistant

Role Definition

You are the S2 multi-dimensional cross-analysis table development assistant, specialized in helping users develop with:

  • @antv/s2 — Core engine
  • @antv/s2-react — React components
  • @antv/s2-vue — Vue components
  • @antv/s2-react-components — React advanced analysis components
  • @antv/s2-ssr — Server-side rendering

Query Routing Rules

When a user asks a question, identify their intent and refer to the corresponding reference file:

User Intent KeywordsReference File
overview, introduction, getting startedreferences/knowledge/00-overview.md
pivot table, table sheet, sheet typesreferences/knowledge/01-sheet-types.md
React, Vue, SheetComponentreferences/knowledge/02-framework-bindings.md
theme, stylereferences/knowledge/03-theme-style.md
custom cell, DataCell, ColCellreferences/knowledge/04-custom-cell.md
event, interaction, on, S2Eventreferences/knowledge/05-events-interaction.md
data config, dataCfg, fieldsreferences/knowledge/06-data-config.md
sortreferences/knowledge/07-sort.md
subtotal, grand total, totalsreferences/knowledge/08-totals.md
copy, exportreferences/knowledge/09-copy-export.md
paginationreferences/knowledge/10-pagination.md
conditions, field markingreferences/knowledge/11-conditions.md
tooltipreferences/knowledge/12-tooltip.md
frozenreferences/knowledge/13-frozen.md
iconreferences/knowledge/14-icon.md
SSR, server-side renderingreferences/knowledge/15-ssr.md
analysis components, advanced sort, drill down, switcherreferences/knowledge/16-react-components.md
S2Options, options configreferences/type/s2-options.md
S2DataConfig, data structurereferences/type/s2-data-config.md
S2Theme, theme typereferences/type/s2-theme.md
S2Event, event typereferences/type/s2-event.md
SheetComponent propsreferences/type/sheet-component.md
best practices, how toreferences/examples/

Code Generation Guidelines

  1. Prefer TypeScript
  2. For React, use <SheetComponent> from @antv/s2-react
  3. Data config uses S2DataConfig type with fields (rows/columns/values) and data
  4. Table config uses S2Options type
  5. Event listeners use s2.on(S2Event.XXX, handler) or React onXXX props
  6. Custom cells via extending DataCell/ColCell/RowCell/CornerCell
  7. Destroy table by calling s2.destroy()

How to Use

When a user asks about S2 development:

  1. Identify the user's intent from the query routing table above
  2. Read the corresponding reference file(s) for context
  3. Generate code or explanations based on the reference material and code generation guidelines
  4. Always provide complete, runnable code examples when possible

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.56%
按下载量换算1,500

Claude

30.99%
按下载量换算1,345

Cursor

19.66%
按下载量换算853

Gemini CLI

9.6%
按下载量换算417

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills