
Avalonia Layout Zafiro
This one's all about cleaning up Avalonia XAML using the Zafiro.Avalonia library. It pushes you toward semantic containers like HeaderedContainer and EdgePanel instead of manually nesting Borders and Grids everywhere. The skill includes a structured content map covering themes, icons, behaviors, and components, plus it references the Angor project as a working example. The core philosophy is clear: use shared styles, avoid converters when ViewModels can handle it, and stop repeating yourself in markup. If you're tired of maintaining bloated XAML files or you're adopting Zafiro specifically, this gives you the patterns and anti-patterns to keep layouts maintainable.
- skills.sh installs
- 188
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill avalonia-layout-zafiro --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Category
- Frontend Development
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Reducing Entropy187
- Difficult Workplace Conversations185
- Playwright185
- Avalonia Viewmodels Zafiro184
- Plugin Forge184
- Moodle External Api Development177
- Blockrun176
- Busybox On Windows172
- Inngest168
- Zapier Make Patterns166
- Trigger Dev164
- Segment Cdp162
- Upstash Qstash162
- Fastmcp Server154
- Memory Search139
- Design To Code135
- Accessibility Auditor
- Active Directory Attacks
- Agent Development
- API Fuzzing For Bug Bounty
- API Integration Specialist
- AWS Penetration Testing
- Broken Authentication Testing
- Burp Suite Web Application Testing