validate-blazor-feature
Skill by dotnet
Validates Blazor feature and regression behavior in a real browser using the canonical Components samples in the dotnet repository. Built for contributors who need deterministic browser evidence before choosing permanent test coverage.
Install validate-blazor-feature
Built from the published package, never by AI.
git clone --depth 1 https://github.com/dotnet/aspnetcore /tmp/aspnetcore && mkdir -p ~/.claude/skills && cp -r /tmp/aspnetcore/.github/skills/validate-blazor-feature ~/.claude/skills/validate-blazor-featureRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install validate-blazor-feature in Claude Code
git clone --depth 1 https://github.com/dotnet/aspnetcore /tmp/aspnetcore && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aspnetcore/.github/skills/validate-blazor-feature ~/.gemini/antigravity-cli/skills/validate-blazor-featureAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install validate-blazor-feature in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through validating a Blazor feature or regression in a real browser. It uses the canonical Components samples, such as BlazorWebAppPerPage, BlazorWebAppGlobal and BlazorWebAssemblyStandalone. The steps cover choosing a sample and page location, setting the render mode, building and launching the app, and driving it with Playwright browser tools. It also checks console errors and network responses for failed assets.
When a browser failure needs permanent coverage, the skill reduces it to a temporary JavaScript diagnostic assertion. It assesses determinism over a recorded number of runs and avoids arbitrary fixed sleeps. It then records the behavior owner, final observable and selected permanent test surface for handoff. The skill is for contributors working on src/Components changes. It does not write permanent tests, and non-Components work is out of scope.
Written from the project's SKILL.md and checked against it.
What it can do
- Sample and render mode selectionChooses the Components sample, page location and render mode for a scenario.
- Build and launchBuilds the in-tree framework and Blazor JS, then runs the sample with dotnet run.
- playwright-browser_navigateOpens a route in the sample app under test.
- playwright-browser_wait_forWaits for expected text before interacting, since WebAssembly boots asynchronously.
- playwright-browser_snapshotReads the current page state before and after interactions to prove behavior changed.
- playwright-browser_console_messagesChecks page-scoped console errors after interacting with the page.
- playwright-browser_network_requestsConfirms blazor.web.js and framework assets return 200 instead of 404.
- Temporary diagnostic probeReduces a browser failure to a temporary JavaScript assertion and records determinism across repeated runs.
- Permanent-test handoffRecords the behavior owner, final observable, producer and permanent test surface before handoff.
What you need
- A full dotnet repository checkout with the in-tree framework
- Built framework assemblies via eng\build.cmd
- Node.js and npm to build the Blazor JS in src/Components/Web.JS
- Playwright browser tools (playwright-browser_*)
Try asking
- Validate this Blazor regression in the per-page sample with Playwright
- Set InteractiveAuto on the global sample and check the console for errors
- Replace the Thread.Sleep in this Selenium test with an observable wait
Good to know
- It may author temporary probes but does not write permanent tests.
- During source-only pull request review, browser execution steps are skipped.
- Not for non-Components work, comparative research or isolated browser experiments without Blazor.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .github/skills/validate-blazor-feature/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB -
references/error-checks.md5 KB
Alternatives to validate-blazor-feature
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
validate-blazor-feature: common questions
Does this skill write permanent tests?
No. The skill may author temporary probes, but permanent coverage is handed off to the repository's real-browser suite or a faithful unit test.
Which samples does it use?
It uses BlazorWebAppPerPage, BlazorWebAppGlobal and BlazorWebAssemblyStandalone, located in src/Components/Samples and src/Components/WebAssembly/Samples.
Does it run during pull request review?
During source-only pull request review, it skips the sample, build and Playwright steps. It evaluates synchronization gates and false-pass risks from the source instead.
How do I install validate-blazor-feature?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is validate-blazor-feature free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is validate-blazor-feature safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to validate-blazor-feature?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
