dotnet/skills/dotnet-aot-compat
Make .NET projects compatible with Native AOT and trimming by systematically resolving IL trim/AOT analyzer warnings. USE FOR: making projects AOT-compatible, fixing trimming warnings, resolving IL warnings (IL2026, IL2070, IL2067, IL2072, IL3050), adding DynamicallyAccessedMembers annotations, enabling IsAotCompatible. DO NOT USE FOR: publishing native AOT binaries, optimizing binary size, replacing reflection-heavy libraries with alternatives. INVOKES: no tools — pure knowledge skill.
Agent skill · version 1.0.1-main.1794412242.g96c3d68 · from dotnet/skills
Install
npx yarkr-cli add skill:dotnet/skills/dotnet-aot-compatWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:dotnet/skills/dotnet-aot-compat
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:dotnet/skills/dotnet-aot-compatOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:dotnet/skills/dotnet-aot-compatWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.