Avalonia Pro Max/Review Checklist 标志

Avalonia Pro Max/Review Checklist

社区
linuxdevel
avalonia-pro-max/review-checklist

在合并 PR 或发布 Avalonia 应用之前使用。这是一份全面的交付前检查清单,涵盖视觉质量、交互、浅色/深色模式、布局、无障碍、性能、动效和平台一致性。请从头到尾逐项检查,并在签字确认前修复所有问题。

概览

发布者linuxdevel
代码仓库Avalonia-skills
技能名称avalonia-pro-max/review-checklist
星标数
50
复刻数
4
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 linuxdevel 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Avalonia Pro Max/Review Checklist AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-pro-max/review-checklist
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/linuxdevel/Avalonia-skills.git /tmp/Avalonia-skills
mkdir -p .claude/skills
cp -r /tmp/Avalonia-skills/skills/avalonia/avalonia-pro-max/review-checklist .claude/skills/linuxdevel-avalonia-pro-max-review-checklist
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Avalonia Pro Max/Review Checklist,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Avalonia Pro Max/Review Checklist。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Avalonia Pro Max/Review Checklist 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Avalonia UI Pre-Delivery Checklist

Run this before merging UI work or cutting a release. Each item maps back to a sub-skill if it fails.

How to Use

  1. Open every screen at default window size and at compact (640 px wide) and wide (1600+ px).
  2. Toggle RequestedThemeVariant between Light and Dark.
  3. Tab through every screen with the keyboard only.
  4. Run a screen reader on the main flows (Narrator on Win, VoiceOver on macOS).
  5. Profile a session with Avalonia DevTools (F12) for layout/render issues (12.x: needs the AvaloniaUI.DiagnosticsSupport package + AttachDeveloperTools(); 11.x: Avalonia.Diagnostics + AttachDevTools()).
  6. Tick each box. If anything fails → fix → re-run from the top.

Design Tokens & Theming → design-system

  • No hard-coded color hex values in any view (all via DynamicResource)
  • No magic spacing numbers — every Margin/Padding references the spacing scale
  • No magic font sizes — every FontSize references the type scale
  • Both Light and Dark theme dictionaries provided for every semantic brush
  • App responds correctly when OS theme changes at runtime
  • One accent color, used consistently
  • Text/background pairs verified ≥4.5:1 in both themes
  • Disabled states use a token, not arbitrary opacity

Theme Library → themes

  • Exactly one base theme imported (no Fluent + Material conflict)
  • Theme NuGets at a version that supports the Avalonia version in use (see compatibility table in themes)
  • No app code depends on internal theme NuGet brush keys (only via own semantic tokens)
  • Custom title bar / SukiWindow / chrome behaves on Win, macOS, Linux (12.0+: WindowDecorations / WindowDrawnDecorations, no SystemDecorations / ExtendClientAreaChromeHints)

Component Quality → components

  • All buttons use shared classes (primary / secondary / ghost / danger / icon)
  • Icon-only buttons have ≥36×36 hit area (desktop) or 44×44 (touch)
  • Cards use the shared Border.card style — no per-view ad-hoc cards
  • Forms have visible labels (not placeholder-only); PlaceholderText (12.0+) / Watermark (11.x) per project version, no obsolete Watermark in 12
  • Form errors render inline, not only in a top banner
  • Destructive actions confirmed via dialog or use danger class
  • Empty states show icon + headline + description + CTA
  • Loading states use skeleton or progress indicator (not spinner alone for >1s)
  • Toasts auto-dismiss in 3–5s and are not focus-stealing
  • No "click here" — link/button labels describe their action

Reusable Component State Contract

  • Supported states are explicit for each reusable component: rest, pointer over, pressed, focus-visible, disabled, and applicable selected/loading/validation states
  • Each state defines its visual changes using shared tokens; meaningful states also have text, focus, or automation feedback where needed
  • Overlapping states have deliberate rules: for example, disabled/loading prevents duplicate commands, selected styling remains recognizable on hover, and validation styling preserves a visible focus indicator
  • Representative combined states are checked in light/dark and compact/default layouts; selector order alone is not treated as the product's state model
  • Motion eligibility, interruption, and reduced-motion behavior are defined per state; repeated loading/selection changes and recycled containers do not accumulate animations

Apply this contract on both 12.1 and 11.3. Use the control's actual supported pseudoclasses and property value precedence, and preserve accessible focus and state feedback. Loading behavior and motion eligibility are application policies, not built-in pseudoclasses shared by every control.

Motion → motion

  • Hover/press feedback ≤150 ms
  • Page transitions 200–300 ms with easing
  • No Width / Height / Margin animation
  • All Transitions declarations have explicit Easing
  • Exit animations ~70% of enter duration
  • At most 2–3 concurrent animations per visible screen
  • Reduced-motion path tested (durations → zero)
  • Looping animations used sparingly and only on small elements
  • 12.0+: animations that must run while hidden set PlaybackBehavior="Always"; no removed CubicBezierEasing (use SplineEasing)

Accessibility → accessibility

  • Every icon-only button has AutomationProperties.Name
  • Every form input is associated with a LabeledBy or visible <TextBlock> label
  • Required fields marked with AutomationProperties.IsRequiredForForm
  • Tab order matches visual reading order
  • Focus ring visible (not removed) on every interactive element
  • No information conveyed by color alone (icon/text always paired)
  • Live regions (AutomationProperties.LiveSetting) on toast / status updates
  • Screen reader reads each main screen meaningfully
  • Verified at OS DPI 100/150/200%
  • Verified in Windows High Contrast (or platform equivalent)
  • All keyboard shortcuts present on macOS as Cmd and Windows as Ctrl
  • No MaxLines truncation without tooltip access to full text

Layout & Responsive → layout-patterns

  • No fixed-pixel layout that breaks at 800-px window width
  • Long-form text capped with MaxWidth (~720 px reading width)
  • Long lists use VirtualizingStackPanel / ItemsRepeater
  • Single vertical scroll per view (no nested scroll regions)
  • MinWidth/MinHeight on Window set to a reasonable floor (e.g., 800×600)
  • Sidebar collapses or overlays on compact widths
  • Right panel hidden on compact widths
  • Page padding scales (24+ desktop / 16 compact)
  • Cards reflow (UniformGrid columns / WrapPanel) at narrow widths

Icons & Imagery → icons-imagery

  • Single icon family across the app
  • Icon sizes from the size scale token, never magic numbers
  • Icons square (Width == Height)
  • Icon Foreground/StrokeBrush bound to a semantic token
  • No emoji used as a structural icon
  • Brand logo is the official asset, correct proportions
  • App icons supplied at all required sizes (Win ICO, macOS ICNS, Linux PNG set)
  • PNG raster images compressed
  • Network images loaded asynchronously with placeholder

Performance

  • Compiled bindings enabled: on by default since Avalonia 12.0 (AvaloniaUseCompiledBindingsByDefault); opt-in in 11.x (set the property to true or use x:CompileBindings). Every {Binding} has x:DataType in 12
  • No INotifyPropertyChanged storms — verify with Avalonia DevTools
  • No allocation in Render() overrides
  • Lists ≥100 items virtualized
  • Images >256 px load via async loader and dispose properly
  • Scroll stays at 60 fps on a mid-tier machine (12.1+: apps render at monitor refresh rate on X11/Windows non-default modes — check CPU/GPU at 120/144 Hz)
  • First-window-shown < 1s after launch (cold start)
  • No console warnings (avalonia: WARN ...) in release build

Platform Parity

  • Built and tested on Windows
  • Built and tested on macOS
  • Built and tested on Linux (X11 and Wayland if applicable). Wayland: via XWayland by default; native Wayland (12.1+, experimental, opt-in via Avalonia.Wayland + .UseWayland(); UsePlatformDetect() does not pick it) only if you enable it explicitly
  • Linux screen reader (Orca) checked — needs Avalonia 12.0+ (AT-SPI2)
  • Tested on Avalonia.Mobile (Android/iOS) if app targets mobile
  • Tested on WASM (browser) if app targets web
  • Title bar/menu behavior correct per platform (macOS app-menu, Windows custom chrome)
  • File dialogs use IStorageProvider (cross-platform) — not WinForms OpenFileDialog
  • Fonts render correctly on all platforms (static .ttf/.otf files with fallbacks; variable-font axes are not supported; Type 1 fonts unsupported in 12)
  • Keyboard shortcuts match platform conventions (Cmd on macOS)

Final Polish

  • No XAML warnings in build output
  • App.axaml Styles ordered: theme → tokens → app styles
  • Unused styles / resources removed
  • All x:Name declarations are intentional and used
  • Localization-ready: no English strings hard-coded if app is multi-language (use Resx/Avalonia.Localization)
  • Designer-mode preview works (d:DesignWidth/d:DesignHeight valid)
  • No MessageBox.Show left in production code (use IDialogService / FluentAvalonia ContentDialog)

Sign-off Template

✅ Visual Quality (tokens, themes, theme-variant tested both modes)
✅ Component Quality (shared styles, no ad-hoc)
✅ Motion (timing, easing, reduced-motion path)
✅ Accessibility (a11y props, keyboard, contrast, screen reader)
✅ Layout & Responsive (compact / wide tested)
✅ Icons & Imagery (single family, semantic colors)
✅ Performance (60 fps scroll, virtualized lists)
✅ Platform Parity (Win/macOS/Linux at minimum)
✅ Final Polish (no warnings, no leftover strings)

Reviewer: ____________  Date: ____________

If any item is ❌, link the relevant sub-skill in the PR review and request changes.

常见问题

Avalonia Pro Max/Review Checklist AI 技能有什么作用?

在合并 PR 或发布 Avalonia 应用之前使用。这是一份全面的交付前检查清单,涵盖视觉质量、交互、浅色/深色模式、布局、无障碍、性能、动效和平台一致性。请从头到尾逐项检查,并在签字确认前修复所有问题。

为什么在 TypingMind 中使用 Avalonia Pro Max/Review Checklist?

因为您只需安装一次,就能搭配任何模型使用。Avalonia Pro Max/Review Checklist 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Avalonia Pro Max/Review Checklist?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-pro-max/review-checklist。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Avalonia Pro Max/Review Checklist?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Avalonia Pro Max/Review Checklist 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Avalonia Pro Max/Review Checklist 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Avalonia Pro Max/Review Checklist AI 技能免费吗?

是的。linuxdevel 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇