dotnet-wpf

Generate WPF MVVM ViewModels with commands and property notifications in C# and XAML.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/pingqLIN/skill-0 --skill dotnet-wpf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-wpf
Source: https://github.com/pingqLIN/skill-0/tree/main/converted-skills/dotnet-wpf
Command: npx skills add https://github.com/pingqLIN/skill-0 --skill dotnet-wpf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill assists developers in creating robust, maintainable, and performant WPF desktop applications by enforcing best practices and generating common boilerplate code.

Core Features & Use Cases

  • MVVM Enforcement: Guides the separation of concerns between View, ViewModel, and Model.
  • Boilerplate Generation: Creates INotifyPropertyChanged implementations and ICommand patterns (like RelayCommand).
  • Performance Optimization: Recommends techniques for UI responsiveness and efficient data handling.
  • Use Case: Quickly scaffold a new WPF feature by asking the AI to generate a ViewModel for user authentication, complete with properties and commands, and a corresponding basic XAML View.

Quick Start

Generate a ViewModel for a login screen with properties for username and password, and a LoginCommand.

Frequently Asked Questions about dotnet-wpf

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

FAQPage Schema
How do I implement the MVVM pattern in a WPF application?

To implement the MVVM pattern in WPF, you separate your application into View, ViewModel, and Model layers. This Skill enforces this separation of concerns and generates the necessary boilerplate code like INotifyPropertyChanged and ICommand implementations.

What's the best way to generate INotifyPropertyChanged boilerplate in C# WPF?

The best way to generate INotifyPropertyChanged boilerplate in C# WPF is using source generators like CommunityToolkit.Mvvm. This Skill leverages CommunityToolkit.Mvvm or custom implementations to create property notifications and RelayCommand patterns automatically.

Can I use this WPF MVVM Skill with .NET 8.0?

Yes, you can use this WPF MVVM Skill with .NET 8.0. It explicitly supports .NET 8.0+ for building high-quality, maintainable desktop applications and leverages modern .NET performance optimization techniques for UI responsiveness.

How do I optimize WPF UI responsiveness for data binding?

To optimize WPF UI responsiveness for data binding, apply best practices for efficient data handling and UI virtualization. This Skill recommends specific performance optimization techniques to keep your desktop application responsive during heavy data operations.

How do I create a ViewModel for a WPF login screen?

To create a ViewModel for a WPF login screen, define properties for username and password alongside a LoginCommand. This Skill quickly scaffolds these ViewModels complete with required commands and generates a corresponding basic XAML View.