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.
Start a fresh conversation. Replace the highlighted placeholders.
Use ilspy-decompile to decompile [assembly path and the API or type to inspect] to explain its implementation, including the relevant decompiled code and any caveats from the binary; proceed only if I am authorized to decompile it.
Required inputs
[assembly path and the API or type to inspect]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: ilspy-decompiledescription: 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.allowed-tools: Bash(dnx:*)
.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
# Decompile an assembly to stdout
ilspycmd MyLibrary.dll
# or
dnx ilspycmd MyLibrary.dll
# Decompile to an output folder
ilspycmd -o output-folder MyLibrary.dll