maui-current-apis

Detect deprecated MAUI APIs during code generation across XAML/C#, Blazor Hybrid, and MauiReactor.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Petelids/Sudoku --skill maui-current-apis-petelids
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maui-current-apis
Source: https://github.com/Petelids/Sudoku/tree/main/skills/maui-skills/maui-current-apis
Command: npx skills add https://github.com/Petelids/Sudoku --skill maui-current-apis-petelids

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures AI-assisted and human MAUI code avoids deprecated, obsolete, or removed APIs across XAML/C#, Blazor Hybrid, and MauiReactor, providing a proactive guardrail and guidance.

Core Features & Use Cases

  • Reasoning framework to detect the project TargetFramework and library versions, enabling version-aware API decisions.
  • Comprehensive guidance and a curated table of common deprecated APIs for MAUI 10, with recommended replacements.
  • Validation and guardrails that influence code generation, ensuring safe API usage across MAUI, Blazor Hybrid, and MauiReactor.

Quick Start

Run the guardrail on your MAUI project before generating any MAUI-related code to ensure API currency.

Frequently Asked Questions about maui-current-apis

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

FAQPage Schema
How do I avoid deprecated MAUI APIs when generating code with AI?

To avoid deprecated MAUI APIs during AI code generation, you need a guardrail that inspects your TargetFramework and package references to enforce safe, version-aware replacements. This skill provides that proactive validation.

Does this deprecated API detection work with Blazor Hybrid and MauiReactor?

Yes, deprecated API detection works with Blazor Hybrid and MauiReactor. It inspects package references like Microsoft.AspNetCore.Components.WebView.Maui and Reactor.Maui to apply safe replacements across all XAML/C# project types.

What .NET MAUI package versions are checked for obsolete APIs?

The checked package versions include Microsoft.Maui.Controls, CommunityToolkit.Maui, CommunityToolkit.Mvvm, and Reactor.Maui. It reads these package references to determine the correct deprecated API table for MAUI 10.

When do I need to run MAUI API guardrails during scaffolding?

You should run MAUI API guardrails before generating any MAUI-related code. Running it early during scaffolding or AI-assisted development ensures API currency and prevents obsolete code from being inserted into your project.

Why does my AI assistant generate MAUI code with removed or obsolete APIs?

AI assistants generate removed or obsolete MAUI APIs because they lack version-aware reasoning. Without inspecting the project's TargetFramework and package versions, the AI cannot distinguish between current and deprecated API tables.

What is the best way to update obsolete CommunityToolkit.Mvvm APIs in .NET MAUI?

The best way to update obsolete CommunityToolkit.Mvvm APIs is to apply a curated deprecated API table that maps removed methods to recommended replacements. This skill enforces those safe replacements automatically during code generation.