Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-aspnetcore-datepicker(同步融合 aspnetcore 日期选择器)

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

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

总安装 218周安装 9GitHub Stars 公开资料未说明下载 71核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-datepicker

这个 Skill 是做什么的

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

同步融合 ASP.NET Core 日期选择器组件,用于构建交互式日期输入界面。适用于需要日期选择、日程安排或时间范围筛选的 Web 应用场景。通过 GitHub 安装并集成到 ASP.NET Core 项目中,支持多种日期格式和本地化。使用前请确认项目依赖和许可证要求,注意组件版本兼容性。

涉及用户数据输入时需遵循隐私保护规范,避免敏感信息泄露。

来源仓库内路径:skills/syncfusion-aspnetcore-datepicker

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

syncfusion-aspnetcore-datepicker 怎么安装?

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

syncfusion-aspnetcore-datepicker 支持哪些 AI 工具?

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

syncfusion-aspnetcore-datepicker 需要什么权限?

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

syncfusion-aspnetcore-datepicker 是免费的吗?

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

syncfusion-aspnetcore-datepicker 用的人多吗?

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

syncfusion-aspnetcore-datepicker 安全吗?

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

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

值得选的地方

  • 同时适配 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-aspnetcore-datepicker

同步融合 aspnetcore 日期选择器 · 本页

218—只读未明确通过

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

SKILL.md 原文

Implementing DatePicker in ASP.NET Core

The DatePicker is a graphical user interface control that allows users to select or enter a date value with advanced features like date range constraints, custom formatting, popup calendar, keyboard navigation, event handling, and globalization support. This skill guides you through implementing DatePicker in ASP.NET Core applications using Syncfusion's Tag Helper syntax.

When to Use This Skill

Use this skill when you need to:

  • Create date input fields with calendar popup selection
  • Implement date range constraints (min/max dates)
  • Support custom date format patterns (yyyy-MM-dd, dd/MM/yyyy, etc.)
  • Accept user input in multiple date formats
  • Validate dates with strict mode enforcement
  • Respond to date selection and interaction events
  • Display dates in culture-specific formats
  • Support right-to-left languages (Arabic, Hebrew, Persian)
  • Style and customize the date picker appearance
  • Integrate DatePicker with ASP.NET Core model binding
  • Build booking systems, appointment schedulers, or registration forms
  • Implement accessible forms following WCAG 2.2 Level AA standards

Key Features

FeatureUse Case
Popup CalendarVisual date selection with month/year navigation
Date RangeMin/max constraints with automatic validation
Custom FormatsDisplay dates as yyyy-MM-dd, dd/MM/yyyy, MM/dd/yyyy, etc.
Input FormatsAccept multiple input patterns for user entry flexibility
Strict ModeEnforce strict date validation and restrict invalid entries
Keyboard NavigationArrow keys, Enter, Tab, Escape for accessibility
EventsCreated, Change, Blur, Focus, Open, Close event handlers
Model BindingTwo-way binding with ASP.NET Core DateTime properties
GlobalizationSupport 150+ culture-specific date formats
LocalizationTranslate popup placeholders and button text
RTL SupportRight-to-left text direction for Arabic, Hebrew, Persian
StylingCSS customization with theme integration (Fluent, Bootstrap)
Readonly StateDisplay-only mode without user interaction
Disabled StateDisable specific dates or entire date picker

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Prerequisites and system requirements
  • Installing Syncfusion.EJ2.AspNet.Core NuGet package
  • Adding Tag Helpers to _ViewImports.cshtml
  • Adding stylesheets and script resources via CDN
  • Registering the script manager
  • Creating your first DatePicker with Tag Helper
  • Binding to ASP.NET Core DateTime models
  • Tag Helper attributes and syntax reference

Date Formats and Parsing

📄 Read: references/date-formats-and-parsing.md

  • Standard date format patterns (yyyy-MM-dd, dd/MM/yyyy)
  • Custom date format string construction
  • Input format acceptance patterns for flexible entry
  • Locale-specific date parsing and display
  • Format conversion examples with real-world patterns
  • Edge cases: month boundaries, leap years, DST
  • Date validation and error handling

Date Ranges and Validation

📄 Read: references/date-ranges-and-validation.md

  • Setting minimum and maximum date constraints
  • Range validation with automatic boundary checking
  • Disabling specific dates or date ranges
  • Strict mode enforcement and validation behavior
  • Out-of-range date handling
  • Real-world validation patterns (birth date, appointment booking, contract dates)
  • Edge cases and boundary conditions

Events and Interactions

📄 Read: references/events-and-interactions.md

  • Created event initialization and setup
  • Change event for date selection handling
  • Blur and Focus events for input state
  • Popup Open and Close events
  • Preventing popup close on date selection
  • Event handler parameters and data
  • Custom interaction patterns and workflows

Globalization and Localization

📄 Read: references/globalization-localization.md

  • Culture-specific date formatting (en-US, de-DE, fr-FR, etc.)
  • CLDR data and locale configuration
  • RTL (right-to-left) language support
  • Multiple language date display
  • Regional calendar considerations
  • Timezone handling and date conversion
  • Dynamic culture switching in applications

Styling and Appearance

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

  • CSS class customization and styling patterns
  • Theme integration (Fluent, Bootstrap, Material, Tailwind)
  • Readonly and disabled state styling
  • Placeholder and label customization
  • Responsive popup positioning
  • Custom CSS classes for validation states
  • Accessibility and focus indicator styling

Quick Start Example

ASP.NET Core Tag Helper Syntax:

// In your Razor Page or Controller View
public class BookingModel : PageModel
{
    [BindProperty]
    public DateTime AppointmentDate { get; set; }

    [BindProperty]
    public DateTime StartDate { get; set; }

    public void OnPost()
    {
        // Handle form submission with AppointmentDate
    }
}
<!-- In your Razor Page (.cshtml) -->
<form method="post">
    <!-- Basic DatePicker with default format -->
    <label>Select Appointment Date:</label>
    <ejs-datepicker asp-for="AppointmentDate"
                     placeholder="Choose a date">
    </ejs-datepicker>

    <!-- DatePicker with date range (today to 30 days ahead) -->
    <label>Select Travel Start Date:</label>
    <ejs-datepicker id="startDatePicker"
                     asp-for="StartDate"
                     min="@DateTime.Today"
                     max="@DateTime.Today.AddDays(30)"
                     format="yyyy-MM-dd"
                     placeholder="mm/dd/yyyy">
    </ejs-datepicker>

    <button type="submit" class="e-btn">Book Appointment</button>
</form>

Common Patterns

Pattern 1: Date Range Selection (Birth Date)

<ejs-datepicker id="birthDatePicker"
                 value="@DateTime.Today.AddYears(-25)"
                 min="@DateTime.Today.AddYears(-100)"
                 max="@DateTime.Today"
                 format="MM/dd/yyyy"
                 placeholder="MM/DD/YYYY">
</ejs-datepicker>

Pattern 2: Multi-Format Input Acceptance

<ejs-datepicker id="flexibleDatePicker"
                 format="yyyy-MM-dd"
                 input-formats="@new[] { 'yyyy-MM-dd', 'dd/MM/yyyy', 'MM-dd-yyyy' }"
                 placeholder="Enter date (yyyy-MM-dd or dd/MM/yyyy)">
</ejs-datepicker>

Pattern 3: Event-Driven Validation

<ejs-datepicker id="validatedDatePicker"
                 change="onDateChange"
                 placeholder="Select date">
</ejs-datepicker>

<script>
function onDateChange(args) {
    if (args.value) {
        console.log('Selected Date:', args.value);
    }
}
</script>

Pattern 4: Readonly Display Mode

<ejs-datepicker id="readonlyPicker"
                 value="@ViewData["SubmissionDate"]"
                 readonly="true"
                 format="MMMM dd, yyyy">
</ejs-datepicker>

Key Properties and Attributes

PropertyTypeDescription
asp-forstringBinds to ASP.NET Core model property (DateTime)
valueDateTimeInitial selected date
minDateTimeMinimum selectable date
maxDateTimeMaximum selectable date
formatstringDisplay date format pattern
input-formatsstring[]Accepted input format patterns
placeholderstringInput placeholder text
readonlyboolDisables date editing
enabledboolEnable/disable the component
strict-modeboolEnforce strict date validation
start-viewstringInitial calendar view (Month, Year, Decade)

Platform-Specific Notes

ASP.NET Core Tag Helper Syntax

  • Use asp-for attribute for direct model binding (replaces id and name)
  • Hyphenated attributes map to C# properties (e.g., input-formats → InputFormats)
  • Self-closing tags: <ejs-datepicker /> or with content
  • Access via JavaScript using element ID

Tag Helper vs HTML Helper

  • Tag Helpers (newer, recommended): Razor-like syntax, intellisense support
  • HTML Helpers (legacy): Manual JavaScript configuration
  • This skill focuses on Tag Helpers for ASP.NET Core best practices

Model Binding

  • Use asp-for for automatic two-way binding
  • DateTime properties must be nullable DateTime? for optional dates
  • Server-side validation complements client-side DatePicker validation

Event Handling

  • Bind events using attribute syntax: change="functionName"
  • Handler function receives DatePickerEventArgs parameter
  • Both client-side (JavaScript) and server-side validation supported

Next Steps

  1. Start with: Getting Started - Set up your first DatePicker
  2. Configure dates: Date Formats and Parsing - Custom formatting
  3. Add validation: Date Ranges and Validation - Min/max constraints
  4. Handle interactions: Events and Interactions - Respond to user actions
  5. Go global: Globalization and Localization - Multi-language support
  6. Polish UI: Styling and Appearance - Custom themes

Last Updated: March 2026 Framework Version: Syncfusion EJ2 24.1.48+ License: SEE LICENSE IN license

平台分布

Codex

36.35%
按下载量换算26

Claude

31%
按下载量换算22

Cursor

16.06%
按下载量换算11

Gemini CLI

8.38%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills