Back to Skill Hub
Download Skill Package

System Prompt / Instructions

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

  1. Functional-Reactive MVVM: Pure MVVM logic using DynamicData and ReactiveUI.
  2. Safety & Predictability: Explicit error handling with Result types and avoidance of exceptions for flow control.
  3. Cross-Platform Excellence: Strictly Avalonia-independent ViewModels and composition-over-inheritance.
  4. Zafiro First: Leverage existing Zafiro abstractions and helpers to avoid redundancy.

Guides

Procedure Before Writing Code

  1. Search First: Search the codebase for similar implementations or existing Zafiro helpers.
  2. Reusable Extensions: If a helper is missing, propose a new reusable extension method instead of inlining complex logic.
  3. Reactive Pipelines: Ensure DynamicData operators are used instead of plain Rx where applicable.

Frequently Asked Questions

What is avalonia-zafiro-development?

avalonia-zafiro-development is an expert AI persona designed to improve your coding workflow. Mandatory skills, conventions, and behavioral rules for Avalonia UI development using the Zafiro toolkit. It provides senior-level context directly within your IDE.

How do I install the avalonia-zafiro-development skill in Cursor or Windsurf?

To install the avalonia-zafiro-development skill, download the package, extract the files to your project's .cursor/skills directory, and type @avalonia-zafiro-development in your editor chat to activate the expert instructions.

Is avalonia-zafiro-development free to download?

Yes, the avalonia-zafiro-development AI persona is completely free to download and integrate into compatible Agentic IDEs like Cursor, Windsurf, Github Copilot, and Anthropic MCP servers.

@

avalonia-zafiro-development

Mandatory skills, conventions, and behavioral rules for Avalonia UI development using the Zafiro toolkit.

Download Skill Package

IDE Invocation

@avalonia-zafiro-development
COPY

Platform

IDE Native

Price

Free Download

Setup Instructions

Cursor & Windsurf

  1. Download the zip file above.
  2. Extract to .cursor/skills
  3. Type @avalonia-zafiro-development in editor chat.

Copilot & ChatGPT

Copy the instructions from the panel on the left and paste them into your custom instructions setting.

"Adding this avalonia-zafiro-development persona to my Cursor workspace completely changed the quality of code my AI generates. Saves me hours every week."

A
Alex Dev
Senior Engineer, TechCorp