ALWAYS use for ANY C# operation: renaming (files/classes/methods/properties/namespaces), finding references/usages ("where is X used"), finding definitions ("where is X defined"), understanding code structure (hierarchies/dependencies/relationships). Roslyn-powered semantic analysis ensures all references are updated correctly across the entire solution.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
references/ARCHITECTURE.mdreferences/COMMANDS.mdreferences/EXAMPLES.mdreferences/WORKFLOWS.mdscripts/linux-x64/BuildHost-net472/Microsoft.Build.Locator.dllscripts/linux-x64/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exescripts/linux-x64/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exe.configscripts/linux-x64/BuildHost-net472/Microsoft.IO.Redist.dllscripts/linux-x64/BuildHost-net472/Newtonsoft.Json.dllscripts/linux-x64/BuildHost-net472/System.Buffers.dllscripts/linux-x64/BuildHost-net472/System.Collections.Immutable.dllscripts/linux-x64/BuildHost-net472/System.CommandLine.dllscripts/linux-x64/BuildHost-net472/System.Memory.dllscripts/linux-x64/BuildHost-net472/System.Numerics.Vectors.dllscripts/linux-x64/BuildHost-net472/System.Runtime.CompilerServices.Unsafe.dllscripts/linux-x64/BuildHost-net472/System.Threading.Tasks.Extensions.dllscripts/linux-x64/BuildHost-net472/cs/System.CommandLine.resources.dllscripts/linux-x64/BuildHost-net472/de/System.CommandLine.resources.dllscripts/linux-x64/BuildHost-net472/es/System.CommandLine.resources.dllscripts/linux-x64/BuildHost-net472/fr/System.CommandLine.resources.dllCompiler-accurate semantic analysis for C# using Roslyn APIs. Not text search - understands C# semantics.
Use this skill for:
Don't use for: Non-C# files, simple text/comment searches, projects without .sln/.csproj
| Platform | Path |
|---|---|
| Linux x64 | ./scripts/linux-x64/csharp-skill |
| macOS x64 | ./scripts/osx-x64/csharp-skill |
| macOS ARM | ./scripts/osx-arm64/csharp-skill |
| Windows x64 | ./scripts/win-x64/csharp-skill.exe |
<cli-path> [-s <solution.sln> | -p <project.csproj>] [-o json|text|markdown] <command> [options]
Auto-Discovery: If -s or -p is not specified, the tool automatically searches the current directory for a .sln file (preferred) or .csproj file.
| Command | Purpose | Key Options |
|---|---|---|
find-definition <name> | Where is symbol defined | `--type class |
find-references <name> | All usages of symbol | --type, --in-namespace |
rename <old> <new> | Rename across solution | --preview (use first!), --type, --rename-file |
signature <name> | Method/type signature | --include-overloads, --include-docs |
list-members <type> | Members of a type | `--kind method |
diagnostics | Compilation errors/warnings | `--severity error |
check-symbol-exists <name> | Verify symbol exists | --type |
find-implementations <name> | Interface implementations | - |
inheritance-tree <type> | Type hierarchy | `--direction ancestors |
find-callers <method> | Who calls this method | - |
find-callees <method> | What does method call | - |
dependencies <target> | Type/file dependencies | - |
unused-code | Find dead code | - |
generate-interface <class> | Extract interface | - |
implement-interface <iface> | Generate stubs | - |
list-types | Types in namespace/file | --namespace |
namespace-tree | Namespace hierarchy | - |
analyze-file <path> | Quick file analysis | - |
find-references OldName --type methodrename OldName NewName --type method --previewrename OldName NewName --type method--rename-file to also rename the filediagnostics --severity errorfind-definition ClassName --type classlist-members ClassNameinheritance-tree ClassNamedependencies ClassNamejson (default) - Machine-readabletext - Human-readable terminalmarkdown - Documentation format0 Success | 1 Error | 2 Not found