gum-tool-viewmodels
CommunityMaster Gum ViewModel conventions for clear binding
Authorvchelaru
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developers using the Gum UI tool often lack clear guidance on how to structure ViewModel classes, define derived properties, and manage visibility, leading to stale UI updates and difficult maintenance.
Core Features & Use Cases
- Base classes: ViewModel and DialogViewModel provide property storage, change notification, and dialog support.
- Property patterns: Use Get and Set methods for stored properties and apply the DependsOn attribute for derived properties to ensure automatic UI refresh.
- Visibility handling: Expose Visibility properties directly on the ViewModel instead of using value converters, simplifying XAML binding and improving testability.
Quick Start
Load the gum-tool-viewmodels skill and ask for guidance on defining a DependsOn visibility property.
Dependency Matrix
Required Modules
None requiredComponents
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: gum-tool-viewmodels Download link: https://github.com/vchelaru/Gum/archive/main.zip#gum-tool-viewmodels Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.