Help us improve
Share bugs, ideas, or general feedback.
From vanguard-frontier-agentic
Reviews .NET Native AOT and trimming readiness by checking reflection, serialization, DI hazards, trim warnings, and benchmarks. Performance claims are downgraded unless backed by measured artifacts.
npx claudepluginhub raishin/vanguard-frontier-agentic --plugin vanguard-frontier-agenticHow this skill is triggered — by the user, by Claude, or both
Slash command
/vanguard-frontier-agentic:dotnet-performance-aot-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
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 generat...
Reviews C# code for runtime correctness: nullable reference types, async/await, cancellation, disposal, allocations, LINQ misuse, and Native AOT/trimming hazards. Catches deadlocks, swallowed exceptions, and thread-pool starvation.
Generating or modifying .NET code. Common agent mistakes: async, NuGet, deprecated APIs, DI.
Profiles .NET applications for CPU, memory, lock contention, exceptions, heap analysis, and JIT inlining. Use for performance bottlenecks, memory leaks, high CPU, or slow code.
Share bugs, ideas, or general feedback.
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.
.csproj with PublishAot or PublishTrimmed enabled, a BenchmarkDotNet result file, trim-warning (IL2xxx) build output, or hot-path source.PublishAot) enabled on a reflection-heavy serializer or DI path with no source generator as a build that breaks at runtime once trimmed.inference and flag it. "It is faster" with no measurement is not evidence.UnconditionalSuppressMessage without a documented justification, rather than resolved, as a silenced correctness hazard.DynamicallyAccessedMembers annotations under AOT or trimming as a member silently trimmed away.Task.Run on the request thread) as wasted scheduling and thread-pool pressure.confirmed (benchmark/source provided), inference (no benchmark), assumption (artifact absent), or unknown.Load these only when needed:
Return, at minimum:
PublishAot, source generators, startup/memory measurement)DynamicallyAccessedMembers annotations)