add-blazor-module

Community

Scaffold a self-contained Blazor module

Authorgeobarteam
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a repeatable, opinionated scaffold and checklist for adding a new self-contained UI feature to a Blazor WebAssembly Presentation app so teams avoid inconsistent structure, missing DI registration, and scattered business logic.

Core Features & Use Cases

  • Module scaffolding: Creates a feature folder with Models, Pages, Services, and ViewModels following MVVM and colocated file organization.
  • ViewModel-first pattern: Enforces ViewModel interfaces, state change events, centralized error handling, and minimal code-behind.
  • Deployment-ready conventions: Guides DI registration, MudBlazor UI patterns, authorization attributes, form validation, and compile verification.
  • Use Case: Add a new CRUD-backed admin feature (e.g., Customer module) in a BackOffice Presentation app with consistent testing and DI wiring.

Quick Start

Scaffold a new Customer module under src/Host/MyApp/Presentation with Model, Pages, Services, and ViewModels following MVVM, add DI registrations for services and viewmodels, and run dotnet build to verify.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-blazor-module
Download link: https://github.com/geobarteam/github-copilot-configs/archive/main.zip#add-blazor-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.