[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EV0M72J5GZPYVR0HNWF9G5":3,"skill-same:01M7EV0M72J5GZPYVR0HNWF9G5":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},"01M7EV0M72J5GZPYVR0HNWF9G5","winui-packaging",null,"'MSIX packaging, code signing, and distribution for WinUI 3 apps — build for release, certificate generation (winapp cert generate), certificate trust, code signing (winapp sign), self-contained deployment, CI\u002FCD with GitHub Actions, and Microsoft Store submis","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-packaging\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: winui-packaging\ndescription: \"'MSIX packaging, code signing, and distribution for WinUI 3 apps — build for release, certificate generation (winapp cert generate), certificate trust, code signing (winapp sign), self-contained deployment, CI\u002FCD with GitHub Actions, and Microsoft Store submis\"\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-packaging\u002FSKILL.md\"\n  license: \"MIT\"\n  imported_at: \"2026-09-20\"\n---\n### Quick Reference\n\n| Task | Command |\n|------|---------|\n| Build for release | `.\\BuildAndRun.ps1 . -c Release --arch x64 --no-launch` |\n| Package + sign | `winapp package \u003Cdir> --cert devcert.pfx` |\n| Generate + sign + package | `winapp package \u003Cdir> --generate-cert --install-cert` |\n| Generate dev certificate | `winapp cert generate` |\n| Trust certificate (admin) | `winapp cert install .\u002Fdevcert.pfx` |\n| Sign existing file | `winapp sign .\u002Fapp.msix .\u002Fdevcert.pfx` |\n| Self-contained deployment | `winapp package \u003Cdir> --cert devcert.pfx --self-contained` |\n\n### End-to-End Workflow\n\n#### Step 1: Build for Release\nBuild the project in Release configuration without launching it. Use the `BuildAndRun.ps1` wrapper from the `winui-dev-workflow` skill — plain `dotnet build` does **not** load the bundled `Microsoft.WindowsAppSDK.Analyzers`, so release builds would ship without the analyzer gate that development builds get:\n\n```powershell\n.\\BuildAndRun.ps1 . -c Release --arch x64 --no-launch\n```\n\n`--no-launch` builds and registers a development package without starting the app. Run `winapp unregister` before installing the signed `.msix` in Step 5, so the development registration does not conflict with the packaged identity.\n\n#### Step 2: Generate Certificate (one-time)\n```powershell\nwinapp cert generate --manifest .\n```\nCreates `devcert.pfx` (default password: `password`). The `--manifest` flag auto-matches the `Publisher` field in `Package.appxmanifest`.\n\n#### Step 3: Trust Certificate (one-time, requires admin)\n```powershell\nwinapp cert install .\u002Fdevcert.pfx\n```\nAdds cert to machine Trusted Root store. Persists across reboots.\n\n#### Step 4: Package and Sign\n```powershell\nwinapp package \u003Cbuild-output-dir> --cert .\u002Fdevcert.pfx\n```\nThis locates `appxmanifest.xml`, stages the layout, generates `resources.pri`, creates `.msix`, and signs it.\n\n#### Step 5: Install or Distribute\n```powershell\n# Local install\nAdd-AppxPackage .\u002FMyApp.msix\n\n# Or double-click the .msix file\n```\n\n### Key Rules\n\n- **Publisher must match** between certificate and manifest `Identity.Publisher` — use `winapp cert generate --manifest` to auto-match\n- **Prefer `winapp package --cert`** over separate `winapp sign` — one step instead of two\n- **`cert install` requires admin** — run terminal as Administrator\n- **Default PFX password** is `password` — override with `--password`\n- **`--timestamp`** is critical for production — without it, signatures expire with the cert:\n  ```powershell\n  winapp package \u003Cdir> --cert prod.pfx --timestamp http:\u002F\u002Ftimestamp.digicert.com\n  ```\n- **`--self-contained`** bundles Windows App SDK runtime — larger but no runtime dependency\n\n### CI\u002FCD with GitHub Actions\n\n```yaml\nname: Build and Package\non: [push]\njobs:\n  build:\n    runs-on: windows-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: microsoft\u002Fsetup-WinAppCli@v0.1\n\n      - name: Build\n        run: dotnet build -c Release -p:Platform=x64\n\n      - name: Package\n        run: |\n          winapp cert generate --if-exists skip --quiet\n          winapp package .\u002Fbin\u002Fx64\u002FRelease\u002F --cert .\u002Fdevcert.pfx --quiet\n\n      - name: Upload artifact\n        uses: actions\u002Fupload-artifact@v4\n        with:\n          name: msix-package\n          path: \"*.msix\"\n```\n\n**CI\u002FCD tips:**\n- Use plain `dotnet build` on the runner, not `BuildAndRun.ps1` — the wrapper registers a development package and needs the plugin's local analyzer payload, neither of which belongs in CI. Enforce analyzer coverage on the dev machine instead.\n- Use `--quiet` for clean output\n- Use `--if-exists skip` with `cert generate` to avoid failures on re-runs\n- Store production PFX as a repository secret\n\n### Store Submission\n\n1. **Partner Center account** — register at [partner.microsoft.com](https:\u002F\u002Fpartner.microsoft.com)\n2. **Age ratings** — complete the questionnaire in Partner Center\n3. **Screenshots** — capture at 1366x768 minimum resolution\n4. **Privacy policy** — required for apps that access internet or user data\n5. **Submit:** upload the signed `.msix` \u002F `.msixbundle` produced by `winapp package` via [Microsoft Partner Center](https:\u002F\u002Fpartner.microsoft.com\u002Fdashboard) — Apps and games → your app → Packages. Microsoft Store submission is browser-based; there is no first-party CLI submit command yet.\n\n### Troubleshooting\n\n| Error | Solution |\n|-------|----------|\n| \"Publisher mismatch\" | Run `winapp cert generate --manifest` to re-generate |\n| \"Certificate not trusted\" | Run `winapp cert install .\u002Fdevcert.pfx` as admin |\n| \"Access denied\" | `cert install` needs admin elevation |\n| \"Certificate file already exists\" | Use `--if-exists overwrite` or `--if-exists skip` |\n| \"appxmanifest.xml not found\" | Run `winapp init` or pass `--manifest \u003Cpath>` |\n| \"Package installation failed\" | Trust cert first; remove stale: `Get-AppxPackage \u003Cname> \\| Remove-AppxPackage` |\n| Signature invalid after time | Re-sign with `--timestamp` |\n\n### References\n\n| File | Read when... |\n|------|-------------|\n| `references\u002Fsourcegen-patterns.md` | Setting up AOT\u002Ftrimming, JSON source generators, NativeAOT readiness, CsWin32 |\n","### Quick Reference\n\n| Task | Command |\n|------|---------|\n| Build for release | `.\\BuildAndRun.ps1 . -c Release --arch x64 --no-launch` |\n| Package + sign | `winapp package \u003Cdir> --cert devcert.pfx` |\n| Generate + sign + package | `winapp package \u003Cdir> --generate-cert --install-cert` |\n| Generate dev certificate | `winapp cert generate` |\n| Trust certificate (admin) | `winapp cert install .\u002Fdevcert.pfx` |\n| Sign existing file | `winapp sign .\u002Fapp.msix .\u002Fdevcert.pfx` |\n| Self-contained deployment | `winapp package \u003Cdir> --cert devcert.pfx --self-contained` |\n\n### End-to-End Workflow\n\n#### Step 1: Build for Release\nBuild the project in Release configuration without launching it. Use the `BuildAndRun.ps1` wrapper from the `winui-dev-workflow` skill — plain `dotnet build` does **not** load the bundled `Microsoft.WindowsAppSDK.Analyzers`, so release builds would ship without the analyzer gate that development builds get:\n\n```powershell\n.\\BuildAndRun.ps1 . -c Release --arch x64 --no-launch\n```\n\n`--no-launch` builds and registers a development package without starting the app. Run `winapp unregister` before installing the signed `.msix` in Step 5, so the development registration does not conflict with the packaged identity.\n\n#### Step 2: Generate Certificate (one-time)\n```powershell\nwinapp cert generate --manifest .\n```\nCreates `devcert.pfx` (default password: `password`). The `--manifest` flag auto-matches the `Publisher` field in `Package.appxmanifest`.\n\n#### Step 3: Trust Certificate (one-time, requires admin)\n```powershell\nwinapp cert install .\u002Fdevcert.pfx\n```\nAdds cert to machine Trusted Root store. Persists across reboots.\n\n#### Step 4: Package and Sign\n```powershell\nwinapp package \u003Cbuild-output-dir> --cert .\u002Fdevcert.pfx\n```\nThis locates `appxmanifest.xml`, stages the layout, generates `resources.pri`, creates `.msix`, and signs it.\n\n#### Step 5: Install or Distribute\n```powershell\n# Local install\nAdd-AppxPackage .\u002FMyApp.msix\n\n# Or double-click the .msix file\n```\n\n### Key Rules\n\n- **Publisher must match** between certificate and manifest `Identity.Publisher` — use `winapp cert generate --manifest` to auto-match\n- **Prefer `winapp package --cert`** over separate `winapp sign` — one step instead of two\n- **`cert install` requires admin** — run terminal as Administrator\n- **Default PFX password** is `password` — override with `--password`\n- **`--timestamp`** is critical for production — without it, signatures expire with the cert:\n  ```powershell\n  winapp package \u003Cdir> --cert prod.pfx --timestamp http:\u002F\u002Ftimestamp.digicert.com\n  ```\n- **`--self-contained`** bundles Windows App SDK runtime — larger but no runtime dependency\n\n### CI\u002FCD with GitHub Actions\n\n```yaml\nname: Build and Package\non: [push]\njobs:\n  build:\n    runs-on: windows-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: microsoft\u002Fsetup-WinAppCli@v0.1\n\n      - name: Build\n        run: dotnet build -c Release -p:Platform=x64\n\n      - name: Package\n        run: |\n          winapp cert generate --if-exists skip --quiet\n          winapp package .\u002Fbin\u002Fx64\u002FRelease\u002F --cert .\u002Fdevcert.pfx --quiet\n\n      - name: Upload artifact\n        uses: actions\u002Fupload-artifact@v4\n        with:\n          name: msix-package\n          path: \"*.msix\"\n```\n\n**CI\u002FCD tips:**\n- Use plain `dotnet build` on the runner, not `BuildAndRun.ps1` — the wrapper registers a development package and needs the plugin's local analyzer payload, neither of which belongs in CI. Enforce analyzer coverage on the dev machine instead.\n- Use `--quiet` for clean output\n- Use `--if-exists skip` with `cert generate` to avoid failures on re-runs\n- Store production PFX as a repository secret\n\n### Store Submission\n\n1. **Partner Center account** — register at [partner.microsoft.com](https:\u002F\u002Fpartner.microsoft.com)\n2. **Age ratings** — complete the questionnaire in Partner Center\n3. **Screenshots** — capture at 1366x768 minimum resolution\n4. **Privacy policy** — required for apps that access internet or user data\n5. **Submit:** upload the signed `.msix` \u002F `.msixbundle` produced by `winapp package` via [Microsoft Partner Center](https:\u002F\u002Fpartner.microsoft.com\u002Fdashboard) — Apps and games → your app → Packages. Microsoft Store submission is browser-based; there is no first-party CLI submit command yet.\n\n### Troubleshooting\n\n| Error | Solution |\n|-------|----------|\n| \"Publisher mismatch\" | Run `winapp cert generate --manifest` to re-generate |\n| \"Certificate not trusted\" | Run `winapp cert install .\u002Fdevcert.pfx` as admin |\n| \"Access denied\" | `cert install` needs admin elevation |\n| \"Certificate file already exists\" | Use `--if-exists overwrite` or `--if-exists skip` |\n| \"appxmanifest.xml not found\" | Run `winapp init` or pass `--manifest \u003Cpath>` |\n| \"Package installation failed\" | Trust cert first; remove stale: `Get-AppxPackage \u003Cname> \\| Remove-AppxPackage` |\n| Signature invalid after time | Re-sign with `--timestamp` |\n\n### References\n\n| File | Read when... |\n|------|-------------|\n| `references\u002Fsourcegen-patterns.md` | Setting up AOT\u002Ftrimming, JSON source generators, NativeAOT readiness, CsWin32 |\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-packaging\u002FSKILL.md","3a8c5b2e","microsoft\u002Fwin-dev-skills","2026-09-20","1.0.0","desktop","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fdesktop\u002Fwinui-packaging","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-packaging",{"tool":44,"command":45},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill winui-packaging",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill winui-packaging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdesktop\u002Fwinui-packaging\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",[],[]]