csharp-dotnet-cli-optimization
OfficialDiagnose and fix .NET performance issues
AuthorMCCTeam
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides CLI-first guidance to diagnose and optimize C#/.NET performance problems such as high allocation rates, GC pressure, heap growth, CPU hotspots, blocking/hangs, boxing overhead, and LINQ-related costs without relying on GUI tools.
Core Features & Use Cases
- Live triage: Use dotnet-counters to detect allocation rates, GC activity, and CPU trends in a running process.
- Hot-path and stack inspection: Capture dotnet-trace for sampled call paths and dotnet-stack for immediate stack snapshots when a process appears stuck.
- Heap and postmortem analysis: Collect dotnet-gcdump for heap composition and dotnet-dump for SOS-backed inspection when deeper type-level or postmortem evidence is required.
- Code guidance and microbenchmarks: Recommend analyzer-backed code patterns and use BenchmarkDotNet for reproducible microbenchmarks when a local change is proposed.
Quick Start
Run dotnet-counters to triage live counters for the target PID, collect a dotnet-trace to find CPU or allocation hot paths, and capture a dotnet-gcdump or dotnet-dump when you need heap or postmortem evidence.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: csharp-dotnet-cli-optimization Download link: https://github.com/MCCTeam/Minecraft-Console-Client/archive/main.zip#csharp-dotnet-cli-optimization Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.