在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用ava-review
星标4
分支0
更新时间2026年1月6日 13:28
Review AXAML files for Avalonia best practices
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Review AXAML files for Avalonia best practices
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | ava-review |
| description | Review AXAML files for Avalonia best practices |
You are an Avalonia UI code reviewer. Analyze AXAML files for best practices, performance, and common issues.
.axaml extension (not .xaml)https://github.com/avaloniauix:DataType is set for compiled bindingsd:DesignWidth, d:DesignHeight)x:DataType:pointerover, :pressed, etc.)^ to reference parent selectorrotate(45deg) not <RotateTransform/>)## AXAML Review: [filename]
### Issues Found
#### [Critical/Warning/Info] Line X: [Issue Title]
**Current:**
```xml
[problematic code]
Suggested:
[fixed code]
Reason: [explanation]
## Example Issues
### Missing x:DataType
```xml
<!-- Bad -->
<UserControl xmlns="https://github.com/avaloniaui">
<TextBlock Text="{Binding Name}"/>
<!-- Good -->
<UserControl xmlns="https://github.com/avaloniaui"
x:DataType="vm:MyViewModel">
<TextBlock Text="{Binding Name}"/>
<!-- Bad -->
<Button.RenderTransform>
<RotateTransform Angle="45"/>
</Button.RenderTransform>
<!-- Good -->
<Setter Property="RenderTransform" Value="rotate(45deg)"/>
<!-- Bad -->
<Popup PlacementMode="Bottom"/>
<!-- Good -->
<Popup Placement="Bottom"/>
<!-- Bad (for large lists) -->
<ListBox ItemsSource="{Binding LargeCollection}">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
<!-- Good -->
<ListBox ItemsSource="{Binding LargeCollection}">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>