avalonia-reviewer

Review Avalonia UI C# and XAML/AXAML code for MVVM and binding performance.

19|4|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/j7-dev/everything-github-copilot --skill avalonia-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: avalonia-reviewer
Source: https://github.com/j7-dev/everything-github-copilot/tree/main/skills/avalonia-reviewer
Command: npx skills add https://github.com/j7-dev/everything-github-copilot --skill avalonia-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert code review for Avalonia UI applications, ensuring adherence to best practices in MVVM, XAML, and cross-platform development, and identifying potential performance or architectural issues.

Core Features & Use Cases

  • MVVM Architecture Review: Validates ViewModel implementation, command usage, and separation of concerns.
  • XAML/AXAML Binding Analysis: Checks for correct use of CompiledBinding, x:DataType, and resource scopes.
  • Avalonia vs. WPF Differences: Identifies common mistakes when migrating from WPF.
  • Performance & Cross-Platform Checks: Flags potential performance bottlenecks and platform-specific issues.
  • Use Case: Review a new feature's Avalonia UI code to ensure it follows MVVM patterns, uses efficient bindings, and is ready for cross-platform deployment.

Quick Start

Review the attached Avalonia UI code for adherence to MVVM and performance best practices.

Frequently Asked Questions about avalonia-reviewer

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

FAQPage Schema
How do I review Avalonia XAML code for MVVM binding performance?

To review Avalonia XAML code for performance, analyze the correct use of CompiledBinding and x:DataType to ensure efficient data binding. This review identifies potential bottlenecks and validates adherence to MVVM separation of concerns for maintainable cross-platform UI.

What are common WPF to Avalonia migration pitfalls in C#?

Common WPF to Avalonia migration pitfalls include incorrect architectural patterns and platform-specific issues. An expert code review identifies these mistakes by analyzing C# and XAML/AXAML code against Avalonia-specific patterns, ensuring a smooth transition and cross-platform compatibility.

Does this code review check cross-platform compatibility for Avalonia UI?

Yes, the code review explicitly checks cross-platform compatibility for Avalonia UI. It flags potential platform-specific issues and performance bottlenecks in your C# and XAML/AXAML code to ensure the application runs correctly across different operating systems.

How do I validate ViewModel implementation and command usage in Avalonia?

To validate ViewModel implementation and command usage, the review checks your C# code for strict adherence to MVVM architecture. It ensures proper separation of concerns and correct command binding, confirming that your Avalonia UI follows maintainable design patterns.

What is the best way to optimize Avalonia AXAML resource scopes?

The best way to optimize Avalonia AXAML resource scopes is through a targeted binding analysis that checks resource scopes and CompiledBinding usage. This review identifies architectural issues and suggests optimizations for better application performance and maintainability.

When should I request an expert review for my Avalonia UI code?

You should request an expert review for your Avalonia UI code when adding new features to ensure they follow MVVM patterns and use efficient bindings. It is specifically useful before cross-platform deployment to identify architectural issues and migration pitfalls from WPF.