Registry / dotnet

dotnet/roslynator/add-compiler-diagnostic-fix

Use when adding a Roslynator code fix for C# compiler error CS#### or RCF####, editing Diagnostics.xml or CodeFixes.xml, or when compiler-diagnostic-fixes-testing.md shows XunitCompilerDiagnosticFixVerifier or bare DiagnosticId like "CS0106" — in-repo uses AbstractCSharpCompilerDiagnosticFixVerifier and CompilerDiagnosticIdentifiers. Contributor how-to exists but testing page targets NuGet consumers.

Agent skill · version 5.0.1 · from dotnet/roslynator

Install

npx yarkr-cli add skill:dotnet/roslynator/add-compiler-diagnostic-fix

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:dotnet/roslynator/add-compiler-diagnostic-fix
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:dotnet/roslynator/add-compiler-diagnostic-fix

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:dotnet/roslynator/add-compiler-diagnostic-fix

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.