一键导入
blazor
Build and review Blazor components with correct render mode selection, component design, state management, and MudBlazor integration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build and review Blazor components with correct render mode selection, component design, state management, and MudBlazor integration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Import existing specs/docs/planning documents or migrate an old `.worklog` tree into `.specs`. Use only when invoked manually by the user as /spec-import SOURCE_FOLDER.
Rebuild or update `.specs/INDEX.md` from current Spec Guided Dev documents, archived history, and temporary deviations.
Compare implementation with Spec Guided Dev documents and decide whether no update, cleanup, replacement, or temporary deviation is needed.
Review whether current changes follow Spec Guided Dev rules. Use before commits or when checking spec structure.
Create the next numbered Spec Guided Dev document before significant implementation work. Use when starting durable product intent, an ADR, a spike, or a temporary deviation.
Build and review ASP.NET Core endpoints, minimal APIs, controllers, middleware, and services following thin-handler and boundary-validation patterns.
| name | blazor |
| description | Build and review Blazor components with correct render mode selection, component design, state management, and MudBlazor integration. |
| compatibility | Requires a Blazor project (.NET 8+). |
.razor files)| Input | Required | Description |
|---|---|---|
| Component intent | Yes | What the component should render or do |
| Render mode | No | Server, WebAssembly, Auto, or Static |
| UI library | No | MudBlazor, Radzen, or plain HTML |
[Parameter] and EventCallback..razor markup — put it in @code or an injected service.CascadingValue or a scoped DI service.OnAfterRenderAsync(firstRender) for JS interop, not OnInitializedAsync.| Mode | Runs Where | Best For |
|---|---|---|
Static | Server only | SEO pages, read-only content |
InteractiveServer | Server via SignalR | Real-time, thin clients |
InteractiveWebAssembly | Browser (WASM) | Offline-capable, client-heavy UI |
InteractiveAuto | Server first → WASM | Best of both worlds |
.razor markup.Visible, not IsVisible).OnAfterRenderAsync, not during prerender.