avalonia-viewmodels-zafiro by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill avalonia-viewmodels-zafiro此技能提供了一套最佳实践和模式,用于在 Avalonia 应用程序中创建 ViewModels、向导和管理导航,充分利用 ReactiveUI 和 Zafiro 工具包的力量。
ReactiveObject、WhenAnyValue 等)来处理状态和逻辑。IEnhancedCommand 实现更好的命令管理,包括进度报告和名称/文本属性。SlimWizard 和 WizardBuilder 实现复杂的流程,采用声明式且可维护的方法。[Section] 属性自动注册和发现 UI 部分。DataTypeViewLocator 将 ViewModels 映射到 Views,并在 中管理依赖关系。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
CompositionRootSlimWizard 构建多步骤向导。有关实际实现,请参考 Angor 项目:
CreateProjectFlowV2.cs:复杂向导构建的优秀示例。HomeViewModel.cs:使用函数式响应式命令的简单部分 ViewModel。每周安装量
114
代码仓库
GitHub 星标数
23.4K
首次出现
2026年1月25日
安全审计
安装于
claude-code102
opencode97
cursor95
gemini-cli91
antigravity86
codex83
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.
ReactiveObject, WhenAnyValue, etc.) to handle state and logic.IEnhancedCommand for better command management, including progress reporting and name/text attributes.SlimWizard and WizardBuilder for a declarative and maintainable approach.[Section] attribute to register and discover UI sections automatically.DataTypeViewLocator and manage dependencies in the CompositionRoot.SlimWizard.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.Weekly Installs
114
Repository
GitHub Stars
23.4K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code102
opencode97
cursor95
gemini-cli91
antigravity86
codex83
.NET和Python结构化JSON日志配置指南:Serilog与structlog最佳实践
201 周安装