Avalonia UI Layout & Zafiro Styling
Streamlines modern Avalonia UI development by implementing Zafiro-based layout patterns, semantic containers, and clean XAML practices.
This skill provides comprehensive guidance for building maintainable, high-performance cross-platform applications using Avalonia UI and the Zafiro.Avalonia library. It enforces best practices such as using semantic containers like EdgePanel and HeaderedContainer to reduce visual tree nesting, leveraging shared styles to eliminate visual redundancy, and utilizing XAML Behaviors to keep ViewModels decoupled. By focusing on clean architectural patterns and avoiding common anti-patterns like hardcoded literals or unnecessary converters, it ensures that Avalonia projects remain scalable, consistent, and easy to maintain.