Optimal ViewModel and Wizard creation patterns for Avalonia using Zafiro and ReactiveUI.
Add this skill
npx mdskills install sickn33/avalonia-viewmodels-zafiroHigh-level overview lacks actionable agent instructions and references missing guide files
This skill provides a set of best practices and patterns for creating ViewModels, Wizards, and managing navigation in Avalonia applications, leveraging the power of ReactiveUI and the Zafiro toolkit.
ReactiveObject, WhenAnyValue, etc.) to handle state and logic.IEnhancedCommand for better command management, including progress reporting and name/text attributes.SlimWizard and WizardBuilder for a declarative and maintainable approach.[Section] attribute to register and discover UI sections automatically.DataTypeViewLocator and manage dependencies in the CompositionRoot.SlimWizard.For real-world implementations, refer to the Angor project:
CreateProjectFlowV2.cs: Excellent example of complex Wizard building.HomeViewModel.cs: Simple section ViewModel using functional-reactive commands.Install via CLI
npx mdskills install sickn33/avalonia-viewmodels-zafiroAvalonia Viewmodels Zafiro is a free, open-source AI agent skill. Optimal ViewModel and Wizard creation patterns for Avalonia using Zafiro and ReactiveUI.
Install Avalonia Viewmodels Zafiro with a single command:
npx mdskills install sickn33/avalonia-viewmodels-zafiroThis downloads the skill files into your project and your AI agent picks them up automatically.
Avalonia Viewmodels Zafiro works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.