xaml-csharp-development-skill-for-avalonia

XAML and C# Cross-Platform Development Skill (for Avalonia)

Comprehensive Codex skill for building, reviewing, migrating, and optimizing Avalonia applications with modern XAML/C# patterns, compiled bindings, and AOT-friendly architecture.

License

This repository is licensed under the MIT License. See LICENSE for the full terms.

Skill Identity

Avalonia Version Coverage

This skill is currently pinned to Avalonia 11.3.12.

As of February 15, 2026, this repository is maintained against the 11.3.12 release line.

Scope

This skill covers app-development-facing Avalonia topics, including:

It includes both curated guidance and a generated API index for signature lookup.

Out of Scope

This skill is not intended to be:

When internals are mentioned, it is usually for diagnostics, constraints, or behavioral explanation.

Repository Structure

How to Use the Skill

  1. Start from SKILL.md.
  2. Follow the workflow sections to load only the references needed for the current task.
  3. Use references/compendium.md for fast navigation.
  4. Use references/api-index-generated.md when exact public signatures are required.

XAML and API Coverage Notes

Recent additions include focused references for:

These are designed to reduce accidental drift to unreleased APIs.

Regenerating API Index (Pinned)

python3 scripts/generate_api_index.py \
  --repo <path-to-avalonia-repo> \
  --git-ref 11.3.12 \
  --output references/api-index-generated.md

Recommended checks after regeneration:

Maintenance Checklist for New Avalonia Release

  1. Switch target release tag (for example 11.3.x -> 11.4.x).
  2. Regenerate references/api-index-generated.md from the new tag.
  3. Diff critical APIs referenced by docs.
  4. Update affected reference files.
  5. Update:

Quality Bar

Skill guidance should remain: