Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use the free official .NET diagnostics CLI tools for profiling and runtime investigation in .NET repositories. USE FOR: the repo needs performance or runtime profiling for a .NET application; the user asks about slow code, high CPU, GC pressure, allocation growth, exception storms, lock. DO NOT USE FOR: replacing realistic performance tests or load tests with ad-hoc tracing alone; production heap collection when the pause risk has not been. INVOKES: inspect the repository context, edit targeted
.claude/skills/managedcode-profiling/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | 136% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 40% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 121% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 96% | 0% |
dnxAGENTS.mdAGENTS.md and confirm scope and constraints.Workflow through the Ralph Loop until outcomes are acceptable.Required Result Format with concrete artifacts and verification evidence.Releasedotnet-counters for live health signalsdotnet-trace for CPU, exception, contention, GC, and startup tracesdotnet-gcdump for managed heap inspection when memory shape mattersdnx one-shot execution so the repo commands stay stable and reproducible.dotnet-trace collect.dotnet-counters monitor on System.Runtime.dotnet-gcdump carefully and document the pause risk.If official .NET profiling tools are not available yet:
dotnet --infodotnet tool list --globalcommand -v dotnet-counterscommand -v dotnet-tracecommand -v dotnet-gcdumpdotnet tool install --global dotnet-countersdotnet tool install --global dotnet-tracedotnet tool install --global dotnet-gcdumpdotnet-counters, dotnet-trace, and dotnet-gcdumpdotnet-counters --versiondotnet-trace --versiondotnet-gcdump --versionAGENTS.md, for example:dotnet-counters monitor --process-id PID --counters System.Runtimedotnet-trace collect --process-id PID --profile dotnet-common,dotnet-sampled-thread-time -o trace.nettracedotnet-gcdump collect --process-id PID --output heap.gcdumpstatus: configured or status: improved.status: not_applicable.dotnet-gcdump is usedUse the Ralph Loop for every task, including docs, architecture, testing, and tooling work.
status: not_applicable with explicit reason and fallback path.status: complete | clean | improved | configured | not_applicable | blockedplan: concise plan and current iteration stepactions_taken: concrete changes madevalidation_skills: final skills run, or skipped with reasonsverification: commands, checks, or review evidence summaryremaining: top unresolved items or noneFor setup-only requests with no execution, return status: configured and exact next commands.
Other measured skills in the registry, with their headline benchmark lift.