avalonia

Provide verified Avalonia UI guidance on controls, styling, and platform differences.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/nouredeen06/Clario --skill avalonia-nouredeen06
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: avalonia
Source: https://github.com/nouredeen06/Clario/tree/main/.claude/skills/avalonia
Command: npx skills add https://github.com/nouredeen06/Clario --skill avalonia-nouredeen06

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers working with Avalonia avoid translating WPF patterns into Avalonia and ensures access to accurate, verified knowledge about Avalonia controls, styling, theming, bindings, and platform differences.

Core Features & Use Cases

  • Verifies control properties and template parts using official docs, GitHub sources, and Avalonia samples to prevent common mistakes.
  • Guides on styling, theming, pseudo-classes, and DataTemplates to implement consistent UI across platforms.
  • Assists with cross-platform considerations (desktop vs mobile) and AXAML/code-behind patterns for reliable UI development.

Quick Start

Ask a specific Avalonia question to receive accurate, verified guidance.

Frequently Asked Questions about avalonia

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply styling and theming in Avalonia UI without using WPF patterns?

Avalonia styling uses AXAML ControlThemes and pseudo-classes rather than WPF StaticResources. You receive verified guidance on properties, template parts, and theming to ensure consistent cross-platform UI without relying on memory-based WPF assumptions.

What is the correct way to bind data templates across desktop and mobile in Avalonia?

Data templates in Avalonia require specific bindings syntax for cross-platform desktop and mobile contexts. This Skill verifies properties and template parts against official samples to ensure your data templates and bindings render correctly across all target platforms.

Does Avalonia support the same controls and template parts as WPF?

Avalonia controls and template parts differ from WPF despite visual similarities. This Skill verifies exact control properties and pseudo-classes using official docs and GitHub sources, preventing common mistakes caused by translating WPF patterns directly into Avalonia.

Why does my Avalonia control styling not work when migrating from WPF?

Avalonia styling failures often stem from incorrect WPF-centric assumptions about pseudo-classes and ControlThemes. This Skill provides verified AXAML patterns and property usage from official sources to correct styling implementation and ensure reliable cross-platform rendering.

Can I use standard AXAML code-behind patterns for cross-platform Avalonia development?

Avalonia supports AXAML and code-behind patterns tailored for cross-platform desktop and mobile environments. This Skill guides you through platform differences and verified control usage to ensure your UI implementation remains reliable across all supported platforms.