Skip to content
Skillpedia
Interfaces (UI/UX)48k · #3847

avalonia-viewmodels-zafiro

What it does

This tool helps organize and create parts of desktop applications (called ViewModels and Wizards) using recommended patterns. It simplifies building multi-step workflows and in-app navigation.

When to use it

  • ✓When building a new graphical application.
  • ✓When you need a multi-step workflow (like an installation wizard).
  • ✓To better organize your application's code.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/avalonia-viewmodels-zafiro/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/avalonia-viewmodels-zafiro/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“How can I create an installation wizard for my application using recommended patterns?”

5 new skills a week. 1 minute to read.

How it works

It uses libraries like ReactiveUI and Zafiro to define how user data and actions connect to the interface. This allows for smarter commands and organized step-by-step workflows.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

Example Reference

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.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
FAQ

What is a ViewModel?

It's a piece of code that manages the data and logic for a user interface screen or component.

What is a Wizard?

It's a sequence of screens or steps that guide a user through a process, like setting up software.

What is ReactiveUI?

It's a library that helps create more responsive and manageable user interfaces using a reactive programming style.

Details

Original description by the author

Optimal ViewModel and Wizard creation patterns for Avalonia using Zafiro and ReactiveUI.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#3847
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills