Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-blazor-dataform(同步融合 Blazor 数据形式)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

syncfusion-blazor-dataform 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 43,703。

总安装 964周安装 41GitHub Stars 公开资料未说明下载 338核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-dataform

这个 Skill 是做什么的

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

数据表单组件,简化实体属性的编辑和验证流程。syncfusion-blazor-dataform 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适用于 CRUD 操作界面,自动生成标签、输入框和提交按钮。支持双向数据绑定,变更后自动同步到后端模型对象。

字段级验证规则需在服务端复验,防止客户端绕过导致数据异常。批量编辑时建议采用差异比对算法,减少不必要的网络请求。

来源仓库内路径:skills/syncfusion-blazor-dataform

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

syncfusion-blazor-dataform 怎么安装?

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

syncfusion-blazor-dataform 支持哪些 AI 工具?

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

syncfusion-blazor-dataform 需要什么权限?

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

syncfusion-blazor-dataform 是免费的吗?

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

syncfusion-blazor-dataform 用的人多吗?

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

syncfusion-blazor-dataform 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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-blazor-dataform

同步融合 Blazor 数据形式 · 本页

964—只读未明确通过

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

SKILL.md 原文

Implementing Syncfusion Blazor DataForm Component

A comprehensive skill for implementing the Syncfusion Blazor DataForm component. This skill covers installation, configuration, data binding, validation, event handling, templating, and customization of forms in Blazor applications.

Component Overview

The Syncfusion Blazor DataForm (SfDataForm) is a powerful form component that streamlines the creation of dynamic, data-driven forms with automatic validation, field binding, and event handling. It supports:

  • Automatic field generation from model properties
  • Built-in validation with data annotations and custom rules
  • Multiple binding approaches (model, EditContext)
  • Customizable layouts with columns, grouping, and sections
  • Template-based rendering for custom field designs
  • Event-driven architecture for form and field-level reactions
  • Localization support for validation messages and UI text
  • Accessible form rendering with proper labels and ARIA attributes

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Start here for installation, NuGet package setup, namespace imports, service registration, theme configuration, and a basic DataForm example.

  • Installation & NuGet packages
  • Blazor project setup (Server/WebAssembly/Web App)
  • Namespace imports & service registration
  • Theme setup & configuration
  • Basic DataForm creation
  • Running your first form

Form Items and Field Configuration

📄 Read: references/form-items.md

Learn how to define form items, configure labels, placeholders, hints, editor types, and customize individual field behavior.

  • FormItem element configuration
  • Label, placeholder configurations
  • Editor type selection
  • Disabling and hiding fields
  • Custom attributes (required, pattern, data annotations)
  • Form grouping and column organization

Auto-Generation of Form Fields

📄 Read: references/autogeneration.md

Discover how to automatically generate form fields from model properties using FormAutoGenerateItems, including type mapping and combining auto-generated with custom fields.

  • FormAutoGenerateItems overview
  • Type-to-component mapping (int, string, DateTime, bool, enum, etc.)
  • Auto-generating fields for primitive types
  • Combining auto-generated and custom fields
  • Canceling auto-generation for specific fields
  • Configuration options

Data Binding

📄 Read: references/data-binding.md

Understand model binding, EditContext binding, two-way data binding, and binding to complex data structures.

  • Model binding basics
  • EditContext binding approach
  • Form-level and field-level binding
  • Two-way binding with nested objects
  • Binding to complex models
  • Data initialization and default values
  • Form name and ID configuration

Form Validation

📄 Read: references/validation.md

Master form validation with data annotations, custom validation rules, Fluent Validation integration, and error message display.

  • Data annotation validation (Required, Range, EmailAddress, etc.)
  • DataAnnotationsValidator setup
  • Custom validation attributes and rules
  • Fluent Validation framework integration
  • Complex model validation scenarios
  • Displaying validation messages
  • IsValid() method and validation state
  • Conditional validation

Form and Field Events

📄 Read: references/events.md

Learn about form submission events and field-level events for handling user interactions and form state changes.

  • OnSubmit event (fires on every submit attempt)
  • OnValidSubmit event (fires only on valid submission)
  • OnInvalidSubmit event (fires only on validation failure)
  • OnUpdate event (fires on field value changes)
  • Event arguments and EditContext access
  • Asynchronous event handlers
  • Common event patterns

Layout Customization

📄 Read: references/layout-customization.md

Customize form layout with columns, column spans, label positioning, floating labels, and custom button placement.

  • Column layout configuration
  • Column span and row span
  • Columns count and responsiveness
  • Label positioning (top, left, floating)
  • Floating label styling
  • Button alignment and positioning
  • Custom submit/reset buttons
  • Form grouping with FormGroup

Templates and Custom Rendering

📄 Read: references/templates.md

Create custom form layouts and field renderings using FormTemplate and FormItemTemplate with render fragments.

  • FormTemplate for overall form layout customization
  • FormItemTemplate for individual field rendering
  • Template context and variables
  • Custom editor rendering
  • Render fragments and composition
  • Advanced template patterns
  • Template reusability

Localization

📄 Read: references/localization.md

Set up localization for validation messages, form labels, and error messages in multiple languages.

  • Built-in localization resources
  • Localizing error messages
  • Custom localization setup
  • Culture and language configuration
  • RTL (right-to-left) support

Quick Start Example

Here's a minimal working example to get started:

@page "/dataform-example"
@using System.ComponentModel.DataAnnotations
@using Syncfusion.Blazor.DataForm

<SfDataForm ID="MyDataForm"
            Model="@employeeModel">
    <FormValidator>
        <DataAnnotationsValidator></DataAnnotationsValidator>
    </FormValidator>
    <FormItems>
        <FormAutoGenerateItems></FormAutoGenerateItems>
    </FormItems>
</SfDataForm>

@code {
    public class EmployeeModel
    {
        [Required(ErrorMessage = "First Name is required")]
        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Required(ErrorMessage = "Email is required")]
        [EmailAddress(ErrorMessage = "Invalid email address")]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Range(18, 65, ErrorMessage = "Age must be between 18 and 65")]
        [Display(Name = "Age")]
        public int Age { get; set; }

        [Display(Name = "Date of Birth")]
        public DateTime? DateOfBirth { get; set; }
    }

    private EmployeeModel employeeModel = new EmployeeModel();
}

Common Patterns

Pattern 1: Form with Validation and Submission

<SfDataForm ID="ContactForm" Model="@contact" OnValidSubmit="HandleValidSubmit">
    <FormValidator>
        <DataAnnotationsValidator></DataAnnotationsValidator>
    </FormValidator>
    <FormItems>
        <FormItem Field="@nameof(contact.Name)" LabelText="Full Name"></FormItem>
        <FormItem Field="@nameof(contact.Email)" LabelText="Email Address"></FormItem>
        <FormItem Field="@nameof(contact.Message)" EditorType="FormEditorType.TextArea"></FormItem>
    </FormItems>
</SfDataForm>

@code {
    private Contact contact = new();

    private async Task HandleValidSubmit(EditContext context)
    {
        // Save contact to database
        await SaveContactAsync(contact);
    }
}

Pattern 2: Auto-Generated Form with Custom Fields

<SfDataForm Model="@product">
    <FormItems>
        <FormItem Field="@nameof(product.Name)" LabelText="Product Name"></FormItem>
        <FormAutoGenerateItems></FormAutoGenerateItems>
        <FormItem Field="@nameof(product.Category)" EditorType="FormEditorType.DropDownList"></FormItem>
    </FormItems>
</SfDataForm>

@code {
    private Product product = new();
}

Pattern 3: Form with Cascading Fields

<SfDataForm Model="@order" OnUpdate="HandleFieldUpdate">
    <FormItems>
        <FormItem Field="@nameof(order.Country)" LabelText="Country"></FormItem>
        <FormItem Field="@nameof(order.City)" LabelText="City"></FormItem>
        <FormAutoGenerateItems></FormAutoGenerateItems>
    </FormItems>
</SfDataForm>

@code {
    private Order order = new();

    private async Task HandleFieldUpdate(FormUpdateEventArgs args)
    {
        if (args.FieldName == nameof(Order.Country))
        {
            // Update cities based on selected country
            order.City = await GetCitiesForCountryAsync(order.Country);
        }
    }
}

Pattern 4: Custom Layout with Columns

<SfDataForm Model="@employee" ColumnCount="2">
    <FormItems>
        <FormItem Field="@nameof(employee.FirstName)" LabelText="First Name" ColumnSpan="1"></FormItem>
        <FormItem Field="@nameof(employee.LastName)" LabelText="Last Name" ColumnSpan="1"></FormItem>
        <FormItem Field="@nameof(employee.Email)" LabelText="Email" ColumnSpan="2"></FormItem>
        <FormItem Field="@nameof(employee.Department)" LabelText="Department" ColumnSpan="1"></FormItem>
        <FormItem Field="@nameof(employee.Salary)" LabelText="Salary" ColumnSpan="1"></FormItem>
    </FormItems>
</SfDataForm>

@code {
    private Employee employee = new();
}

Key Properties and Methods

Common Properties

PropertyTypePurpose
ModelobjectThe data model bound to the form
EditContextEditContextBlazor EditContext for advanced binding scenarios
ColumnCountintNumber of columns for form layout
OnValidSubmitEventCallbackFires when form is submitted with valid data
OnInvalidSubmitEventCallbackFires when form is submitted with invalid data
OnSubmitEventCallbackFires on every submit attempt
OnUpdateEventCallbackFires when a field value changes

Available FormEditorType Values

Important: In most cases, you don't need to specify EditorType as the DataForm automatically selects the appropriate editor based on your model property type. Use these values only when you need to override the default behavior.

FormEditorTypeUse CaseWhen to Use
TextBoxSingle-line text inputOverride for string fields (default), not needed for numeric types
TextAreaMulti-line text inputWhen you need multi-line text entry for string properties
DatePickerDate selection onlyOverride for DateTime (default for DateTime)
DateTimePickerDate and time selectionWhen you need both date and time for DateTime properties
TimePickerTime selection onlyWhen you need only time selection for TimeSpan or DateTime
DropDownListDropdown selection from listFor enum or custom list selection
ComboBoxEditable dropdown with filteringWhen you need searchable dropdown
AutoCompleteAuto-complete with suggestionsWhen you need auto-suggest functionality
CheckboxBoolean toggle (note: lowercase 'b')Override for bool (default), NOT CheckBox
SwitchToggle switch for booleanAlternative to checkbox for bool properties
PasswordPassword input with maskingFor password string fields

Critical Notes:

  • ⚠️ Automatic Type Mapping: The DataForm intelligently maps C# types to appropriate editors automatically:

- int, long, decimal, double, float → Numeric textbox (no EditorType needed) - string → Textbox (no EditorType needed) - bool → Checkbox (no EditorType needed) - DateTime → DatePicker (no EditorType needed) - enum → DropDownList (no EditorType needed)

  • ⚠️ Use Checkbox (lowercase 'b'), NOT CheckBox (capital B)
  • ⚠️ There is NO NumericTextBox editor type - numeric behavior is automatic based on property type
  • ⚠️ Only specify EditorType when you want to override the default behavior

Common Methods

MethodPurpose
Refresh()Refresh form and re-render fields
Submit()Programmatically submit the form
Reset()Clear form and reset to initial values
IsValid()Check if form is valid
Validate()Trigger validation without submitting

Important EditorType Guidelines

When configuring FormItem elements with EditorType, keep these critical points in mind:

  1. Automatic Editor Selection: The DataForm automatically selects the appropriate editor based on your model property type. You typically don't need to specify EditorType unless you want to override the default behavior.

- Numeric properties (int, long, float, decimal, double) → Automatically render as numeric textbox - String properties → Automatically render as textbox - Boolean properties → Automatically render as checkbox - DateTime properties → Automatically render as date picker - Enum properties → Automatically render as dropdown

  1. When to Specify EditorType: Only specify EditorType when you want to override the default:

- Use FormEditorType.TextArea for multi-line string input - Use FormEditorType.Switch instead of checkbox for boolean - Use FormEditorType.DateTimePicker instead of DatePicker for DateTime with time - Use FormEditorType.Password for password strings - Use FormEditorType.DropDownList or ComboBox for custom lists

  1. Checkbox Casing: When explicitly specifying checkbox, use FormEditorType.Checkbox with lowercase 'b', not FormEditorType.CheckBox.
  2. No NumericTextBox Type: There is no FormEditorType.NumericTextBox. Numeric behavior is automatic based on property type.

Example:

<!-- Numeric field - EditorType not needed, automatically renders numeric textbox -->
<FormItem Field="@nameof(model.Quantity)"
          LabelText="Quantity">
</FormItem>

<!-- Boolean field - EditorType not needed, automatically renders checkbox -->
<FormItem Field="@nameof(model.IsActive)"
          LabelText="Is Active">
</FormItem>

<!-- String field with TextArea override -->
<FormItem Field="@nameof(model.Description)"
          LabelText="Description"
          EditorType="FormEditorType.TextArea">
</FormItem>

<!-- Boolean field with Switch override -->
<FormItem Field="@nameof(model.IsEnabled)"
          LabelText="Enabled"
          EditorType="FormEditorType.Switch">
</FormItem>

Related Skills

平台分布

Codex

36.05%
按下载量换算122

Claude

30.13%
按下载量换算102

Cursor

19.73%
按下载量换算67

Gemini CLI

10.15%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills