microsoft/managing-winforms-mvvm
> Implements MVVM pattern in WinForms applications (.NET 8+) with ViewModels, Commands, and DataContext. Use when user explicitly requests MVVM implementation, setting up ViewModel with INotifyPropertyChanged or ObservableObject, implementing ICommand or RelayCommand, wiring Form.DataContext, binding controls to ViewModel properties, creating Commands for button clicks, or separating business logic from UI code. Also triggers for "WinForms MVVM", "ViewModel in WinForms", "INotifyPropertyChanged", "DataContext binding", "Command pattern WinForms", "ObservableObject", "RelayCommand", and "testable WinForms". Also use when fixing automatic application during version upgrades (opt-in only).
npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill managing-winforms-mvvm
MVVM (Model-View-ViewModel) pattern in WinForms (.NET 8+) enables separation of business logic from UI, creating applications that are testable, maintainable, and portable across UI frameworks.
Use this skill when:
Command Property)ICommand with RelayCommand on ViewModel sideObservableCollection in WinForms contextsRead Detailed guide for comprehensive patterns, examples, and troubleshooting.
Take microsoft/managing-winforms-mvvm from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.