mcpField
D
dotnet-tooling

dotnet-tooling

github.com/novotnyllcDevelopment234131 installsUpdated 2w ago
Repository

About dotnet-tooling

dotnet-tooling is a skill guide for .NET developers covering project setup, build systems, performance, CLI apps, and developer tools. Its topic index directs readers to companion references for focused guidance.

Key features

  1. 01Guide solution structure and project scaffolding
  2. 02Cover MSBuild authoring and build optimization
  3. 03Address profiling and memory tuning
  4. 04Guide Native AOT and trimming
  5. 05Cover CLI app development and distribution
  6. 06Support SDK version detection and upgrades

Use cases

  1. 01Set up or analyze a .NET project structure
  2. 02Investigate slow builds and NuGet errors
  3. 03Plan CLI tool architecture and distribution
  4. 04Assess Native AOT or GC settings

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/novotnyllc/dotnet-artisan --skill dotnet-tooling

After installing, type/dotnet-toolingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
add-analyzers.md
aot-architecture.md
artifacts-output.md
build-analysis.md
build-optimization.md
cli-architecture.md
cli-distribution.md
cli-release-pipeline.md
csharp-lsp.md
csproj-reading.md
documentation-strategy.md
dotnet-sdk-install.md
gc-memory.md
ilspy-decompile.md
mermaid-diagrams.md
modernize.md
msbuild-authoring.md
msbuild-tasks.md
multi-targeting.md
native-aot.md
performance-patterns.md
profiling.md
project-analysis.md
project-structure.md
scaffold-project.md
solution-navigation.md
spectre-console.md
system-commandline.md
terminal-gui.md

Details

From the project README

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, SetAction, parsingSystem.CommandLine 2.0, RootCommand, Optionreferences/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

Comments

Markdown supported