[WIP] Add diagnosing-dotnet-aot skill — Native AOT diagnostics and fixes - #12
Closed
artl93 wants to merge 3 commits into
Closed
[WIP] Add diagnosing-dotnet-aot skill — Native AOT diagnostics and fixes#12artl93 wants to merge 3 commits into
artl93 wants to merge 3 commits into
Conversation
Skill: dotnet-aot-compatibility - Signal-based progressive disclosure with 6 reference files - 13 critical AOT failure patterns (Reflection.Emit, dynamic loading, etc.) - Source generation migration patterns (STJ, config, logging, regex) - DynamicallyAccessedMembers annotation propagation workflow - Library compatibility matrix current with .NET 10 - Project setup, warning codes, and CI validation patterns Agent: dotnet-aot-optimizer - Triggers on AOT/trimming warnings, PublishAot questions, library compat - References dotnet-aot-compatibility skill for progressive disclosure
- Rename skill to gerund form: dotnet-aot-compatibility → diagnosing-dotnet-aot - Add table of contents to all 6 reference files (all >100 lines) - Remove time-sensitive language (dates, years) - Trim verbose explanations Claude already knows - Reduce SKILL.md from 135 to 117 lines - Reduce agent file from 78 to 52 lines - Update agent to reference new skill name
- Add 'Why This Skill Exists' table showing 7 specific knowledge gaps where base LLMs consistently give wrong answers - Create tests/ with 6 evaluation test cases, each targeting a high-delta behavior: #pragma suppression, MakeGenericType ref/value distinction, Expression.Compile silent perf cliff, EventSource false positive, annotation chain propagation, IsAotCompatible cascade - Each test includes: prompt, code asset, success criteria, rationale
jeffschwMSFT
requested changes
Feb 21, 2026
jeffschwMSFT
left a comment
Member
There was a problem hiding this comment.
this skill needs to be rebased into the new org structure and run through the skill validator
Member
Author
|
@jeffschwMSFT - I'm closing mine out - this is out of date and needs more attention. |
3 tasks
moesac0970
pushed a commit
to moesac0970/skills
that referenced
this pull request
Jul 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a skill for diagnosing and fixing .NET Native AOT and trimming compatibility issues. Resolves #8.
What This Skill Adds Beyond Base LLM Knowledge
Base models already know general AOT concepts. This skill targets 7 specific knowledge gaps where LLMs consistently give wrong answers:
#pragma warning disablefor trim warnings#pragmais not preserved in IL — must use[UnconditionalSuppressMessage]MakeGenericTypeas dangerousExpression.Compile()perf cliffWriteEventIL2026IsAotCompatible=truecascadesIsTrimmable+ 3 analyzers[DynamicallyAccessedMembers]through entire call chainStructure
Design Decisions
diagnosing-dotnet-aotper Claude agent skills best practicesBest Practices Applied
Following Claude agent skills best practices: