avalonia-layout-zafiro by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill avalonia-layout-zafiro掌握现代、简洁且可维护的 Avalonia UI 布局。专注于语义化容器、共享样式和极简 XAML。
仅阅读与布局挑战相关的文件!
| 文件 | 描述 | 何时阅读 |
|---|---|---|
themes.md | 主题组织和共享样式 | 设置或优化应用主题时 |
containers.md | 语义化容器 (HeaderedContainer, EdgePanel, Card) |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 构建视图和布局结构时 |
icons.md | 使用 IconExtension 和 IconOptions 的图标用法 | 添加和自定义图标时 |
behaviors.md | Xaml.Interaction.Behaviors 与避免使用转换器 | 实现复杂交互时 |
components.md | 通用组件与避免嵌套 | 创建可复用的 UI 元素时 |
如需查看真实示例,请参考 Angor 项目:/mnt/fast/Repos/angor/src/Angor/Avalonia/Angor.Avalonia.sln
HeaderedContainer 而非手动添加标题的 Border)axaml 文件中使用共享样式。EdgePanel 或通用组件来扁平化布局。{Icon fa-name} 和 IconOptions 进行样式设置。Interaction.Behaviors 处理 UI 逻辑。请勿:
Grid 和 StackPanel。IValueConverter。请务必:
DynamicResource 获取颜色和画刷。Zafiro.Avalonia 的特定面板,如用于常见 UI 模式的 EdgePanel。每周安装量
97
代码仓库
GitHub 星标数
22.6K
首次出现
2026 年 1 月 25 日
安全审计
安装于
claude-code85
opencode80
cursor78
gemini-cli74
antigravity69
codex66
Master modern, clean, and maintainable Avalonia UI layouts. Focus on semantic containers, shared styles, and minimal XAML.
Read ONLY files relevant to the layout challenge!
| File | Description | When to Read |
|---|---|---|
themes.md | Theme organization and shared styles | Setting up or refining app themes |
containers.md | Semantic containers (HeaderedContainer, EdgePanel, Card) | Structuring views and layouts |
icons.md | Icon usage with IconExtension and IconOptions | Adding and customizing icons |
behaviors.md | Xaml.Interaction.Behaviors and avoiding Converters | Implementing complex interactions |
components.md | Generic components and avoiding nesting | Creating reusable UI elements |
For a real-world example, refer to the Angor project: /mnt/fast/Repos/angor/src/Angor/Avalonia/Angor.Avalonia.sln
HeaderedContainer instead of Border with manual header)axaml files.EdgePanel or generic components.{Icon fa-name} and IconOptions for styling.Interaction.Behaviors for UI-logic.DON'T:
Grid and StackPanel.IValueConverter for simple logic that belongs in the ViewModel.DO:
DynamicResource for colors and brushes.Zafiro.Avalonia specific panels like EdgePanel for common UI patterns.Weekly Installs
97
Repository
GitHub Stars
22.6K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code85
opencode80
cursor78
gemini-cli74
antigravity69
codex66
HeroUI v2 到 v3 迁移指南:破坏性变更、复合组件、Tailwind v4 升级
556 周安装
ScoutQA AI驱动Web应用探索性测试工具 - 自动化测试与验证解决方案
8,100 周安装
PlantUML ASCII 图表生成器 - 命令行文本图表工具,支持序列图、类图、活动图
8,200 周安装
pytest-coverage:Python测试覆盖率工具,一键生成代码覆盖率报告
8,300 周安装
Markdown转HTML专业技能 - 使用marked.js、Pandoc和Hugo实现高效文档转换
8,200 周安装
GitHub Copilot 技能模板制作指南 - 创建自定义 Agent Skills 分步教程
8,200 周安装
ImageMagick图像处理技能:批量调整大小、格式转换与元数据提取
8,200 周安装