What problem does it solve?
This Skill prevents generation or use of deprecated, obsolete, or removed .NET MAUI APIs by analyzing project target frameworks and library versions to avoid broken builds and migration errors.
Core Features & Use Cases
- Target framework detection: Reads .csproj TargetFramework/TargetFrameworks to determine the applicable .NET/MAUI version.
- Library version analysis: Scans PackageReference entries to identify CommunityToolkit, MauiReactor, Blazor Hybrid, and other package versions that affect API availability.
- Deprecated API mapping: Provides a curated table of common deprecated or removed APIs (for example ListView → CollectionView, Device.OpenUri → Launcher.OpenAsync) and recommended replacements across XAML, C#, Blazor Hybrid, and MauiReactor.
- Generation guardrail: Enforces decision rules such as preferring Async methods, avoiding Xamarin. and Compatibility namespaces, and validating dispatcher and safe-area APIs during code generation or review.
- Use case: Use this skill when reviewing or generating MAUI, Blazor Hybrid, or MauiReactor code to ensure compatibility with the project's target framework and package versions.
Quick Start
Ask the assistant to scan the project's .csproj and PackageReference entries and report deprecated MAUI APIs with recommended replacements.