update-component-refer…
This skill should be used when the user wants to add components (commands, agents, skills, hooks, or MCP servers) to the…
Query .NET/C# codebases using Roslyn AST analysis via dotnet run file. Use for tracing data flow, auditing API usage, finding pattern violations, or ad-hoc codebase queries.
Claude Code
$ npx -y skills add NikiforovAll/claude-code-rules --skill roslyn-query --agent claude-code
Codex
$ npx skills add NikiforovAll/claude-code-rules --skill roslyn-query -a codex -y
Cursor
$ npx skills add NikiforovAll/claude-code-rules --skill roslyn-query -a cursor -y
Gemini CLI
$ npx skills add NikiforovAll/claude-code-rules --skill roslyn-query -a gemini-cli -y
GitHub Copilot
$ npx skills add NikiforovAll/claude-code-rules --skill roslyn-query -a github-copilot -y
OpenCode
$ npx skills add NikiforovAll/claude-code-rules --skill roslyn-query -a opencode -y
Windsurf
$ npx skills add NikiforovAll/claude-code-rules --skill roslyn-query -a windsurf -y
name: roslyn-query description: Query .NET/C# codebases using Roslyn AST analysis via dotnet run file. Use for tracing data flow, auditing API usage, finding pattern violations, or ad-hoc codebase queries. argument-hint: "[analysis description or query type]"
Query .NET/C# codebases using Roslyn AST analysis scripts executed via `dotnet run file.cs`.
Before generating scripts, load the `handbook-dotnet:dotnet-run-file` skill for execution conventions and directive syntax.
Uses `CSharpSyntaxTree.ParseText()` — parses files individually, no solution loading.
Best for:
Uses `MSBuildWorkspace` — loads project, resolves types, enables cross-file analysis.
Best for:
Based on the user's request, choose the appropriate template from `references/templates.md`. If no template fits, compose a custom script using the patterns documented there.
Create a `.cs` file in a `scripts/` directory (or temp location) using `dotnet run file.cs` format with `#:package` directives.
For syntax-only analysis:
#:package Microsoft.CodeAnalysis.CSharp@4.*
For semantic analysis, additionally:
#:package Microsoft.CodeAnalysis.CSharp.Workspaces@4.* #:package Microsoft.CodeAnalysis.Workspaces.MSBuild@4.* #:package Microsoft.Build.Locator@1.* #:property DisableMSBuildAssemblyCopyCheck=true
> **Note:** `DisableMSBuildAssemblyCopyCheck=true` suppresses the MSBL001 build error that requires `ExcludeAssets="runtime"` on MSBuild packages — an attribute `#:package` directives can't express. Safe for throwaway analysis scripts. > > **`.slnx` not supported:** Roslyn 4.x `MSBuildWorkspace` only supports `.sln`, not `.slnx`. Use `OpenProjectAsync` with a `.csproj` instead — transitive project references are loaded automatically.
dotnet run scripts/my-analysis.cs -- <target-path>
Analyze the output. For taint analysis, categorize findings:
Load `references/roslyn-api.md` for detailed API reference with code examples.
Load `references/templates.md` for ready-to-use analysis script templates.
A collection of Claude Code recommendations and practices. Learn practical techniques to enhance your AI-assisted development workflow with Claude Code.
This skill should be used when the user wants to add components (commands, agents, skills, hooks, or MCP servers) to the…
This skill automates version bumping during the release process for the Claude Code Handbook monorepo. It should be used when the…
Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases. Use…
Review changed code for reuse, quality, and efficiency using three parallel disposable subagents. This skill should be used when…
Review changed code for reuse, quality, and efficiency using a team of persistent named reviewers. This skill should be used when…
This skill should be used when users want to discover, browse, or audit cc-handbook marketplace plugins. Shows all available…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.