Skills Development Avalonia Zafiro Development

Avalonia Zafiro Development

v20261106
avalonia-zafiro-development
This skill outlines mandatory conventions and behavioral rules for developing cross-platform applications using Avalonia UI and the Zafiro toolkit. It emphasizes a functional-reactive MVVM approach, explicit error handling with Result types, and cross-platform independence. Developers should prioritize Zafiro abstractions, use DynamicData pipelines, and follow strict naming standards to ensure maintainability and correctness in UI development.
Get Skill
286 downloads
Overview

Avalonia Zafiro Development

This skill defines the mandatory conventions and behavioral rules for developing cross-platform applications with Avalonia UI and the Zafiro toolkit. These rules prioritize maintainability, correctness, and a functional-reactive approach.

Core Pillars

  1. Functional-Reactive MVVM: Pure MVVM logic using DynamicData and ReactiveUI.
  2. Safety & Predictability: Explicit error handling with Result types and avoidance of exceptions for flow control.
  3. Cross-Platform Excellence: Strictly Avalonia-independent ViewModels and composition-over-inheritance.
  4. Zafiro First: Leverage existing Zafiro abstractions and helpers to avoid redundancy.

Guides

Procedure Before Writing Code

  1. Search First: Search the codebase for similar implementations or existing Zafiro helpers.
  2. Reusable Extensions: If a helper is missing, propose a new reusable extension method instead of inlining complex logic.
  3. Reactive Pipelines: Ensure DynamicData operators are used instead of plain Rx where applicable.
Info
Category Development
Name avalonia-zafiro-development
Version v20261106
Size 5.07KB
Updated At 2026-11-07
Language