ilspy-decompile
Understand implementation details of .NET code by decompiling assemblies. Use when you want to see how a .NET API works internally, inspect NuGet package source, view framework implementation, or understand compiled .NET binaries.
By aaronontheweb · 527 installs
npx skills add aaronontheweb/dotnet-skills --skill ilspy-decompile
Source repository · Upstream listing
.NET Assembly Decompilation with ILSpy
Use this skill to understand how .NET code works internally by decompiling compiled assemblies.
Prerequisites
.NET SDK installed
ILSpy command line tool available via one of the following:
dnx ilspycmd (if available in your SDK or runtime)
dotnet tool install global ilspycmd
Both forms are shown below. Use the one that works in your environment.
Note: ILSpyCmd options may vary slightly by version.
Always verify supported flags with ilspycmd h .
Quick start
Common .NET Assembly Locations
NuGet packages
.NET runtime libraries
.NET SDK reference assemblies
Reference assemblies do not contain implementations.
Project build output
Core workflow
1. Identify what you want to understand
2. Locate the assembly
3. List types
4. Decompile the target
Commands
Basic decompilation
Targeted decompilation
View IL code
Notes on modern .NET builds
ReadyToRun images may reduce readability
Trimmed or AOT builds may omit code
Prefer non trimmed builds
Legal note
Decompiling assemblies may be subject to license restrictions.