Avalonia Zafiro UI Layout

•
1
•

Optimizes Avalonia UI development by applying Zafiro framework patterns for clean, maintainable, and semantic XAML layouts.

This skill empowers Claude to build modern, high-quality Avalonia UI applications by adhering to Zafiro.Avalonia best practices. It focuses on reducing XAML complexity through semantic containers, shared styling systems, and behavior-based interactions. By discouraging anti-patterns like deep grid nesting and hardcoded literals, it ensures that your desktop application interfaces are scalable, performant, and easy to maintain over time.

主要功能

01Implementation of semantic containers like HeaderedContainer and EdgePanel
02Advanced icon styling using IconExtension and IconOptions
031 GitHub stars
04Reduction of XAML redundancy through shared styles and DynamicResources
05Best practices for flattening layouts and avoiding deep nesting
06Transitioning from complex Converters to Interaction Behaviors

使用场景

01Architecting modern .NET desktop user interfaces with a clean code approach
02Standardizing styles and themes across complex Avalonia applications
03Refactoring verbose XAML layouts into more maintainable, modular components