agentskills.codes
AV

avalonia-pro-max

Use when designing or polishing the visual quality of an Avalonia app — choosing themes, building a design system, crafting beautiful screens, improving accessibility, motion, layout, or before shipping a UI. Routes to focused sub-skills for tokens, themes, components, motion, accessibility, layout

Install

mkdir -p .claude/skills/avalonia-pro-max && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13447" && unzip -o skill.zip -d .claude/skills/avalonia-pro-max && rm skill.zip

Installs to .claude/skills/avalonia-pro-max

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when designing or polishing the visual quality of an Avalonia app — choosing themes, building a design system, crafting beautiful screens, improving accessibility, motion, layout, or before shipping a UI. Routes to focused sub-skills for tokens, themes, components, motion, accessibility, layout patterns, icons, and pre-delivery review.
341 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)

About this skill

Avalonia Pro Max — Beautiful Avalonia UIs

Purpose

avalonia skills teach you the framework. avalonia-pro-max teaches you to make it look and feel professional: design tokens, theme selection, component recipes, motion, accessibility, responsive layout, icons, and final QA.

This skill is the desktop/cross-platform counterpart to ui-ux-pro-max. Same priorities, but every rule is mapped to Avalonia 12 (XAML, FluentTheme, ControlThemes, pseudoclasses, AutomationProperties, etc.).

When to Use

Must use

  • Building a new screen, window, or page
  • Restyling an existing app or replacing the default look
  • Choosing a theme library (FluentAvalonia, SukiUI, Semi, Material, ShadUI, Ursa…)
  • Defining colors, typography, spacing, radius, elevation tokens
  • Adding animations, transitions, hover/press states
  • Implementing dark/light theme variants
  • Reviewing UI before shipping or PR
  • The user says "make this beautiful", "modernize", "polish", "looks bland"

Recommended

  • Migrating WPF visuals to Avalonia and wanting modern feel (combine with avalonia-wpf-migration)
  • Cross-platform polish (desktop + mobile + web)
  • Building a reusable component library

Skip

  • Pure data binding, MVVM plumbing, services, deployment — use base avalonia subskills

Routing Table

TaskLoad sub-subskill
Design tokens, palettes, typography scale, spacing, theme variants, semantic color systemavalonia-pro-max/design-system
Picking and configuring a theme library (FluentAvalonia, SukiUI, Semi, Material, ShadUI, Ursa, Material.Avalonia)avalonia-pro-max/themes
Production-ready XAML recipes: cards, dialogs, command bar, sidebar nav, settings page, forms, empty statesavalonia-pro-max/components
Transitions, keyframe animations, easing, hover/press feedback, page transitions, reduced-motionavalonia-pro-max/motion
Contrast, focus rings, keyboard navigation, AutomationProperties, screen readers, dynamic font scalingavalonia-pro-max/accessibility
Responsive design, breakpoints, AdaptiveLayout, NavigationView vs sidebar vs bottom nav, dashboardsavalonia-pro-max/layout-patterns
Icon libraries (Lucide, Material, FontAwesome, Heroicons), SVG (Svg.Skia), brand assets, image optimizationavalonia-pro-max/icons-imagery
Final QA before merge / release — checklist of every must-pass itemavalonia-pro-max/review-checklist
Show the user 2–3 design alternatives as rendered Avalonia screens in a browser gallery before implementation; user picks one in chatavalonia-pro-max/preview-server

Workflow for "Build a beautiful Avalonia app/screen"

  1. Establish the design systemdesign-system Choose palette (semantic tokens), typography scale, spacing rhythm, radius scale, elevation. Persist as Resources/Tokens.axaml + theme-variant dictionaries.

  2. Pick a theme basethemes FluentTheme + community theme (or pure custom). The themes sub-skill has a recommendation matrix by app type.

  3. Build screens with recipescomponents Use the recipe library — never hand-roll a card / dialog / nav from zero when a vetted pattern exists.

  4. Apply motionmotion Add Transitions to interactive controls, page transitions for navigation, respect prefers-reduced-motion.

  5. Verify accessibilityaccessibility AutomationProperties, focus order, contrast 4.5:1, keyboard parity.

  6. Check responsive behaviorlayout-patterns Test at 800/1280/1920 widths; mobile/tablet via Avalonia.Mobile.

  7. Run the review checklistreview-checklist Pre-merge audit. If anything fails, loop back.

Optional: Show the user options first

If the user wants to see and pick between alternatives before you commit to a direction (e.g., "show me a few options", "what would this look like"), insert this before step 3:

preview-server — generate 3 variant .axaml files, render each via Avalonia.Headless to PNG (light/dark × wide/compact), serve a side-by-side HTML gallery. The user reviews in their browser and tells you which to build.

Priority of Concerns

Same global priority as ui-ux-pro-max, mapped to Avalonia:

#CategoryAvalonia MechanismSub-skill
1AccessibilityAutomationProperties.*, focus pseudoclasses, contrastaccessibility
2Touch & interactionMin hit-target via Padding/MinHeight, :pointerover / :pressed stylescomponents, motion
3PerformanceCompiledBinding, virtualization (VirtualizingStackPanel), RenderOptions.BitmapInterpolationModecomponents, layout-patterns
4Style selectionTheme library + ControlTheme + Style classesthemes, design-system
5Layout & responsiveGrid * / Auto, AdaptiveLayout, NavigationView.PaneDisplayModelayout-patterns
6Typography & colorTheme-variant dictionaries, DynamicResource, type rampdesign-system
7AnimationTransitions, Animation, KeyFrame, IterationCountmotion
8Forms & feedbackValidation (DataAnnotations / INotifyDataErrorInfo), Flyout, error pseudoclassescomponents
9NavigationTabControl, SplitView, FluentAvalonia NavigationViewlayout-patterns, components
10Charts & dataLiveCharts2, ScottPlot, OxyPlotcomponents

Recommended Stack for "Beautiful by Default"

A pragmatic starter pack that yields a polished app with minimal effort:

<!-- App.axaml -->
<Application.Styles>
  <FluentTheme/>
  <StyleInclude Source="avares://MyApp/Resources/Tokens.axaml"/>
  <StyleInclude Source="avares://MyApp/Resources/ComponentStyles.axaml"/>
</Application.Styles>

NuGet:

  • Avalonia 12.x
  • Avalonia.Themes.Fluent (or SukiUI / Semi.Avalonia)
  • FluentAvalonia — NavigationView, InfoBar, TeachingTip
  • Lucide.Avalonia or Material.Icons.Avalonia — icons
  • Svg.Skia — vector assets
  • Avalonia.Xaml.Behaviors — declarative event triggers

The themes sub-skill explains alternatives by product type.

Anti-Patterns (See Each Sub-skill for Detail)

  • Hard-coded hex colors scattered across views — use DynamicResource + theme dictionaries
  • Emoji as icons — use a vector icon library
  • Removing focus rings to look cleaner — breaks keyboard a11y
  • Same Margin="10" everywhere — use a 4/8 spacing scale
  • Animating Width/Height instead of RenderTransform Scale — janky
  • StaticResource for theme-variant brushes — won't update on variant change
  • Forgetting AutomationProperties.Name on icon-only buttons
  • Mixing FluentTheme + Material.Avalonia in the same app — visual inconsistency
  • Custom controls without :pointerover / :pressed / :disabled / :focus styles
  • One giant Window with no UserControl decomposition

Search skills

Search the agent skills registry