dotnet-tooling

v2026.09.25

Manages .NET SDK installation (dotnet-install, workloads), project setup (.slnx, Directory.Build.props, CPM), MSBuild authoring, build optimization, performance (Span, ArrayPool, stackalloc), profiling (dotnet-counters, dotnet-trace), Native AOT/trimming, GC tuning, CLI apps (System.CommandLine, Spectre.Console, Terminal.Gui), ILSpy decompilation, VS Code debug config (launch.json, coreclr, remote), C# LSP (csharp-ls, OmniSharp), and version detection/upgrade. Spans 34 topic areas. Do not use for UI implementation or API security design.

GitHub
Install command
npx skhub add novotnyllc/dotnet-tooling
Markdown
SKILL.md

dotnet-tooling

Overview

.NET project setup, build systems, performance, CLI apps, and developer tooling. This consolidated skill spans 34 topic areas. Load the appropriate companion file from references/ based on the routing table below.

Routing Table

TopicKeywordsDescriptionCompanion File
Project structuresolution, .slnx, CPM, analyzers.slnx, Directory.Build.props, CPM, analyzersreferences/project-structure.md
Scaffold projectdotnet new, CPM, SourceLink, editorconfigdotnet new with CPM, analyzers, editorconfig, SourceLinkreferences/scaffold-project.md
Csproj readingPropertyGroup, ItemGroup, CPM, propsSDK-style .csproj, PropertyGroup, ItemGroup, CPMreferences/csproj-reading.md
MSBuild authoringtargets, props, conditions, Directory.BuildTargets, props, conditions, Directory.Build patternsreferences/msbuild-authoring.md
MSBuild tasksITask, ToolTask, inline tasks, UsingTaskITask, ToolTask, IIncrementalTask, inline tasksreferences/msbuild-tasks.md
Build analysisMSBuild output, NuGet errors, analyzer warningsMSBuild output, NuGet errors, analyzer warningsreferences/build-analysis.md
Build optimizationslow builds, binary logs, parallel, restoreSlow builds, binary logs, parallel, restorereferences/build-optimization.md
Artifacts outputUseArtifactsOutput, ArtifactsPath, CI/DockerUseArtifactsOutput, ArtifactsPath, CI/Docker impactreferences/artifacts-output.md
Multi-targetingmultiple TFMs, polyfills, conditional compilationMultiple TFMs, PolySharp, conditional compilationreferences/multi-targeting.md
Performance patternsSpan, ArrayPool, ref struct, sealed, stackallocSpan, ArrayPool, ref struct, sealed, stackallocreferences/performance-patterns.md
Profilingdotnet-counters, dotnet-trace, flame graphsdotnet-counters, dotnet-trace, dotnet-dump, flame graphsreferences/profiling.md
Native AOTPublishAot, ILLink, P/Invoke, size optimizationPublishAot, ILLink descriptors, P/Invoke, size optimizationreferences/native-aot.md
AOT architecturesource gen, AOT-safe DI, serializationSource gen over reflection, AOT-safe DI, factoriesreferences/aot-architecture.md
Trimmingannotations, ILLink, IL2xxx warnings, IsTrimmableAnnotations, ILLink, IL2xxx warnings, IsTrimmablereferences/trimming.md
GC/memoryGC modes, LOH/POH, Span/Memory, ArrayPoolGC modes, LOH/POH, Gen0/1/2, Span/Memory, ArrayPoolreferences/gc-memory.md
CLI architecturecommand/handler/service, clig.dev, exit codesCommand/handler/service, clig.dev, exit codesreferences/cli-architecture.md
System.CommandLineRootCommand, Option<T>, SetAction, parsingSystem.CommandLine 2.0, RootCommand, Option<T>references/system-commandline.md
Spectre.Consoletables, trees, progress, prompts, live displaysTables, trees, progress, prompts, live displaysreferences/spectre-console.md
Terminal.Guiviews, layout, menus, dialogs, bindings, themesTerminal.Gui v2, views, layout, menus, dialogsreferences/terminal-gui.md
CLI distributionAOT vs framework-dependent, RID matrix, Homebrew, winget, Scoop, dotnet toolDistribution strategy, single-file publish, per-platform packagingreferences/cli-distribution.md
CLI release pipelineGHA build matrix, artifact staging, checksumsGHA build matrix, artifact staging, checksumsreferences/cli-release-pipeline.md
Documentation strategyStarlight, Docusaurus, DocFX decision treeStarlight, Docusaurus, DocFX decision treereferences/documentation-strategy.md
Tool managementglobal, local, manifests, restore, pinningGlobal/local tools, manifests, restore, pinningreferences/tool-management.md
Version detectionTFM/SDK from .csproj, global.jsonTFM/SDK from .csproj, global.json, Directory.Buildreferences/version-detection.md
Version upgradeLTS-to-LTS, staged, preview, upgrade pathsLTS-to-LTS, staged through STS, preview pathsreferences/version-upgrade.md
Solution navigationentry points, .sln/.slnx, dependency graphsEntry points, .sln/.slnx, dependency graphsreferences/solution-navigation.md
Project analysissolution layout, build config analysisSolution layout, build config, .csproj analysisreferences/project-analysis.md
Modernizeoutdated TFMs, deprecated packages, patternsOutdated TFMs, deprecated packages, superseded patternsreferences/modernize.md
Add analyzersnullable, trimming, AOT compat, severity configNullable, trimming, AOT compat analyzers, severityreferences/add-analyzers.md
SDK installationinstall .NET, dotnet-install, workloads, missing SDK.NET SDK install script, workloads, env vars, side-by-sidereferences/dotnet-sdk-install.md
ILSpy decompileilspycmd, decompile, assembly, disassemble, ILILSpy/ilspycmd decompilation, type listing, IL viewreferences/ilspy-decompile.md
Mermaid diagramsarchitecture, sequence, class, ER, flowchartsArchitecture, sequence, class, deployment, ER diagramsreferences/mermaid-diagrams.md
VS Code debugginglaunch.json, tasks.json, coreclr, attach, debugVS Code launch/attach configs, tasks, multi-project, hot reloadreferences/vscode-debug.md
C# LSPlanguage server, csharp-ls, OmniSharp, go to definitionC# LSP servers, code navigation, agent usage patternsreferences/csharp-lsp.md

Scope

  • Solution structure and project scaffolding
  • MSBuild authoring and build optimization
  • Performance patterns and profiling
  • Native AOT, trimming, and GC tuning
  • CLI app development (System.CommandLine, Spectre.Console, Terminal.Gui)
  • Documentation generation (DocFX)
  • Tool management and version detection/upgrade
  • Solution navigation and project analysis
  • Code modernization and analyzer configuration
  • Mermaid diagram generation
  • VS Code debug configuration (launch.json, tasks.json, coreclr)
  • C# LSP servers (csharp-ls, OmniSharp) for agent code navigation

Out of scope

  • Crash dump analysis, hang/deadlock triage, live debugger attach -> dotnet-debugging
  • Web API patterns -> dotnet-api
  • Test authoring -> dotnet-testing
  • CI/CD pipelines -> dotnet-devops
  • C# language patterns -> dotnet-csharp
  • UI framework development -> dotnet-ui

Scripts

  • scripts/scan-dotnet-targets.py -- Scan repository for .NET TFM and SDK version signals
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.25

Published

Sep 25, 2026

Category

Uncategorized

License

MIT

Source path

plugins/dotnet-artisan/skills/dotnet-tooling

Default branch

main

Latest commit

3db3ae6

Tree SHA

5ecedc3