Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-react-sankey(syncfusion React sankey 前端)

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

syncfusion-react-sankey 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 5,465。

总安装 665周安装 28GitHub Stars 1下载 233核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-sankey

这个 Skill 是做什么的

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

用于辅助 React Sankey 图表的开发与维护。适合在 Codex、Claude、Cursor、Gemini CLI 中生成或审查前端图表代码。通过 GitHub 安装,需结合项目现有设计系统使用。涉及页面改动时应配合本地预览确认视觉效果。

syncfusion-react-sankey 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-react-sankey

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-react-sankey 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-react-sankey 支持哪些 AI 工具?

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

syncfusion-react-sankey 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

syncfusion-react-sankey 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-react-sankey 用的人多吗?

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

syncfusion-react-sankey 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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只读未明确通过
syncfusion-react-sankey

syncfusion React sankey 前端 · 本页

6651操作浏览器未明确通过

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

SKILL.md 原文

Implementing Syncfusion React Sankey Chart

When to Use This Skill

Use this skill when you need to:

  • Display energy flows or process dependencies
  • Visualize hierarchical relationships and data movement between categories
  • Create interactive node-link diagrams with custom styling
  • Build responsive flow visualizations with legends and tooltips
  • Enable user interactions like clicks and hover effects
  • Export or print flow diagrams
  • Support accessibility features and RTL layouts

Component Overview

The Syncfusion React Sankey Chart component visualizes flow data through interconnected nodes and links, perfect for displaying energy consumption, data flows, process hierarchies, and organizational relationships. It provides rich customization options for appearance, interactivity, and accessibility.

Key Features:

  • Node & Link Configuration - Define data sources and destinations with custom styling
  • Labels & Positioning - Control text display, node positioning, and title/subtitle
  • Legend Support - Display legend with customizable positioning and styling
  • Interactivity - Tooltips, click events, and user interactions
  • Appearance Customization - Colors, opacity, link curvature, and theming
  • RTL Support - Right-to-left layout for international applications
  • Accessibility - WCAG compliance and screen reader support
  • Export Capabilities - Export diagrams and print functionality

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup
  • Dependencies and module injection
  • Basic Sankey component creation
  • Development environment setup
  • Running your first example

Nodes and Links Configuration

📄 Read: references/nodes-and-links.md

  • Node structure and properties
  • Link structure and data flow
  • Data binding and source/target relationships
  • Node positioning with offset property
  • Link styling and customization
  • Performance optimization for large datasets

Labels and Positioning

📄 Read: references/labels-and-positioning.md

  • Label visibility and configuration
  • Node label positioning and alignment
  • Title and subtitle settings
  • Text formatting and styling options
  • Handling label overflow scenarios

Legend and Display Options

📄 Read: references/legend-and-display.md

  • Legend configuration and visibility
  • Legend positioning (Top, Bottom, Left, Right)
  • Display options and item padding
  • Visual styling and theming
  • Color customization

Interactivity and Events

📄 Read: references/interactivity.md

  • Tooltip configuration and display
  • Event handling (nodeClick, linkClick, load events)
  • User interaction patterns
  • Enabling/disabling interactive features
  • Event callbacks and data access

Appearance and Styling

📄 Read: references/appearance-and-styling.md

  • Link styling (opacity, curvature, colorType)
  • Node appearance customization
  • Color schemes and theming
  • CSS integration and custom styling
  • Responsive design considerations

Accessibility and Orientation

📄 Read: references/accessibility-and-orientation.md

  • RTL (Right-to-Left) layout support
  • WCAG accessibility compliance
  • Keyboard navigation support
  • Screen reader compatibility
  • Device responsiveness

Export and Print Features

📄 Read: references/export-and-print.md

  • Export functionality and image formats
  • Print capabilities
  • Exporting diagram data
  • Configuration options
  • Common export scenarios

API Reference

📄 Read: references/sankey-props.md • references/sankey-events.md • references/sankey-methods.md • references/sankey-examples.md

  • Machine-parsable API listings for component props, events, and methods
  • Verified defaults, types, and short descriptions mapped from Syncfusion React Sankey API
  • Implementation examples illustrating common patterns and method usage

Quick Start Example

import React from 'react';
import {
  SankeyComponent, Inject, SankeyTooltip, SankeyLegend, SankeyExport,
  SankeyNodeDirective,
  SankeyNodesCollectionDirective,
  SankeyLinkDirective,
  SankeyLinksCollectionDirective
} from '@syncfusion/ej2-react-charts';
import * as ReactDOM from "react-dom";

function BasicSankey() {
  return (
    <div className="control-pane">
      <div className="control-section">
        <SankeyComponent
          width="90%"
          height="420px"
          title="Energy Flow"
          tooltip={{ enable: true }}
          legendSettings={{ visible: true, position: 'Bottom' }}
        >
          <SankeyNodesCollectionDirective>
            <SankeyNodeDirective id="Solar" label={{ text: 'Solar' }} />
            <SankeyNodeDirective id="Generation" label={{ text: 'Generation' }} />
            <SankeyNodeDirective id="Consumption" label={{ text: 'Consumption' }} />
          </SankeyNodesCollectionDirective>
          <SankeyLinksCollectionDirective>
            <SankeyLinkDirective sourceId="Solar" targetId="Generation" value={450} />
            <SankeyLinkDirective sourceId="Generation" targetId="Consumption" value={400} />
          </SankeyLinksCollectionDirective>
          <Inject services={[SankeyTooltip, SankeyLegend, SankeyExport]} />
        </SankeyComponent>
      </div>
    </div>
  );
}

export default BasicSankey;
ReactDOM.render(<BasicSankey />, document.getElementById("charts"));

Common Patterns

Pattern 1: Multi-Level Flow Visualization

Create hierarchical flows with multiple source and destination nodes for complex data relationships.

<SankeyComponent title="Process Flow">
  <SankeyNodesCollectionDirective>
    <SankeyNodeDirective id="Input" />
    <SankeyNodeDirective id="Processing" />
    <SankeyNodeDirective id="Output" />
  </SankeyNodesCollectionDirective>
  <SankeyLinksCollectionDirective>
    <SankeyLinkDirective sourceId="Input" targetId="Processing" value={100} />
    <SankeyLinkDirective sourceId="Processing" targetId="Output" value={80} />
  </SankeyLinksCollectionDirective>
  <Inject services={[SankeyTooltip, SankeyLegend]} />
</SankeyComponent>

Pattern 2: Styled Links with Color Types

Customize link appearance using colorType to inherit colors from source or apply custom styling.

<SankeyComponent
  linkStyle={{
    opacity: 0.6,
    curvature: 0.55,
    colorType: 'Source'
  }}
>
  {/* nodes and links */}
  <Inject services={[SankeyTooltip, SankeyLegend]} />
</SankeyComponent>

Pattern 3: Responsive with Device Detection

Adapt component dimensions and display based on device type for better UX.

import { Browser } from '@syncfusion/ej2-base';

<SankeyComponent
  height={Browser.isDevice ? '600px' : '450px'}
  labelSettings={{ visible: !Browser.isDevice }}
>
  {/* nodes and links */}
  <Inject services={[SankeyTooltip, SankeyLegend]} />
</SankeyComponent>

Key Props Reference

PropTypePurpose
widthstringChart width (e.g., '90%', '800px')
heightstringChart height (e.g., '420px')
titlestringMain chart title
subTitlestringChart subtitle
tooltipobjectTooltip configuration
legendSettingsobjectLegend visibility and positioning
labelSettingsobjectNode label configuration
linkStyleobjectLink styling (opacity, curvature, colorType)

Common Use Cases

  1. Energy Consumption Flow - Track energy from sources through generation, distribution, to consumption sectors
  2. Process Dependencies - Visualize workflow stages and data movement through processes
  3. Organizational Hierarchy - Display reporting structures and resource allocation
  4. Supply Chain Flow - Show product movement from suppliers through manufacturing to distribution
  5. Data Pipeline - Visualize data transformation and routing through system components

平台分布

Codex

37.18%
按下载量换算87

Claude

28.2%
按下载量换算66

Cursor

18.89%
按下载量换算44

Gemini CLI

9.97%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

继续浏览同类 Skills