本文へスキップ
Skillpedia
インターフェース(UI/UX)48k · #3847

avalonia-viewmodels-zafiro

できること

このツールは、推奨パターンを使って、デスクトップアプリケーションの一部(ViewModelやウィザードと呼ばれる部分)の整理と作成を手助けします。複数のステップからなるワークフローやアプリ内のナビゲーションの構築を簡単にします。

使う場面

  • ✓新しいグラフィカルアプリケーションを作るとき。
  • ✓インストールウィザードのように、複数のステップからなるワークフローが必要なとき。
  • ✓アプリケーションのコードをより整理したいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/avalonia-viewmodels-zafiro/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/avalonia-viewmodels-zafiro/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“推奨パターンを使って、アプリケーションのインストールウィザードを作るにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

ReactiveUIやZafiroなどのライブラリを使い、ユーザーのデータや操作と画面をどのように結びつけるかを定義します。これにより、より賢いコマンドや、整理されたステップごとのワークフローを実現できます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

ViewModelとは何ですか?

ユーザーインターフェースの画面やコンポーネントのデータとロジックを管理するコードのことです。

ウィザードとは何ですか?

ソフトウェアのセットアップなど、ある手続きをユーザーに案内する一連の画面やステップのことです。

ReactiveUIとは何ですか?

リアクティブプログラミングの手法を使って、より応答性が高く管理しやすいユーザーインターフェースを作るためのライブラリです。

詳細

作者による元の説明

Optimal ViewModel and Wizard creation patterns for Avalonia using Zafiro and ReactiveUI.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#3847
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル