[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-1fb78e46-206b-4062-b4d1-416d463cfb1f":3,"$fsEsxohog7SpZXK3fww5U7e3cp3PgHtvDhNM85Ud1E0c":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"1fb78e46-206b-4062-b4d1-416d463cfb1f","avalonia-zafiro-development","Avalonia UI使用Zafiro工具包进行开发的必备技能、规范和行为准则。","cat_life_career","mod_other","sickn33,other","---\nname: avalonia-zafiro-development\ndescription: \"Mandatory skills, conventions, and behavioral rules for Avalonia UI development using the Zafiro toolkit.\"\nrisk: safe\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Avalonia Zafiro Development\n\nThis skill defines the mandatory conventions and behavioral rules for developing cross-platform applications with Avalonia UI and the Zafiro toolkit. These rules prioritize maintainability, correctness, and a functional-reactive approach.\n\n## Core Pillars\n\n1.  **Functional-Reactive MVVM**: Pure MVVM logic using DynamicData and ReactiveUI.\n2.  **Safety & Predictability**: Explicit error handling with `Result` types and avoidance of exceptions for flow control.\n3.  **Cross-Platform Excellence**: Strictly Avalonia-independent ViewModels and composition-over-inheritance.\n4.  **Zafiro First**: Leverage existing Zafiro abstractions and helpers to avoid redundancy.\n\n## Guides\n\n- [Core Technical Skills & Architecture](core-technical-skills.md): Fundamental skills and architectural principles.\n- [Naming & Coding Standards](naming-standards.md): Rules for naming, fields, and error handling.\n- [Avalonia, Zafiro & Reactive Rules](avalonia-reactive-rules.md): Specific guidelines for UI, Zafiro integration, and DynamicData pipelines.\n- [Zafiro Shortcuts](zafiro-shortcuts.md): Concise mappings for common Rx\u002FZafiro operations.\n- [Common Patterns](patterns.md): Advanced patterns like `RefreshableCollection` and Validation.\n\n## Procedure Before Writing Code\n\n1.  **Search First**: Search the codebase for similar implementations or existing Zafiro helpers.\n2.  **Reusable Extensions**: If a helper is missing, propose a new reusable extension method instead of inlining complex logic.\n3.  **Reactive Pipelines**: Ensure DynamicData operators are used instead of plain Rx where applicable.\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,155,1787,"2026-05-16 13:04:45",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"23f7811d-e2fa-4be7-aa6f-d9a585f1b501","1.0.0","avalonia-zafiro-development.zip",5063,"uploads\u002Fskills\u002F1fb78e46-206b-4062-b4d1-416d463cfb1f\u002Favalonia-zafiro-development.zip","c9c0f486573b7d516048dd9eeb7e5577609406c73eef1c94ef63b104e71659b0","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":2262},{\"path\":\"avalonia-reactive-rules.md\",\"isDirectory\":false,\"size\":1949},{\"path\":\"core-technical-skills.md\",\"isDirectory\":false,\"size\":1069},{\"path\":\"naming-standards.md\",\"isDirectory\":false,\"size\":739},{\"path\":\"patterns.md\",\"isDirectory\":false,\"size\":1337},{\"path\":\"zafiro-shortcuts.md\",\"isDirectory\":false,\"size\":1568}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]