Mandatory skills, conventions, and behavioral rules for Avalonia UI development using the Zafiro toolkit.
Add this skill
npx mdskills install sickn33/avalonia-zafiro-developmentWell-structured meta-skill with clear pillars but lacks concrete instructions and trigger conditions
1---2name: avalonia-zafiro-development3description: Mandatory skills, conventions, and behavioral rules for Avalonia UI development using the Zafiro toolkit.4---56# Avalonia Zafiro Development78This 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.910## Core Pillars11121. **Functional-Reactive MVVM**: Pure MVVM logic using DynamicData and ReactiveUI.132. **Safety & Predictability**: Explicit error handling with `Result` types and avoidance of exceptions for flow control.143. **Cross-Platform Excellence**: Strictly Avalonia-independent ViewModels and composition-over-inheritance.154. **Zafiro First**: Leverage existing Zafiro abstractions and helpers to avoid redundancy.1617## Guides1819- [Core Technical Skills & Architecture](core-technical-skills.md): Fundamental skills and architectural principles.20- [Naming & Coding Standards](naming-standards.md): Rules for naming, fields, and error handling.21- [Avalonia, Zafiro & Reactive Rules](avalonia-reactive-rules.md): Specific guidelines for UI, Zafiro integration, and DynamicData pipelines.22- [Zafiro Shortcuts](zafiro-shortcuts.md): Concise mappings for common Rx/Zafiro operations.23- [Common Patterns](patterns.md): Advanced patterns like `RefreshableCollection` and Validation.2425## Procedure Before Writing Code26271. **Search First**: Search the codebase for similar implementations or existing Zafiro helpers.282. **Reusable Extensions**: If a helper is missing, propose a new reusable extension method instead of inlining complex logic.293. **Reactive Pipelines**: Ensure DynamicData operators are used instead of plain Rx where applicable.30
Full transparency — inspect the skill content before installing.