dotnet-breaking-changes

dotnet-breaking-changes is a skill for Claude Code from dotnet/skills. It costs 230 tokens per session (3,404 once invoked), scanned A, original, MIT.

A compatibility guide for changing public .NET and C# code when other programs may depend on it. It treats APIs, target frameworks, generated files, and friend assemblies as part of the contract.

In plain words
What is it for?
Use it before changing a NuGet library or a repository with public API records, compatibility checks, multiple target frameworks, internal friend assemblies, or generated partial code.
Why use it?
A build and passing tests can still hide changes that break downstream users or another supported .NET target.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dotnet plugin — 5 skills shipped together

Good fit Use it before changing a NuGet library or a repository with public API records, compatibility checks, multiple target frameworks, internal friend assemblies, or generated partial code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dotnet/skills/dotnet-breaking-changes
About the project

.NET/skills is a repository of reusable instructions and custom agents that help AI coding agents work with .NET and C#. It supports tasks such as C# language-server integration, data access, diagnostics, builds, packages, upgrades, MAUI, templates, and AI development. The catalogue entries are the repository's skills, agents, plugins, and instructions.

dotnet/skills · 6,409 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dotnet/skills --skill dotnet-breaking-changes
Clone the repo
git clone --depth 1 https://github.com/dotnet/skills

Made for: Claude Code.

Or install dotnet, the plugin that ships this one along with the rest of its 5 skills.

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 dotnet-breaking-changes

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dotnet/skills/dotnet-breaking-changes"><img src="https://agentmods.dev/badge/skills/dotnet/skills/dotnet-breaking-changes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 230 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,404 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
  • Socket pass 4 Nov 2026
  • Snyk pass 4 Nov 2026
How audits are shown
Origin original 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.00230 $0.03404
Opus 5.5 $0.00092 $0.01362
Sonnet 5.5 $0.00046 $0.00681
Haiku 4.5 $0.00023 $0.00340

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

Security

Grade A, and why

dotnet-breaking-changes 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 25d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/dotnet/skills/dotnet-breaking-changes/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

.NET breaking changes: the contract is wider than the file

When you edit .NET code, the observable contract is usually larger than the snippet in front of you. A change that compiles and keeps tests green can still break a downstream consumer, another target framework, a friend assembly, or regenerate away on the next build. This applies to a feature or a bug fix as much as a refactor, and to additions — a new public member, overload, or target framework — as much as removals: added surface is a permanent contract obligation, and added behavior on a multi-targeted or partial type must stay correct on every target and survive the next regeneration. (For the behavior-preserving refactoring process, use the csharp-refactoring skill; this skill is the compatibility knowledge it — and any other change — taps into.)

Inspect first — find which surfaces this repo actually has

The most valuable move is to look before you leap: find which hidden surfaces exist here, then check only those. Don't recite these or assume — the markers present dictate the plan; markers absent tell you a surface is not in play.

# Public-API gate (which one? they are NOT interchangeable)
git ls-files "**/PublicAPI.Shipped.txt" "**/PublicAPI.Unshipped.txt"                 # PublicApiAnalyzers
grep -rl "EnablePackageValidation\|ApiCompat" --include=*.props --include=*.targets --include=*.csproj .
# Multi-targeting and conditional code
grep -rl "<TargetFrameworks>" --include=*.csproj --include=*.props . ; grep -rn "#if " --include=*.cs .
# Generated / partial code
git ls-files "*.g.cs" "*.generated.cs" ; grep -rln "partial class\|partial record\|partial struct" --include=*.cs .
# Friend assemblies
grep -rn "InternalsVisibleTo" --include=*.cs --include=*.csproj --include=*.props .

Then read only the reference(s) for the surfaces you actually found. For every InternalsVisibleTo name, check whether that project is in the solution: a friend not built here is an external consumer of every internal it can see, exactly like a public caller, and a green solution build proves nothing about it.

Read the full file on GitHub · 191 lines

Files

What ships with it

4 files 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. 25d ago First seen · 191 lines · 230 tokens per session scan A 2dccf8ab440b

Subscribe to this mod's changes

dotnet-breaking-changes is a skill published in the GitHub repository dotnet/skills (6,409 stars, last pushed today), licensed MIT. It adds 230 tokens to every session and 3,404 once invoked, about $0.0009 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-11-05.

Related

dotnet-breaking-changes compared with skills from other repositories

dotnet-breaking-changes next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotnet-breaking-changesdotnet/skillsSkill6.4ktodayMITA230Claude Code
agui-dotnet-streaming-chatag-ui-protocol/ag-uiSkill22k2d agoMITA223Claude Code
build-and-testmicrosoft/agent-frameworkSkill15k13d agoMITA26Claude Code, Codex
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.3k3d agoMITA97Claude Code
agents-sdk-dotnetmicrosoft/AgentsSkill1.1k5d agoMITA112Claude Code
bf-to-agents-sdk-dotnet-migrationmicrosoft/AgentsSkill1.1k5d agoMITA56Claude Code
agents-sdk-dotnet-otelmicrosoft/AgentsSkill1.1k5d agoMITA86Claude Code