Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind.
Install
npx skills add dotnet/skills --skill author-componentnpx skills add dotnet/skills --skill author-component -a claude-code -gnpx skills add dotnet/skills --skill author-component -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-blazor/skills/author-componentgh skill install dotnet/skills author-componentgit clone --depth 1 https://github.com/dotnet/skills /tmp/dotnet__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/dotnet__skills/plugins/dotnet-blazor/skills/author-component ~/.claude/skills/author-component # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-blazor/skills/author-component ~/.agents/skills/author-component # Codex, Cursor, Gemini CLI, Copilot, OpenCode