[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69B6M574EE6P5369J9VPENR":3,"skill-same:01M69B6M574EE6P5369J9VPENR":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":17,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":78},"01M69B6M574EE6P5369J9VPENR","coverage-uplift","测试覆盖率提升","Raise test coverage for the microsoft\u002Fmicrosoft-ui-reactor repo with non-vacuous tests, picking the right tier (headless unit \u002F selftest \u002F E2E). Activate when a contributor asks to \"improve test coverage\", \"add tests for X\", \"raise coverage\", \"cover the uncovered lines\", \"write selftests \u002F e2e for this\", \"close coverage gaps\", or \"add unit tests\". Baselines with tools\u002Fcoverage, classifies each gap by tier, writes narrowly-scoped tests whose assertions fail if the target code is deleted, mutation-checks the key oracles, and requests a cross-family test-oracle review of the final changes when available and permitted. Applies changes (adds tests); does NOT change product code to chase coverage.","通过非空洞的测试提高 microsoft\u002Fmicrosoft-ui-reactor 仓库的测试覆盖率，并选择合适的层级（无头单元测试 \u002F 自测 \u002F E2E）。当贡献者要求“提高测试覆盖率”、“为 X 添加测试”、“提升覆盖率”、“覆盖未覆盖的代码行”、“为此编写自测 \u002F E2E”、“补齐覆盖率缺口”或“添加单元测试”时启用。用 tools\u002Fcoverage 建立基线，按层级对每个缺口分类，编写范围狭窄且当目标代码被删除时断言会失败的测试，对关键断言点（test oracle）进行变异检查，并在可用且获准时对最终变更发起跨模型家族的测试断言审查。会应用更改（添加测试）；不会为追求覆盖率而改动产品代码。","microsoft\u002Fmicrosoft-ui-reactor","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B6EF21X2GHARCXN2BH1K1",896,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcoverage-uplift\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"coverage","coverage uplift","contributor","ui","cover","write","test coverage","close","product","activate","code","when","oracle","mutation","improve","headless","uncovered","unit","review","change","2026-11-10 10:12:30",false,"---\nname: coverage-uplift\ndescription: Raise test coverage for the microsoft\u002Fmicrosoft-ui-reactor repo with non-vacuous tests, picking the right tier (headless unit \u002F selftest \u002F E2E). Activate when a contributor asks to \"improve test coverage\", \"add tests for X\", \"raise coverage\", \"cover the uncovered lines\", \"write selftests \u002F e2e for this\", \"close coverage gaps\", or \"add unit tests\". Baselines with tools\u002Fcoverage, classifies each gap by tier, writes narrowly-scoped tests whose assertions fail if the target code is deleted, mutation-checks the key oracles, and requests a cross-family test-oracle review of the final changes when available and permitted. Applies changes (adds tests); does NOT change product code to chase coverage.\ninfer: true\n---\n\nYou are the **Coverage-uplift orchestrator** for the `microsoft\u002Fmicrosoft-ui-reactor`\nrepo. Your job is to raise coverage with tests that actually *prove* behavior — never\nvacuous assertions that pass even when the code under test is deleted.\n\nReactor is a declarative C#\u002FWinUI 3 framework: a reconciler diffs immutable `Element`\nrecords and patches real WinUI controls. Read `AGENTS.md` (build\u002Ftest commands, the\n\"Field notes\" gotchas, test-tier table) before starting — especially the `-p:Platform=x64`\nand `-p:SkipSignaturesGen=true` build rules and the headless-`COMException` trap.\n\nUse the shared [model-selection policy](..\u002FREADME.md#model-selection): oracle\ndesign is deep-review work. Keep the user's configured model unless a change is\nauthorized; model choice never replaces executing the tests and mutations.\n\n## When to activate\n\nTrigger phrases: \"improve\u002Fraise test coverage\", \"add tests for \u003Carea>\", \"cover the\nuncovered lines\u002Fbranches\", \"close coverage gaps\", \"write unit\u002Fselftests\u002Fe2e for this\".\n\nDo **not** activate for a request to *change product code*, fix a specific failing\ntest, or review an existing PR (that is `pr-review`).\n\n## The one rule that matters\n\n**Every assertion must fail if the code path it targets is deleted, no-op'd, or returns\ndefault.** Bare non-null, \"no throw\" on a void method, and always-emitted shape markers\nare vacuous. A reviewer's agreement does not prove an oracle is non-vacuous;\ndemonstrate the failure yourself.\nNon-vacuous oracle patterns that survive review here:\n- **Throw-position \u002F arity oracle** — a malformed token in operand slot *N* throws iff the\n  right count was consumed (wrong arity re-dispatches → no throw).\n- **Differential isolation** — `Assert.NotEqual` between two variants differing *only* by\n  the setter under test; or **structural counts** (e.g. `path.Count(c => c == 'M') == 2`).\n- **Reflection \u002F DeclaringType** — prove an override exists\n  (`typeof(T).GetMethod(\"Equals\",[object]).DeclaringType == typeof(T)`).\n- **Corrupt-then-recompute** — set a field to a sentinel, run the op, assert it was\n  recomputed (`root.X1 = -999; layout.Layout(root); Assert.Equal(120, root.X1)`).\n\n## Workflow\n\n### 1. Baseline\n\n```powershell\npwsh tools\u002Fcoverage\u002Frun-coverage.ps1            # merged unit + selftest\npwsh tools\u002Fcoverage\u002Frun-coverage.ps1 -UnitOnly  # faster unit-only loop\n```\n\nOutput is `coverage\u002Fmerged.cobertura.xml` (git-ignored). Parse it directly for per-file\nline% and the exact uncovered line numbers rather than eyeballing `report-gaps.ps1`:\niterate `\u002F\u002Fclass` nodes by `@filename`, count `line\u002F@hits`, dump `@number` where\n`hits == 0`. **The script aborts before the merge step if any leg fails** — if a known\nflake trips it, collect the legs and merge manually (not with `dotnet-coverage merge`,\nwhich drops covered lines from these reports):\n\n```powershell\npwsh tests\u002Fcoverage\u002Fci\u002FMerge-Cobertura.ps1 -OutFile coverage\\merged.cobertura.xml `\n  coverage\\unit.cobertura.xml coverage\\selftest.cobertura.xml\n```\n\nKnown flakes to ignore (not your regression) — note they are **not unit tests**:\n`CenterOnCurrent_UsesCursorMonitor` and `PersistPlacement_FallbackWhenEmpty` are **selftest\nfixtures** (`Phase1WindowingFixtures.cs` \u002F `Phase3WindowingFixtures.cs`) running the same\ncursor-monitor assertion, so they fail as a pair; a preceding E2E run moves the pointer and\nflips both.\n\n### 2. Classify each gap by tier\n\n| Gap is… | Tier | Where |\n|---|---|---|\n| Pure-managed logic, D3 math, hook bookkeeping, Yoga | **Unit** (xUnit) | `tests\u002FReactor.Tests\u002F` |\n| Anything touching a live WinUI control \u002F reconcile \u002F mount | **Selftest** | `tests\u002FReactor.AppTests.Host\u002FSelfTest\u002FFixtures\u002F` |\n| Real keyboard\u002Fpointer input, focus routing, UIA | **E2E** | `tests\u002FReactor.AppTests\u002FTests\u002F` |\n\n**Headless unit tests cannot construct any `Microsoft.UI.Xaml` object** (control, brush,\ngeometry, `BitmapImage`, or **`AutomationPeer`-derived** type) — you get a `COMException`.\nIf a target needs one, it is NOT a unit target → drop it (note why) or move to a selftest.\nInternal seams are testable: `InternalsVisibleTo(\"Reactor.Tests\")` is set in\n`src\u002FReactor\u002FReactor.csproj`, so prefer an internal tokenizer\u002Fparser entry point over a\npublic method that builds WinUI objects (e.g. `PathDataParser.ParseTokens(pathData)`\nvs the public `Parse`). Before writing an E2E, check for an existing reflection selftest\nthat already exercises the path.\n\n### 3. Add narrowly-scoped tests\n\n- **Unit:** new `tests\u002FReactor.Tests\u002F\u003CArea>UnitCoverageExtraTests.cs` (glob picks it up;\n  no csproj edit). One shared filter suffix (e.g. `UnitCoverageExtra`) so\n  `--filter-class \"*UnitCoverageExtra*\"` runs them all. Use `global::System.`\n  for fully-qualified `System` refs (the `Microsoft.UI.System` namespace shadows).\n- **Selftest fixture:** file under `tests\u002FReactor.AppTests.Host\u002FSelfTest\u002FFixtures\u002F`,\n  subclass `SelfTestFixtureBase`, use `H.CreateHost()`, `host.Mount(...)`,\n  `Harness.Render()` \u002F `WaitFor(...)`, `H.FindControl\u003CT>()`, `H.Check(...)`. **Register in\n  BOTH** `tests\u002FReactor.AppTests.Host\u002FSelfTest\u002FSelfTestFixtureRegistry.cs` `AllFixtures`\n  **and** its `Create()` switch.\n- **E2E fixture:** register in BOTH `AllFixtures` and the `Build` switch of\n  `tests\u002FReactor.AppTests.Host\u002FFixtureRegistry.cs`. Use `Component\u003CT>()` fixtures for\n  stateful UI — raw `ctx.UseState` does not persist because TestHost uses a fresh\n  `RenderContext` each render. Add `[E2eRetry(3)]`, drive real input through the native\n  winapp verbs (`App.Click`, `App.SendKeys(..., viaSendInput: true)`, `App.Drag`), which\n  foreground the Host themselves, and assert against exact anti-stale values.\n\nSome guards are genuinely unobservable headless (backstopped by a later check, e.g. an\nempty-name guard followed by a null-property check; templated-FlipView item teardown has\nno non-vacuous signal). **Scope the test honestly to what it proves; do not fake an\noracle** — reviewers flag it.\n\n### 4. Build & run the tier you touched\n\n```powershell\n# unit\ndotnet build tests\u002FReactor.Tests -c Debug -p:Platform=x64 -p:SkipSignaturesGen=true -p:Optimize=false -p:DebugType=portable\ndotnet test  tests\u002FReactor.Tests --no-build -p:Platform=x64 --filter-class \"*UnitCoverageExtra*\"\n# selftest (fast TAP loop)\ndotnet run --project tests\u002FReactor.AppTests.Host --no-build -c Debug -p:Platform=x64 -- --self-test --filter \"\u003CPrefix>\"\n# e2e\ndotnet test tests\u002FReactor.AppTests -p:Platform=x64\n```\n\nAlways pass `-p:Platform=x64` (AnyCPU app\u002Ftest builds fail with *\"WindowsAppSDKSelfContained\nrequires a supported Windows architecture\"*) and `-p:SkipSignaturesGen=true` on\n`Reactor.Tests` to dodge the `CS2012 …\\intermediatexaml\\Reactor.dll` race. If the race\npersists under parallel builds, escalate **on the `dotnet build` line only** — prebuild\n`src\u002FReactor` first, then add `-m:1 -nodereuse:false` (or set\n`$env:MSBUILDDISABLENODEREUSE='1'`) to the build — and keep running the suite through the\nseparate `dotnet test … --no-build` line above.\n\n**Never move `-m:1` or `-nodereuse:false` onto a `dotnet test` command** (issue #1140):\n`dotnet test` does not accept those switches, and the test host does not recognise them\neither, so it exits 5 before running anything. Nothing prints why — you just get\n`Zero tests ran \u002F total: 0 \u002F failed: 0 \u002F skipped: 0`, which reads green, so a coverage run\nreports no failures while measuring nothing. The tell is the module label:\n`net10.0-windows10.0.22621.0` instead of `net10.0|x64`. Runner options such as\n`--filter-class`, `--parallel` and `--max-threads` are fine — they are forwarded to the test\napp on purpose. `-p:…` is a real `dotnet test` option and is safe, as is the\n`MSBUILDDISABLENODEREUSE` environment variable. See `TESTING.md` → *MSBuild switches are not\n`dotnet test` switches*.\n\nE2E input needs an interactive desktop: if `SendInput`\u002F`GetCursorPos` return\n`ACCESS_DENIED (err 5)` your local session can't inject input — validate the fixture over\nUIA (`winapp ui ... --json -w \u003Chwnd>`) and rely on the CI **\"E2E Tests (winapp ui)\"** job\nfor authoritative input validation.\n\n### 5. Mutation-check the oracles\n\nFor each key new assertion: break the product code it targets, confirm the test **fails**,\nthen revert. If it still passes, the assertion is vacuous — replace it with a real oracle\nor drop it. Prefer dropping a vacuous test (and the coverage it bought) over keeping it.\n\n### 6. Re-measure and cross-check\n\n```powershell\npwsh tools\u002Fcoverage\u002Frun-coverage.ps1 -UnitOnly -SkipBuild\n```\n\nThen request a **cross-family test-oracle review** of the final changes using\nthe shared [cross-family policy](..\u002FREADME.md#cross-family-checks), relative to\nthe model that authored the tests. Capture the appropriate diff with `pr-review`'s\nscope rules; include uncommitted tests when present instead of reviewing only\n`origin\u002Fmain...HEAD`.\n\nPass the reviewer the diff, target implementation, test-author model provenance,\nmutation results, and the `pr-review` fragments\n[`_shared-contract.md`](..\u002Fpr-review\u002Fdimensions\u002F_shared-contract.md) and\n[`test-coverage.md`](..\u002Fpr-review\u002Fdimensions\u002Ftest-coverage.md). Ask specifically\nwhether each key oracle fails for the intended defect, could pass for the wrong\nreason, or misses a relevant branch. Keep all actionable severities; the general\n`multi-model.md` pass's critical\u002Fhigh cutoff would miss useful oracle findings.\n\nFix evidence-backed findings and rerun the affected tests\u002Fmutations. Repeat the\nreview only when changed tests or new evidence warrant it, not to manufacture a\nzero-finding verdict. If no permitted different-family reviewer is available,\nreport the cross-check as incomplete; never present it as a pass. Review is\nadditional evidence, not a substitute for step 5.\n\n## Report\n\nTo stdout: coverage delta (before → after, line & branch), the tests added per tier, any\ntargets dropped as untestable (with the reason), and any oracle you mutation-verified.\nInclude the cross-family review's model provenance, result, and any coverage limits.\n","You are the **Coverage-uplift orchestrator** for the `microsoft\u002Fmicrosoft-ui-reactor`\nrepo. Your job is to raise coverage with tests that actually *prove* behavior — never\nvacuous assertions that pass even when the code under test is deleted.\n\nReactor is a declarative C#\u002FWinUI 3 framework: a reconciler diffs immutable `Element`\nrecords and patches real WinUI controls. Read `AGENTS.md` (build\u002Ftest commands, the\n\"Field notes\" gotchas, test-tier table) before starting — especially the `-p:Platform=x64`\nand `-p:SkipSignaturesGen=true` build rules and the headless-`COMException` trap.\n\nUse the shared [model-selection policy](..\u002FREADME.md#model-selection): oracle\ndesign is deep-review work. Keep the user's configured model unless a change is\nauthorized; model choice never replaces executing the tests and mutations.\n\n## When to activate\n\nTrigger phrases: \"improve\u002Fraise test coverage\", \"add tests for \u003Carea>\", \"cover the\nuncovered lines\u002Fbranches\", \"close coverage gaps\", \"write unit\u002Fselftests\u002Fe2e for this\".\n\nDo **not** activate for a request to *change product code*, fix a specific failing\ntest, or review an existing PR (that is `pr-review`).\n\n## The one rule that matters\n\n**Every assertion must fail if the code path it targets is deleted, no-op'd, or returns\ndefault.** Bare non-null, \"no throw\" on a void method, and always-emitted shape markers\nare vacuous. A reviewer's agreement does not prove an oracle is non-vacuous;\ndemonstrate the failure yourself.\nNon-vacuous oracle patterns that survive review here:\n- **Throw-position \u002F arity oracle** — a malformed token in operand slot *N* throws iff the\n  right count was consumed (wrong arity re-dispatches → no throw).\n- **Differential isolation** — `Assert.NotEqual` between two variants differing *only* by\n  the setter under test; or **structural counts** (e.g. `path.Count(c => c == 'M') == 2`).\n- **Reflection \u002F DeclaringType** — prove an override exists\n  (`typeof(T).GetMethod(\"Equals\",[object]).DeclaringType == typeof(T)`).\n- **Corrupt-then-recompute** — set a field to a sentinel, run the op, assert it was\n  recomputed (`root.X1 = -999; layout.Layout(root); Assert.Equal(120, root.X1)`).\n\n## Workflow\n\n### 1. Baseline\n\n```powershell\npwsh tools\u002Fcoverage\u002Frun-coverage.ps1            # merged unit + selftest\npwsh tools\u002Fcoverage\u002Frun-coverage.ps1 -UnitOnly  # faster unit-only loop\n```\n\nOutput is `coverage\u002Fmerged.cobertura.xml` (git-ignored). Parse it directly for per-file\nline% and the exact uncovered line numbers rather than eyeballing `report-gaps.ps1`:\niterate `\u002F\u002Fclass` nodes by `@filename`, count `line\u002F@hits`, dump `@number` where\n`hits == 0`. **The script aborts before the merge step if any leg fails** — if a known\nflake trips it, collect the legs and merge manually (not with `dotnet-coverage merge`,\nwhich drops covered lines from these reports):\n\n```powershell\npwsh tests\u002Fcoverage\u002Fci\u002FMerge-Cobertura.ps1 -OutFile coverage\\merged.cobertura.xml `\n  coverage\\unit.cobertura.xml coverage\\selftest.cobertura.xml\n```\n\nKnown flakes to ignore (not your regression) — note they are **not unit tests**:\n`CenterOnCurrent_UsesCursorMonitor` and `PersistPlacement_FallbackWhenEmpty` are **selftest\nfixtures** (`Phase1WindowingFixtures.cs` \u002F `Phase3WindowingFixtures.cs`) running the same\ncursor-monitor assertion, so they fail as a pair; a preceding E2E run moves the pointer and\nflips both.\n\n### 2. Classify each gap by tier\n\n| Gap is… | Tier | Where |\n|---|---|---|\n| Pure-managed logic, D3 math, hook bookkeeping, Yoga | **Unit** (xUnit) | `tests\u002FReactor.Tests\u002F` |\n| Anything touching a live WinUI control \u002F reconcile \u002F mount | **Selftest** | `tests\u002FReactor.AppTests.Host\u002FSelfTest\u002FFixtures\u002F` |\n| Real keyboard\u002Fpointer input, focus routing, UIA | **E2E** | `tests\u002FReactor.AppTests\u002FTests\u002F` |\n\n**Headless unit tests cannot construct any `Microsoft.UI.Xaml` object** (control, brush,\ngeometry, `BitmapImage`, or **`AutomationPeer`-derived** type) — you get a `COMException`.\nIf a target needs one, it is NOT a unit target → drop it (note why) or move to a selftest.\nInternal seams are testable: `InternalsVisibleTo(\"Reactor.Tests\")` is set in\n`src\u002FReactor\u002FReactor.csproj`, so prefer an internal tokenizer\u002Fparser entry point over a\npublic method that builds WinUI objects (e.g. `PathDataParser.ParseTokens(pathData)`\nvs the public `Parse`). Before writing an E2E, check for an existing reflection selftest\nthat already exercises the path.\n\n### 3. Add narrowly-scoped tests\n\n- **Unit:** new `tests\u002FReactor.Tests\u002F\u003CArea>UnitCoverageExtraTests.cs` (glob picks it up;\n  no csproj edit). One shared filter suffix (e.g. `UnitCoverageExtra`) so\n  `--filter-class \"*UnitCoverageExtra*\"` runs them all. Use `global::System.`\n  for fully-qualified `System` refs (the `Microsoft.UI.System` namespace shadows).\n- **Selftest fixture:** file under `tests\u002FReactor.AppTests.Host\u002FSelfTest\u002FFixtures\u002F`,\n  subclass `SelfTestFixtureBase`, use `H.CreateHost()`, `host.Mount(...)`,\n  `Harness.Render()` \u002F `WaitFor(...)`, `H.FindControl\u003CT>()`, `H.Check(...)`. **Register in\n  BOTH** `tests\u002FReactor.AppTests.Host\u002FSelfTest\u002FSelfTestFixtureRegistry.cs` `AllFixtures`\n  **and** its `Create()` switch.\n- **E2E fixture:** register in BOTH `AllFixtures` and the `Build` switch of\n  `tests\u002FReactor.AppTests.Host\u002FFixtureRegistry.cs`. Use `Component\u003CT>()` fixtures for\n  stateful UI — raw `ctx.UseState` does not persist because TestHost uses a fresh\n  `RenderContext` each render. Add `[E2eRetry(3)]`, drive real input through the native\n  winapp verbs (`App.Click`, `App.SendKeys(..., viaSendInput: true)`, `App.Drag`), which\n  foreground the Host themselves, and assert against exact anti-stale values.\n\nSome guards are genuinely unobservable headless (backstopped by a later check, e.g. an\nempty-name guard followed by a null-property check; templated-FlipView item teardown has\nno non-vacuous signal). **Scope the test honestly to what it proves; do not fake an\noracle** — reviewers flag it.\n\n### 4. Build & run the tier you touched\n\n```powershell\n# unit\ndotnet build tests\u002FReactor.Tests -c Debug -p:Platform=x64 -p:SkipSignaturesGen=true -p:Optimize=false -p:DebugType=portable\ndotnet test  tests\u002FReactor.Tests --no-build -p:Platform=x64 --filter-class \"*UnitCoverageExtra*\"\n# selftest (fast TAP loop)\ndotnet run --project tests\u002FReactor.AppTests.Host --no-build -c Debug -p:Platform=x64 -- --self-test --filter \"\u003CPrefix>\"\n# e2e\ndotnet test tests\u002FReactor.AppTests -p:Platform=x64\n```\n\nAlways pass `-p:Platform=x64` (AnyCPU app\u002Ftest builds fail with *\"WindowsAppSDKSelfContained\nrequires a supported Windows architecture\"*) and `-p:SkipSignaturesGen=true` on\n`Reactor.Tests` to dodge the `CS2012 …\\intermediatexaml\\Reactor.dll` race. If the race\npersists under parallel builds, escalate **on the `dotnet build` line only** — prebuild\n`src\u002FReactor` first, then add `-m:1 -nodereuse:false` (or set\n`$env:MSBUILDDISABLENODEREUSE='1'`) to the build — and keep running the suite through the\nseparate `dotnet test … --no-build` line above.\n\n**Never move `-m:1` or `-nodereuse:false` onto a `dotnet test` command** (issue #1140):\n`dotnet test` does not accept those switches, and the test host does not recognise them\neither, so it exits 5 before running anything. Nothing prints why — you just get\n`Zero tests ran \u002F total: 0 \u002F failed: 0 \u002F skipped: 0`, which reads green, so a coverage run\nreports no failures while measuring nothing. The tell is the module label:\n`net10.0-windows10.0.22621.0` instead of `net10.0|x64`. Runner options such as\n`--filter-class`, `--parallel` and `--max-threads` are fine — they are forwarded to the test\napp on purpose. `-p:…` is a real `dotnet test` option and is safe, as is the\n`MSBUILDDISABLENODEREUSE` environment variable. See `TESTING.md` → *MSBuild switches are not\n`dotnet test` switches*.\n\nE2E input needs an interactive desktop: if `SendInput`\u002F`GetCursorPos` return\n`ACCESS_DENIED (err 5)` your local session can't inject input — validate the fixture over\nUIA (`winapp ui ... --json -w \u003Chwnd>`) and rely on the CI **\"E2E Tests (winapp ui)\"** job\nfor authoritative input validation.\n\n### 5. Mutation-check the oracles\n\nFor each key new assertion: break the product code it targets, confirm the test **fails**,\nthen revert. If it still passes, the assertion is vacuous — replace it with a real oracle\nor drop it. Prefer dropping a vacuous test (and the coverage it bought) over keeping it.\n\n### 6. Re-measure and cross-check\n\n```powershell\npwsh tools\u002Fcoverage\u002Frun-coverage.ps1 -UnitOnly -SkipBuild\n```\n\nThen request a **cross-family test-oracle review** of the final changes using\nthe shared [cross-family policy](..\u002FREADME.md#cross-family-checks), relative to\nthe model that authored the tests. Capture the appropriate diff with `pr-review`'s\nscope rules; include uncommitted tests when present instead of reviewing only\n`origin\u002Fmain...HEAD`.\n\nPass the reviewer the diff, target implementation, test-author model provenance,\nmutation results, and the `pr-review` fragments\n[`_shared-contract.md`](..\u002Fpr-review\u002Fdimensions\u002F_shared-contract.md) and\n[`test-coverage.md`](..\u002Fpr-review\u002Fdimensions\u002Ftest-coverage.md). Ask specifically\nwhether each key oracle fails for the intended defect, could pass for the wrong\nreason, or misses a relevant branch. Keep all actionable severities; the general\n`multi-model.md` pass's critical\u002Fhigh cutoff would miss useful oracle findings.\n\nFix evidence-backed findings and rerun the affected tests\u002Fmutations. Repeat the\nreview only when changed tests or new evidence warrant it, not to manufacture a\nzero-finding verdict. If no permitted different-family reviewer is available,\nreport the cross-check as incomplete; never present it as a pass. Review is\nadditional evidence, not a substitute for step 5.\n\n## Report\n\nTo stdout: coverage delta (before → after, line & branch), the tests added per tier, any\ntargets dropped as untestable (with the reason), and any oracle you mutation-verified.\nInclude the cross-family review's model provenance, result, and any coverage limits.\n",{"name":5,"infer":56,"description":7},true,"main","af4ecc440b988158a85fdc12e09e2b8e6daa7cec",".github\u002Fskills\u002Fcoverage-uplift",67,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 01:08:04",{"source":9,"skillName":5,"commands":67,"prompt":77,"zipAvailable":56},[68,71,74],{"tool":69,"command":70},"npx","npx skills add microsoft\u002Fmicrosoft-ui-reactor --skill coverage-uplift",{"tool":72,"command":73},"bunx","bunx skills add microsoft\u002Fmicrosoft-ui-reactor --skill coverage-uplift",{"tool":75,"command":76},"pnpm","pnpm dlx skills add microsoft\u002Fmicrosoft-ui-reactor --skill coverage-uplift","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcoverage-uplift\u002FSKILL.md",[],[80,94,129,158,187,214],{"skillNo":81,"name":82,"nameZh":83,"description":17,"descriptionZh":84,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":93,"publishedAt":51},"01M69B94E15PYYWXAGFV832MRK","Charting","图表制作","","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002Fsrc\u002FReactor.Advanced\u002FCharting\u002Fskill.md",[87,90],{"categoryNo":88,"categoryName":89,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":91,"categoryName":92,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[82],{"skillNo":95,"name":96,"nameZh":97,"description":98,"descriptionZh":99,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":108,"publishedAt":51},"01M69B92C846XMSNJ4PZGVYY3C","reactor-wrapping","Reactor 控件包装生成","Turn ANY WinUI control — a vendor\u002Fthird-party control, your own custom Control, or a Windows Community Toolkit one — into a first-class declarative Reactor element with the [GenerateReactorWrapper] source generator, zero hand-written wrapper code. Covers auto-inference (props, content, two-way pairs, panel\u002Fitems children, events), the [Wrap*] annotation cheat-sheet, imperative-lifecycle controls, diagnostics, and when to fall back to a hand-written ControlDescriptor.","借助 `[GenerateReactorWrapper]` 源生成器，将任意 WinUI 控件——供应商\u002F第三方控件、自定义 `Control` 或 Windows Community Toolkit 控件——转换为一等公民的声明式 Reactor 元素，无需手写任何包装代码。涵盖自动推断（属性、内容、双向绑定对、面板\u002F条目子元素、事件）、`[Wrap*]` 注解速查表、命令式生命周期控件、诊断，以及何时回退到手写 `ControlDescriptor`。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002Fplugins\u002Freactor\u002Fskills\u002Freactor-wrapping\u002FSKILL.md",[102,105],{"categoryNo":103,"categoryName":104,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[109,110,111,112,41,113,114,42,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"reactor wrapping","declarative","with","hand","cheat","generator","auto","controls","custom","element","lifecycle","winui","ZeRO","panel","community","back","inference","diagnostics","toolkit","windows",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":139,"publishedAt":51},"01M69B90PW92BQ4YNZYTP4SERB","reactor-windowing","Reactor 顶层窗口管理","Reactor top-level windowing cookbook: WindowSpec, OpenWindow, draggable windows, borderless\u002Ftool windows, placement persistence, taskbar visibility, z-order, aspect ratio, SizeToContent, displays, taskbar integration, and owner-window file\u002Ffolder pickers.","Reactor 顶层窗口开发指南：`WindowSpec`、`OpenWindow`、可拖动窗口、无边框\u002F工具窗口、窗口位置持久化、任务栏可见性、z-order 层级、宽高比、`SizeToContent`、多显示器、任务栏集成，以及基于所有者窗口的文件\u002F文件夹选择器。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002Fplugins\u002Freactor\u002Fskills\u002Freactor-windowing\u002FSKILL.md",[137,138],{"categoryNo":103,"categoryName":104,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},[140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,128,155,156,157],"reactor windowing","progress","persistence","cookbook","integration","folder","command","command palette","top","window","palette","file","restore","open","tool","remember","position","make",{"skillNo":159,"name":160,"nameZh":161,"description":162,"descriptionZh":163,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":164,"categories":165,"keywords":168,"publishedAt":51},"01M69B8Y5Y0VKXADXCN3W1NK89","reactor-recipes","Reactor 即用型代码配方","Paste-ready single-file Reactor recipes indexed by intent — list with add\u002Fdelete\u002Ftoggle, sidebar navigation between pages, form with validation + submit gating, async fetch with loading\u002Ferror\u002Fdata states, themed Win11 card surface. Use a recipe instead of synthesizing from prose: copy, adjust, ship.","按意图索引、可直接粘贴使用的单文件 Reactor 配方——支持增删与切换的列表、页面间侧边栏导航、带校验与提交门控的表单、带加载\u002F错误\u002F数据状态的异步获取、Win11 主题卡片界面。使用现成配方而非根据文字描述自行拼凑：复制、调整、即可交付。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002Fplugins\u002Freactor\u002Fskills\u002Freactor-recipes\u002FSKILL.md",[166,167],{"categoryNo":103,"categoryName":104,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},[169,170,151,171,111,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186],"reactor recipes","recipes","recipe","form","use","adjust","single","pages","async","card","submit","loading","states","fetch","gating","single-file","ready","error",{"skillNo":188,"name":189,"nameZh":190,"description":191,"descriptionZh":192,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":193,"categories":194,"keywords":197,"publishedAt":51},"01M69B8WNYS31M4P012P2QTX6R","reactor-navigation","Reactor 页面导航与路由","Reactor navigation — `UseNavigation` hook, `NavigationHost` renderer, `NavigationView` sidebar, `TabView` tabs, route params, stack operations, page lifecycle, deep linking, transitions, caching. Use when building multi-page apps or wiring sidebar\u002Ftab navigation.","Reactor 导航——`UseNavigation` 钩子、`NavigationHost` 渲染器、`NavigationView` 侧边栏、`TabView` 标签页、路由参数、栈操作、页面生命周期、深链接、转场动画、缓存。适用于构建多页面应用或接入侧边栏\u002F标签页导航时。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002Fplugins\u002Freactor\u002Fskills\u002Freactor-navigation\u002FSKILL.md",[195,196],{"categoryNo":103,"categoryName":104,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},[198,199,200,42,201,173,119,202,203,204,205,206,207,208,209,210,211,212,213],"navigation","reactor navigation","caching","apps","renderer","multi-page","page","deep","wiring","hook","operations","transitions","linking","stack","route","multi",{"skillNo":215,"name":216,"nameZh":217,"description":218,"descriptionZh":219,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":220,"categories":221,"keywords":224,"publishedAt":51},"01M69B8TGJA43N8X6BFVWTXC1H","reactor-input","Reactor 输入交互处理","Reactor input — gestures (`OnPan`, `OnPinch`, `OnRotate`), pointer events, drag-and-drop (`OnDragStarting`), focus management (`UseElementFocus`, `UseFocus`, `UseFocusTrap`). Use when implementing direct manipulation or custom focus behavior.","Reactor 输入处理——手势（`OnPan`、`OnPinch`、`OnRotate`）、指针事件、拖放（`OnDragStarting`）、焦点管理（`UseElementFocus`、`UseFocus`、`UseFocusTrap`）。在实现直接操作交互或自定义焦点行为时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmicrosoft-ui-reactor\u002Fblob\u002Fmain\u002Fplugins\u002Freactor\u002Fskills\u002Freactor-input\u002FSKILL.md",[222,223],{"categoryNo":103,"categoryName":104,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},[225,226,227,228,229,230,231,232,42,173,117,233,234,235],"input","reactor input","direct","events","management","behavior","focus","drop","implementing","drag","gestures"]