What problem does it solve?
This Skill helps you set up, harden, and troubleshoot .NET project build tooling so your solution builds reliably, optimizes performance, and supports Native AOT-ready command line applications.
Core Features & Use Cases
- Project structure & scaffolding: Establish consistent solution patterns (Directory.Build.*, central packages/analysis, CPM) and scaffold new projects with the right baseline.
- MSBuild authoring & build performance: Create correct custom targets, enable incremental builds with Inputs/Outputs, and diagnose “always rebuilding” issues using binary logs.
- AOT, trimming, GC/memory, and profiling: Make your code and dependencies AOT- and trim-compatible, tune memory/GC behavior, and pick the right profiling tooling.
- CLI architecture & distribution: Design System.CommandLine-based CLIs with clean command/handler/service layering, and plan packaging/release pipelines across RIDs.
- Docs and diagram support: Generate consistent documentation strategy choices (Starlight/Docusaurus/DocFX) and produce Mermaid diagrams from a shared reference.
Use it when you need to modernize a .NET repo (analyzers, nullable, central config), speed up builds, or prepare a production-grade CLI that publishes cleanly with Native AOT and trimming.
Quick Start
Use the dotnet-tooling skill to plan your .NET solution structure and AOT/trimming-safe CLI approach for your existing repo.