Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/fritzandfriends/blazorwebformscomponents/bwfc-migrationnpx skills add FritzAndFriends/BlazorWebFormsComponents --skill bwfc-migrationgit clone --depth 1 https://github.com/FritzAndFriends/BlazorWebFormsComponentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fritzandfriends/blazorwebformscomponents/bwfc-migration)<a href="https://agentmods.dev/skills/fritzandfriends/blazorwebformscomponents/bwfc-migration"><img src="https://agentmods.dev/badge/skills/fritzandfriends/blazorwebformscomponents/bwfc-migration.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00115 | $0.11808 |
| Opus 5 | $0.00057 | $0.05904 |
| Sonnet 5 | $0.00023 | $0.02362 |
| Haiku 4.5 | $0.00012 | $0.01181 |
Grade A, and why
bwfc-migration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 1,158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Forms → Blazor Migration with BWFC
Overview
This skill orchestrates the full migration from ASP.NET Web Forms to Blazor Server using a three-layer architecture:
| Layer | Executor | Coverage | Description |
|---|---|---|---|
| L1: Deterministic | webforms-to-blazor CLI tool |
~70% | 27 compiled transforms (16 markup + 11 code-behind), project scaffolding, config migration |
| L2: Contextual | Copilot (this skill) | ~15–20% | TODO-driven transforms requiring semantic understanding — session state, lifecycle, data binding |
| L3: Architectural | Developer | ~10–15% | Business logic, custom controls, auth flows, architectural decisions |
The CLI tool emits structured // TODO(bwfc-*) comments and a JSON migration report. L2 reads that report and applies contextual transforms per TODO category.
Three-layer migration architecture:
Prerequisites
- .NET 10 SDK or later
- Install the global tool:
dotnet tool install -g Fritz.WebFormsToBlazor - BlazorWebFormsComponents NuGet package (added automatically by the tool's scaffolding)
Critical Rules
🚨 CRITICAL: USE THE SHIMS — PRIMARY MIGRATION STRATEGY 🚨
ALWAYS inherit from WebFormsPageBase (via _Imports.razor) and use the Web Forms shims. The BlazorWebFormsComponents library provides shims that make Web Forms patterns work AS-IS in Blazor — no manual rewrites needed.
⛔ CRITICAL DATA-CONTROL RULE
- NEVER replace
<asp:ListView>,<asp:FormView>,<asp:GridView>,<asp:DataList>, or<asp:Repeater>with manual HTML, hand-built<table>markup, or@foreachloops. - ALWAYS migrate these controls to the BWFC component of the same name:
<ListView>,<FormView>,<GridView>,<DataList>,<Repeater>. - These data-bound BWFC components already exist and are the correct migration target.
- If generated BWFC markup is malformed or does not compile, repair the BWFC markup. Do not flatten the control into manual HTML.
What ships with it
20 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AJAX-TOOLKIT.md 36 KB
- CODE-TRANSFORMS.md 12 KB
- CONFIG-REFERENCE.md 7.4 KB
- CONTROL-REFERENCE.md 16 KB
- PATTERNS.md 5.9 KB
- recipes/circular-self-injection.md 3.0 KB
- recipes/database-seed-initializer.md 2.3 KB
- recipes/eventcallback-signature-mismatch.md 2.3 KB
- recipes/gridview-row-findcontrol.md 3.0 KB
- recipes/innertext-to-markup.md 2.1 KB
- recipes/layout-css-body-class.md 2.4 KB
- recipes/missing-code-behind.md 3.0 KB
- recipes/nested-class-collision.md 2.7 KB
- recipes/new-dbcontext-to-di.md 2.3 KB
- recipes/oauth-page-stubs.md 2.8 KB
- recipes/request-shim-gaps.md 2.7 KB
- recipes/selectmethod-string-binding.md 3.2 KB
- recipes/session-transform-garbling.md 2.4 KB
- REPAIR-PLAYBOOK.md 4.4 KB
- WORKFLOW.md 12 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 1,158 lines · 115 tokens per session scan A c0842fcd3ffe
bwfc-migration is a skill published in the GitHub repository FritzAndFriends/BlazorWebFormsComponents (449 stars, last pushed 2mo ago), licensed MIT. It adds 115 tokens to every session and 11,808 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
lumeo
Use when building or editing a Blazor UI that uses the Lumeo component library (the Lumeo NuGet package and its satellites Lumeo.Charts / Lumeo.DataGrid / Lumeo.Editor / Lumeo.Scheduler / Lumeo.Gantt / Lumeo.Motion), or when the user mentions Lumeo components (Button, DataGrid, Sheet, Dialog, Tabs, DatePicker, Toast…
vela
Compiler-exact code search for .NET solutions - find where a symbol is defined, every reference to it, who calls it, and what a change would break. Covers C#, VB, Razor Pages, MVC views and Blazor components, which grep and every other code-intelligence tool miss. Deterministic, built on Roslyn, never modifies the…
dotnet-sonarjs
Use SonarJS-derived rules in .NET repositories that ship JavaScript or TypeScript frontends and need deeper bug-risk, code-smell, or cognitive-complexity checks than a minimal ESLint baseline. Use when the repo wants eslint-plugin-sonarjs locally or already runs SonarQube or SonarCloud in CI.
dotnet-biome
Use Biome in .NET repositories that ship Node-based frontend assets and want a fast combined formatter-linter-import organizer for JavaScript, TypeScript, CSS, JSON, GraphQL, or HTML. Use when a repo prefers a modern all-in-one CLI over a larger ESLint plus Prettier style stack.
dotnet-eslint
Use ESLint in .NET repositories that ship JavaScript, TypeScript, React, or other Node-based frontend assets. Use when a repo needs a configurable CLI lint gate for frontend correctness, import hygiene, unsafe patterns, or framework-specific rules.
dotnet-vuln-scanner
.NET 组件漏洞扫描 skill。覆盖 NuGet 包、DLL 引用、配置文件中的依赖版本与 CVE/GHSA 触发条件。输出组件漏洞清单、可利用性评估和修复版本建议。.