maui-architecture

Implement .NET MAUI apps with MVVM, SQLite, and dependency injection templates.

1|Updated Jun 3, 2025
One-click install
npx skills add https://github.com/emaginebr/emagine-deploy --skill maui-architecture-emaginebr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maui-architecture
Source: https://github.com/emaginebr/emagine-deploy/tree/main/.claude/skills/maui-architecture
Command: npx skills add https://github.com/emaginebr/emagine-deploy --skill maui-architecture-emaginebr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers often struggle with organizing the MAUI presentation layer and infrastructure, leading to duplicated code and inconsistent practices.

Core Features & Use Cases

  • Layered Guidance: Provides a clear framework for implementing MVVM, SQLite integration, and dependency injection in MAUI apps.
  • Code Templates: Offers sample code snippets for ViewModels, Pages, and DI registration to accelerate development.
  • Use Case: Use this skill when creating new MAUI entities that require consistent MVVM patterns, database setup, and navigation structure, ensuring cohesive architecture.

Quick Start

Follow this guide to set up MAUI layers for a new entity, integrating ViewModels, Pages, and database mappings.

Frequently Asked Questions about maui-architecture

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

FAQPage Schema
How do I structure a .NET MAUI app with MVVM and dependency injection?

Structure a .NET MAUI app by separating ViewModels and Pages while registering services through dependency injection. This ensures modular implementation with clear separation of concerns and consistent MVVM architecture.

What's the best way to set up navigation in a multi-screen MAUI application?

Set up MAUI navigation by following structured architecture standards that define navigation routes within the presentation layer. This ensures consistent multi-screen transitions and proper ViewModel instantiation for mobile or desktop apps.

How do I integrate SQLite for local data modeling in a MAUI project?

Integrate SQLite in MAUI by following provided architecture standards for database setup and data mapping within the infrastructure layer. This ensures proper data modeling alongside MVVM patterns and dependency registration.

Can I use these MAUI architecture templates for both mobile and desktop apps?

Yes, these MAUI architecture templates apply to developers building multi-screen mobile or desktop apps. The standards ensure consistent MVVM patterns, dependency injection, and navigation structure across both platforms.

Why does my MAUI presentation layer have duplicated code and inconsistent practices?

Duplicated MAUI code often results from lacking structured architecture standards for the presentation layer and infrastructure. Applying consistent MVVM patterns, code templates, and dependency registration resolves these inconsistencies.