axaml-syntax-reference

Reference AXAML syntax for Avalonia bindings, styles, and SukiUI patterns.

2|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/Abdssamie/Quater --skill axaml-syntax-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axaml-syntax-reference
Source: https://github.com/Abdssamie/Quater/tree/main/.opencode/skills/axaml-syntax-reference
Command: npx skills add https://github.com/Abdssamie/Quater --skill axaml-syntax-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This AXAML syntax reference provides Avalonia developers with a concise, authoritative guide to AXAML syntax, namespaces, bindings, styles, and SukiUI patterns, reducing guesswork and errors during UI development.

Core Features & Use Cases

  • Root element structure and typical attributes
  • Namespace declarations, including the SukiUI namespace
  • Property syntax (attribute vs element) and common binding patterns
  • Data binding basics, styles, and markup extensions
  • Common pitfalls and best practices for AXAML in Avalonia with SukiUI
  • Use Case: Quickly scaffold new AXAML files for a SukiUI-based view, or fix binding issues in an existing view

Quick Start

Create a new AXAML file with a standard root element, include the suki namespace, set x:Class and x:DataType, and add a simple binding to a ViewModel to verify syntax.

Frequently Asked Questions about axaml-syntax-reference

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

FAQPage Schema
How do I set up root elements and namespace declarations in AXAML?

AXAML property syntax supports both attribute and element syntax forms. You can use element syntax for complex property values and attribute syntax for simple property assignments within Avalonia markup files.

How do I configure data bindings in Avalonia AXAML files?

To configure data bindings in Avalonia AXAML files, set x:DataType on your root element and use binding patterns to connect properties to a ViewModel. This reference covers common binding configurations and markup extensions.

Can I use SukiUI patterns and styles in my Avalonia AXAML views?

Yes, you can use SukiUI patterns and styles in Avalonia AXAML views by including the SukiUI namespace in your root element. This enables SukiUI-specific styling and markup extensions for your UI project.

What are common pitfalls and best practices when writing AXAML markup?

Common AXAML pitfalls include incorrect namespace declarations and malformed binding syntax. Best practices involve verifying x:Class and x:DataType attributes, and following standard property syntax conventions to reduce errors.

What is the best way to scaffold a new AXAML file for a SukiUI-based view?

The best way to scaffold a new AXAML file for a SukiUI-based view is to start with a standard root element, include the SukiUI namespace, set x:Class and x:DataType, and add a simple binding to verify syntax.