avalonia-zafiro-development
Enforces architectural rules and coding standards for building cross-platform Avalonia UI applications with Zafiro.
Install
mkdir -p .claude/skills/avalonia-zafiro-development && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4490" && unzip -o skill.zip -d .claude/skills/avalonia-zafiro-development && rm skill.zipInstalls to .claude/skills/avalonia-zafiro-development
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.
Mandatory skills, conventions, and behavioral rules for Avalonia UI development using the Zafiro toolkit.Key capabilities
- →Implement functional-reactive MVVM patterns
- →Enforce explicit error handling with Result types
- →Compose cross-platform ViewModels
- →Utilize Zafiro-specific reactive helpers
How it works
The skill enforces strict adherence to functional-reactive MVVM, prioritizing composition over inheritance and explicit error handling.
Inputs & outputs
When to use avalonia-zafiro-development
- →Structure reactive view models correctly
- →Implement validation patterns in UI
- →Ensure cross-platform architectural consistency
- →Use Zafiro helpers for common reactive tasks
About this skill
Avalonia Zafiro Development
This skill defines the mandatory conventions and behavioral rules for developing cross-platform applications with Avalonia UI and the Zafiro toolkit. These rules prioritize maintainability, correctness, and a functional-reactive approach.
Core Pillars
- Functional-Reactive MVVM: Pure MVVM logic using DynamicData and ReactiveUI.
- Safety & Predictability: Explicit error handling with
Resulttypes and avoidance of exceptions for flow control. - Cross-Platform Excellence: Strictly Avalonia-independent ViewModels and composition-over-inheritance.
- Zafiro First: Leverage existing Zafiro abstractions and helpers to avoid redundancy.
Guides
- Core Technical Skills & Architecture: Fundamental skills and architectural principles.
- Naming & Coding Standards: Rules for naming, fields, and error handling.
- Avalonia, Zafiro & Reactive Rules: Specific guidelines for UI, Zafiro integration, and DynamicData pipelines.
- Zafiro Shortcuts: Concise mappings for common Rx/Zafiro operations.
- Common Patterns: Advanced patterns like
RefreshableCollectionand Validation.
Procedure Before Writing Code
- Search First: Search the codebase for similar implementations or existing Zafiro helpers.
- Reusable Extensions: If a helper is missing, propose a new reusable extension method instead of inlining complex logic.
- Reactive Pipelines: Ensure DynamicData operators are used instead of plain Rx where applicable.
When not to use it
- →When avoiding reactive programming paradigms
- →When using inheritance-heavy architectures
Limitations
- →Requires strict adherence to Zafiro-first architectural rules
How it compares
It mandates standardized Zafiro abstractions instead of allowing arbitrary reactive implementations.
Compared to similar skills
avalonia-zafiro-development side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| avalonia-zafiro-development (this skill) | 1 | 6mo | No flags | Intermediate |
| react-modernization | 21 | 2mo | No flags | Advanced |
| angular-modernization | 4 | 8mo | Review | Intermediate |
| svelte-migrate | 2 | 7mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by davila7
View all by davila7 →You might also like
react-modernization
wshobson
Upgrade React applications to latest versions, migrate from class components to hooks, and adopt concurrent features. Use when modernizing React codebases, migrating to React Hooks, or upgrading to latest React versions.
angular-modernization
bitwarden
Modernizes Angular code such as components and directives to follow best practices using both automatic CLI migrations and Bitwarden-specific patterns. YOU must use this skill when someone requests modernizing Angular code. DO NOT invoke for general Angular discussions unrelated to modernization.
svelte-migrate
temporalio
Migrate a Svelte 4 component to Svelte 5 runes syntax. Use when asked to migrate, convert, or upgrade a .svelte file to Svelte 5.
state-management
redpanda-data
Manage client and server state with Zustand stores and React Query patterns.
upgrade-simple-icons
wei
Upgrade simple-icons to the latest version and preserve any removed icons by sourcing them from the previous version into common/icons/customIcons.ts and updating icon mappings. Use whenever bumping or upgrading simple-icons in this repo.
gesture-handler-3-migration
software-mansion
Migrates files containing React Native components which use the React Native Gesture Handler 2 API to Gesture Handler 3.