Skip to content
sickn33 avatar

Avalonia Viewmodels Zafiro

Reactive ViewModel and wizard patterns for Avalonia using Zafiro and ReactiveUI, covering commands, navigation, and composition.

CCM score
52 of 100
skills.sh installs
538
GitHub stars
50.5K
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers ViewModels and commands, multi-step wizards with SlimWizard, section navigation, and View-ViewModel composition with DI
  • Includes guidance on IEnhancedCommand progress reporting, [Section] attribute discovery, and DataTypeViewLocator mapping
  • Enforces handling of wizard cancellation and failure before side effects, and disposal of the service provider and subscriptions on shutdown
  • Designed for Avalonia developers building desktop or cross-platform apps who want declarative, reactive ViewModel structure

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill avalonia-viewmodels-zafiro -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Avalonia ViewModels with Zafiro

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.

Core Principles

  1. Functional-Reactive Approach: Use ReactiveUI (ReactiveObject, WhenAnyValue, etc.) to handle state and logic.
  2. Enhanced Commands: Utilize IEnhancedCommand for better command management, including progress reporting and name/text attributes.
  3. Wizard Pattern: Implement complex flows using SlimWizard and WizardBuilder for a declarative and maintainable approach.
  4. Automatic Section Discovery: Use the [Section] attribute to register and discover UI sections automatically.
  5. Clean Composition: map ViewModels to Views using DataTypeViewLocator and manage dependencies in the CompositionRoot.

Guides

Details

Repository
github.com/sickn33/agentic-awesome-skills
Categories
.NET & C#, Frontend & UI Code
First seen
Jun 3, 2026

More from sickn33/agentic-awesome-skills

All 682

Similar to Avalonia Viewmodels Zafiro

More .NET & C#