avalonia-ui-setup

Set up Avalonia UI project with cross-platform XAML for Windows, macOS, and Linux

509 stars

Best use case

avalonia-ui-setup is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Set up Avalonia UI project with cross-platform XAML for Windows, macOS, and Linux

Teams using avalonia-ui-setup should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/avalonia-ui-setup/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/desktop-development/skills/avalonia-ui-setup/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/avalonia-ui-setup/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How avalonia-ui-setup Compares

Feature / Agentavalonia-ui-setupStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Set up Avalonia UI project with cross-platform XAML for Windows, macOS, and Linux

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

- Create Avalonia project structure
- Configure MVVM with ReactiveUI
- Set up platform-specific features
- Configure Fluent/Simple themes
- Set up native menu integration
- Configure build for all platforms
- Set up hot reload
- Generate platform-specific publishing

## Input Schema

```json
{
  "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

```xml
<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

- `wpf-xaml-style-generator`
- `cross-platform-test-matrix`

Related Skills

visual-regression-setup

509
from a5c-ai/babysitter

Configure visual regression testing with Percy, Chromatic, or custom screenshot comparison

tauri-project-setup

509
from a5c-ai/babysitter

Initialize Tauri project with Rust backend and frontend framework integration

spectron-test-setup

509
from a5c-ai/babysitter

Set up Spectron (deprecated) tests for legacy Electron application testing

sentry-desktop-setup

509
from a5c-ai/babysitter

Configure Sentry for comprehensive desktop application crash reporting, error monitoring, performance tracking, and release health for Electron and native desktop apps

file-watcher-setup

509
from a5c-ai/babysitter

Set up cross-platform file system watching with debouncing and efficient change detection

electron-protocol-handler-setup

509
from a5c-ai/babysitter

Register and handle custom URL protocols (deep linking) across platforms for Electron applications

electron-auto-updater-setup

509
from a5c-ai/babysitter

Configure electron-updater with code signing verification, delta updates, staged rollouts, and multiple update channels for Electron applications

viper-go-setup

509
from a5c-ai/babysitter

Set up Viper for Go configuration management with file, env, and flag binding.

plugin-sandbox-setup

509
from a5c-ai/babysitter

Configure plugin sandboxing with vm2 or isolated-vm for secure plugin execution.

mcp-transport-websocket-setup

509
from a5c-ai/babysitter

Configure WebSocket transport for bidirectional MCP communication with connection management and reconnection handling.

mcp-transport-sse-setup

509
from a5c-ai/babysitter

Configure HTTP/SSE transport for web-based MCP servers with proper endpoints, authentication, and CORS.

goreleaser-setup

509
from a5c-ai/babysitter

Set up goreleaser for Go release automation with cross-compilation and publishing.