/dotnet-inspect:dotnet-inspect-compatibilityfrom dotnet-inspect
Compares .NET library versions with dotnet-inspect to surface API breaks, additive changes, implementation diffs and static analysis shifts.
Ships in dotnet-inspect. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to establish what changed, then judge the consequences.
Run dnx dotnet-inspect -y -- <command>. Skills provide productive starts;
installed explanation supplies detailed analyses, bindings and limits.
dnx dotnet-inspect -y -- diff \
--package [email protected] --breaking
dnx dotnet-inspect -y -- diff \
--platform [email protected] --additive
dnx dotnet-inspect -y -- diff --library old/Foo.dll..new/Foo.dll -S Changes
--breaking selects assessed breaks; --additive selects additions.
Use -S Changes for the complete API change population, including unclassified
changes. Unclassified does not mean safe or breaking. Narrow with -t Type;
use --all for non-public, hidden and obsolete declarations.
Single-Library API comparisons require compatible assembly identities.
Incomplete or rejected comparisons are not compared, not "no changes."
Read completion, diagnostics and exit status. Unprojected --json gives the
typed comparison outcome; where supported, --envelope adds Share and
diagnostics. Sectioned/filtered JSON can use a presentation schema instead.
dnx dotnet-inspect -y -- member System.Text.Json.JsonSerializer Deserialize:1 \
--package [email protected] --match
Subject-owned --match follows API correspondence from the source coordinate.
Resolve the selector only at the source: the same overload ordinal on the
destination is not identity. This matches declarations, not accessor bodies.
Root match instead compares implementation bodies or discovers similar
members; similar code is not API correspondence or semantic equivalence.
dnx dotnet-inspect -y -- diff --package [email protected] \
-S "Analysis Diff"
dnx dotnet-inspect -y -- diff --library old/Foo.dll..new/Foo.dll \
--implementation -t MyType -m HotPath
dnx dotnet-inspect -y -- explain "compare string literals"
Analysis Diff surfaces allocation, unsafe, exception and other static shifts. Implementation Diff compares reconstructed C#, IL and explicitly requested PDB Source. Changed literals can identify endpoint changes, not actual network traffic. Read the returned analysis and CLI binding for required predicates before executing an unfamiliar analysis; do not guess the filter grammar.
Decompiled C# is not authored source. PDB Source is checksum-matched to the
Portable PDB; source absence is not deletion. Neither identical IL nor similar
source proves behavioral equivalence. Load skill decompiler or
skill sourcelink when fidelity or provenance is material.
Use package Foo --versions -n 1 for one newest listed version row,
package Foo@latest --versions for a fresh check, or an exact Foo@version
pin for reproducibility. --preview opts into prereleases.
Load skill private-feeds when source authority matters.
dnx dotnet-inspect -y -- package [email protected] --versions
dnx dotnet-inspect -y -- diff --history --package [email protected] \
--type Foo.Parser --members --major-versions
dnx dotnet-inspect -y -- diff --history --package [email protected] \
-t Foo.Parser -m Parse --finding analysis.allocation --at first --at last
History can follow API presence, members, attributes and body Findings.
--at selects an exact version, one-based #N, first or last.
Checkpoint transitions establish changes between probes, not the exact
introduction version. Omitting checkpoints may evaluate the full population;
choose an explicit bound before expensive history work.
For recurrence-safe onset, walk backward from the bad version to a successful
absence. Binary search needs a known monotonic predicate. Preserve the same
source, visibility and framework across probes; listed-only vectors can differ
from an --include-unlisted listing.
Confirm a candidate adjacent boundary with the native Finding comparison:
dnx dotnet-inspect -y -- diff --package [email protected] \
-t Foo.Parser -m Parse --finding analysis.allocation
PairFinding.Added with Old=absent and New=present establishes an added
occurrence. Present, Removed and Changed remain different outcomes;
aggregate count deltas do not establish onset. Use installed analysis discovery
for other Finding families and their required target grain.
Report assessed breaks, other API changes, implementation observations and unresolved runtime questions separately. A sparse history or failed comparison must not become an all-versions compatibility claim.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dotnet, api-diff, breaking-changes, version-comparison, static-analysis
Generated from the plugin's indexed repository (richlander/dotnet-inspect) — no native marketplace selected
npx claudepluginhub p/richlander-dotnet-inspect13 skills in this plugin
/dotnet-inspect-correctnessInvestigate .NET exception handling, unsafe operations, interop boundaries and pooled-resource ownership using exact Member and IL evidence; static findings do not establish overall safety./dotnet-inspect-decompilerRead .NET method and type implementations as authored-first source, decompiled C#, annotated source or IL; interpret reconstruction fidelity and locate exact code coordinates. Use --offline to prohibit network acquisition./dotnet-inspectFind and share evidence instead of guessing about .NET packages, libraries, APIs, dependencies, source, performance, and version changes./dotnet-inspect-metadataInspect raw ECMA-335 metadata in a .NET assembly; discover tables and heaps, read decoded rows and handles, locate exact coordinates and project bounded machine-readable results./dotnet-inspect-package-skillsDiscover version-matched agent skills in restored NuGet dependencies or an exact package, select relevant guidance and load it without changing the repository; persist skills only when explicitly requested./dotnet-inspect-performanceFind high-leverage .NET methods with allocation and repetition evidence, trace candidate costs through calls and IL, and select focused profiling or benchmark follow-ups rather than claiming measured wins.Other plugins' skills for the same job