Official agent skill

Fix Analyzer Bug

by dotnet in dotnet/roslynator

A skill your agent uses when fixing a Roslynator analyzer false positive or false negative, RCS, RR, or CS/RCF regression, incorrect diagnostic reporting, or bug report citing a specific rule id —…

OfficialCustom licenceAuto-check passedDevelopment

Install Fix Analyzer Bug

skills CLI
$ npx skills add dotnet/roslynator --skill fix-analyzer-bug -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dotnet/roslynator fix-analyzer-bug --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dotnet/roslynator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/fix-analyzer-bug .claude/skills/fix-analyzer-bug && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fix-analyzer-bug
GitHub stars
3.5k
Token cost
~1.1k tokens
SKILL.md length
327 words
Files
2 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when fixing a Roslynator analyzer false positive or false negative, RCS, RR, or CS/RCF regression, incorrect diagnostic reporting, or bug report citing a specific rule id —…

  • Fixing a Roslynator analyzer false positive
  • SKILL.md covers Overview, When to Use, Quick Reference and Implementation, plus 2 more sections
  • Calls dotnet
  • CS/RCF regression

What it does

Fix Analyzer Bug is an agent skill from dotnet/roslynator, published by the product's own GitHub organization. Use when fixing a Roslynator analyzer false positive or false negative, RCS, RR, or CS/RCF regression, incorrect diagnostic reporting, or bug report citing a specific rule id — not when adding new rules.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/changelog-examples.md`).

It sits in Development, covering QA and bug reports. It works with C# and .NET. The repository describes itself as: Roslynator is a set of code analysis tools for C, powered by Roslyn.

When your agent uses it

  • Fixing a Roslynator analyzer false positive
  • CS/RCF regression
  • Incorrect diagnostic reporting
  • Bug report citing a specific rule id — not when adding new rules

Example prompts

  • “/fix-analyzer-bug”

What it can do on your machine

Read from SKILL.md and the folder at commit 167f434. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fix Analyzer Bug loads about 1.1k tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 327 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 327 words (~1,065 tokens).

“Reproduce in an existing test file, minimal code fix, changelog entry. Highest-frequency contributor task.”

— opening of SKILL.md by dotnet, Custom licence
name
fix-analyzer-bug

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in .claude/skills/fix-analyzer-bug of dotnet/roslynator.

  • SKILL.md
  • references/changelog-examples.md

Open the folder on GitHubat commit 167f434

Compare with similar skills

Fix Analyzer Bug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fix Analyzer Bug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fix Analyzer Bug this skilldotnet/roslynator3.5k—~1.1kAutomated safety check: PassCustom licence
Issue Fixmono/SkiaSharp5.6k—~5.1kAutomated safety check: PassMIT
Csharp Patternssoftspark/ai-toolkit179—~3.6kAutomated safety check: PassApache-2.0
Speckit ConstitutionWeihanLi/WeihanLi.Common24211 repos~2.1kAutomated safety check: PassApache-2.0
Analyzing .NET Performancedotnet/skills5.6k3 repos~3.1kAutomated safety check: PassMIT
GitVersion .NET DevelopmentGitTools/GitVersion3.1k—~1.7kAutomated safety check: PassMIT

Similar skills

  • Issue Fix

    mono/SkiaSharp

    Fix bugs in SkiaSharp C bindings. An agent skill from mono/SkiaSharp.

    5.6k GitHub stars~5.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Csharp Patterns

    softspark/ai-toolkit

    C/.NET: LINQ, async/await, DI, records, nullable refs, ASP.NET Core, EF Core, MediatR.

    179 GitHub stars~3.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Speckit Constitution

    WeihanLi/WeihanLi.Common

    Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.

    242 GitHub starsUsed in 11 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Official

    Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.

    5.6k GitHub starsUsed in 3 repos~3.1k tokens
    DevelopmentAuto-check passed
  • GitVersion .NET Development

    GitTools/GitVersion

    Gives repository-specific .NET guidance for GitVersion: build and test commands, central package management, project layout and coding conventions.

    3.1k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Code Review

    dotnet/macios

    Official

    Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios.

    2.9k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed

More from dotnet/roslynator

  • Add Analyzer

    dotnet/roslynator

    Official

    A skill your agent uses when adding a new RCS diagnostic in roslynator (RCS0 formatting, RCS1 general, RCS9 code-analysis), wiring roslynator EditorConfig options, or when docs say CHANGELOG.md…

    3.5k GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Official

    A skill your agent uses 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…

    3.5k GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed
  • Add Refactoring

    dotnet/roslynator

    Official

    A skill your agent uses when adding a new RR refactoring in roslynator, editing Refactorings.xml, registering in RefactoringContext, or when refactorings-testing.md shows XunitRefactoringVerifier —…

    3.5k GitHub stars~946 tokensUpdated 2 days ago
    Auto-check passed
  • Release Roslynator

    dotnet/roslynator

    Official

    A skill your agent uses when shipping a roslynator release, rolling CHANGELOG.md [Unreleased], updating the VS Code extension changelog, creating a GitHub v release, or optionally tagging cli-v.

    3.5k GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed
  • Official

    A skill your agent uses when obsoleting or retiring RCS, RR, or RCF in roslynator, replacing an analyzer with another id, or when tempted to use IsObsolete on an Analyzer entry — analyzers use…

    3.5k GitHub stars~511 tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Fix Analyzer Bug

What does Fix Analyzer Bug do?

A skill your agent uses when fixing a Roslynator analyzer false positive or false negative, RCS, RR, or CS/RCF regression, incorrect diagnostic reporting, or bug report citing a specific rule id —…. Fix Analyzer Bug is an agent skill from dotnet/roslynator, published by the product's own GitHub organization. Use when fixing a Roslynator analyzer false positive or false negative, RCS, RR, or CS/RCF regression, incorrect diagnostic reporting, or bug report citing a specific rule id — not when adding new rules.

When should I use Fix Analyzer Bug?

Fix Analyzer Bug fits situations like: fixing a Roslynator analyzer false positive; CS/RCF regression; incorrect diagnostic reporting; bug report citing a specific rule id — not when adding new rules.

How do I install Fix Analyzer Bug in Claude Code?

Run `npx skills add dotnet/roslynator --skill fix-analyzer-bug -a claude-code`. Or copy the skill folder (.claude/skills/fix-analyzer-bug in dotnet/roslynator) into .claude/skills/fix-analyzer-bug in your project. Claude Code loads it when a task matches its description.

How do I install Fix Analyzer Bug in Codex?

Run `npx skills add dotnet/roslynator --skill fix-analyzer-bug -a codex`. Or copy the skill folder (.claude/skills/fix-analyzer-bug in dotnet/roslynator) into .agents/skills/fix-analyzer-bug in your project. Codex loads it when a task matches its description.

Can I use Fix Analyzer Bug in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dotnet/roslynator --skill fix-analyzer-bug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-analyzer-bug, .gemini/skills/fix-analyzer-bug, .github/skills/fix-analyzer-bug and .opencode/skills/fix-analyzer-bug in your project.

What does Fix Analyzer Bug need to run?

Going by SKILL.md and its folder, Fix Analyzer Bug needs the command-line tools its instructions call (dotnet).

Does Fix Analyzer Bug access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fix Analyzer Bug safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fix Analyzer Bug use?

Fix Analyzer Bug has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Fix Analyzer Bug use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 286 tokens, read only when the agent opens those files.

What are the alternatives to Fix Analyzer Bug?

Skills that share tags, products or a category with Fix Analyzer Bug: Issue Fix (mono/SkiaSharp, 5.6k stars), Csharp Patterns (softspark/ai-toolkit, 179 stars), Speckit Constitution (WeihanLi/WeihanLi.Common, 242 stars) and Analyzing .NET Performance (dotnet/skills, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fix Analyzer Bug?

dotnet (a GitHub organization, an official publisher) maintains it in dotnet/roslynator, which has 3,485 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 4, 2026.

Source: dotnet/roslynator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.