Avalonia Layout Zafiro
Guidelines for clean Avalonia layouts with Zafiro.Avalonia, favoring shared styles and flat XAML.
- CCM score
- 57 of 100
- skills.sh installs
- 188
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers theme organization, semantic containers, icon usage, behaviors, and generic reusable components
- Includes a six-item checklist and anti-patterns such as hardcoded literals, deep
GridandStackPanelnesting, andIValueConvertermisuse - Enforces
DynamicResourcefor colors and brushes, plus extracting repeated layouts into generic components - Designed for Avalonia developers using Zafiro.Avalonia who want to minimize XAML redundancy
Install
$ npx -y skills add davila7/claude-code-templates --skill avalonia-layout-zafiro -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Avalonia Layout with Zafiro.Avalonia
Master modern, clean, and maintainable Avalonia UI layouts. Focus on semantic containers, shared styles, and minimal XAML.
π― Selective Reading Rule
Read ONLY files relevant to the layout challenge!
π Content Map
| 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 |
π Related Project (Exemplary Implementation)
For a real-world example, refer to the Angor project:
/mnt/fast/Repos/angor/src/Angor/Avalonia/Angor.Avalonia.sln
β Checklist for Clean Layouts
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- .NET & C#, Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the avalonia-layout-zafiro skill do?
It gives guidance for modern Avalonia UI layouts built with Zafiro.Avalonia. It focuses on shared styles, generic components, semantic containers like HeaderedContainer and EdgePanel, and avoiding redundant XAML and nesting.
How do I install the avalonia-layout-zafiro skill?
Run npx -y skills add davila7/claude-code-templates --skill avalonia-layout-zafiro -y in your project. Once installed, the agent can use the skill's layout guidelines when working on Avalonia views.
Which tools does the avalonia-layout-zafiro skill use?
The skill's SKILL.md lists Read, Write, Edit, Glob and Grep as its allowed tools. It reads topic files such as themes.md, containers.md and components.md only when they match the layout task.
Where does avalonia-layout-zafiro sit in the .NET and C# category?
It is listed in the .NET and C# category on Claude Marketplaces. Other skills in that category include dotnet-backend-patterns, dotnet-best-practices and nuget-manager, and it covers Avalonia layout specifically.
More from davila7/claude-code-templates
All 398- Privilege Escalation Methods187
- SMTP Penetration Testing185
- Avalonia Viewmodels Zafiro184
- Blockrun177
- Moodle External Api Development177
- Windows Privilege Escalation176
- Busybox On Windows173
- Inngest168
- Zapier Make Patterns167
- Trigger Dev164
- Segment Cdp163
- Upstash Qstash163
- Fastmcp Server155
- Memory Search139
- Design To Code135
- Senior Data Scientist3.2K
- Senior Backend2.7K
- Excel Analysis2.7K
- Markitdown2.7K
- Senior Frontend2.2K
- Ui Ux Pro Max2K
- Scientific Writing2K
- Market Research Reports1.9K
- Exploratory Data Analysis1.9K
Similar to Avalonia Layout Zafiro
More .NET & C#avalonia-zafiro-developmentdavila7/claude-code-templates192 installsMandatory conventions for Avalonia UI apps built on the Zafiro toolkit, favoring functional-reactive MVVM and explicit errors.
core-componentsdavila7/claude-code-templates249 installsReusable design-system guide that enforces design tokens and core component usage over raw platform components.
avaloniamarkpitt/claude-skills291 installsModular Avalonia UI guidance covering MVVM, XAML, styling, reactive patterns, and cross-platform deployment for .NET.
ui-design-braincarmahhawwari/ui-design-brain927 installsui design brain.