Skip to content
davila7 avatar

Avalonia Viewmodels Zafiro

Functional-reactive ViewModel and wizard patterns for Avalonia using ReactiveUI and Zafiro.

CCM score
55 of 100
skills.sh installs
184
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers ViewModel creation, multi-step wizards, section-based navigation, and View-ViewModel composition for Avalonia apps
  • Includes four guides (viewmodels, wizards, navigation and sections, composition) plus references to Angor's CreateProjectFlowV2.cs and HomeViewModel.cs
  • Uses IEnhancedCommand for command progress reporting and [Section] attributes for automatic UI section discovery
  • Designed for Avalonia developers who want ReactiveUI state handling wired through SlimWizard, WizardBuilder, and DataTypeViewLocator

Install

$ npx -y skills add davila7/claude-code-templates --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/davila7/claude-code-templates
Categories
.NET & C#, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the avalonia-viewmodels-zafiro skill do?

It provides patterns for building ViewModels, Wizards and navigation in Avalonia applications, using ReactiveUI and the Zafiro toolkit. It covers enhanced commands, multi-step wizards built with SlimWizard and WizardBuilder, and section discovery through the Section attribute.

How do I install the avalonia-viewmodels-zafiro skill?

Run npx -y skills add davila7/claude-code-templates --skill avalonia-viewmodels-zafiro -y in your project. The command installs the skill so your agent can use these Avalonia ViewModel and Wizard patterns.

Where does this skill stand in the .NET & C# category?

It is listed in the .NET & C# category alongside dotnet-backend-patterns, dotnet-best-practices, nuget-manager and microsoft-code-reference. It sets itself apart by focusing on Avalonia ViewModels with ReactiveUI and Zafiro wizards.

Who is the avalonia-viewmodels-zafiro skill for?

It is for developers building Avalonia desktop applications who use ReactiveUI and want multi-step wizards and section-based navigation. The skill points to the Angor project as a real-world reference for CreateProjectFlowV2.cs and HomeViewModel.cs.

More from davila7/claude-code-templates

All 398

Similar to Avalonia Viewmodels Zafiro

More .NET & C#