Registry / aaronontheweb

aaronontheweb/dotnet-skills/aot-trimming

Guidelines for making .NET libraries and applications trimming-safe and Native AOT compatible. Covers the trimming/AOT model, the MSBuild properties that enable analysis (IsTrimmable, IsAotCompatible, PublishTrimmed, PublishAot), the trimming attributes (RequiresUnreferencedCode, RequiresDynamicCode, DynamicallyAccessedMembers, UnconditionalSuppressMessage), IL2xxx/IL3xxx warning codes, and a pattern playbook: source generators and UnsafeAccessor, generated-interception diagnostic suppressors, i

Agent skill · version 1.7.1 · from Aaronontheweb/dotnet-skills

Install

npx yarkr-cli add skill:aaronontheweb/dotnet-skills/aot-trimming

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:aaronontheweb/dotnet-skills/aot-trimming
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:aaronontheweb/dotnet-skills/aot-trimming

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:aaronontheweb/dotnet-skills/aot-trimming

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.