Use the free official .NET diagnostics CLI tools for profiling and runtime investigation in .NET repositories. Use when a repo needs CPU tracing, live counters, GC and allocation investigation, exception or contention tracing, heap snapshots, or startup diagnostics without GUI-only tooling.
$npx -y skills add managedcode/dotpilot --skill mcaf-dotnet-profilingInstalls into the current project.
Run `npx skills use "https://github.com/managedcode/dotpilot" --skill "managedcode/dotpilot/mcaf-dotnet-profiling"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/managedcode/dotpilot" that are relevant to the current task. Run `npx skills add "https://github.com/managedcode/dotpilot"` and select the relevant skills, then follow their instructions.