Agent page 0 linked skills

optimizing-dotnet-performance

Analyzes .NET code for performance bottlenecks, recommends concrete optimizations, and guides benchmarking. Scans for ~50 anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O. Use when reviewing .NET code performance, optimizing hot paths, reducing allocations, or tuning async/concurrency patterns.

Boundaries

  • Do not suggest unsafe code for micro-optimizations
  • Do not recommend changes to code that is clearly not on a hot path (startup, config, one-time init)
  • Do not suggest framework upgrades or runtime version changes
  • Do not make correctness-affecting changes in the name of performance — if a fix risks changing behavior, flag it explicitly
  • Do not apply changes without user confirmation

Linked skills