viewmodel-generator

Community

Scaffold robust MVVM ViewModels for WPF.

Authorkongliuli
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ViewModel boilerplate in C# MVVM WPF projects is repetitive and error-prone. This skill automates the boilerplate scaffolding to ensure consistent INotifyPropertyChanged implementation, ObservableCollection management, and command wiring across ViewModels.

Core Features & Use Cases

  • Automated INotifyPropertyChanged: standard base class and property change notifications.
  • ObservableCollection handling: patterns for managing collections and selection.
  • RelayCommand generation: support for both parameterless and parameterized commands with proper CanExecute wiring.
  • Property change propagation: mechanisms to refresh dependent properties when others change.
  • Reusable templates: ready-to-use ViewModelBase and sample patterns for common UI scenarios.

Quick Start

Create a minimal ViewModel by wiring a ViewModelBase, a sample ProductViewModel with Name and Price, and a Save/Cancel RelayCommand to illustrate the patterns.

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: viewmodel-generator
Download link: https://github.com/kongliuli/VibeSkills/archive/main.zip#viewmodel-generator

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 223,000+ vetted skills library on demand.