Dotnet AOT Compat skill: what it does and how to install it
Makes .NET projects compatible with Native AOT and trimming by resolving IL analyzer warnings with annotations, refactoring and source-generated JSON.
Summary generated from the skill's documentation.
Install
$ npx skills add dotnet/skills --skill dotnet-aot-compatRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Enables IsAotCompatible, builds the project to collect IL warnings, then fixes them iteratively through DynamicallyAccessedMembers annotations, annotation-preserving refactors and source-generated JSON. It validates all target frameworks and avoids suppressing warnings.
When to use it. For .NET 8 or later projects with trimming or Native AOT compatibility issues, including IL2026, IL2067, IL2070, IL2072 and IL3050. It does not apply to projects targeting only .NET Framework or to publishing Native AOT binaries.
History
Repo stars
5.5kAbout +384 since 9 Jul 2026
Before 1 Oct 2026 the curve is estimated from public event data.
Stars are counted for the whole repository, which holds 18 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 1 Oct 2026 | 5,531 |
| 24 Sept 2026 (estimated) | 5,519 |
| 17 Sept 2026 (estimated) | 5,494 |
| 10 Sept 2026 (estimated) | 5,419 |
| 3 Sept 2026 (estimated) | 5,258 |
| 27 Aug 2026 (estimated) | 5,233 |
| 20 Aug 2026 (estimated) | 5,221 |
| 13 Aug 2026 (estimated) | 5,221 |
| 6 Aug 2026 (estimated) | 5,171 |
| 30 Jul 2026 (estimated) | 5,159 |
| 23 Jul 2026 (estimated) | 5,159 |
| 16 Jul 2026 (estimated) | 5,147 |
| 9 Jul 2026 (estimated) | 5,147 |
Installs
2.6k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Systematic DebuggingMakes the agent find the root cause of a bug, test failure or unexpected behaviour before it proposes a fix.
- Test-Driven DevelopmentMakes the agent write a failing test before any implementation code, for features and bug fixes alike.
- Migrate Radix to Base UIMigrates React projects and components from Radix UI to Base UI, including shadcn projects.