# avalonia

Guides an agent through Avalonia work: MVVM, XAML, bindings, styling, controls, and platform-specific code for .NET applications.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 286 installs · ★ 25 repo stars
- Author: markpitt
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/markpitt/claude-skills/tree/HEAD/skills/avalonia/SKILL.md
- Updated: 2026-02-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/avalonia

## What it does

This skill gives an agent a working map for Avalonia, a XAML-based .NET framework. It covers MVVM structure, data binding, ReactiveUI patterns, commands, collections, themes, control templates, animations, and platform-specific implementation.

The package uses a main skill file plus focused resources under `resources/`: `mvvm-databinding.md`, `controls-reference.md`, `styling-guide.md`, `reactive-animations.md`, `custom-controls-advanced.md`, and `platform-specific.md`. The agent can route a request about validation, large lists, custom controls, styling, or platform behavior to the relevant guide.

Its guidance targets .NET 6+ and .NET Standard 2.0, so a project built on another stack needs a separate compatibility check.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add markpitt/claude-skills --skill avalonia -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/avalonia/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/avalonia/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add markpitt/claude-skills --skill avalonia -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/avalonia/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add markpitt/claude-skills --skill avalonia -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/avalonia/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install markpitt/claude-skills skills/avalonia
```

2. **Manually: put the files in place**
- File: `.github/skills/avalonia/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add markpitt/claude-skills --skill avalonia -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/markpitt/claude-skills --path skills/avalonia
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/avalonia/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add markpitt/claude-skills --skill avalonia -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/markpitt/claude-skills/tree/HEAD/skills/avalonia/SKILL.md

## When to use it
- design an MVVM structure for an Avalonia app
- configure bindings and reactive commands
- build a validated data-entry form
- style controls with themes and templates
- adapt a UI for desktop and mobile targets

## Example prompts
- Help me design an MVVM structure for an Avalonia app on .NET 6+.
- Set up data binding, form validation, and reactive commands.
- Investigate slow rendering in a large list and suggest virtualization.

## Similar
- [mvvm-toolkit-di](https://affpapa.org/en/nevibecode/skills/mvvm-toolkit-di.md) — skill · 92 installs
- [mvvm-toolkit](https://affpapa.org/en/nevibecode/rules/mvvm-toolkit.md) — rule · ★ 41430 repo stars
- [XamlMcp](https://affpapa.org/en/nevibecode/mcp/xamlmcp.md) — MCP server · ★ 29 repo stars
- [maui-data-binding](https://affpapa.org/en/nevibecode/skills/maui-data-binding.md) — skill · 4200 installs
- [desktop-mvvm](https://affpapa.org/en/nevibecode/skills/desktop-mvvm.md) — skill · 758 installs
- [wpf](https://affpapa.org/en/nevibecode/skills/wpf.md) — skill · ★ 521 repo stars

## Other versions with the same name
- [avalonia · codewithmukesh](https://affpapa.org/en/nevibecode/skills/codewithmukesh-avalonia.md) — 759 installs

From the same set: [markpitt/claude-skills](https://affpapa.org/en/nevibecode/by/markpitt/claude-skills.md) — 10 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
