CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
23 lines
1.6 KiB
Markdown
23 lines
1.6 KiB
Markdown
---
|
|
name: wpf-review
|
|
description: Use when reviewing WPF, XAML, or MVVM desktop changes, including bindings, commands, resources, accessibility, lifecycle, and UI-thread behavior.
|
|
---
|
|
|
|
# WPF Review
|
|
|
|
Use when reviewing WPF, XAML, or MVVM desktop changes. Route all findings into the `review-pull-request` report, not a separate one.
|
|
|
|
Load `rules-wpf` and follow its index to the matching `rules-wpf-*` topic skills, including `rules-wpf-accessibility-and-theming` and `rules-wpf-security-and-errors`.
|
|
|
|
## Review
|
|
|
|
- Trace `DataContext`, binding paths, update modes, validation, and `INotifyPropertyChanged` behavior. Check collection updates and selection state.
|
|
- Review commands for enablement, asynchronous execution, cancellation, exception handling, and UI-thread affinity.
|
|
- Check resource dictionaries, styles, templates, and resource lookup scope. Check per-monitor DPI scaling and high contrast themes.
|
|
- Inspect control names, focus and keyboard behavior, automation properties, and error feedback for accessibility.
|
|
- Check that global exception handlers (`DispatcherUnhandledException`, `TaskScheduler.UnobservedTaskException`, `AppDomain.CurrentDomain.UnhandledException`) are wired once at startup.
|
|
- Check view and window lifetime, event subscriptions, disposal, timers, and owned resources for leaks or stale references.
|
|
- Review converters, dependency properties, and virtualization for correctness and practical performance.
|
|
|
|
Report findings in the `review-pull-request` finding schema and severity scale. Use the view, binding, or lifecycle path as the location. Avoid framework-wide advice unrelated to the diff.
|