Dotnet performance aot review

From Raishin/vanguard-frontier-agentic · View interactive version

Dotnet performance aot review is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Use this skill when reviewing .NET performance posture, Native AOT, and trimming readiness — reflection and serialization hazards, hot-path allocations, async overhead, caching, trim warnings, and benchmark discipline. Trigger when a user provides a .csproj with PublishAot or PublishTrimmed enabled,

How to use this skill

Skill file

.NET Performance, AOT & Trimming Review

Purpose

This skill runs an evidence-gated review of .NET performance posture, Native AOT, and trimming readiness. A performance change is only real when a measurement proves it, and an app is only AOT-ready when reflection, serialization, and DI paths survive trimming without runtime breakage. The review catches reflection-heavy serializers and DI paths enabled under PublishAot with no source generator, trim warnings (IL2xxx) suppressed instead of resolved, allocations and logging on measured hot paths, performance claims with no baseline or no benchmark, missing startup-time and memory-footprint measurements for AOT readiness claims, reflection without DynamicallyAccessedMembers annotations, async overhead misuse, and unbounded caching. Its central discipline: any performance claim presented without a BenchmarkDotNet (or equivalent measured) artifact is downgraded to inference and flagged. It complements the C#/runtime skill, which owns general C# correctness; this skill owns performance, AOT, and trimming specifically.

Trigger conditions

Lean operating rules

References

Load these only when needed:

Response minimum

Return, at minimum:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.