use-js-interop
100 / 100 · Low risk
Fine to try.
Add, review, or fix JavaScript interop in Blazor components. USE FOR: calling JavaScript from Blazor, calling .NET from JavaScript, collocated .razor.js modules, IJSRuntime, IJSObjectReference lifecycle, DotNetObjectReference, ElementReference, timing rules for when JS is available, IAsyncDisposable disposal of JS references, server-side JS interop safety. DO NOT USE FOR: general Blazor component authoring without JS interop needs (use author-component), forms (use collect-user-input).
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'use-js-interop' ] || [ -L ~/.agents/skills/'use-js-interop' ]; then echo 'A skill folder named use-js-interop already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/dotnet/skills' "$d" && git -C "$d" checkout --quiet '96c3d68dad2855e3ab5178aa1a262789d86a1466' -- 'plugins/dotnet-blazor/skills/use-js-interop' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/dotnet-blazor/skills/use-js-interop' ~/.agents/skills/'use-js-interop' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'use-js-interop' ~/.claude/skills/'use-js-interop' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/dotnet/skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 96c3d68 | 100 |
| 2026-11-07 | 96c3d68 | 100 |