Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.
Install
npx skills add dotnet/skills --skill analyzing-dotnet-performancenpx skills add dotnet/skills --skill analyzing-dotnet-performance -a claude-code -gnpx skills add dotnet/skills --skill analyzing-dotnet-performance -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-diag/skills/analyzing-dotnet-performancegh skill install dotnet/skills analyzing-dotnet-performancegit clone --depth 1 https://github.com/dotnet/skills /tmp/dotnet__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/dotnet__skills/plugins/dotnet-diag/skills/analyzing-dotnet-performance ~/.claude/skills/analyzing-dotnet-performance # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-diag/skills/analyzing-dotnet-performance ~/.agents/skills/analyzing-dotnet-performance # Codex, Cursor, Gemini CLI, Copilot, OpenCode