criar-pagina-maui

Generate a MAUI page scaffold with MVVM structure, Shell route, and DI registration.

Updated Nov 5, 2025
One-click install
npx skills add https://github.com/mkazimoto/AppMAUICopilot --skill criar-pagina-maui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: criar-pagina-maui
Source: https://github.com/mkazimoto/AppMAUICopilot/tree/main/.github/skills/criar-pagina-maui
Command: npx skills add https://github.com/mkazimoto/AppMAUICopilot --skill criar-pagina-maui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a ready-to-use MAUI page scaffold with MVVM structure, including View, code-behind, and ViewModel, enforcing consistent naming, Shell routing, DI setup, and basic validation hooks.

Core Features & Use Cases

  • MVVM-compliant scaffold: Creates Views/<Page>.xaml, Views/<Page>.xaml.cs, and ViewModels/<Page>ViewModel.cs with binding-ready structure.
  • Navigation and DI readiness: Optional Shell route registration and dependency injection setup to integrate seamlessly in MAUI projects.
  • Consistent project organization: Enforces naming conventions and file placement to simplify maintenance across teams.

Quick Start

Prompt the skill with the page name and optional ViewModel name to generate the full MAUI page scaffold.

Frequently Asked Questions about criar-pagina-maui

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

FAQPage Schema
How do I generate a MAUI page with MVVM structure?

To generate a MAUI page with MVVM structure, prompt the skill with a page name to automatically create the View, code-behind, and ViewModel. This scaffold produces binding-ready XAML files and a ViewModel with consistent naming conventions for immediate use in .NET MAUI projects.

What's the best way to set up Shell navigation and dependency injection for a new MAUI page?

Setting up Shell navigation and dependency injection for a new MAUI page is handled automatically during scaffolding. The generated structure configures optional Shell route registration and DI setup, ensuring the new page integrates seamlessly into the existing MAUI navigation flow.

Can I include input validation hooks when scaffolding a .NET MAUI ViewModel?

Yes, you can include input validation hooks when scaffolding a .NET MAUI ViewModel. The generated ViewModel structure comes equipped with basic validation hooks, allowing developers to immediately implement input validation logic within the MVVM pattern.

Does the MAUI MVVM scaffold enforce consistent file placement across teams?

Yes, the MAUI MVVM scaffold enforces consistent file placement across teams. It automatically generates Views and ViewModels in their respective directories, applying strict naming conventions and project organization to simplify maintenance in collaborative environments.

What files are created when scaffolding a MAUI page for MVVM?

Scaffolding a MAUI page for MVVM creates three specific files: Views/<Page>.xaml for the UI, Views/<Page>.xaml.cs for the code-behind, and ViewModels/<Page>ViewModel.cs for the binding logic. An optional Shell route configuration is also generated.