csharp-avalonia

Creates scalable web and mobile apps from a single Python codebase.

30|5|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/phuetz/code-buddy --skill csharp-avalonia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-avalonia
Source: https://github.com/phuetz/code-buddy/tree/main/.codebuddy/skills/bundled/csharp-avalonia
Command: npx skills add https://github.com/phuetz/code-buddy --skill csharp-avalonia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often struggle with setup and consistency when building cross-platform desktop and mobile applications using .NET and Avalonia. This Skill provides clear guidelines, scaffolding patterns, and best practices to accelerate productive development across Windows, macOS, Linux, iOS, Android, and WebAssembly.

Core Features & Use Cases

  • MVVM-oriented architecture with CommunityToolkit.Mvvm to enable robust state management.
  • UI scaffolding and project structure guidance for Avalonia apps, including desktop and mobile targets.
  • Practical deployment and platform-agnostic patterns for building, testing, and shipping cross-platform .NET apps.

Quick Start

Install .NET SDK 8.0+ and Avalonia templates, then scaffold a new project with: dotnet new avalonia.mvvm -o MyApp cd MyApp

follow up with standard MVVM setup and Avalonia UI development practices.

Frequently Asked Questions about csharp-avalonia

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

FAQPage Schema
How do I build cross-platform desktop apps with C# and Avalonia?

To build cross-platform desktop apps with C# and Avalonia, install the .NET SDK and Avalonia templates, then scaffold a project using the MVVM template. This provides project structure guidance and platform-agnostic patterns for Windows, macOS, and Linux.

Can I use Avalonia to deploy .NET applications to iOS and Android?

Yes, you can use Avalonia to deploy .NET applications to iOS and Android. The framework provides UI scaffolding and deployment workflows designed for building cross-platform desktop and mobile targets using a single C# codebase.

What is the best way to set up MVVM architecture in an Avalonia project?

The best way to set up MVVM architecture in an Avalonia project is using CommunityToolkit.Mvvm. This Skill guides you through robust state management and standard MVVM setup conventions to ensure consistent application structure across platforms.

Does Avalonia support building .NET applications for WebAssembly?

Yes, Avalonia supports building .NET applications for WebAssembly. The Skill provides practical deployment patterns and platform-agnostic guidance for shipping your C# desktop and mobile applications across WebAssembly and native platforms.

Do I need the .NET SDK to start developing Avalonia applications?

Yes, you need the .NET SDK 8.0+ installed to start developing Avalonia applications. After installing the SDK and Avalonia templates, you can scaffold a new MVVM project and begin building cross-platform desktop and mobile UIs.

Why use Avalonia for cross-platform UI instead of other .NET desktop frameworks?

Use Avalonia for cross-platform UI when you need a single C# codebase spanning Windows, macOS, Linux, iOS, Android, and WebAssembly. It solves consistency struggles by providing clear scaffolding patterns and MVVM guidelines for broad platform coverage.