feat(skills): reworked skills and rules
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
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
This commit is contained in:
1 parent
29632ff0ce
commit
f5d8f6f11b
124 files changed
+1250
-8138
No files matched your search
@@ -5,17 +5,18 @@ description: Use when reviewing WPF, XAML, or MVVM desktop changes, including bi
|
||||
|
||||
# WPF Review
|
||||
|
||||
Use when reviewing WPF, XAML, or MVVM desktop changes.
|
||||
Use when reviewing WPF, XAML, or MVVM desktop changes. Route all findings into the `review-pull-request` report, not a separate one.
|
||||
|
||||
When this work belongs to a UI design or build task, follow the roles in `plugin-workflow`'s UI section: add findings to the merged UI report instead of 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, theme behavior, and resource lookup scope.
|
||||
- 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 XAML parsing, converters, dependency properties, and virtualization for correctness and practical performance.
|
||||
- Review converters, dependency properties, and virtualization for correctness and practical performance.
|
||||
|
||||
Report concrete findings with the view, binding, or lifecycle path and user-visible impact. Recommend focused WPF verification; avoid framework-wide advice unrelated to the diff.
|
||||
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.
|
||||
@@ -41,6 +41,17 @@
|
||||
"Recommends focused verification such as an accessibility inspector or screen reader check"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"prompt": "WPF review of this diff.\n\n```diff\n # src/app/orders/orders.component.ts\n- orders = this.store.selectSignal(selectOrders);\n+ readonly orders = this.store.selectSignal(selectOrders);\n```",
|
||||
"expected_output": "The diff is an Angular component, not WPF, XAML, or MVVM desktop code. Should state that wpf-review is out of scope and report no WPF findings.",
|
||||
"assertions": [
|
||||
"States that the diff is Angular, not WPF or XAML",
|
||||
"Reports no WPF findings",
|
||||
"Does not apply WPF binding, dispatcher, or XAML advice"
|
||||
],
|
||||
"files": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user