dotnet-blazor-patterns — Claude Code skill: Blazor setup
The dotnet-blazor-patterns Claude Code skill covers Blazor project setup, hosting choices, and render modes. It applies to routing, prerendering, and streaming-render tasks.
no license 104 installs ★ 92 updated 2026-02-27
npx skills add wshaddix/dotnet-skills --skill dotnet-blazor-patterns -a claude-codeWhat dotnet-blazor-patterns does
The skill explains Blazor project setup, routing, and render-mode configuration. It compares Static SSR, InteractiveServer, InteractiveWebAssembly, InteractiveAuto, and Hybrid. Examples show how to set a mode for an app, page, or component.
For a Blazor Web App, the examples use dotnet new blazor with different --interactivity options. With InteractiveAuto or InteractiveWebAssembly, components that run in the browser belong in the .Client project. A child component cannot request a more interactive mode than its parent unless a render-mode boundary separates them.
What it helps with
- choose a Blazor hosting model
- set a render mode for an app or page
- add routes with parameters and constraints
- create a Blazor Web App with a selected interactivity mode
Example prompts for the agent
- Help me choose a hosting model for this Blazor app.
- Show how to use InteractiveWebAssembly for one component.
- Add a Blazor route with a category parameter and a type constraint.
How to install dotnet-blazor-patterns
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-blazor-patterns -a claude-code2Manually: put the files in place
~/.claude/skills/dotnet-blazor-patterns/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/dotnet-blazor-patterns/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-blazor-patterns -a codex2Manually: put the files in place
.agents/skills/dotnet-blazor-patterns/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-blazor-patterns -a cursor2Manually: put the files in place
.cursor/skills/dotnet-blazor-patterns/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wshaddix/dotnet-skills skills/dotnet-blazor-patterns2Manually: put the files in place
.github/skills/dotnet-blazor-patterns/SKILL.md1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-blazor-patterns -a gemini-cli2Platform CLI
gemini skills install https://github.com/wshaddix/dotnet-skills --path skills/dotnet-blazor-patternsManually: put the files in place
.devin/skills/dotnet-blazor-patterns/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-blazor-patterns -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about dotnet-blazor-patterns
How do I install dotnet-blazor-patterns in Claude Code?
Run npx skills add wshaddix/dotnet-skills --skill dotnet-blazor-patterns -a claude-code. The skill file is at ~/.claude/skills/dotnet-blazor-patterns/SKILL.md.
What does dotnet-blazor-patterns do?
It covers Blazor project setup, routing, and render modes. It compares Static SSR, InteractiveServer, InteractiveWebAssembly, InteractiveAuto, and Hybrid.
Which Blazor hosting models does the skill cover?
It covers Static SSR, InteractiveServer, InteractiveWebAssembly, InteractiveAuto, and Hybrid, with differences in interactivity and connections.