[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79F99KVKVGYCC4JWJSWNCV8":3,"skill-same:01M79F99KVKVGYCC4JWJSWNCV8":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M79F99KVKVGYCC4JWJSWNCV8","winui-code-review",null,"Code quality review for WinUI 3 apps — MVVM compliance, x:Bind correctness, accessibility, theming, security, and performance. Use before committing to catch issues that the compiler and UI tests won't find.","BumpyClock\u002Fagent-templates","BumpyClock","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1883824?v=4","01M79EW0FDP9MFXH1FKH800S7T","Aditya Sharma","01M79EW0G27TTKZWTFQ8W5HVB4",2,"MIT","https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fmerged-into-parent\u002Fwinui-code-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: winui-code-review\ndescription: \"Code quality review for WinUI 3 apps — MVVM compliance, x:Bind correctness, accessibility, theming, security, and performance. Use before committing to catch issues that the compiler and UI tests won't find.\"\n---\n\n### When to Use\n\nRun a code review **after the app builds and before committing**. This catches quality issues that aren't build errors and aren't visible in UI tests — patterns that compile and run but are wrong, fragile, or slow.\n\n### How to Review\n\nRead through the project's XAML and C# files and check each section below. The `Microsoft.WindowsAppSDK.Analyzers` Roslyn analyzer ships with the `winui-dev-workflow` skill and is injected when `BuildAndRun.ps1` calls project-mode `winapp run`. The wrapper supplies a temporary file through the environment-backed MSBuild `CustomAfterDirectoryBuildProps` hook, preserving SDK composition and each project's normal `Directory.Build.props` discovery (including referenced projects), then restores the environment and removes the temporary file. Plain `winapp run`, `dotnet build`, and Visual Studio do **not** load the analyzer automatically; to enable it outside the wrapper, add the `\u003CAnalyzer Include=\"...\" \u002F>` and `\u003CImport Project=\"...\" \u002F>` entries to the project's own `Directory.Build.props` (or wait for the planned NuGet package).\n\nThe analyzer catches a curated set of WinUI 3 \u002F Windows App SDK issues with categorized 4-digit IDs:\n\n* **WUI0xxx** — UWP → WinUI 3 API compatibility (`UwpXamlNamespace`, `Window.Current`, `CoreDispatcher`, `GetForCurrentView`)\n* **WUI1xxx** — Migration-table data-driven hints (UWP API has WinAppSDK equivalent, no equivalent, feature-area hint)\n* **WUI2xxx** — Runtime \u002F layout \u002F XAML pitfalls (raw `TabView` content, nested `x:Bind` without fallback, `x:Bind` without `Mode`, null `Converter`, missing `AutomationId`, attached-property syntax)\n* **WUI3xxx** — MVVM patterns (old `[ObservableProperty]` field syntax)\n* **WUI4xxx** — Interop (`WebView2` not initialized, removed ONNX Runtime GenAI APIs `WUI4101`-`WUI4103`)\n\nEvery diagnostic ships at `Warning` severity (no rule is `Error`) and includes a `helpLinkUri`. Suppress noise with `#pragma warning disable WUIxxxx` or `\u003CNoWarn>` as usual — the analyzer's `SuppressionTests` verify that pragma suppression round-trips correctly.\n\n### MVVM Compliance\n\n- [ ] ViewModels extend `ObservableObject`, use `[ObservableProperty]` partial properties (not fields)\n- [ ] Commands use `[RelayCommand]` attribute, not manual `ICommand` implementations\n- [ ] No UI types in ViewModels (`SolidColorBrush`, `Visibility`, `BitmapImage`) — these belong in converters or XAML\n- [ ] No business logic in code-behind — only navigation, dialog coordination, and event wiring\n- [ ] `async Task` for async methods, `async void` only for event handlers\n- [ ] Never replace `ObservableCollection\u003CT>` — use `.Clear()` + re-add\n\n### x:Bind and Data Binding\n\n- [ ] All bindings use `{x:Bind}`, not `{Binding}`\n- [ ] `Mode=OneWay` or `TwoWay` set explicitly — `OneTime` default causes blank UI for dynamic data\n- [ ] `x:DataType` set on every `DataTemplate` — required for compiled x:Bind\n- [ ] No nested nullable paths (e.g., `ViewModel.Selected.Name`) without `FallbackValue`\n- [ ] Command bindings can use OneTime (commands don't change) — don't add `Mode=OneWay` to `Command=\"{x:Bind}\"`\n\n### Accessibility\n\n- [ ] `AutomationProperties.AutomationId` on every interactive control (Button, TextBox, ComboBox, ToggleSwitch, ListView, NavigationViewItem)\n- [ ] `AutomationProperties.Name` on icon-only buttons and controls without visible text\n- [ ] Semantic controls (`Button`, `HyperlinkButton`) — not clickable `Border`\u002F`TextBlock`\n- [ ] No information conveyed by color alone\n\n### Theming\n\n- [ ] All colors use `{ThemeResource}` brushes — no hardcoded `#FF0000` or `Color=\"Blue\"`\n- [ ] Typography uses built-in styles (`TitleTextBlockStyle`, `SubtitleTextBlockStyle`, `BodyTextBlockStyle`, `CaptionTextBlockStyle`) — no raw `FontSize`\n- [ ] Spacing uses 4px grid multiples (4, 8, 12, 16, 24, 32, 48)\n- [ ] Corner radius uses `ControlCornerRadius` \u002F `OverlayCornerRadius` — not hardcoded values\n- [ ] Styles referenced with `{StaticResource}` not `{ThemeResource}` (except for brush usage sites)\n\n### Security\n\n- [ ] No secrets, API keys, or tokens in source code\n- [ ] No `Process.Start` with unsanitized user input\n- [ ] External input validated and sanitized before use\n- [ ] File paths from user input not used directly in `File.Delete` \u002F `File.WriteAllText` without validation\n\n### Performance\n\n- [ ] Long or dynamic lists use `ListView`\u002F`GridView` (virtualized), not `StackPanel` with `foreach`\n- [ ] `x:Load` for content that's not always visible (e.g., dialogs, secondary panels)\n- [ ] Heavy work off UI thread via `Task.Run` or `async\u002Fawait` — never block UI\n- [ ] No `.Result` \u002F `.Wait()` \u002F `.GetAwaiter().GetResult()` — these deadlock the UI thread\n- [ ] `using` statements on all disposable objects (`Model`, `Tokenizer`, `InferenceSession`, `Generator`)\n\n### Globalization\n\n- [ ] User-facing strings use `x:Uid` in XAML and `ResourceLoader` in C# — not hardcoded\n- [ ] String resources in `Strings\u002Fen-us\u002FResources.resw` (not `.resx`)\n- [ ] Date\u002Fnumber formatting uses `CultureInfo.CurrentCulture` — not hardcoded formats\n- [ ] Layout supports RTL (`FlowDirection` inherited from root, no absolute positioning that breaks in RTL)\n- [ ] No string concatenation for user-facing messages — use `string.Format` or interpolation with resource strings\n\n### Review Report\n\nAfter reviewing, summarize:\n1. **Issues found:** List each with file, line, and what's wrong\n2. **Severity:** Error (must fix), Warning (should fix), or Note (could improve)\n3. **Suggested fixes:** Specific code changes for each issue\n\n### References\n\nFor detailed rules with code examples, see `references\u002Fquality-rules.md` — covers performance deep dives (x:Phase, layout optimization), security (PasswordVault, DPAPI, WebView2 hardening), accessibility (keyboard nav, screen readers), code quality (.editorconfig, naming), and globalization (x:Uid patterns, RTL, pluralization).\n","### When to Use\n\nRun a code review **after the app builds and before committing**. This catches quality issues that aren't build errors and aren't visible in UI tests — patterns that compile and run but are wrong, fragile, or slow.\n\n### How to Review\n\nRead through the project's XAML and C# files and check each section below. The `Microsoft.WindowsAppSDK.Analyzers` Roslyn analyzer ships with the `winui-dev-workflow` skill and is injected when `BuildAndRun.ps1` calls project-mode `winapp run`. The wrapper supplies a temporary file through the environment-backed MSBuild `CustomAfterDirectoryBuildProps` hook, preserving SDK composition and each project's normal `Directory.Build.props` discovery (including referenced projects), then restores the environment and removes the temporary file. Plain `winapp run`, `dotnet build`, and Visual Studio do **not** load the analyzer automatically; to enable it outside the wrapper, add the `\u003CAnalyzer Include=\"...\" \u002F>` and `\u003CImport Project=\"...\" \u002F>` entries to the project's own `Directory.Build.props` (or wait for the planned NuGet package).\n\nThe analyzer catches a curated set of WinUI 3 \u002F Windows App SDK issues with categorized 4-digit IDs:\n\n* **WUI0xxx** — UWP → WinUI 3 API compatibility (`UwpXamlNamespace`, `Window.Current`, `CoreDispatcher`, `GetForCurrentView`)\n* **WUI1xxx** — Migration-table data-driven hints (UWP API has WinAppSDK equivalent, no equivalent, feature-area hint)\n* **WUI2xxx** — Runtime \u002F layout \u002F XAML pitfalls (raw `TabView` content, nested `x:Bind` without fallback, `x:Bind` without `Mode`, null `Converter`, missing `AutomationId`, attached-property syntax)\n* **WUI3xxx** — MVVM patterns (old `[ObservableProperty]` field syntax)\n* **WUI4xxx** — Interop (`WebView2` not initialized, removed ONNX Runtime GenAI APIs `WUI4101`-`WUI4103`)\n\nEvery diagnostic ships at `Warning` severity (no rule is `Error`) and includes a `helpLinkUri`. Suppress noise with `#pragma warning disable WUIxxxx` or `\u003CNoWarn>` as usual — the analyzer's `SuppressionTests` verify that pragma suppression round-trips correctly.\n\n### MVVM Compliance\n\n- [ ] ViewModels extend `ObservableObject`, use `[ObservableProperty]` partial properties (not fields)\n- [ ] Commands use `[RelayCommand]` attribute, not manual `ICommand` implementations\n- [ ] No UI types in ViewModels (`SolidColorBrush`, `Visibility`, `BitmapImage`) — these belong in converters or XAML\n- [ ] No business logic in code-behind — only navigation, dialog coordination, and event wiring\n- [ ] `async Task` for async methods, `async void` only for event handlers\n- [ ] Never replace `ObservableCollection\u003CT>` — use `.Clear()` + re-add\n\n### x:Bind and Data Binding\n\n- [ ] All bindings use `{x:Bind}`, not `{Binding}`\n- [ ] `Mode=OneWay` or `TwoWay` set explicitly — `OneTime` default causes blank UI for dynamic data\n- [ ] `x:DataType` set on every `DataTemplate` — required for compiled x:Bind\n- [ ] No nested nullable paths (e.g., `ViewModel.Selected.Name`) without `FallbackValue`\n- [ ] Command bindings can use OneTime (commands don't change) — don't add `Mode=OneWay` to `Command=\"{x:Bind}\"`\n\n### Accessibility\n\n- [ ] `AutomationProperties.AutomationId` on every interactive control (Button, TextBox, ComboBox, ToggleSwitch, ListView, NavigationViewItem)\n- [ ] `AutomationProperties.Name` on icon-only buttons and controls without visible text\n- [ ] Semantic controls (`Button`, `HyperlinkButton`) — not clickable `Border`\u002F`TextBlock`\n- [ ] No information conveyed by color alone\n\n### Theming\n\n- [ ] All colors use `{ThemeResource}` brushes — no hardcoded `#FF0000` or `Color=\"Blue\"`\n- [ ] Typography uses built-in styles (`TitleTextBlockStyle`, `SubtitleTextBlockStyle`, `BodyTextBlockStyle`, `CaptionTextBlockStyle`) — no raw `FontSize`\n- [ ] Spacing uses 4px grid multiples (4, 8, 12, 16, 24, 32, 48)\n- [ ] Corner radius uses `ControlCornerRadius` \u002F `OverlayCornerRadius` — not hardcoded values\n- [ ] Styles referenced with `{StaticResource}` not `{ThemeResource}` (except for brush usage sites)\n\n### Security\n\n- [ ] No secrets, API keys, or tokens in source code\n- [ ] No `Process.Start` with unsanitized user input\n- [ ] External input validated and sanitized before use\n- [ ] File paths from user input not used directly in `File.Delete` \u002F `File.WriteAllText` without validation\n\n### Performance\n\n- [ ] Long or dynamic lists use `ListView`\u002F`GridView` (virtualized), not `StackPanel` with `foreach`\n- [ ] `x:Load` for content that's not always visible (e.g., dialogs, secondary panels)\n- [ ] Heavy work off UI thread via `Task.Run` or `async\u002Fawait` — never block UI\n- [ ] No `.Result` \u002F `.Wait()` \u002F `.GetAwaiter().GetResult()` — these deadlock the UI thread\n- [ ] `using` statements on all disposable objects (`Model`, `Tokenizer`, `InferenceSession`, `Generator`)\n\n### Globalization\n\n- [ ] User-facing strings use `x:Uid` in XAML and `ResourceLoader` in C# — not hardcoded\n- [ ] String resources in `Strings\u002Fen-us\u002FResources.resw` (not `.resx`)\n- [ ] Date\u002Fnumber formatting uses `CultureInfo.CurrentCulture` — not hardcoded formats\n- [ ] Layout supports RTL (`FlowDirection` inherited from root, no absolute positioning that breaks in RTL)\n- [ ] No string concatenation for user-facing messages — use `string.Format` or interpolation with resource strings\n\n### Review Report\n\nAfter reviewing, summarize:\n1. **Issues found:** List each with file, line, and what's wrong\n2. **Severity:** Error (must fix), Warning (should fix), or Note (could improve)\n3. **Suggested fixes:** Specific code changes for each issue\n\n### References\n\nFor detailed rules with code examples, see `references\u002Fquality-rules.md` — covers performance deep dives (x:Phase, layout optimization), security (PasswordVault, DPAPI, WebView2 hardening), accessibility (keyboard nav, screen readers), code quality (.editorconfig, naming), and globalization (x:Uid patterns, RTL, pluralization).\n",{"name":5,"description":7},"main","e24b64bdac040ad169ed16b14853eff1b20cd726","skills_archive\u002Fmerged-into-parent\u002Fwinui-code-review",0,"https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates","https:\u002F\u002Fgithub.com\u002FBumpyClock","2026-11-14 03:12:06",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add BumpyClock\u002Fagent-templates --skill winui-code-review",{"tool":37,"command":38},"bunx","bunx skills add BumpyClock\u002Fagent-templates --skill winui-code-review",{"tool":40,"command":41},"pnpm","pnpm dlx skills add BumpyClock\u002Fagent-templates --skill winui-code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fmerged-into-parent\u002Fwinui-code-review\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fquality-rules.md","REFERENCE","参考文档",12621,"https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fmerged-into-parent\u002Fwinui-code-review\u002Freferences\u002Fquality-rules.md",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M79FEE6E257MWVEBY43X0NVN","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79FEB8GTJC6ZHDK67T40R20","workflow-from-chats","Extract preferences from agent chats → skills, rules, workflow docs. For learning preferences, mining feedback, personalizing workflows.","https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fworkflow-from-chats\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79FE7TMNGVZZ0M8NV4N0X6N","winui3-csharp-app","WinUI 3 \u002F Windows App SDK desktop apps in C#\u002FXAML. MVVM, bindings, navigation, Mica\u002FAcrylic, windowing, packaging, performance.","https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fwinui3-csharp-app\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79FE31HY46BHN67CQGB7MVJ","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79FE0N7MGWDG8SCD60FWTV5","what-did-i-get-done","Summarize authored commits over a user-specified time period into a concise status update.","https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fwhat-did-i-get-done\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79FDYBJG9QNCQC0MMVBDT80","weekly-review","Produce a short weekly synthesis of authored commits with highlights by bugfix, tech debt, and net-new work.","https:\u002F\u002Fgithub.com\u002FBumpyClock\u002Fagent-templates\u002Fblob\u002Fmain\u002Fskills_archive\u002Fweekly-review\u002FSKILL.md",[],[]]