optimize-dotnet-code
Installation
SKILL.md
Optimize .NET Code
Run this workflow only when the user explicitly invokes this skill by name. A related keyword or an ordinary implementation request is not an invocation.
Define the workload and limiting metric: startup, throughput, tail latency, allocation, retained memory, or resource use. Record the selected SDK, target framework, runtime, architecture, deployment mode and effective build settings. Preserve those contracts unless changing one is part of the requested experiment.
Read [measurement and runtime][measurement] for diagnostics, benchmarks and build evaluation. Read [memory and interop][memory] when the measured path involves buffers, collection internals, pinning, unsafe code or native boundaries.