Skip to content

Blazor Toolkit open source component configuration skill file included. - #1088

Open
Indhumathy-Loganathan wants to merge 109 commits into
dotnet:mainfrom
Indhumathy-Loganathan:main
Open

Indhumathy-Loganathan wants to merge 109 commits into
dotnet:mainfrom
Indhumathy-Loganathan:main

Conversation

@Indhumathy-Loganathan

@Indhumathy-Loganathan Indhumathy-Loganathan commented Aug 28, 2026 •

Copy link
Copy Markdown

Summary

Adds the syncfusion-blazor-toolkit-install skill to the existing dotnet-blazor plugin so coding agents can install and configure the open-source Syncfusion Blazor Toolkit (Syncfusion.Blazor.Toolkit, v2.0+).

Scope is install and configure only: correct package identity, AddSyncfusionBlazorToolkit() registration, single root namespace, 2.0 theming (SfThemeRoot + CSS isolation — no host fluent.min.css / highcontrast.min.css links), interactive render modes by app topology, and split Blazor Web App registration. It is not a component API guide and does not cover commercial Syncfusion packages, license keys, Hybrid/MAUI, or project creation.

An earlier approach that introduced a standalone dotnet-blazor-toolkit plugin with per-component skills was dropped; this PR keeps a single install skill inside dotnet-blazor.

Key changes

Skill and references

  • plugins/dotnet-blazor/skills/syncfusion-blazor-toolkit-install/SKILL.md

    • Core rules: verify TFM (net8.0 / net9.0 / net10.0) first; package ID Syncfusion.Blazor.Toolkit (prefer latest 2.x); using + AddSyncfusionBlazorToolkit() before Build(); single @using Syncfusion.Blazor.Toolkit (1.x domain namespaces removed); theming via SfThemeRoot + CSS isolation (do not link Toolkit theme CSS); render-mode rules for Web App vs legacy Server / standalone WASM; register on every host that renders Toolkit markup (including static SSR and both sides of a split Web App).
    • Quick decision table by host topology.
    • Minimal setup snippets that add only Toolkit lines and leave template Program.cs / host files intact.
    • 1.x → 2.0 migration steps.
  • References

    • references/package-identity.md — Toolkit vs commercial Syncfusion.Blazor*; no license key for Toolkit; install-only-Toolkit guidance.
    • references/theme-and-host-files.md — 2.0 theme model (SfThemeRoot, CSS isolation); keep template host CSS; remove obsolete 1.x Toolkit stylesheet links.
    • references/render-modes.md — template matrix (-int / -ai), when @rendermode is required, common mistakes.
    • references/split-webapp-registration.md — register on server and .Client; no RootComponents.Add on Web App Client; prerender implications.
    • references/troubleshooting.md — unstyled components, missing service, wrong package, TFM, render-mode, and general checklist.

Evals

  • tests/dotnet-blazor/syncfusion-blazor-toolkit-install/eval.yaml
    • Capability evals for install success (legacy Server, standalone WASM, split Web App), 2.0 theme model (no affirmative fluent.min.css / obsolete theme links), render modes, anti-patterns (commercial package, license key), and dormancy cases (project creation, MAUI Hybrid) with expect_activation: false.
    • Mix of deterministic output-matches / output-not-matches graders (negation-safe where needed) and prompt/rubric graders.

Repo wiring

  • Marketplace descriptions and README for dotnet-blazor updated to mention Syncfusion Blazor Toolkit installation (.agents, .claude-plugin, .cursor-plugin, .github/plugin).
  • .github/CODEOWNERS entries for the skill and test paths.
  • eng/known-domains.txt: allow github.com/syncfusion/blazor-toolkit.

Out of scope

  • Commercial Syncfusion package / license configuration
  • Per-component API or sample UI generation
  • .NET MAUI Blazor Hybrid
  • Creating a new Blazor project (use existing create-project skills)

Validation

  • Frontmatter: name matches directory, description, license: MIT.
  • Links from SKILL.md to reference docs resolve.
  • Guidance aligned with current Blazor templates (host files, render modes, split registration) and Toolkit 2.0 (namespace consolidation, SfThemeRoot, CSS isolation).
  • Markdown / domain allowlist fixes applied for CI (e.g. MD012, known domains).
  • Note: fork PR evals may not run automatically; a maintainer-triggered eval run may be required for full results.

@AbhitejJohn

Copy link
Copy Markdown
Collaborator

@Indhumathy-Loganathan : Thank you for your contribution. Would you mind adding evals for the skills you've proposed based on the guidance here: https://github.com/dotnet/skills/blob/main/CONTRIBUTING.md#testing-and-validation? Without evals it's hard for us to assess the usefulness of skills.

@Indhumathy-Loganathan

Copy link
Copy Markdown
Author

@Indhumathy-Loganathan please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@dotnet-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@dotnet-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@dotnet-policy-service agree company="Microsoft"

Contributor License Agreement

@dotnet-policy-service agree company="Syncfusion"

@Indhumathy-Loganathan

Copy link
Copy Markdown
Author

@Indhumathy-Loganathan : Thank you for your contribution. Would you mind adding evals for the skills you've proposed based on the guidance here: https://github.com/dotnet/skills/blob/main/CONTRIBUTING.md#testing-and-validation? Without evals it's hard for us to assess the usefulness of skills.

@AbhitejJohn , We have included the evals as suggested. Please check.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

There are eval/doc issues that are internally inconsistent or overly broad (causing false failures or misleading guidance) and should be corrected before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR introduces the initial Syncfusion Blazor Toolkit skill pack (skills + reference docs) and adds Vally eval coverage to validate the new skills’ expected outputs and guidance.

Changes:

  • Added new Syncfusion Blazor Toolkit skills (Popups router + Dialog, Notifications/Spinner, Inputs, Calendars, Buttons) with supporting reference documentation.
  • Added a new Charts reference documentation set to guide correct Toolkit usage patterns (enums, events, axes, styling, accessibility).
  • Added Vally eval specs under tests/dotnet-blazor-toolkit/ to validate correct component selection and key anti-pattern avoidance.
File summaries
File Description
tests/dotnet-blazor-toolkit/syncfusion-blazor-toolkit-popups/eval.yaml New eval coverage for dialog-vs-tooltip component choice.
tests/dotnet-blazor-toolkit/syncfusion-blazor-toolkit-notifications/eval.yaml New eval coverage for SfSpinner binding, accessibility label, and async render timing.
tests/dotnet-blazor-toolkit/syncfusion-blazor-toolkit-inputs/eval.yaml New eval coverage for Toolkit input components (binding + validation patterns).
tests/dotnet-blazor-toolkit/syncfusion-blazor-toolkit-charts/eval.yaml New eval coverage for Toolkit charts setup, enums, theming, and package naming.
tests/dotnet-blazor-toolkit/syncfusion-blazor-toolkit-calendars/eval.yaml New eval coverage for calendar/date/time pickers (TValue, UTC, binding patterns).
tests/dotnet-blazor-toolkit/syncfusion-blazor-toolkit-buttons/eval.yaml New eval coverage for Toolkit button patterns (async handlers, accessibility, anti-patterns).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-popups/SKILL.md Popups router skill defining decision matrix and routing to sub-skills.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-popups/router/dialog-vs-tooltip-decision-matrix.md Supporting decision-matrix reference for dialog vs tooltip usage.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-popups/dialog/SKILL.md Dialog sub-skill guidance, patterns, and anti-pattern workflows.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-popups/dialog/references/dialog-properties.md Dialog API reference (properties/events/methods).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-notifications/SKILL.md Spinner-focused notifications/loading skill guidance.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-notifications/references/spinner-template.md Spinner templating + customization reference.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-notifications/references/spinner-overlay.md Overlay composition patterns for spinners (page/region/modal).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-notifications/references/accessibility-best-practices.md Accessibility guidance for spinner usage.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-inputs/SKILL.md Inputs skill guidance (binding, validation, SSR constraints).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-inputs/references/getting-started-inputs.md Inputs “getting started” reference and examples.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/interactive-features.md Charts interactivity reference (tooltip/crosshair/zoom/selection).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/events.md Charts event wiring reference (<ChartEvents> surface).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/data-handling.md Charts data-source guidance (lists, managers, live updates).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/chart-types-specialized.md Specialized chart types reference (stacked/scatter/bubble/etc.).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/axes-and-scales.md Axes/value types, ranges, striplines, and multi-axis patterns.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/appearance-styling.md Charts styling/themes/palettes guidance.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/advanced-features.md Advanced chart patterns (panes, trendlines, editing, RTL).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/accessibility-internationalization.md Charts accessibility + i18n/RTL reference.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-calendars/SKILL.md Calendars skill guidance (TValue selection, UTC, min/max).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-calendars/references/getting-started.md Calendars getting-started reference.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-calendars/references/features.md Calendars features overview reference.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-calendars/references/events-binding.md Calendars events/binding/validation reference.
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-calendars/references/critical-gotchas.md Calendars critical gotchas reference (key pitfalls).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-buttons/SKILL.md Buttons skill guidance (async click patterns, anti-patterns).
plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-buttons/references/getting-started.md Buttons getting-started reference.
Review details

Suppressed comments (2)

plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-calendars/references/critical-gotchas.md:38

  • The example marks TValue="TimeOnly?" as a binding error, which contradicts the rest of this PR (including the SfTimePicker eval rubric). Update the snippet so agents don’t learn the wrong API surface.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-calendars/references/critical-gotchas.md:191
  • The "When in doubt" guidance still says to avoid TimeOnly?, which conflicts with the rest of this PR’s calendar guidance. Align this summary with the corrected SfTimePicker support statement.
  • Files reviewed: 42/62 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings September 2, 2026 08:04
@Indhumathy-Loganathan

Indhumathy-Loganathan commented Sep 2, 2026 •

Copy link
Copy Markdown
Author

Corrections included.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The added skill documentation contains a few concrete correctness issues (contradictory guidance and inaccurate enum compilation wording) that could mislead agents and/or cause eval failures.

Review details

Suppressed comments (3)

Previously missed (3) — in code that hasn't changed since the last review.

plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/accessibility-internationalization.md:89

  • This note says using a non-existent Theme.* enum value "compiles to silence". Since Theme is an enum, invalid members won’t compile; updating the wording will avoid spreading incorrect guidance.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/appearance-styling.md:131
  • This note says using a non-existent Theme.* enum value "compiles to silence". Since Theme is an enum, invalid members won’t compile; updating the wording will avoid spreading incorrect guidance.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-notifications/SKILL.md:40
  • The guidance for Label + <Template> is internally inconsistent: this section says "Never both", but references/spinner-template.md later shows using Label together with a <Template> that is aria-hidden. Consider rewording to forbid only duplicate visible text, while still allowing Label for screen readers alongside an aria-hidden visual template.
  • Files reviewed: 42/62 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 2, 2026 11:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Several newly added reference docs contain broken links and copy/paste-invalid snippets/formatting issues that should be corrected before merging.

Review details

Suppressed comments (8)

Previously missed (8) — in code that hasn't changed since the last review.

plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-buttons/references/getting-started.md:162

  • This Razor snippet has nested double-quotes inside an attribute value, which makes it invalid syntax if copied. Escape the inner string literals (or move the label to a variable).
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/accessibility-internationalization.md:20
  • The _includes/sample-data.md link is broken (file doesn’t exist), and there’s an orphaned blockquote code fence (`> ```), which will break Markdown rendering for the rest of the file.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/advanced-features.md:15
  • This references _includes/sample-data.md, but there is no references/_includes/sample-data.md in the charts skill, so the link is broken.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/axes-and-scales.md:13
  • This references _includes/sample-data.md, but there is no references/_includes/sample-data.md in the charts skill, so the link is broken.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/data-handling.md:12
  • This references _includes/sample-data.md, but there is no references/_includes/sample-data.md in the charts skill, so the link is broken.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/events.md:1
  • The first line appears to include a stray BOM/zero-width character before # Events, which can show up as an odd glyph in some renderers and diffs. Prefer a plain # Events header line.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/events.md:17
  • This references _includes/sample-data.md, but there is no references/_includes/sample-data.md in the charts skill, so the link is broken.
    plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-charts/references/interactive-features.md:13
  • This references _includes/sample-data.md, but there is no references/_includes/sample-data.md in the charts skill, so the link is broken.
  • Files reviewed: 42/62 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The PR introduces a few concrete documentation/eval issues (self-contradictory guidance and a grader regex likely to fail correct responses) that should be corrected before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 42/62 changed files
  • Comments generated: 1
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 2, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A new plugin appears to be introduced without the required plugins/dotnet-blazor-toolkit/plugin.json manifest, and there are correctness issues in added documentation snippets that should be fixed before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

plugins/dotnet-blazor-toolkit/skills/syncfusion-blazor-toolkit-notifications/SKILL.md:54

  • Typo: "Don't inset" should be "Don't insert".
  • Files reviewed: 43/63 changed files
  • Comments generated: 1
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 2, 2026 14:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

A few documentation/tooling-alignment issues were found (skill-validator warning avoidance and inconsistent/likely incorrect namespace and CSS filename guidance) that should be corrected before approval.

Review details
  • Files reviewed: 46/67 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Indhumathy-Loganathan and others added 6 commits November 3, 2026 11:47
Clarified conditions for using commercial Syncfusion components.

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
The script-failure check treated any negation in the same sentence as applying
to a later CDN recommendation. Scope negation to the recommendation clause so
"does not fix it, load the CDN script" fails while "use no CDN script" still passes.

Co-authored-by: Indhumathy-Loganathan <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Deterministic grading lacks negative and complete-state checks for incorrect package, host, registration, import, stylesheet, and template changes, leaving a substantive validation gap.

6 open issues

Review effort: Lite

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…outdated

Fix TFM argument in the Toolkit complete-state grader and verify generated host files against a baseline

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because a newly added external URL is not covered by the repository allowlist and will trigger a critical ReferenceScanner failure.

4 open issues
2 resolved since last review

Review effort: Lite

@Indhumathy-Loganathan

Copy link
Copy Markdown
Author

🔵 Needs a closer look

Human assessment is needed because a newly added external URL is not covered by the repository allowlist and will trigger a critical ReferenceScanner failure.

4 open issues

2 resolved since last review

Review effort: Lite

fluent.min.css retained – Obsolete; no action required.
Prompt-selected render mode – Obsolete; no action required.
net9.0 and net10.0 – Obsolete; no action required.
Registration vs. rebuild – Obsolete; no action required.

@PureWeen PureWeen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This review was written by GitHub Copilot with help from a human (Shane).

I found one gap in the new Syncfusion Toolkit preservation check. Details inline. The finding is based on an isolated git control, not a full Vally evaluation or project build.

…outdated

Reject moved template lines in the Toolkit host-file preservation check

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is ready because no active review issues remain, with only a minor documentation nit previously noted.

No open issues 🎉

4 resolved since last review

Review effort: Lite

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The evaluation checks incorrectly reject valid Toolkit additions with trailing comments and legitimate Hybrid-specific guidance, causing false failures.

2 open issues

Review effort: Balanced

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The dormancy guard incorrectly rejects valid Hybrid-specific registration advice even when the skill remains inactive, penalizing correct answers rather than only detecting unwanted activation or incorrect Web App setup.

1 open issue
1 resolved since last review

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The evaluator can falsely reject a correct warning because its negation check ignores surrounding context when the forbidden line appears in a separate code block.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

This branch was previously deployed

1 inactive (outdated) deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants