Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-winforms-grouping(同步融合 winform 分组)

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

syncfusion-winforms-grouping 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 9,031。

总安装 242周安装 10GitHub Stars 1下载 79核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-grouping

这个 Skill 是做什么的

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

实现数据项按类别自动归类的核心分组引擎,支撑动态内容聚合。常见于电商分类浏览、文件管理器或多层级目录导航等场景。通过技能接口可便捷注入分组规则,无需深入理解底层算法细节。需留意分组键的唯一性与稳定性,防止因数据变动引起视图抖动。大规模数据集建议启用延迟加载机制减轻初始渲染压力。

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

来源仓库内路径:skills/syncfusion-winforms-grouping

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

syncfusion-winforms-grouping 怎么安装?

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

syncfusion-winforms-grouping 支持哪些 AI 工具?

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

syncfusion-winforms-grouping 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-grouping 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

syncfusion-winforms-grouping 是免费的吗?

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

syncfusion-winforms-grouping 用的人多吗?

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

syncfusion-winforms-grouping 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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-winforms-grouping

同步融合 winform 分组 · 本页

2421执行命令未明确通过

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

SKILL.md 原文

Implementing Syncfusion Grouping Engine

Essential Grouping is a 100% native.NET data management framework that provides sorting, grouping, filtering, and summarization capabilities for tabular data without dependencies on any particular UI component. It is designed for use in Windows Forms applications.

When to Use This Skill

Use this skill when you need to:

  • Sort data by one or multiple properties with standard or custom comparison logic
  • Group data hierarchically by properties to create nested groups
  • Filter records based on complex expressions with algebraic and logical operators
  • Summarize data with aggregate calculations (sum, average, min, max, count)
  • Add calculated fields using expression-based properties
  • Manage tabular data from any IList source (ArrayList, List, BindingList, etc.)
  • Build data-driven applications requiring flexible data organization
  • Display grouped/summarized information without UI control dependencies

Component Overview

The Grouping Engine uses balanced binary trees as the core data structure for efficient data operations. Key benefits include:

  • O(Log n) operations for insert, remove, and move operations
  • Cached parent information for quick position and summary lookups
  • Recursive grouping supporting multiple levels of nested groups
  • Expression support for calculated fields and filter conditions
  • Platform support optimized for Windows Forms applications

Documentation and Navigation Guide

Getting Started and Installation

📄 Read: references/getting-started.md

  • Installation locations and deployment requirements
  • Creating Windows Forms applications
  • Required assembly references and dependencies
  • Setting up Copy Local properties for deployment
  • Deployment scenarios and GAC options
  • DLL requirements for Windows Forms deployment

Data Binding Fundamentals

📄 Read: references/data-binding.md

  • Creating custom objects with public properties
  • Building ArrayList and IList datasources
  • Setting datasource with Engine.SetSourceList()
  • Iterating through Table.Records collection
  • Accessing record data with Record.GetData()
  • Understanding the Engine and Table relationship

Grouping Data

📄 Read: references/grouping-data.md

  • Using TableDescriptor.GroupedColumns collection
  • Accessing groups via Table.TopLevelGroup
  • Recursive navigation through Groups and Records
  • Retrieving specific groups by key value
  • Understanding group hierarchy patterns
  • Side effects of grouping (automatic sorting)
  • Displaying records within groups

Sorting Data

📄 Read: references/sorting.md

  • Adding columns to TableDescriptor.SortedColumns
  • Specifying sort direction (Ascending/Descending)
  • Implementing custom sorting with IComparer interface
  • Using SortColumnDescriptor.Comparer property
  • Numerical vs string sorting strategies
  • Multi-column sorting scenarios

Filtering Records

📄 Read: references/filtering.md

  • Creating RecordFilterDescriptor with expressions
  • Using Table.FilteredRecords collection
  • Filter expression syntax and operators
  • Logical operators (AND, OR, NOT)
  • Comparison operators (=, <, >, <=, >=, <>)
  • String operators (LIKE, MATCH, IN, BETWEEN)
  • Building complex multi-condition filters
  • Clearing and updating filter collections

Expressions and Summaries

📄 Read: references/expressions-and-summaries.md

  • Creating ExpressionFieldDescriptor for calculated fields
  • Algebraic expressions with property names
  • Adding to TableDescriptor.ExpressionFields collection
  • Retrieving expression values with Record.GetValue()
  • Creating SummaryDescriptor for aggregations
  • Summary types (Int32Aggregate, DoubleAggregate, etc.)
  • Getting summary values per group with GetSummary()
  • Algebra operators and evaluation precedence
  • Custom function support and limitations

Quick Start Example

using System;
using System.Collections;
using Syncfusion.Grouping;

// Define a custom data object
public class SalesRecord
{
    public string Product { get; set; }
    public string Category { get; set; }
    public int Quantity { get; set; }
    public decimal Price { get; set; }

    public SalesRecord(string product, string category, int qty, decimal price)
    {
        Product = product;
        Category = category;
        Quantity = qty;
        Price = price;
    }
}

// Create and populate datasource
ArrayList salesData = new ArrayList();
salesData.Add(new SalesRecord("Laptop", "Electronics", 5, 1200.00m));
salesData.Add(new SalesRecord("Mouse", "Electronics", 25, 15.00m));
salesData.Add(new SalesRecord("Desk", "Furniture", 10, 350.00m));
salesData.Add(new SalesRecord("Chair", "Furniture", 20, 150.00m));

// Create Grouping Engine and set datasource
Engine groupingEngine = new Engine();
groupingEngine.SetSourceList(salesData);

// Group by Category
groupingEngine.TableDescriptor.GroupedColumns.Add("Category");

// Add summary for Quantity
SummaryDescriptor quantitySummary = new SummaryDescriptor(
    "TotalQuantity",
    "Quantity",
    SummaryType.Int32Aggregate
);
groupingEngine.TableDescriptor.Summaries.Add(quantitySummary);

// Iterate through groups and display summaries
foreach (Group group in groupingEngine.Table.TopLevelGroup.Groups)
{
    Console.WriteLine($"Category: {group.Name}");

    // Get summary value
    var summary = group.GetSummary("TotalQuantity") as Int32AggregateSummary;
    Console.WriteLine($"Total Items: {summary.Sum}");

    // Display records in this group
    foreach (Record rec in group.Records)
    {
        SalesRecord sale = rec.GetData() as SalesRecord;
        Console.WriteLine($"  {sale.Product}: {sale.Quantity} @ ${sale.Price}");
    }
    Console.WriteLine();
}

Common Patterns

Pattern 1: Filter-Then-Group Workflow

// 1. Create engine and set datasource
Engine engine = new Engine();
engine.SetSourceList(dataList);

// 2. Apply filter first
RecordFilterDescriptor filter = new RecordFilterDescriptor("[Price] > 100");
engine.TableDescriptor.RecordFilters.Add(filter);

// 3. Then group filtered results
engine.TableDescriptor.GroupedColumns.Add("Category");

// 4. Access filtered and grouped data
foreach (Group group in engine.Table.TopLevelGroup.Groups)
{
    // Process each group
}

Pattern 2: Multi-Level Grouping

// Group by multiple columns for nested hierarchy
engine.TableDescriptor.GroupedColumns.Add("Region");
engine.TableDescriptor.GroupedColumns.Add("Category");
engine.TableDescriptor.GroupedColumns.Add("SubCategory");

// Navigate nested groups recursively
void ProcessGroup(Group group, int level)
{
    if (group.Records != null && group.Records.Count > 0)
    {
        // Terminal group with records
        foreach (Record rec in group.Records)
        {
            // Process record
        }
    }
    else if (group.Groups != null && group.Groups.Count > 0)
    {
        // Parent group with sub-groups
        foreach (Group subGroup in group.Groups)
        {
            ProcessGroup(subGroup, level + 1);
        }
    }
}

Pattern 3: Dynamic Expression Fields

// Add calculated column for total value
ExpressionFieldDescriptor totalExpr = new ExpressionFieldDescriptor(
    "TotalValue",
    "[Quantity] * [Price]"
);
engine.TableDescriptor.ExpressionFields.Add(totalExpr);

// Use expression in filter
RecordFilterDescriptor highValueFilter = new RecordFilterDescriptor(
    "[TotalValue] > 1000"
);
engine.TableDescriptor.RecordFilters.Add(highValueFilter);

// Retrieve expression values
foreach (Record rec in engine.Table.FilteredRecords)
{
    decimal total = (decimal)rec.GetValue("TotalValue");
    Console.WriteLine($"Total: ${total}");
}

Pattern 4: Custom Sort with IComparer

// Implement custom comparer
public class CustomComparer : IComparer
{
    public int Compare(object x, object y)
    {
        // Custom comparison logic
        string str1 = x.ToString();
        string str2 = y.ToString();

        // Example: Sort by length first, then alphabetically
        int lengthCompare = str1.Length.CompareTo(str2.Length);
        return lengthCompare != 0 ? lengthCompare : str1.CompareTo(str2);
    }
}

// Apply custom sort
engine.TableDescriptor.SortedColumns.Add("Product");
engine.TableDescriptor.SortedColumns["Product"].Comparer = new CustomComparer();

Key Properties and Collections

Engine Class

PropertyDescription
TableGets the Table object containing records and groups
TableDescriptorGets schema information and configuration
SetSourceList(IList)Sets the datasource for the engine

TableDescriptor Properties

PropertyDescription
GroupedColumnsCollection of properties to group by
SortedColumnsCollection of properties to sort by
RecordFiltersCollection of filter conditions
SummariesCollection of summary calculations
ExpressionFieldsCollection of calculated fields
ColumnsCollection of column descriptors (schema info)

Table Properties

PropertyDescription
RecordsAll records in the table
FilteredRecordsRecords after applying filters
TopLevelGroupRoot group for hierarchical access

Group Class

PropertyDescription
GroupsChild groups (for parent groups)
RecordsRecords in this group (for terminal groups)
NameGroup key/name
GetSummary(string)Retrieves summary value by name

Record Class

MethodDescription
GetData()Returns the underlying data object
GetValue(string)Gets property or expression value by name

Common Use Cases

Use Case 1: Sales Report by Region and Product

// Group sales by region, then product category
engine.TableDescriptor.GroupedColumns.Add("Region");
engine.TableDescriptor.GroupedColumns.Add("ProductCategory");

// Add sales summaries
engine.TableDescriptor.Summaries.Add(
    new SummaryDescriptor("TotalSales", "SalesAmount", SummaryType.DoubleAggregate)
);
engine.TableDescriptor.Summaries.Add(
    new SummaryDescriptor("OrderCount", "OrderID", SummaryType.Count)
);

Use Case 2: Inventory Filtering for Low Stock

// Filter for items below reorder level
RecordFilterDescriptor lowStock = new RecordFilterDescriptor(
    "[StockLevel] < [ReorderLevel] AND [Active] = 1"
);
engine.TableDescriptor.RecordFilters.Add(lowStock);

// Sort by urgency (stock level ascending)
engine.TableDescriptor.SortedColumns.Add("StockLevel", ListSortDirection.Ascending);

Use Case 3: Customer Analysis with Calculated Fields

// Add expression for customer value
ExpressionFieldDescriptor customerValue = new ExpressionFieldDescriptor(
    "CustomerValue",
    "[TotalOrders] * [AverageOrderAmount]"
);
engine.TableDescriptor.ExpressionFields.Add(customerValue);

// Filter for high-value customers
RecordFilterDescriptor premiumCustomers = new RecordFilterDescriptor(
    "[CustomerValue] > 10000"
);
engine.TableDescriptor.RecordFilters.Add(premiumCustomers);

// Group by customer tier
engine.TableDescriptor.GroupedColumns.Add("Tier");

Use Case 4: Time-Based Data Analysis

// Filter for date range using BETWEEN operator
RecordFilterDescriptor dateRange = new RecordFilterDescriptor(
    "[OrderDate] BETWEEN {1/1/2024, 12/31/2024}"
);
engine.TableDescriptor.RecordFilters.Add(dateRange);

// Group by month (requires calculated field)
ExpressionFieldDescriptor monthField = new ExpressionFieldDescriptor(
    "OrderMonth",
    "Month([OrderDate])"
);
engine.TableDescriptor.ExpressionFields.Add(monthField);
engine.TableDescriptor.GroupedColumns.Add("OrderMonth");

Edge Cases and Troubleshooting

Empty Groups

Groups may be empty after filtering. Always check Records.Count before iterating.

Type Mismatches in Expressions

Property values must match the operation type:

  • Use = for numeric comparisons
  • Use LIKE or MATCH for string comparisons
  • Use appropriate summary types (Int32Aggregate vs DoubleAggregate)

Recursive Navigation

When navigating groups recursively, check whether group.Groups or group.Records is populated. Only one will have items at each level.

Filter Expression Syntax

  • Property names must be enclosed in square brackets: [PropertyName]
  • String literals must be in single quotes: 'value'
  • Spaces in IN operator lists are significant: {value1,value2} not {value1, value2}

Memory Management

The Grouping Engine maintains internal data structures. Call Dispose() when done to release resources.

Best Practices

  1. Set datasource before configuration: Call SetSourceList() before adding groups, sorts, or filters
  2. Use FilteredRecords for filtered data: Access Table.FilteredRecords instead of Table.Records when filters are active
  3. Choose appropriate summary types: Match summary type to property data type (Int32, Double, Boolean, etc.)
  4. Optimize expressions: Complex expressions impact performance; keep them simple when possible
  5. Handle null values: Check for null when accessing record data with GetData()
  6. Dispose properly: Dispose of Engine objects when no longer needed
  7. Test filter expressions: Validate filter syntax before deployment to avoid runtime errors

Platform-Specific Notes

Windows Forms

  • Grouping Engine works standalone or with GridGroupingControl
  • No UI dependencies required
  • Optimized for desktop application scenarios

Next Steps

  1. Read getting-started.md for installation and setup
  2. Review data-binding.md to understand datasource requirements
  3. Explore specific features in respective reference files based on your needs
  4. Review code examples in each reference for implementation details

平台分布

Codex

31.48%
按下载量换算25

Claude

31.82%
按下载量换算25

Cursor

17.27%
按下载量换算14

Gemini CLI

10.11%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-grouping 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills