aot-guru

Diagnose Native AOT and trimming issues for morphir-dotnet builds.

14|12|Updated Mar 30, 2020
One-click install
npx skills add https://github.com/finos/morphir-dotnet --skill aot-guru
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aot-guru
Source: https://github.com/finos/morphir-dotnet/tree/main/.claude/skills/aot-guru
Command: npx skills add https://github.com/finos/morphir-dotnet --skill aot-guru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The AOT Guru is a specialized optimization and deployment expert for morphir-dotnet, focusing on creating self-contained, trimmed single-file binaries while guiding teams toward Native AOT readiness. It provides diagnostics, size optimization strategies, and a living knowledge base to streamline build and release workflows.

Core Features & Use Cases

  • Single-File Trimmed Executables: Produce optimized, trimmed, self-contained deployments that work cross‑platform.
  • AOT Readiness Guidance: Promote patterns and practices that enable future Native AOT support.
  • Trimming Diagnostics: Detect common trimming issues (eg IL2026, IL2087) and produce actionable guidance.
  • Size Optimization: Analyze dependencies and configurations to shrink binary size while preserving functionality.
  • Knowledge Base & Documentation: Maintain templates, guides, and issue databases for continuous improvement.
  • Testing Automation: Provide scripts and workflows to validate trimmed and AOT builds (BDD scenarios).
  • Continuous Improvement: Learn from issues, update guidance, and automate diagnostics over time.

Quick Start

Mention the AOT Guru in your request to receive diagnostics, size optimization guidance, and AOT-readiness planning for morphir-dotnet.

Frequently Asked Questions about aot-guru

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Native AOT trimming warnings like IL2026 and IL2087?▼

Trimming warnings like IL2026 and IL2087 are resolved by running diagnostics that detect incompatible patterns and produce actionable guidance to refactor code for safe trimming and AOT readiness.

How do I create a trimmed self-contained single-file executable for morphir-dotnet?▼

You create a trimmed single-file executable by applying size optimization strategies that analyze dependencies and configurations, producing cross-platform self-contained binaries with minimized footprint.

What is the difference between trimmed binaries and full Native AOT readiness?▼

Trimmed binaries reduce the deployment size of JIT-compiled apps, while Native AOT readiness requires promoting specific patterns and practices to compile entirely ahead-of-time for future support.

Can I automate testing to validate my trimmed and Native AOT builds?▼

Yes, you can validate builds using provided scripts and BDD testing workflows designed to automate the verification of trimmed and AOT deployments for continuous integration.

Why is my morphir-dotnet binary still large after enabling trimming?▼

A large binary after trimming indicates unoptimized dependencies or configurations, requiring a size optimization analysis to shrink the binary while preserving functionality.

Related Skills