managedcode/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 0.0.0-main.1794330588.g268856b · from managedcode/dotnet-skills
Install
npx yarkr-cli add skill:managedcode/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:managedcode/dotnet-skills/dotnet-aot-compat
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/dotnet-aot-compatOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:managedcode/dotnet-skills/dotnet-aot-compatWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.