create-service-rest-maui

Scaffold REST services for MAUI projects with models, endpoints, and DI registration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates scaffolding of REST services in MAUI projects, generating models, interfaces, implementations, and DI registrations to accelerate backend integration.

Core Features & Use Cases

  • Model generation: creates a new entity model inheriting from BaseEntity with XML docs.
  • Endpoint configuration: updates ApiConfig with a constant endpoint for the entity.
  • Service scaffolding: provides generic or custom variants for CRUD or custom API formats.
  • DI wiring: registers the service in MauiProgram.cs for dependency injection.

Quick Start

Provide the entity name, endpoint path, and variant, and the tool will generate the model, service interfaces, implementations, and DI registration.

Frequently Asked Questions about create-service-rest-maui

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

FAQPage Schema
How do I scaffold REST services for a .NET MAUI project?

To scaffold REST services for .NET MAUI, provide the entity name, endpoint path, and variant to generate models, service interfaces, implementations, and dependency injection registrations automatically.

What is the best way to generate CRUD service wrappers in MAUI?

Generating CRUD service wrappers in MAUI is handled by creating a BaseService-based variant that includes models, endpoints, and service implementations aligned with existing project conventions.

How do I register scaffolded REST services for dependency injection in MAUI?

Registering scaffolded REST services for dependency injection in MAUI is done automatically by wiring the generated service interfaces and implementations into MauiProgram.cs during the scaffolding process.

Do I need specific folder structures to generate REST API models in MAUI?

Generating REST API models in MAUI requires existing Models and Services folders, and enforces that ApiConfig endpoints are present to align generated code with project conventions.

Can I create custom API wrappers instead of generic CRUD services in MAUI?

Creating custom API wrappers instead of generic CRUD services in MAUI is supported by generating a custom variant that provides appropriate error handling for non-standard API formats.

When should I use a custom API wrapper over a generic CRUD service in MAUI?

Use a custom API wrapper over a generic CRUD service in MAUI when your API format deviates from standard operations, requiring tailored error handling instead of the BaseService-based CRUD path.