roslynator: Skill for Claude Code

.claude/skills/fix-analyzer-bug/SKILL.md

fix-analyzer-bug is a skill for Claude Code from dotnet/roslynator. It costs 55 tokens per session (1,114 once invoked), scanned A, original, no licence file.

A project guide for fixing bugs in Roslynator analyzers, including incorrect warnings and missed warnings in C# code.

In plain words
What is it for?
Use it for false positives, false negatives, regressions, or bug reports involving RCS####, RR####, CS####, or RCF####.
Why use it?
It helps distinguish a bug in an existing rule from the work of adding a new rule and points to the relevant rule identifiers.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is dotnet/roslynator's own configuration. It tells Claude Code how to work on roslynator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything roslynator configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dotnet/roslynator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dotnet/roslynator/main/.claude/skills/fix-analyzer-bug/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dotnet/roslynator

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-analyzer-bug

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/roslynator/fix-analyzer-bug/github.svg)](https://agentmods.dev/skills/dotnet/roslynator/fix-analyzer-bug)
Your own site
<a href="https://agentmods.dev/skills/dotnet/roslynator/fix-analyzer-bug"><img src="https://agentmods.dev/badge/skills/dotnet/roslynator/fix-analyzer-bug/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-analyzer-bug

Your own site · 80×15
<a href="https://agentmods.dev/skills/dotnet/roslynator/fix-analyzer-bug"><img src="https://agentmods.dev/badge/skills/dotnet/roslynator/fix-analyzer-bug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,114 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01114
Opus 5.5 $0.00022 $0.00446
Sonnet 5.5 $0.00011 $0.00223
Haiku 4.5 $0.00006 $0.00111

Measured 2mo ago against content hash 554ac2b22600, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-analyzer-bug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/fix-analyzer-bug/SKILL.md · 96 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 96 lines · 55 tokens per session scan A 554ac2b22600

Subscribe to this mod's changes

fix-analyzer-bug is a skill published in the GitHub repository dotnet/roslynator (3,490 stars, last pushed 25d ago), with no licence file. It adds 55 tokens to every session and 1,114 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

roslyn-codelens

Use when working with any .NET / C# code (.cs/.csproj/.sln/.slnx files), finding callers/references/implementations, checking compiler errors or warnings, running dotnet build for diagnostics, searching for a type/method/interface by name, inspecting DI registrations, detecting dead code or circular dependencies…

MarcelRoozekrans/roslyn-codelens-mcp · 104 tokens

blazing-fast-dotnet

High-performance .NET guidance for writing and tuning C# apps and benchmarks (BenchmarkDotNet, ASP.NET, challenges). Use when asked to make .NET code faster, reduce allocations or GC overhead, fix lock contention or thread pool starvation, inspect JIT codegen, profile apps, or tune runtime/NativeAOT settings.

managedcode/dotnet-skills · 72 tokens

profiling

Use the free official .NET diagnostics CLI tools for profiling and runtime investigation in .NET repositories. USE FOR: the repo needs performance or runtime profiling for a .NET application; the user asks about slow code, high CPU, GC pressure, allocation growth, exception storms, lock. DO NOT USE FOR: replacing…

managedcode/dotnet-skills · 119 tokens

cs0618-hunter

Detects and fixes CS0618 obsolete API warnings in .NET builds. The compiler is the authoritative source for what your project actually triggers — it catches transitive obsoletions, overload-resolution surprises, and project-local [Obsolete] attributes that static inspection cannot see. Pair with the repository-pinned…

joslat/maf-doctor · 85 tokens

nuget-diff-analyzer

Post-processes the repository-pinned [email protected] -- diff output into a categorised report (breaking / additive / newly-obsolete) with each finding cross-referenced to the MAF obsolete-API registry.

joslat/maf-doctor · 56 tokens

binlog-generation

Use when an MSBuild failure or performance investigation needs a binary log and none exists. Not for analyzing existing logs, timing builds or non-MSBuild systems; use msbuild for analysis.

Cratis/AI · 41 tokens