/bricelam:csharp-lspfrom bricelam
When to use the LSP tool (Roslyn language server) while working in C# code---finding a symbol's definition, references, implementations, or callers, and checking a symbol's type or signature. Use whenever answering a question about how C# code is connected (who calls this, what implements this, where is this defined, what type is this) or before changing a C# member's signature---even if Grep seems sufficient.
Ships in bricelam. 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.
The LSP tool is backed by the Roslyn language server and understands C# semantically. Grep is still fine for plenty of things; the point is to not skip LSP when the question is really about symbols rather than text.
| Question | Operation |
|---|---|
| Who calls this method? | incomingCalls (after prepareCallHierarchy) |
| What does this method call? | outgoingCalls (after prepareCallHierarchy) |
| What implements this interface or abstract member? | goToImplementation |
| Where is this used? | findReferences |
| Where is this defined? | goToDefinition |
What type is this var or expression? | hover |
| What overload does this call bind to? | hover or goToDefinition |
| What members does this file declare? | documentSymbol |
| Where is a type or member with this name? | workspaceSymbol |
Text search tends to go wrong on these because of overloads, same-named members on unrelated types, extension methods, partial classes, inherited or explicitly implemented members, using aliases, and symbols from referenced assemblies or NuGet packages. A Grep that returns plausible-looking hits isn't the same as a correct answer---especially before renaming a member or changing its signature, where findReferences is the reliable way to find every call site.
Every operation except workspaceSymbol needs a 1-based line and character. Use the line from Grep (-n) or Read, and point the character at the symbol's name---not at whitespace, a modifier, or the return type. workspaceSymbol needs a non-empty query.
The server loads the solution on its first request, which can take a while on large repos. An empty result or timeout right at the start of a session usually means it's still loading, not that LSP doesn't work---wait briefly and retry before falling back to Grep.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bricelam/bricelam-plugins --plugin bricelam15 skills in this plugin
/csharp-collectionsC# collection conventions---choosing between ToList, new List, and collection-expression spread to materialize or copy a sequence, and which collection interface to use for method parameters and return types. Use whenever materializing an enumerable into a list or declaring a collection-typed parameter or return type (arrays, `List<T>`, `IEnumerable<T>`, dictionaries, etc.)./csharp-csvhelperConventions for using CsvHelper in C#---aliasing its generically named attribute types. Use whenever writing or reviewing code that reads or writes CSV with CsvHelper, or whenever using CsvHelper's `FormatAttribute`, `IgnoreAttribute`, `NameAttribute`, or `TypeConverterAttribute`---even if CsvHelper isn't named explicitly./csharp-Other plugins' skills for the same job