Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-react-treeview(syncfusion React treeview 搜索)

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

syncfusion-react-treeview 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 36,169。

总安装 1,972周安装 79GitHub Stars 1下载 638核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助 React 树视图组件的开发与维护。适合在 Codex、Claude、Cursor、Gemini CLI 中查找和检索相关信息。通过 GitHub 安装,需结合项目技术文档使用。建议确认权限范围和文件读写边界。

syncfusion-react-treeview 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

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-treeview 怎么安装?

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

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

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

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

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

syncfusion-react-treeview 是免费的吗?

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

syncfusion-react-treeview 用的人多吗?

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

syncfusion-react-treeview 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-react-treeview

syncfusion React treeview 搜索 · 本页

1,9721接触敏感数据未明确有提醒

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

SKILL.md 原文

Syncfusion React TreeView - Comprehensive Implementation Guide

Master the Syncfusion React TreeView component for building powerful hierarchical data interfaces with advanced features, performance optimization, and enterprise-grade functionality.

Quick Start Navigation

Just Getting Started? → Read Getting Started - Installation, setup, first TreeView

Need to Display Hierarchical Data? → See Data Binding - All binding patterns (hierarchical, self-referential, remote, load-on-demand)

Working with Node Templates? → Check Templates and Rendering - nodeTemplate, statelessTemplates (performance), drawNode callback, JSX/HTML templates

Want to CRUD Nodes Programmatically? → Learn Node Operations - Add, remove, update, move, refresh nodes dynamically

Need Checkboxes or Multi-Select? → Read Selection and Checking - Single/multi-selection, checkboxes, parent-child sync, three-state

Implementing Drag-Drop? → See Drag-Drop and Reordering - Single/multi-node drag, validation, restrictions

Allowing Node Editing? → Check Inline Editing - Edit modes, validation, edit events, keyboard shortcuts

Need to Filter or Search? → Learn Filtering and Searching - Text filtering, parent chain inclusion, Predicate queries, dynamic filtering

Want Custom Sorting? → See Sorting and Ordering - Global sort, level-wise sorting, custom algorithms, sortOrder property

Customizing Appearance? → Read Customization and Styling - CSS, icons, level-based styling, full-row selection, hover effects

Keyboard Navigation & A11y? → Check Keyboard Navigation and Accessibility - Shortcuts, ARIA, screen readers, WCAG 2.1 compliance

Advanced Features Needed? → See Advanced Features - Load-on-demand, state persistence, RTL, localization, accordion pattern

Working with Context Menus? → Learn Context Menu Integration - Menu operations, node management via menu, menu state


Component Overview

The TreeViewComponent from @syncfusion/ej2-react-navigations is a versatile hierarchical data display component with enterprise features:

Core Capabilities

CapabilityDetails
Data DisplayHierarchical, self-referential, remote (OData/WebAPI), load-on-demand
Node OperationsCreate, Read, Update, Delete (CRUD) nodes dynamically
SelectionSingle/multiple selection, checkboxes, three-state, auto parent-child sync
EditingInline editing with validation, programmatic edit control
CustomizationNode templates (including stateless optimization), custom icons, CSS styling by level
InteractionDrag-drop (single/multi), context menus, tooltips, keyboard shortcuts
PerformanceLoad-on-demand, stateless templates, filtering, sorting optimization
AccessibilityWCAG 2.1 keyboard navigation, ARIA attributes, screen reader support
InternationalizationRTL support, localization, multiple language packs
State ManagementSession persistence, programmatic node access

Key Properties Overview

<TreeViewComponent
  // Data
  fields={{ dataSource, id, text, parentID, child, hasChildren, expanded }}

  // Selection & Checking
  allowMultiSelection={true}
  showCheckBox={true}
  autoCheck={true}
  checkedNodes={[]}
  selectedNodes={[]}

  // Interaction
  allowDragAndDrop={true}
  allowEditing={true}

  // Customization
  nodeTemplate={templateFunction}
  statelessTemplates={['nodeTemplate']} // NEW: Performance optimization
  cssClass="custom"

  // Display
  allowTextWrap={true}
  fullRowSelect={true}

  // Behavior
  loadOnDemand={true}
  expandOn="Click"  // or "DoubleClick" or "None" (accordion)
  sortOrder="Ascending"

  // Persistence & Internationalization
  enablePersistence={true}
  enableRtl={false}
  locale="en-US"

  // Events
  onNodeSelected={handleSelect}
  onNodeExpanded={handleExpand}
  onNodeDropped={handleDrop}
  // ... many more events
/>

Complete Feature Map

1. Data Binding (5 Methods)

  • ✅ Hierarchical nested arrays
  • ✅ Self-referential (parentID) model
  • ✅ Remote OData v4
  • ✅ Remote Web API
  • ✅ Load-on-demand lazy loading

2. Node Operations (11 Methods)

  • ✅ addNodes() - Create nodes
  • ✅ removeNodes() - Delete nodes
  • ✅ updateNode() - Modify node text
  • ✅ refreshNode() - Refresh from backend
  • ✅ moveNodes() - Move to different parent
  • ✅ getNode() - Get node by element
  • ✅ getTreeData() - Get all data
  • ✅ beginEdit()/endEdit() - Programmatic edit control
  • ✅ expandAll()/collapseAll() - Bulk operations
  • ✅ selectNodes()/clearSelection() - Selection control

3. Node Templates (3 Types)

  • ✅ String templates with ${...} interpolation
  • ✅ HTML element ID references
  • ✅ JSX function components
  • ✅ statelessTemplates - Performance optimization (ignore state updates)
  • ✅ drawNode callback - Alternative custom rendering method

4. Selection System (2 Modes)

  • ✅ Single selection
  • ✅ Multi-selection with Ctrl/Shift keyboard
  • ✅ Checkbox mode with three-state support
  • ✅ Parent-child auto-sync (autoCheck)
  • ✅ Independent checkbox mode (autoCheck=false)

5. Drag-Drop (2 Scopes)

  • ✅ Single-node drag
  • ✅ Multi-node drag (requires allowMultiSelection)
  • ✅ Drop validation with indicators (+, -, in-between)
  • ✅ Restrict drag-drop per node type
  • ✅ Custom drag area (dragArea property)

6. Editing

  • ✅ Inline edit (double-click or F2)
  • ✅ Input validation
  • ✅ Programmatic edit (beginEdit/endEdit)
  • ✅ Edit event cancellation

7. Filtering & Searching (Advanced)

  • ✅ Text-based filtering
  • ✅ Parent chain inclusion in results
  • ✅ DataManager with Predicate queries
  • ✅ Dynamic filter updates

8. Sorting (2 Levels)

  • ✅ Global sorting (ascending/descending)
  • ✅ Level-wise custom sorting
  • ✅ DataManager Query integration
  • ✅ Custom sort algorithms

9. Customization

  • ✅ CSS class styling by level
  • ✅ Custom expand/collapse icons
  • ✅ Dynamic icon per node
  • ✅ Full-row selection styling
  • ✅ Multi-line text wrapping
  • ✅ Icon visibility toggle (hover effects)

10. Keyboard Navigation (15+ Shortcuts)

  • ✅ Arrow keys for navigation
  • ✅ Home/End for first/last node
  • ✅ F2 for inline edit
  • ✅ Enter to confirm/select
  • ✅ Escape to cancel
  • ✅ Ctrl+Click for multi-select
  • ✅ Shift+Click for range select

11. Accessibility

  • ✅ WCAG 2.1 AA keyboard support
  • ✅ ARIA attributes (roles, properties, states)
  • ✅ Screen reader announcements
  • ✅ Focus management
  • ✅ Semantic HTML structure

12. Advanced Features

  • ✅ Load-on-demand with lazy loading
  • ✅ State persistence across sessions
  • ✅ RTL (right-to-left) support
  • ✅ Localization (16+ languages)
  • ✅ Accordion pattern (expandOn='None')
  • ✅ Event cancellation (preventable events)
  • ✅ Virtual scrolling for large datasets

13. Integration

  • ✅ Context menu integration
  • ✅ Toolbar integration
  • ✅ Tooltip support
  • ✅ Data operations via menu

14. Events (19 Events)

  • ✅ created, dataBound
  • ✅ nodeSelected, nodeSelecting, nodeClicked, nodeDoubleClicked
  • ✅ nodeExpanded, nodeExpanding, nodeCollapsed, nodeCollapsing
  • ✅ nodeEdited, nodeEditing
  • ✅ nodeDragStart, nodeDragging, nodeDragStop, nodeDropped
  • ✅ nodeChecked, nodeChecking
  • ✅ drawNode, keyPress

Skill Progression Path

Beginner Level (Start Here)

  1. Getting Started - Installation, basic component, hierarchical data
  2. Data Binding - Learn all 5 binding patterns
  3. Basic Selection - Single selection, onClick handling

Intermediate Level

  1. Checkboxes - Multi-selection with checkboxes, parent-child sync
  2. Node Operations - Dynamic CRUD operations
  3. Inline Editing - Text editing with validation
  4. Drag-Drop - Reordering and moving nodes
  5. Templates - nodeTemplate basics, JSX templates

Advanced Level

  1. Templates - Advanced - statelessTemplates optimization, drawNode callback
  2. Filtering & Search - Complex filtering with parent traversal
  3. Sorting - Custom level-wise sorting
  4. Advanced Features - Load-on-demand caching, persistence, RTL
  5. Keyboard & A11y - WCAG compliance, screen reader support
  6. Context Menu - Menu-driven operations
  7. Performance - Optimization strategies for large datasets

Documentation Reference

SectionPurposeAudiencePrerequisites
Getting StartedInstallation, basic setupBeginnersNone
Data Binding5 binding patternsAll usersBasic React/JSX
Templates and RenderingNEW: Complete template coverage including statelessTemplates & drawNodeIntermediate+Data Binding knowledge
Node OperationsCRUD operationsIntermediateBasic setup
Selection and CheckingSelection modes, checkboxesIntermediateBasic setup
Drag-Drop and ReorderingDrag-drop functionalityIntermediateBasic setup
Inline EditingNode text editingIntermediateBasic setup
Filtering and SearchingNEW: Advanced filtering patternsAdvancedData Binding
Sorting and OrderingNEW: Custom sorting algorithmsAdvancedData Binding
Customization and StylingCSS, icons, appearanceIntermediate+Basic CSS
Keyboard Navigation and AccessibilityNEW: Keyboard shortcuts & WCAG complianceAdvancedUI/UX knowledge
Advanced FeaturesNEW: Load-on-demand, persistence, RTL, localizationAdvancedIntermediate TreeView
Context Menu IntegrationContext menu patternsAdvancedBasic setup

Quick Example

import * as React from 'react';
import { TreeViewComponent } from '@syncfusion/ej2-react-navigations';
import '@syncfusion/ej2-react-navigations/styles/tree-view.css';

function App() {
  const hierarchicalData = [
    {
      id: 1,
      name: 'Syncfusion',
      expanded: true,
      child: [
        { id: 2, name: 'React Components' },
        { id: 3, name: 'Angular Components' },
      ]
    },
    {
      id: 4,
      name: 'Essential Studio',
      child: [
        { id: 5, name: 'Web' },
        { id: 6, name: 'Desktop' }
      ]
    }
  ];

  const fields = {
    dataSource: hierarchicalData,
    id: 'id',
    text: 'name',
    child: 'child'
  };

  const handleNodeSelected = (args) => {
    console.log('Selected:', args.nodeData.name);
  };

  return (
    <TreeViewComponent
      fields={fields}
      allowDragAndDrop={true}
      allowEditing={true}
      showCheckBox={true}
      onNodeSelected={handleNodeSelected}
    />
  );
}

export default App;

When to Use This Skill

Use TreeView when you need:

  • Hierarchical multi-level data display (org charts, file systems, navigation)
  • Single or multiple node selection with optional checkboxes
  • Drag-and-drop node reordering or moving
  • In-place node text editing with validation
  • Custom node appearance with templates or icons
  • Keyboard-accessible navigation (WCAG 2.1)
  • Large datasets with load-on-demand or lazy loading
  • Node filtering or searching with parent chain inclusion
  • Context menu-driven operations
  • State persistence across browser sessions
  • RTL language support for international apps
  • Performance-optimized rendering with stateless templates

Don't use TreeView for:

  • Simple flat lists → Use DropDownList or ListView instead
  • Single-level navigation → Use NavBar or Breadcrumb instead
  • Only displaying static data → Use plain HTML/CSS
  • Simple data tables → Use DataGrid instead

Architecture Overview

TreeViewComponent
├── Data Layer
│   ├── Hierarchical Structure
│   ├── Self-Referential Model
│   ├── Remote Data (OData, WebAPI)
│   └── Load-on-Demand
│
├── Node Management
│   ├── CRUD Operations (add, remove, update, move)
│   ├── Dynamic Refresh
│   └── Programmatic Access
│
├── User Interaction
│   ├── Selection (Single/Multi)
│   ├── Checking (Three-state)
│   ├── Editing (Inline)
│   ├── Drag-Drop (Single/Multi)
│   └── Keyboard Navigation
│
├── Customization
│   ├── Templates (String/HTML/JSX)
│   ├── Stateless Templates (Performance)
│   ├── drawNode Callback (Custom Rendering)
│   ├── Icons & Styling
│   └── CSS Customization by Level
│
├── Advanced Features
│   ├── Filtering & Searching
│   ├── Sorting (Global & Level-wise)
│   ├── Load-on-Demand Caching
│   ├── State Persistence
│   ├── RTL & Localization
│   ├── Accordion Pattern
│   └── Performance Optimization
│
├── Integration
│   ├── Context Menu
│   ├── Toolbar
│   ├── Tooltips
│   └── Data Coordination
│
├── Accessibility
│   ├── Keyboard Shortcuts (15+)
│   ├── ARIA Attributes
│   ├── Screen Reader Support
│   └── WCAG 2.1 Compliance
│
└── Event System
    ├── Data Events (created, dataBound)
    ├── Selection Events (nodeSelected, nodeSelecting)
    ├── Expansion Events (nodeExpanded, nodeExpanding)
    ├── Editing Events (nodeEdited, nodeEditing)
    ├── Drag-Drop Events (nodeDragStart, nodeDragging, nodeDropped)
    ├── Checkbox Events (nodeChecked, nodeChecking)
    ├── Custom Rendering (drawNode)
    └── Keyboard Events (keyPress)

What's Covered in This Comprehensive Skill

✅ Complete API Reference - 11 methods, 19 events, 35+ properties ✅ All Data Binding Patterns - Hierarchical, self-referential, remote, load-on-demand ✅ Advanced Templating - nodeTemplate, statelessTemplates, drawNode callback ✅ Selection Systems - Single/multi-select, checkboxes, three-state, auto-sync ✅ Complete Drag-Drop - Single/multi-node, validation, restrictions ✅ Filtering & Sorting - Advanced patterns including level-wise sorting ✅ Editing - Inline editing with validation and event control ✅ Customization - Templates, icons, CSS by level, full-row selection ✅ Keyboard Navigation - 15+ shortcuts, WCAG 2.1 compliance ✅ Accessibility - ARIA, screen reader support, focus management ✅ Advanced Features - Load-on-demand, persistence, RTL, localization, accordion ✅ Integration - Context menu, toolbar, tooltip patterns ✅ Performance - Stateless templates, large dataset optimization ✅ Real-World Patterns - 50+ working code examples ✅ Event System - Event cancellation, preventable events, custom handlers


Next Steps

  1. Start with Getting Started to install and set up
  2. Pick your use case from the Quick Start Navigation above
  3. Reference the specific guide for detailed patterns and examples
  4. Combine features as needed for your specific requirement

Status: ✅ Comprehensive TreeView Implementation Guide API Coverage: 100% (All methods, events, and properties documented) Code Examples: 50+ working patterns Version: 2.0 (Enhanced with statelessTemplates, drawNode, advanced filtering, etc.)

平台分布

Codex

37.84%
按下载量换算241

Claude

28.24%
按下载量换算180

Cursor

16.84%
按下载量换算107

Gemini CLI

9.44%
按下载量换算60

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills