maui-architecture

Scaffold MAUI presentation-layer components for existing backend entities using Clean Architecture.

1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/landim32/awesome-ai-skills --skill maui-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maui-architecture
Source: https://github.com/landim32/awesome-ai-skills/tree/main/skills/maui-architecture
Command: npx skills add https://github.com/landim32/awesome-ai-skills --skill maui-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The MAUI extension provides a standardized approach to implementing the presentation layer for entities whose backend layers (DTO, Domain, Infra.Interfaces, Infra, Application) already follow the Clean Architecture, ensuring consistent MVVM bindings, DI, and navigation across MAUI apps.

Core Features & Use Cases

  • MAUI Layers Coverage: Introduces MVVM view models, XAML Pages, Shell navigation, and MauiProgram DI wiring tailored to MAUI apps.
  • Architecture Consistency: Reuses the backend patterns defined in dotnet-architecture to keep DTO → ViewModel → Page flow aligned.
  • Use Cases: Use this extension when you need a cohesive MAUI front end for entities already implemented in the backend, including data binding and navigation scaffolding.

Quick Start

Follow the MAUI extension workflow to scaffold the presentation layer for an existing backend entity, wiring ViewModels, Pages, and Shell navigation according to the dotnet-architecture patterns.

Frequently Asked Questions about maui-architecture

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

FAQPage Schema
How do I scaffold a MAUI presentation layer for an existing backend entity?

To scaffold a MAUI presentation layer for an existing backend entity, apply the Clean Architecture pattern to generate ViewModels, XAML Pages, and Shell navigation. This coordinates MVVM bindings and centralizes dependency injection within your MAUI application.

Can I use this MAUI scaffolding approach without pre-existing backend layers?

No, this MAUI scaffolding approach requires pre-existing backend layers including DTO, Domain, Infra.Interfaces, Infra, and Application. It focuses exclusively on generating the presentation layer and connecting it to your established backend architecture.

What is the best way to wire dependency injection and navigation in a MAUI app?

The best way to wire dependency injection and navigation in a MAUI app is by centralizing DI registrations in MauiProgram and using Shell routing between List and Detail pages. This enforces consistent architectural conventions across your application.

How does AutoMapper integrate with MAUI ViewModels in Clean Architecture?

AutoMapper integrates with MAUI ViewModels by binding them directly to DTOs from the backend layer. This maintains architecture consistency by ensuring the DTO to ViewModel to Page flow remains aligned throughout the presentation layer scaffolding process.

Why does my MAUI ViewModel binding fail when using Clean Architecture?

MAUI ViewModel binding fails when conventions are not enforced, such as skipping AutoMapper profiles or misconfiguring DI in MauiProgram. Ensure ViewModels bind directly to DTOs and AppDatabase registrations are correctly wired to resolve presentation layer issues.