roslynator: Skill for Claude Code

.claude/skills/deprecate-analyzer-or-refactoring/SKILL.md

deprecate-analyzer-or-refactoring is a skill for Claude Code from dotnet/roslynator. It costs 64 tokens per session (510 once invoked), scanned A, original, no licence file.

A project guide for retiring or replacing Roslynator analyzers and refactorings. An analyzer checks C# code and reports a diagnostic when it finds a problem.

In plain words
What is it for?
Use it when deprecating RCS####, RR####, or RCF#### rules, replacing an analyzer ID, or updating their registry entries.
Why use it?
It prevents obsolete rules from being marked or replaced using the wrong project field or status.

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/deprecate-analyzer-or-refactoring/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 deprecate-analyzer-or-refactoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/roslynator/deprecate-analyzer-or-refactoring/github.svg)](https://agentmods.dev/skills/dotnet/roslynator/deprecate-analyzer-or-refactoring)
Your own site
<a href="https://agentmods.dev/skills/dotnet/roslynator/deprecate-analyzer-or-refactoring"><img src="https://agentmods.dev/badge/skills/dotnet/roslynator/deprecate-analyzer-or-refactoring/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 deprecate-analyzer-or-refactoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/dotnet/roslynator/deprecate-analyzer-or-refactoring"><img src="https://agentmods.dev/badge/skills/dotnet/roslynator/deprecate-analyzer-or-refactoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 510 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.00064 $0.00510
Opus 5 $0.00032 $0.00255
Sonnet 5 $0.00013 $0.00102
Haiku 4.5 $0.00006 $0.00051

Measured 10d ago against content hash 7ef3a28eb749, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

deprecate-analyzer-or-refactoring 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 10d 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/deprecate-analyzer-or-refactoring/SKILL.md · 48 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. 10d ago First seen · 48 lines · 64 tokens per session scan A 7ef3a28eb749

Subscribe to this mod's changes

deprecate-analyzer-or-refactoring is a skill published in the GitHub repository dotnet/roslynator (3,476 stars, last pushed 7d ago), with no licence file. It adds 64 tokens to every session and 510 once invoked, about $0.0003 per session on Opus 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

generate-code-cs

Generate the code from typespec for C#. Parameter: C# SDK repository root location .

Azure/azure-sdk-for-net · 26 tokens

author-test

Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.

Azure/azure-sdk-for-net · 68 tokens

migrate-xunit-to-xunit-v3

Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…

managedcode/dotnet-skills · 149 tokens

wpf

Build and modernize WPF applications on .NET with correct XAML, data binding, commands, threading, styling, and Windows desktop migration decisions. USE FOR: working on WPF UI, MVVM, binding, commands, or desktop modernization; migrating WPF from .NET Framework to .NET; integrating newer Windows capabilities into a…

managedcode/dotnet-skills · 122 tokens

mcp

Build or consume Model Context Protocol (MCP) servers and clients in .NET using the official MCP C# SDK, including stdio, Streamable HTTP, tools, prompts, resources, and capability negotiation. USE FOR: .NET MCP servers or clients; stdio versus HTTP transport choices; tools, resources, prompts, completions, and…

managedcode/dotnet-skills · 123 tokens