Design .NET MAUI architecture around DI, MVVM, compiled bindings, Shell navigation, route registration, query parameters, and testable services. USE FOR: MauiProgram service registration, page/ViewModel wiring, Shell GoToAsync, Routing.RegisterRoute, trim-safe IQueryAttributable vs [QueryProperty] for full trimming/NativeAOT, Uri.EscapeDataString/UnescapeDataString query handling, x:DataType on pages/DataTemplates, AddTransient page lifetimes, and avoiding BuildServiceProvider/service locator patterns. DO NOT USE FOR: project layout, API currency, or runtime debug tools.
$npx -y skills add dotnet/maui-labs --skill maui-app-architectureInstalls into the current project.
Run `npx skills use "https://github.com/dotnet/maui-labs" --skill "dotnet/maui-labs/maui-app-architecture"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dotnet/maui-labs" that are relevant to the current task. Run `npx skills add "https://github.com/dotnet/maui-labs"` and select the relevant skills, then follow their instructions.