[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EV0F5XGEX8KR5Z4CW81ERY":3,"skill-same:01M7EV0F5XGEX8KR5Z4CW81ERY":52},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M7EV0F5XGEX8KR5Z4CW81ERY","winui-dev-workflow",null,"'Build and run workflow for WinUI 3 apps with WinApp CLI 0.6+ — project creation with winapp new, project-mode winapp run, BuildAndRun.ps1 analyzer integration, crash diagnosis, and prerequisites. Use when creating, building, running, or fixing build errors in","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdesktop\u002Fwinui-dev-workflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: winui-dev-workflow\ndescription: \"'Build and run workflow for WinUI 3 apps with WinApp CLI 0.6+ — project creation with winapp new, project-mode winapp run, BuildAndRun.ps1 analyzer integration, crash diagnosis, and prerequisites. Use when creating, building, running, or fixing build errors in\"\ncategory: desktop\nversion: 1.0.0\ndisable-model-invocation: false\nrisk: low\nsource:\n  repository: \"microsoft\u002Fwin-dev-skills\"\n  commit: \"3a8c5b2e\"\n  path: \"plugins\u002Fwinui\u002Fagent-plugin\u002Fskills\u002Fwinui-dev-workflow\u002FSKILL.md\"\n  license: \"MIT\"\n  imported_at: \"2026-09-20\"\n---\n### Create or Open a Project\n\n**New app** — let WinApp CLI install\u002Fupdate the official templates and scaffold:\n```powershell\nwinapp new --name \u003CAppName> --template winui-mvvm --template-version latest --use-defaults\ncd \u003CAppName>\n```\nRun `winapp new --list` to discover the currently installed template short names. Do not install the template pack separately and do not create the output directory first.\n\n**Existing app** — read the `.csproj` to understand:\n- `\u003CTargetFramework>` (e.g., `net10.0-windows10.0.26100.0`)\n- `\u003CPackageReference>` versions (WindowsAppSDK, CommunityToolkit)\n- Project structure and established patterns\n\n### Install Packages\n\n```powershell\ndotnet add package \u003CName>\n```\nNever specify `--version` — omitting it gets the latest stable and avoids outdated API mismatches.\n\n### Build & Run\n\nWinApp CLI 0.6+ builds a `.csproj` and launches it directly:\n\n```powershell\nwinapp run . --debug-output\nwinapp run .\\MyApp.csproj -c Release --arch arm64\n```\n\nFor normal development, prefer the included `BuildAndRun.ps1` wrapper. It invokes project-mode `winapp run`, injects the bundled `Microsoft.WindowsAppSDK.Analyzers`, and turns on `--debug-output` by default:\n\n```powershell\n.\\BuildAndRun.ps1\n```\n\n**Invoke attached runs with `mode: \"async\"`.** The command stays attached while the app is open, so a synchronous call blocks for the app's lifetime. The output contains the running app's PID.\n\nThe wrapper only adds repository-specific analyzer and debug defaults. WinApp CLI handles:\n1. Project restore and build\n2. Configuration, architecture, runtime, and framework selection\n3. Packaged versus unpackaged detection\n4. Build-output and executable discovery\n5. Windows App Runtime setup\n6. Package registration and launch\n\n**Options and forwarded WinApp arguments:**\n```\n.\\BuildAndRun.ps1                              # one top-level csproj; attached diagnostics\n.\\BuildAndRun.ps1 .\\MyApp.csproj               # explicit project\n.\\BuildAndRun.ps1 .\\MyApp.csproj -c Release    # forwarded to winapp run\n.\\BuildAndRun.ps1 .\\MyApp.csproj --arch arm64  # forwarded to winapp run\n.\\BuildAndRun.ps1 . --detach --json             # return after launch; emit PID as JSON\n.\\BuildAndRun.ps1 . --symbols                   # add Symbol Server-backed native symbols\n.\\BuildAndRun.ps1 --args \"--flag value\"         # pass application arguments\n```\n\nThe wrapper accepts the same `.csproj`, `.sln`\u002F`.slnx`, directory, and `--project` inputs as `winapp run`.\n\n**If build fails:** Read all errors, batch-fix them in one pass, then rerun the same command.\n\n**If the app crashes on launch:** `read_powershell` the shell — first-chance exceptions appear in the output. See the crash-diagnosis section below for WinUI stowed-exception triage.\n\n### Diagnosing Crashes with `winapp run`\n\nFor WinUI apps, `--debug-output` (the wrapper default) runs a **stowed-exception triage** on crash, surfacing the real WinUI\u002FXAML error behind an opaque `0x8000FFFF` \u002F `E_FAIL`. The first crash downloads debugger components and can take a few minutes; point `WINAPP_DBGTOOLS_DIR` at an existing *Debugging Tools for Windows* install for offline\u002Flocked-down environments. Add `--symbols` for richer native frames.\n\n### Common Errors\n\n| Error | Fix |\n|-------|-----|\n| Developer Mode not enabled | Settings → System → For developers → On |\n| CS0234\u002FCS0246 missing type | Add `using` or `dotnet add package` |\n| NETSDK1136 platform required | Target a Windows TFM (for example `net10.0-windows10.0.26100.0`); use `-f \u003Cwindows-tfm>` when the project already multi-targets |\n| XLS0414 XAML type not found | Add `xmlns` declaration |\n| XDG0062 binding path missing | Check `x:Bind` property exists on ViewModel |\n| Blank window after launch | `x:Bind` defaults to `OneTime` — add `Mode=OneWay` |\n| App silently exits | Use `winapp run`, never run the .exe directly |\n| App crashes with opaque `0x8000FFFF` \u002F `E_FAIL` | Run under `--debug-output` (BuildAndRun.ps1 default) — WinUI stowed-exception triage surfaces the real XAML error + symbolicated native stack. `--symbols` is optional |\n| XAML compiler crashes silently | Remove any `PresentationCore.dll` \u002F `System.Windows` references |\n| MSB3073 \u002F `XamlCompiler.exe ... exited with code 1`, no `.xaml` named | Old WindowsAppSDK XAML-compiler bug — update `Microsoft.WindowsAppSDK` NuGet to latest (≥ 2.1.3, or ≥ 1.8 on the 1.x line) |\n| 0x80073CF6 package install failed | Check the manifest publisher and Developer Mode; apps from `winapp new` need no separate `winapp init` |\n| 0x80073CF9 \u002F \"Failed to reach state Staged\" on a deeply nested project | For a packaged app, rerun with `--output-appx-directory \"$env:LOCALAPPDATA\\winapp-layout\\\u003Capp>-\u003Cconfig>-\u003Carch>\"`, or move the repo closer to the drive root. Keep the directory unique per configuration and architecture — a registered development package holds a live reference to it, so Debug and Release must not share one — and empty it before reuse so payload files dropped since the last build do not linger |\n| 0x8007000B bad image format | Wrong platform target — use x64 or ARM64, not AnyCPU |\n\n### Prerequisites\n\n| Requirement | Minimum | Recommended (fresh installs) | Install command |\n|-------------|---------|------------------------------|-----------------|\n| Windows 10 v1903+ | — | — | — |\n| Developer Mode | enabled | enabled | Settings → Advanced → Developer Mode → On |\n| .NET SDK | 8.0.100 | 10.0 | `winget install Microsoft.DotNet.SDK.10` |\n| WinApp CLI | 0.6.0 | latest | `\u002Fwinui-setup` |\n\nIf `winapp`\u002F`dotnet` is missing or too old, or Developer Mode is off, **do not install it ad hoc or work around it**. Ask the user to run `\u002Fwinui-setup`, then retry. `winapp new` manages the WinUI template pack itself.\n\n### Critical Rules\n\n- ❌ NEVER run the packaged .exe directly — always use project-mode `winapp run` or `BuildAndRun.ps1`\n- ❌ NEVER add `\u003CWindowsPackageType>None` to work around launch issues\n- ❌ NEVER delete `Package.appxmanifest`\n- ❌ NEVER use `AnyCPU` — always x64 or ARM64\n\n### References\n\n- `BuildAndRun.ps1` — included with this skill; adds the bundled analyzer and diagnostic defaults to `winapp run`\n","### Create or Open a Project\n\n**New app** — let WinApp CLI install\u002Fupdate the official templates and scaffold:\n```powershell\nwinapp new --name \u003CAppName> --template winui-mvvm --template-version latest --use-defaults\ncd \u003CAppName>\n```\nRun `winapp new --list` to discover the currently installed template short names. Do not install the template pack separately and do not create the output directory first.\n\n**Existing app** — read the `.csproj` to understand:\n- `\u003CTargetFramework>` (e.g., `net10.0-windows10.0.26100.0`)\n- `\u003CPackageReference>` versions (WindowsAppSDK, CommunityToolkit)\n- Project structure and established patterns\n\n### Install Packages\n\n```powershell\ndotnet add package \u003CName>\n```\nNever specify `--version` — omitting it gets the latest stable and avoids outdated API mismatches.\n\n### Build & Run\n\nWinApp CLI 0.6+ builds a `.csproj` and launches it directly:\n\n```powershell\nwinapp run . --debug-output\nwinapp run .\\MyApp.csproj -c Release --arch arm64\n```\n\nFor normal development, prefer the included `BuildAndRun.ps1` wrapper. It invokes project-mode `winapp run`, injects the bundled `Microsoft.WindowsAppSDK.Analyzers`, and turns on `--debug-output` by default:\n\n```powershell\n.\\BuildAndRun.ps1\n```\n\n**Invoke attached runs with `mode: \"async\"`.** The command stays attached while the app is open, so a synchronous call blocks for the app's lifetime. The output contains the running app's PID.\n\nThe wrapper only adds repository-specific analyzer and debug defaults. WinApp CLI handles:\n1. Project restore and build\n2. Configuration, architecture, runtime, and framework selection\n3. Packaged versus unpackaged detection\n4. Build-output and executable discovery\n5. Windows App Runtime setup\n6. Package registration and launch\n\n**Options and forwarded WinApp arguments:**\n```\n.\\BuildAndRun.ps1                              # one top-level csproj; attached diagnostics\n.\\BuildAndRun.ps1 .\\MyApp.csproj               # explicit project\n.\\BuildAndRun.ps1 .\\MyApp.csproj -c Release    # forwarded to winapp run\n.\\BuildAndRun.ps1 .\\MyApp.csproj --arch arm64  # forwarded to winapp run\n.\\BuildAndRun.ps1 . --detach --json             # return after launch; emit PID as JSON\n.\\BuildAndRun.ps1 . --symbols                   # add Symbol Server-backed native symbols\n.\\BuildAndRun.ps1 --args \"--flag value\"         # pass application arguments\n```\n\nThe wrapper accepts the same `.csproj`, `.sln`\u002F`.slnx`, directory, and `--project` inputs as `winapp run`.\n\n**If build fails:** Read all errors, batch-fix them in one pass, then rerun the same command.\n\n**If the app crashes on launch:** `read_powershell` the shell — first-chance exceptions appear in the output. See the crash-diagnosis section below for WinUI stowed-exception triage.\n\n### Diagnosing Crashes with `winapp run`\n\nFor WinUI apps, `--debug-output` (the wrapper default) runs a **stowed-exception triage** on crash, surfacing the real WinUI\u002FXAML error behind an opaque `0x8000FFFF` \u002F `E_FAIL`. The first crash downloads debugger components and can take a few minutes; point `WINAPP_DBGTOOLS_DIR` at an existing *Debugging Tools for Windows* install for offline\u002Flocked-down environments. Add `--symbols` for richer native frames.\n\n### Common Errors\n\n| Error | Fix |\n|-------|-----|\n| Developer Mode not enabled | Settings → System → For developers → On |\n| CS0234\u002FCS0246 missing type | Add `using` or `dotnet add package` |\n| NETSDK1136 platform required | Target a Windows TFM (for example `net10.0-windows10.0.26100.0`); use `-f \u003Cwindows-tfm>` when the project already multi-targets |\n| XLS0414 XAML type not found | Add `xmlns` declaration |\n| XDG0062 binding path missing | Check `x:Bind` property exists on ViewModel |\n| Blank window after launch | `x:Bind` defaults to `OneTime` — add `Mode=OneWay` |\n| App silently exits | Use `winapp run`, never run the .exe directly |\n| App crashes with opaque `0x8000FFFF` \u002F `E_FAIL` | Run under `--debug-output` (BuildAndRun.ps1 default) — WinUI stowed-exception triage surfaces the real XAML error + symbolicated native stack. `--symbols` is optional |\n| XAML compiler crashes silently | Remove any `PresentationCore.dll` \u002F `System.Windows` references |\n| MSB3073 \u002F `XamlCompiler.exe ... exited with code 1`, no `.xaml` named | Old WindowsAppSDK XAML-compiler bug — update `Microsoft.WindowsAppSDK` NuGet to latest (≥ 2.1.3, or ≥ 1.8 on the 1.x line) |\n| 0x80073CF6 package install failed | Check the manifest publisher and Developer Mode; apps from `winapp new` need no separate `winapp init` |\n| 0x80073CF9 \u002F \"Failed to reach state Staged\" on a deeply nested project | For a packaged app, rerun with `--output-appx-directory \"$env:LOCALAPPDATA\\winapp-layout\\\u003Capp>-\u003Cconfig>-\u003Carch>\"`, or move the repo closer to the drive root. Keep the directory unique per configuration and architecture — a registered development package holds a live reference to it, so Debug and Release must not share one — and empty it before reuse so payload files dropped since the last build do not linger |\n| 0x8007000B bad image format | Wrong platform target — use x64 or ARM64, not AnyCPU |\n\n### Prerequisites\n\n| Requirement | Minimum | Recommended (fresh installs) | Install command |\n|-------------|---------|------------------------------|-----------------|\n| Windows 10 v1903+ | — | — | — |\n| Developer Mode | enabled | enabled | Settings → Advanced → Developer Mode → On |\n| .NET SDK | 8.0.100 | 10.0 | `winget install Microsoft.DotNet.SDK.10` |\n| WinApp CLI | 0.6.0 | latest | `\u002Fwinui-setup` |\n\nIf `winapp`\u002F`dotnet` is missing or too old, or Developer Mode is off, **do not install it ad hoc or work around it**. Ask the user to run `\u002Fwinui-setup`, then retry. `winapp new` manages the WinUI template pack itself.\n\n### Critical Rules\n\n- ❌ NEVER run the packaged .exe directly — always use project-mode `winapp run` or `BuildAndRun.ps1`\n- ❌ NEVER add `\u003CWindowsPackageType>None` to work around launch issues\n- ❌ NEVER delete `Package.appxmanifest`\n- ❌ NEVER use `AnyCPU` — always x64 or ARM64\n\n### References\n\n- `BuildAndRun.ps1` — included with this skill; adds the bundled analyzer and diagnostic defaults to `winapp run`\n",{"name":5,"risk":24,"source":25,"version":30,"category":31,"description":7,"disable-model-invocation":20},"low",{"path":26,"commit":27,"license":15,"repository":28,"imported_at":29},"plugins\u002Fwinui\u002Fagent-plugin\u002Fskills\u002Fwinui-dev-workflow\u002FSKILL.md","3a8c5b2e","microsoft\u002Fwin-dev-skills","2026-09-20","1.0.0","desktop","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fdesktop\u002Fwinui-dev-workflow","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill winui-dev-workflow",{"tool":44,"command":45},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill winui-dev-workflow",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill winui-dev-workflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdesktop\u002Fwinui-dev-workflow\u002FSKILL.md",true,[],[53,61,68,75,82,89],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":60},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":60},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":60},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":60},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":60},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":60},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]