avalonia-viewmodels-zafiro

davila7/claude-code-templates · updated Apr 8, 2026

$npx skills add https://github.com/davila7/claude-code-templates --skill avalonia-viewmodels-zafiro
0 commentsdiscussion
summary

This skill provides a set of best practices and patterns for creating ViewModels, Wizards, and managing navigation in Avalonia applications, leveraging the power of ReactiveUI and the Zafiro toolkit.

skill.md

Avalonia ViewModels with Zafiro

This skill provides a set of best practices and patterns for creating ViewModels, Wizards, and managing navigation in Avalonia applications, leveraging the power of ReactiveUI and the Zafiro toolkit.

Core Principles

  1. Functional-Reactive Approach: Use ReactiveUI (ReactiveObject, WhenAnyValue, etc.) to handle state and logic.
  2. Enhanced Commands: Utilize IEnhancedCommand for better command management, including progress reporting and name/text attributes.
  3. Wizard Pattern: Implement complex flows using SlimWizard and WizardBuilder for a declarative and maintainable approach.
  4. Automatic Section Discovery: Use the [Section] attribute to register and discover UI sections automatically.
  5. Clean Composition: map ViewModels to Views using DataTypeViewLocator and manage dependencies in the CompositionRoot.

Guides

Example Reference

For real-world implementations, refer to the Angor project:

  • CreateProjectFlowV2.cs: Excellent example of complex Wizard building.
  • HomeViewModel.cs: Simple section ViewModel using functional-reactive commands.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.725 reviews
  • Shikha Mishra· Dec 12, 2024

    avalonia-viewmodels-zafiro is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Ira Chawla· Dec 8, 2024

    Useful defaults in avalonia-viewmodels-zafiro — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Neel Kim· Nov 27, 2024

    avalonia-viewmodels-zafiro is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Yash Thakker· Nov 3, 2024

    Useful defaults in avalonia-viewmodels-zafiro — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Dhruvi Jain· Oct 22, 2024

    Registry listing for avalonia-viewmodels-zafiro matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Mei Jain· Oct 18, 2024

    avalonia-viewmodels-zafiro reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Diya Haddad· Sep 25, 2024

    avalonia-viewmodels-zafiro has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Jin Khanna· Sep 21, 2024

    Useful defaults in avalonia-viewmodels-zafiro — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Oshnikdeep· Sep 1, 2024

    Solid pick for teams standardizing on skills: avalonia-viewmodels-zafiro is focused, and the summary matches what you get after install.

  • Ganesh Mohane· Aug 20, 2024

    I recommend avalonia-viewmodels-zafiro for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

showing 1-10 of 25

1 / 3