Avalonia ui setup

From a5c-ai/babysitter · View interactive version

Avalonia ui setup is an AI agent skill from the GitHub repository a5c-ai/babysitter. Set up Avalonia UI project with cross-platform XAML for Windows, macOS, and Linux

How to use this skill

Skill file

avalonia-ui-setup

Set up Avalonia UI project with cross-platform XAML for true cross-platform desktop development on Windows, macOS, and Linux with a single codebase.

Capabilities

Input Schema

{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "projectName": { "type": "string" },
    "theme": { "enum": ["fluent", "simple", "custom"] },
    "mvvmFramework": { "enum": ["reactiveui", "community-toolkit", "custom"] }
  },
  "required": ["projectPath", "projectName"]
}

Project Structure

MyAvaloniaApp/
├── App.axaml
├── MainWindow.axaml
├── ViewModels/
├── Views/
├── Models/
└── Program.cs

MainWindow.axaml

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="My Avalonia App">
    <StackPanel>
        <TextBlock Text="{Binding Greeting}"/>
        <Button Command="{Binding ClickCommand}">Click Me</Button>
    </StackPanel>
</Window>

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.