[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699G594ZYJNX698SEDC6NCH":3,"skill-same:01M699G594ZYJNX698SEDC6NCH":89},{"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":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":17,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M699G594ZYJNX698SEDC6NCH","test-gap-analysis","测试行为盲点分析","Pseudo-mutation analysis ONLY: answer whether tests would catch a bug if production code changed, which meaningful changes would still pass, or which caller-visible mutations existing assertions would miss; verify candidates when requested, then optionally close verified gaps. Includes explicit read-only per-test composition for grading. Activate for behavioral blind spots tied to production behavior. Polyglot. DO NOT USE FOR: suite taxonomy, metadata, or distribution reports (test-tagging); .NET line-vs-branch or Cobertura interpretation, arithmetic, plateaus, project-wide coverage gaps, or coverage-backed test\u002FCRAP priorities (coverage-analysis; use native coverage tooling outside .NET); named-target CRAP (crap-score); new suites (code-testing); assertion\u002Fsmell audits; or mutation tools.","仅进行伪变异分析：回答如果生产代码发生变化，测试是否能够捕获 bug，哪些有意义的变更仍会通过测试，或现有断言会漏掉哪些调用者可见的变异；按要求验证候选变异，然后可选地修复已确认的缺口。包含明确的只读逐测试组合以用于评分。针对与生产行为相关的行为盲点激活。支持多语言。不用于：测试套件分类法、元数据或分布报告（test-tagging）；.NET 行覆盖率与分支覆盖率或 Cobertura 解读、算术计算、平台期分析、项目级覆盖率缺口或覆盖率支撑的测试\u002FCRAP 优先级（coverage-analysis；在 .NET 之外使用原生覆盖率工具）；指定目标的 CRAP（crap-score）；新建测试套件（code-testing）；断言\u002F测试异味审计；或变异测试工具。","microsoft\u002Ftestfx","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699C71CJ91B5WZ3AXG3GG2M",1059,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-gap-analysis\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],"test","test gap analysis","test gap","analysis","gap analysis","gap","when","testing","which","distribution","mutation","project","spots","activate","only","coverage","branch","Composition","code","interpretation","2026-11-10 10:12:30",false,"---\nname: test-gap-analysis\ndescription: >-\n  Pseudo-mutation analysis ONLY: answer whether tests would catch a bug if\n  production code changed, which meaningful changes would still pass, or which\n  caller-visible mutations existing assertions would miss; verify candidates\n  when requested, then optionally close verified gaps. Includes explicit\n  read-only per-test composition for grading. Activate for behavioral blind\n  spots tied to production behavior. Polyglot. DO NOT USE FOR: suite taxonomy,\n  metadata, or distribution reports (test-tagging); .NET line-vs-branch or\n  Cobertura interpretation, arithmetic, plateaus, project-wide coverage gaps,\n  or coverage-backed test\u002FCRAP priorities (coverage-analysis; use native\n  coverage tooling outside .NET); named-target CRAP (crap-score); new suites\n  (code-testing); assertion\u002Fsmell audits; or mutation tools.\nlicense: MIT\n---\n\n# Test Gap Analysis\n\nAnswer one question: **which caller-visible production behaviors could change\nwithout an existing test failing?** Mutation reasoning is a probe, not the goal.\nInventory public outcomes first, then verify only credible gaps.\n\n## Composition dispatch\n\nBefore entering the decision flow, check the caller's mode. An explicit\n`per-test-read-only` request (including composition from `grade-tests`) uses\nonly [references\u002Fper-test-read-only.md](references\u002Fper-test-read-only.md).\nThis mode is assessment context conveyed through the host's supported caller\ninstructions, not a new skill-loader parameter or a mode-specific skill name.\nRead that reference and return its per-test assessment inline; **do not enter\nthe standalone workflow below**. Loading this mode does not authorize a\nbaseline run, mutation execution, file edits, suite discovery, or delegation.\nIf the bundled reference is unavailable, allow at most one listing of the known\n`references\u002F` directory, then return **N\u002FA \u002F unverified** with the reason.\n\nRequests without this mode retain the standalone analysis, verification, and\ntest-addition paths below.\n\n## Decision flow\n\n### 1. Set scope\n\nDiscover production and test files from manifests and file types. After a narrow\nsearch misses, inspect the current directory broadly before asking for paths.\n\n| Request | Action |\n|---|---|\n| One component or named risk | Inventory every high-risk public outcome in scope; do not edit production code unless verification was requested |\n| General small-component review | Inventory distinct outcomes and report caller-visible gaps from source\u002Fassertion mapping |\n| Explicit survivor verification | Inventory all requested outcomes; execute one representative observable candidate for each distinct high-risk outcome under verification, then classify it as **Survived** or **Killed** |\n| Explicit exhaustive audit | Read [references\u002Fmutation-catalog.md](references\u002Fmutation-catalog.md) and classify all meaningful candidates |\n| Add tests to an existing suite | Analyze first; add tests only for verified survivors or demonstrated no-coverage outcomes |\n| Create a new suite | Stop and use `code-testing` |\n\nWhen the request names a risk, turn it into a one-line public-outcome allowlist\nbefore reading code. An outcome is not in scope merely because the same method writes it.\nFor `money math`, allow computed or returned amounts, rates, tier\u002Fboundary\nchoice, percentage base\u002Forder, floors\u002Fcaps, and rounding; exclude non-monetary\nstate predicates (including derived booleans), identity, and formatting. Private\ncode is in scope only to trace an allowed outcome.\n\nDo not expand a focused request into a repository audit, plan artifact, or\ndashboard. Use source and tests directly for familiar frameworks. Invoke\n`test-analysis-extensions` only when discovery or assertion semantics are\nunclear.\n\n### 2. Establish one baseline\n\nRun the narrowest existing test command once. Choose it from the project\nmanifest; Microsoft.Testing.Platform executables may require `dotnet run`.\nConfirm tests executed: exit 0 with build-only output is not green. If that one\nattempt cannot run the suite, do not troubleshoot the runner or try alternate\ncommands for an advisory review; continue statically and label all candidates\n**unverified**. Do not infer a project-configuration cause from missing output;\nname a cause only when the command reports it.\n\nMissing runner output limits only claims of empirical mutation survival. It does\nnot make source-proven facts tentative: a public outcome with no reaching test\nis still **No coverage**, and an exact expected value derived from the\nunmodified implementation is still actionable. State the baseline limitation\nonce, then give the static source\u002Fassertion conclusion directly instead of\nhedging every row.\n\nFor an advisory review such as \"would tests catch this?\", stop execution after\nthat baseline. Source-to-assertion mapping is sufficient evidence for **No\ncoverage** and **Candidate survivor (unverified)**. Trace or run the unmodified\ncode once only when an original value is unclear. Apply mutations only for\nexplicit verification, an exhaustive audit, or closing gaps with tests.\n\nAny focused mutation budget limits execution, not discovery. Keep every\ndistinct unasserted public outcome in the inventory.\n\n### 3. Inventory public outcomes\n\nFor each public entry point, map:\n\n- input partitions: classifier arms, compound conditions, invalid and\n  nearest-valid guard boundaries, and default cases;\n- each independent observation: returned field\u002Fvariant, exception type,\n  invalid-input acceptance, public state transition, or external side effect;\n- private-helper composition, constants\u002Frates, rounding, retries, cancellation,\n  and error propagation as observed through the public caller.\n\nUse `public input\u002Fsequence -> expected outcome -> existing assertion -> gap`.\nOne asserted return field does not cover another. One allowed result does not\ncover its denial.\n\n**Money math:** inventory the no-op path, every rate\u002Ftier and exact boundary,\noperation order, percentage base or composition, floor\u002Fcap, and rounding. Trace\nprivate helpers through the public result. A test asserting only a broad range\ndoes not pin any exact amount. For each actionable money row, derive one witness\ninput and its exact original result through the complete call chain; do not\nrecommend a generic \"assert the exact amount\" without supplying that amount.\n\n**Ordered guards and retries:** inventory `invalid below minimum | first valid |\nlast allowed or retryable | first blocked | later blocked`. For an upper guard\nsuch as `value >= limit`, use `limit - 1`, `limit`, and `limit + 1`; the last\nwitness exposes narrowing to `value == limit`. Inventory every accepted and\nrejected error class. When type matching is polymorphic, include a representative\nderived accepted type that would expose exact-runtime-type narrowing. A test at\nthe first blocked value does not protect the last allowed or later blocked value.\n\n**Authorization:** enumerate each relevant identity\u002Frole, resource class, and\naction from the caller's view. Untested `false`, forbidden, and unchanged-role\noutcomes are first-class security gaps. Do not analyze variants of an allowed\npath while a denial outcome remains uninventoried. Check each public surface:\n\n- permission-returning APIs: every distinct role\u002Fresource class and every\n  returned capability independently;\n- action-dispatch APIs: each read\u002Fwrite\u002Fdelete-style action branch, especially\n  paths that must return denial;\n- role\u002Fstate transitions: accepted, rejected, invalid, null, and empty inputs,\n  including outcomes that must leave state unchanged.\n\nReserve execution for wholly untested public branches before another variant\nof a partially covered helper. If more than five high-risk behaviors are\nunasserted, execute the top 3-5 and keep the rest visible as **No coverage** or\n**Candidate survivor (unverified)**.\n\nExecution never replaces the ledger. Before mutating or answering, classify\nevery required outcome, including each invalid input, guard boundary,\nclassifier arm, action, and denial.\n\n**Completeness checkpoint:** before selecting findings, explicitly account for\nevery independent mode\u002Fflag, both zero and negative for a `\u003C= 0` guard, every\naccepted exception class, and a representative derived accepted exception when\nmatching is polymorphic. For a removed guard, trace the fallthrough: if it still\nproduces the same public exception type, it is equivalent unless finer exception\nmetadata is an established contract.\n\n### 4. Admit only observable candidates\n\nFirst replay each exact mutation against every existing asserted input or\nsequence with all arguments fixed. Any changed return, exception, state, or side\neffect is **Likely killed**; a dedicated single-purpose test is unnecessary.\nNever compare the mutant on one input with the original on another.\n\nFor survivors, choose a witness before execution or reporting and state\n`witness -> original observation -> mutant observation`. Reuse it in the\nsmallest test. Admit it only when the last two differ publicly after tracing the\nfull call chain; otherwise choose a distinguishing witness or drop it.\n\nExclude:\n\n- edits that require inserting or reordering statements rather than changing or\n  removing an existing expression, condition, constant, return, or side effect;\n- edits that do not compile, including removal of a declaration whose value is\n  still referenced;\n- overflow behavior, exception message\u002F`ParamName` metadata, or other semantics\n  not established by the current contract, source intent, or tests;\n- a removed guard or short-circuit that falls through to the same result,\n  exception, state, and side effects;\n- private representation changes that every public input sequence observes\n  identically, even if the suite stays green;\n- a mutation whose proposed test passes against both original and mutant;\n- boundary edits that return the same value on the distinguishing input; for\n  example, changing `result \u003C floor ? floor : result` to `\u003C=` is equivalent at\n  equality because both branches return `floor`;\n- a standalone auto-property or trivial one-line wrapper\u002Fpredicate with no\n  meaningful branch, calculation, or side effect, unless the user names it;\n- hypothetical future impact, generated code, logging\u002Fformatting-only changes,\n  impossible values, and duplicate syntax variants.\n\nMissing direct assertions do not prove **No coverage**: first trace existing\nassertions through public callers and shared branches. Missing assertions make\nan **observable** candidate a survivor; they do not make an inert mutation\nmeaningful.\n\n### 5. Rank and classify\n\nRank: (1) security denials, financial outcomes, errors, and state changes;\n(2) wholly unasserted public outcomes; (3) boundaries or exact values reached by\nweak assertions; (4) alternate variants of already-asserted behavior.\n\nFinish the inventory before selecting mutations or a verdict. One killed\nattempt, exception type, or switch arm does not clear its siblings.\n\nChoose the verdict from the completed inventory:\n\n- **Strong** when core branches and primary boundaries are protected and only a\n  few validation or default-case variants remain;\n- **Mixed** when meaningful coverage exists but at least one important outcome\n  partition is unprotected;\n- **Weak** when important outcomes are broadly unprotected.\n\nA handful of validation gaps does not make an otherwise broad suite **Mixed**\nunless validation is the named risk or the gaps threaten security, data, or\nother contract-critical behavior.\n\nWhen the inventory meets the **Strong** criteria above, lead with **Strong** and\nname the protected boundaries and dual assertions before listing minor gaps. Do\nnot open with `Mixed`, \"only core paths\", or a risk-heavy dashboard.\n\nStop when existing assertions kill the remaining candidates or no credible\npublic survivor remains. Do not mutate every operator merely to fill a report or\ncalculate a score.\n\n| Result | Meaning |\n|---|---|\n| **Likely killed** | An existing assertion observes the changed outcome |\n| **Candidate survivor (unverified)** | Observable change appears unasserted; not executed |\n| **Killed** | Exact observable mutation executed and a relevant assertion failed |\n| **Survived** | Exact observable mutation executed and tests stayed green |\n| **No coverage** | No test reaches the public outcome; report the missing branch without inventing a survivor |\n| **Equivalent** | No public observation changes; omit from findings |\n\nOutside explicit verification, an exhaustive audit, or a requested test\naddition, execute no mutations. Do not mutate to confirm obvious no coverage.\nFor explicit verification, execute one representative candidate per distinct\nhigh-risk outcome in scope; do not stop after the first one or two while another\nguard, action branch, error class, or denial remains unclassified. Omit\nequivalent syntax variants.\n\n### 6. Verify without creating false positives\n\nEnter this phase only for explicit verification, an exhaustive audit, or a\nrequested test addition.\n\n1. Apply one candidate and confirm the diff changes exactly one intended\n   expression.\n2. Run the narrowest covering test and confirm tests executed: green means\n   **Survived**; a failure at a relevant assertion means **Killed**, for that\n   edit only. Build, discovery, infrastructure, or unrelated failures leave\n   the candidate **unverified**, not Killed.\n3. Revert immediately and confirm the clean source\u002Ftest baseline.\n4. After a green run, re-check the public counterfactual. Execution proves the\n   suite missed the edit, not that the edit changes behavior; drop inert or\n   unobservable mutants.\n\nNever leave mutations in the workspace. Before reporting, reconcile every\nunasserted high-risk outcome as **Survived**, **Candidate survivor\n(unverified)**, **No coverage**, or omitted **Equivalent**. Stop when no credible\npublic gap remains; do not fill a report with internal details or calculate a\nscore unless the user requested an exhaustive audit.\n\n### 7. Close gaps only when requested\n\n1. Add focused tests only for executed **Survived** mutations or demonstrated\n   **No coverage** behavior.\n2. Cover every distinct gap in the requested scope before adding tests\n   for alternate variants of an already-covered behavior.\n3. Before editing, create a survivor-to-test checklist. Before stopping, map\n   every verified survivor to an added test and every added test back to a\n   verified survivor; a passing final suite alone does not prove completeness.\n4. Preserve production code and existing tests when requested.\n5. Prefer one behavior-focused test that kills related mutations over one test\n   per syntax change.\n6. Re-apply the original mutation and prove the new test kills it, then restore\n   the source and run the narrow suite cleanly.\n7. If the fixture or repository supplies a canonical mutation verifier, run\n   that exact command after the tests are added and cite its successful result.\n   Hand-created substitute mutations, a broad green suite, or a test-count\n   increase do not replace the supplied oracle. Once every requested survivor\n   maps to a focused test and the canonical verifier passes, stop; extra tests\n   are not an advantage.\n8. When the request requires existing source or test files to remain unchanged,\n   compare each protected file byte-for-byte with its pre-edit snapshot and\n   report that evidence. Before adding a test, prove its witness differs from\n   every existing case on the relevant branch, boundary, or rounded result so a\n   nominally new test does not duplicate existing coverage.\n\n## Output contract\n\nScale the response to the request.\n\nFor focused or small analysis, return:\n\n1. A one-line verdict: **Strong**, **Mixed**, or **Weak**, with the reason.\n2. For a **Strong** suite, one short strengths sentence naming the concrete\n   protected boundaries, guards, or paired observations that justify the verdict.\n3. One compact row per actionable **Survived**, **Candidate survivor\n   (unverified)**, or **No coverage** outcome. Before adding a row, apply the\n   outcome allowlist when the request names a risk, then apply the\n   observable-candidate rules; omit any candidate that fails either filter.\n   Include every high-risk outcome, use one row per distinct public outcome, and\n   consolidate only related low-risk variants:\n\n   | Risk | Public outcome | Change | Result\u002Fevidence | Smallest test |\n   |---|---|---|---|---|\n\n   Every gap needs a distinguishing witness and a concrete smallest test. An\n   error-path gap must name an invalid input and the expected error\u002Fresult.\n\n4. For a **Mixed** or **Weak** suite, one short strengths sentence naming\n   important killed behavior.\n5. When the request names exclusions, one short scope sentence naming the\n   generated, trivial, or unrelated code intentionally skipped.\n\nDo not repeat the table in prose or report discarded mutants, tool chronology,\nor in-flight reasoning.\n\nFor an exhaustive audit, separate executed **Killed \u002F Survived** counts from\nstatic **Likely killed \u002F Candidate survivor (unverified)** classifications and\n**No coverage \u002F Equivalent** inventory counts. Never include static reasoning\nin an empirical killed\u002Ftotal ratio. Group findings by risk.\n\nFor test additions, name the tests added, the verified mutations they kill, and\nthe successful final command.\n\n## Reliability rules\n\n- A passing test that does not assert the changed outcome does not kill a\n  mutation.\n- Coverage is per behavior partition. One switch\u002Fternary arm or compound input\n  does not prove siblings: allow does not prove deny; read does not prove write;\n  null does not prove empty or whitespace when those inputs have different\n  caller-visible outcomes. A kill clears only the edit and path that ran.\n- Private helpers reached through a public method remain in scope.\n- Error semantics are language-specific: in Rust, `?` propagation versus panic\n  is observable behavior; in C#, exception type and whether an input guard\n  accepts or rejects a value are observable behavior.\n- Cross-check every exact amount or boundary result against the unmodified\n  implementation or an existing exact assertion. If it cannot be checked,\n  state the behavioral relation without inventing a number.\n- Do not label a finding high-risk merely because a mutation survived.\n- Never recommend a redundant test for behavior the existing suite already\n  protects.\n\n## Validation\n\n- [ ] Scope stayed proportional to the request\n- [ ] The original suite passed, or static-only limits are explicit\n- [ ] Every high-risk public outcome in scope was inventoried\n- [ ] Original and mutant have different caller-visible observations\n- [ ] Every outcome labeled **Survived** was executed; unexecuted candidates use\n      **Candidate survivor (unverified)**\n- [ ] Every temporary mutation was reverted\n- [ ] Findings exclude trivial, generated, and equivalent changes\n- [ ] Recommendations target only demonstrated gaps\n- [ ] Every public entry-point branch and each accepted exception type in scope\n      is explicitly accounted for\n- [ ] A supplied canonical mutation verifier was run and reported, not replaced\n      with an ad-hoc proxy\n","# Test Gap Analysis\n\nAnswer one question: **which caller-visible production behaviors could change\nwithout an existing test failing?** Mutation reasoning is a probe, not the goal.\nInventory public outcomes first, then verify only credible gaps.\n\n## Composition dispatch\n\nBefore entering the decision flow, check the caller's mode. An explicit\n`per-test-read-only` request (including composition from `grade-tests`) uses\nonly [references\u002Fper-test-read-only.md](references\u002Fper-test-read-only.md).\nThis mode is assessment context conveyed through the host's supported caller\ninstructions, not a new skill-loader parameter or a mode-specific skill name.\nRead that reference and return its per-test assessment inline; **do not enter\nthe standalone workflow below**. Loading this mode does not authorize a\nbaseline run, mutation execution, file edits, suite discovery, or delegation.\nIf the bundled reference is unavailable, allow at most one listing of the known\n`references\u002F` directory, then return **N\u002FA \u002F unverified** with the reason.\n\nRequests without this mode retain the standalone analysis, verification, and\ntest-addition paths below.\n\n## Decision flow\n\n### 1. Set scope\n\nDiscover production and test files from manifests and file types. After a narrow\nsearch misses, inspect the current directory broadly before asking for paths.\n\n| Request | Action |\n|---|---|\n| One component or named risk | Inventory every high-risk public outcome in scope; do not edit production code unless verification was requested |\n| General small-component review | Inventory distinct outcomes and report caller-visible gaps from source\u002Fassertion mapping |\n| Explicit survivor verification | Inventory all requested outcomes; execute one representative observable candidate for each distinct high-risk outcome under verification, then classify it as **Survived** or **Killed** |\n| Explicit exhaustive audit | Read [references\u002Fmutation-catalog.md](references\u002Fmutation-catalog.md) and classify all meaningful candidates |\n| Add tests to an existing suite | Analyze first; add tests only for verified survivors or demonstrated no-coverage outcomes |\n| Create a new suite | Stop and use `code-testing` |\n\nWhen the request names a risk, turn it into a one-line public-outcome allowlist\nbefore reading code. An outcome is not in scope merely because the same method writes it.\nFor `money math`, allow computed or returned amounts, rates, tier\u002Fboundary\nchoice, percentage base\u002Forder, floors\u002Fcaps, and rounding; exclude non-monetary\nstate predicates (including derived booleans), identity, and formatting. Private\ncode is in scope only to trace an allowed outcome.\n\nDo not expand a focused request into a repository audit, plan artifact, or\ndashboard. Use source and tests directly for familiar frameworks. Invoke\n`test-analysis-extensions` only when discovery or assertion semantics are\nunclear.\n\n### 2. Establish one baseline\n\nRun the narrowest existing test command once. Choose it from the project\nmanifest; Microsoft.Testing.Platform executables may require `dotnet run`.\nConfirm tests executed: exit 0 with build-only output is not green. If that one\nattempt cannot run the suite, do not troubleshoot the runner or try alternate\ncommands for an advisory review; continue statically and label all candidates\n**unverified**. Do not infer a project-configuration cause from missing output;\nname a cause only when the command reports it.\n\nMissing runner output limits only claims of empirical mutation survival. It does\nnot make source-proven facts tentative: a public outcome with no reaching test\nis still **No coverage**, and an exact expected value derived from the\nunmodified implementation is still actionable. State the baseline limitation\nonce, then give the static source\u002Fassertion conclusion directly instead of\nhedging every row.\n\nFor an advisory review such as \"would tests catch this?\", stop execution after\nthat baseline. Source-to-assertion mapping is sufficient evidence for **No\ncoverage** and **Candidate survivor (unverified)**. Trace or run the unmodified\ncode once only when an original value is unclear. Apply mutations only for\nexplicit verification, an exhaustive audit, or closing gaps with tests.\n\nAny focused mutation budget limits execution, not discovery. Keep every\ndistinct unasserted public outcome in the inventory.\n\n### 3. Inventory public outcomes\n\nFor each public entry point, map:\n\n- input partitions: classifier arms, compound conditions, invalid and\n  nearest-valid guard boundaries, and default cases;\n- each independent observation: returned field\u002Fvariant, exception type,\n  invalid-input acceptance, public state transition, or external side effect;\n- private-helper composition, constants\u002Frates, rounding, retries, cancellation,\n  and error propagation as observed through the public caller.\n\nUse `public input\u002Fsequence -> expected outcome -> existing assertion -> gap`.\nOne asserted return field does not cover another. One allowed result does not\ncover its denial.\n\n**Money math:** inventory the no-op path, every rate\u002Ftier and exact boundary,\noperation order, percentage base or composition, floor\u002Fcap, and rounding. Trace\nprivate helpers through the public result. A test asserting only a broad range\ndoes not pin any exact amount. For each actionable money row, derive one witness\ninput and its exact original result through the complete call chain; do not\nrecommend a generic \"assert the exact amount\" without supplying that amount.\n\n**Ordered guards and retries:** inventory `invalid below minimum | first valid |\nlast allowed or retryable | first blocked | later blocked`. For an upper guard\nsuch as `value >= limit`, use `limit - 1`, `limit`, and `limit + 1`; the last\nwitness exposes narrowing to `value == limit`. Inventory every accepted and\nrejected error class. When type matching is polymorphic, include a representative\nderived accepted type that would expose exact-runtime-type narrowing. A test at\nthe first blocked value does not protect the last allowed or later blocked value.\n\n**Authorization:** enumerate each relevant identity\u002Frole, resource class, and\naction from the caller's view. Untested `false`, forbidden, and unchanged-role\noutcomes are first-class security gaps. Do not analyze variants of an allowed\npath while a denial outcome remains uninventoried. Check each public surface:\n\n- permission-returning APIs: every distinct role\u002Fresource class and every\n  returned capability independently;\n- action-dispatch APIs: each read\u002Fwrite\u002Fdelete-style action branch, especially\n  paths that must return denial;\n- role\u002Fstate transitions: accepted, rejected, invalid, null, and empty inputs,\n  including outcomes that must leave state unchanged.\n\nReserve execution for wholly untested public branches before another variant\nof a partially covered helper. If more than five high-risk behaviors are\nunasserted, execute the top 3-5 and keep the rest visible as **No coverage** or\n**Candidate survivor (unverified)**.\n\nExecution never replaces the ledger. Before mutating or answering, classify\nevery required outcome, including each invalid input, guard boundary,\nclassifier arm, action, and denial.\n\n**Completeness checkpoint:** before selecting findings, explicitly account for\nevery independent mode\u002Fflag, both zero and negative for a `\u003C= 0` guard, every\naccepted exception class, and a representative derived accepted exception when\nmatching is polymorphic. For a removed guard, trace the fallthrough: if it still\nproduces the same public exception type, it is equivalent unless finer exception\nmetadata is an established contract.\n\n### 4. Admit only observable candidates\n\nFirst replay each exact mutation against every existing asserted input or\nsequence with all arguments fixed. Any changed return, exception, state, or side\neffect is **Likely killed**; a dedicated single-purpose test is unnecessary.\nNever compare the mutant on one input with the original on another.\n\nFor survivors, choose a witness before execution or reporting and state\n`witness -> original observation -> mutant observation`. Reuse it in the\nsmallest test. Admit it only when the last two differ publicly after tracing the\nfull call chain; otherwise choose a distinguishing witness or drop it.\n\nExclude:\n\n- edits that require inserting or reordering statements rather than changing or\n  removing an existing expression, condition, constant, return, or side effect;\n- edits that do not compile, including removal of a declaration whose value is\n  still referenced;\n- overflow behavior, exception message\u002F`ParamName` metadata, or other semantics\n  not established by the current contract, source intent, or tests;\n- a removed guard or short-circuit that falls through to the same result,\n  exception, state, and side effects;\n- private representation changes that every public input sequence observes\n  identically, even if the suite stays green;\n- a mutation whose proposed test passes against both original and mutant;\n- boundary edits that return the same value on the distinguishing input; for\n  example, changing `result \u003C floor ? floor : result` to `\u003C=` is equivalent at\n  equality because both branches return `floor`;\n- a standalone auto-property or trivial one-line wrapper\u002Fpredicate with no\n  meaningful branch, calculation, or side effect, unless the user names it;\n- hypothetical future impact, generated code, logging\u002Fformatting-only changes,\n  impossible values, and duplicate syntax variants.\n\nMissing direct assertions do not prove **No coverage**: first trace existing\nassertions through public callers and shared branches. Missing assertions make\nan **observable** candidate a survivor; they do not make an inert mutation\nmeaningful.\n\n### 5. Rank and classify\n\nRank: (1) security denials, financial outcomes, errors, and state changes;\n(2) wholly unasserted public outcomes; (3) boundaries or exact values reached by\nweak assertions; (4) alternate variants of already-asserted behavior.\n\nFinish the inventory before selecting mutations or a verdict. One killed\nattempt, exception type, or switch arm does not clear its siblings.\n\nChoose the verdict from the completed inventory:\n\n- **Strong** when core branches and primary boundaries are protected and only a\n  few validation or default-case variants remain;\n- **Mixed** when meaningful coverage exists but at least one important outcome\n  partition is unprotected;\n- **Weak** when important outcomes are broadly unprotected.\n\nA handful of validation gaps does not make an otherwise broad suite **Mixed**\nunless validation is the named risk or the gaps threaten security, data, or\nother contract-critical behavior.\n\nWhen the inventory meets the **Strong** criteria above, lead with **Strong** and\nname the protected boundaries and dual assertions before listing minor gaps. Do\nnot open with `Mixed`, \"only core paths\", or a risk-heavy dashboard.\n\nStop when existing assertions kill the remaining candidates or no credible\npublic survivor remains. Do not mutate every operator merely to fill a report or\ncalculate a score.\n\n| Result | Meaning |\n|---|---|\n| **Likely killed** | An existing assertion observes the changed outcome |\n| **Candidate survivor (unverified)** | Observable change appears unasserted; not executed |\n| **Killed** | Exact observable mutation executed and a relevant assertion failed |\n| **Survived** | Exact observable mutation executed and tests stayed green |\n| **No coverage** | No test reaches the public outcome; report the missing branch without inventing a survivor |\n| **Equivalent** | No public observation changes; omit from findings |\n\nOutside explicit verification, an exhaustive audit, or a requested test\naddition, execute no mutations. Do not mutate to confirm obvious no coverage.\nFor explicit verification, execute one representative candidate per distinct\nhigh-risk outcome in scope; do not stop after the first one or two while another\nguard, action branch, error class, or denial remains unclassified. Omit\nequivalent syntax variants.\n\n### 6. Verify without creating false positives\n\nEnter this phase only for explicit verification, an exhaustive audit, or a\nrequested test addition.\n\n1. Apply one candidate and confirm the diff changes exactly one intended\n   expression.\n2. Run the narrowest covering test and confirm tests executed: green means\n   **Survived**; a failure at a relevant assertion means **Killed**, for that\n   edit only. Build, discovery, infrastructure, or unrelated failures leave\n   the candidate **unverified**, not Killed.\n3. Revert immediately and confirm the clean source\u002Ftest baseline.\n4. After a green run, re-check the public counterfactual. Execution proves the\n   suite missed the edit, not that the edit changes behavior; drop inert or\n   unobservable mutants.\n\nNever leave mutations in the workspace. Before reporting, reconcile every\nunasserted high-risk outcome as **Survived**, **Candidate survivor\n(unverified)**, **No coverage**, or omitted **Equivalent**. Stop when no credible\npublic gap remains; do not fill a report with internal details or calculate a\nscore unless the user requested an exhaustive audit.\n\n### 7. Close gaps only when requested\n\n1. Add focused tests only for executed **Survived** mutations or demonstrated\n   **No coverage** behavior.\n2. Cover every distinct gap in the requested scope before adding tests\n   for alternate variants of an already-covered behavior.\n3. Before editing, create a survivor-to-test checklist. Before stopping, map\n   every verified survivor to an added test and every added test back to a\n   verified survivor; a passing final suite alone does not prove completeness.\n4. Preserve production code and existing tests when requested.\n5. Prefer one behavior-focused test that kills related mutations over one test\n   per syntax change.\n6. Re-apply the original mutation and prove the new test kills it, then restore\n   the source and run the narrow suite cleanly.\n7. If the fixture or repository supplies a canonical mutation verifier, run\n   that exact command after the tests are added and cite its successful result.\n   Hand-created substitute mutations, a broad green suite, or a test-count\n   increase do not replace the supplied oracle. Once every requested survivor\n   maps to a focused test and the canonical verifier passes, stop; extra tests\n   are not an advantage.\n8. When the request requires existing source or test files to remain unchanged,\n   compare each protected file byte-for-byte with its pre-edit snapshot and\n   report that evidence. Before adding a test, prove its witness differs from\n   every existing case on the relevant branch, boundary, or rounded result so a\n   nominally new test does not duplicate existing coverage.\n\n## Output contract\n\nScale the response to the request.\n\nFor focused or small analysis, return:\n\n1. A one-line verdict: **Strong**, **Mixed**, or **Weak**, with the reason.\n2. For a **Strong** suite, one short strengths sentence naming the concrete\n   protected boundaries, guards, or paired observations that justify the verdict.\n3. One compact row per actionable **Survived**, **Candidate survivor\n   (unverified)**, or **No coverage** outcome. Before adding a row, apply the\n   outcome allowlist when the request names a risk, then apply the\n   observable-candidate rules; omit any candidate that fails either filter.\n   Include every high-risk outcome, use one row per distinct public outcome, and\n   consolidate only related low-risk variants:\n\n   | Risk | Public outcome | Change | Result\u002Fevidence | Smallest test |\n   |---|---|---|---|---|\n\n   Every gap needs a distinguishing witness and a concrete smallest test. An\n   error-path gap must name an invalid input and the expected error\u002Fresult.\n\n4. For a **Mixed** or **Weak** suite, one short strengths sentence naming\n   important killed behavior.\n5. When the request names exclusions, one short scope sentence naming the\n   generated, trivial, or unrelated code intentionally skipped.\n\nDo not repeat the table in prose or report discarded mutants, tool chronology,\nor in-flight reasoning.\n\nFor an exhaustive audit, separate executed **Killed \u002F Survived** counts from\nstatic **Likely killed \u002F Candidate survivor (unverified)** classifications and\n**No coverage \u002F Equivalent** inventory counts. Never include static reasoning\nin an empirical killed\u002Ftotal ratio. Group findings by risk.\n\nFor test additions, name the tests added, the verified mutations they kill, and\nthe successful final command.\n\n## Reliability rules\n\n- A passing test that does not assert the changed outcome does not kill a\n  mutation.\n- Coverage is per behavior partition. One switch\u002Fternary arm or compound input\n  does not prove siblings: allow does not prove deny; read does not prove write;\n  null does not prove empty or whitespace when those inputs have different\n  caller-visible outcomes. A kill clears only the edit and path that ran.\n- Private helpers reached through a public method remain in scope.\n- Error semantics are language-specific: in Rust, `?` propagation versus panic\n  is observable behavior; in C#, exception type and whether an input guard\n  accepts or rejects a value are observable behavior.\n- Cross-check every exact amount or boundary result against the unmodified\n  implementation or an existing exact assertion. If it cannot be checked,\n  state the behavioral relation without inventing a number.\n- Do not label a finding high-risk merely because a mutation survived.\n- Never recommend a redundant test for behavior the existing suite already\n  protects.\n\n## Validation\n\n- [ ] Scope stayed proportional to the request\n- [ ] The original suite passed, or static-only limits are explicit\n- [ ] Every high-risk public outcome in scope was inventoried\n- [ ] Original and mutant have different caller-visible observations\n- [ ] Every outcome labeled **Survived** was executed; unexecuted candidates use\n      **Candidate survivor (unverified)**\n- [ ] Every temporary mutation was reverted\n- [ ] Findings exclude trivial, generated, and equivalent changes\n- [ ] Recommendations target only demonstrated gaps\n- [ ] Every public entry-point branch and each accepted exception type in scope\n      is explicitly accounted for\n- [ ] A supplied canonical mutation verifier was run and reported, not replaced\n      with an ad-hoc proxy\n",{"name":5,"license":16,"description":7},"main","f8f2bfd77819bb789d4736ce7db4a567a37fcf7e",".agents\u002Fskills\u002Ftest-gap-analysis",315,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 14:01:43",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add microsoft\u002Ftestfx --skill test-gap-analysis",{"tool":71,"command":72},"bunx","bunx skills add microsoft\u002Ftestfx --skill test-gap-analysis",{"tool":74,"command":75},"pnpm","pnpm dlx skills add microsoft\u002Ftestfx --skill test-gap-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-gap-analysis\u002FSKILL.md",true,[79,85],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fmutation-catalog.md","REFERENCE","参考文档",3876,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-gap-analysis\u002Freferences\u002Fmutation-catalog.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fper-test-read-only.md",6677,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-gap-analysis\u002Freferences\u002Fper-test-read-only.md",[90,115,142,167,191,219],{"skillNo":91,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":51},"01M70GYY0AV0JGMTHE2CN6TNYK","dotnet-breaking-changes","Use before changing .NET\u002FC# code whose callers you do not control: a NuGet library, or a repo with PublicAPI.Shipped\u002FUnshipped.txt, ApiCompat, multiple TargetFrameworks, InternalsVisibleTo, or generated (.g.cs) partials. Green builds miss silent breaks from optional parameters, parameter names, sealing, const values, nullability, and #if. USE FOR: \"without breaking existing callers\"; adding a public method, overload, optional parameter, or interface member to a shipped library; renaming a public method or an internal helper a friend assembly uses; consolidating duplicated logic; changing a signature, nullability, default, or attribute; adding a target framework; RS0016\u002FRS0017 or ApiCompat errors; \"is this PR breaking?\". For a rename, extract, or merge, also invoke csharp-refactoring. DO NOT USE FOR: an executable whose callers all live in one project; renaming a local variable or private member, even in a shipped library; formatting; framework\u002FSDK\u002FNuGet upgrades (use dotnet-upgrade).","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdotnet-breaking-changes\u002FSKILL.md",[],[97,98,99,100,42,101,102,103,104,105,106,107,108,49,109,110,111,112,113,114],"dotnet","dotnet breaking changes","changes","green","default","local","errors","interface","generated","upgrade","invoke","you","refactoring","merge","rename","library","live","assembly",{"skillNo":116,"name":117,"nameZh":118,"description":119,"descriptionZh":120,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":125,"publishedAt":51},"01M699HHE9DTZWAMPB1ZR7ZKSW","testfx-test-value-evidence","TestFx 测试值证据应用","Apply the vendored test-value-evidence skill with TestFx toolchain, assertion, parallel-safety, packed-consumer, and review conventions. Use when implementing or reviewing behavior-changing TestFx PRs or commits, including source-only changes.","结合 TestFx 工具链、断言、并行安全、打包消费者（packed-consumer）和评审约定，应用项目内置的 test-value-evidence 技能。在实现或评审会改变行为的 TestFx PR 或提交时使用，包括仅修改源代码的变更。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-test-value-evidence\u002FSKILL.md",[123,124],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[31,126,127,128,129,130,131,132,133,134,135,45,136,37,137,138,99,139,140,141],"testfx test value evidence","test value evidence","evidence","value","review","parallel","toolchain","commits","implementing","prs","use","apply","with","behavior","Safety","conventions",{"skillNo":143,"name":144,"nameZh":145,"description":146,"descriptionZh":147,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":148,"categories":149,"keywords":152,"publishedAt":51},"01M699HEYWH1B9XGNBFY8J2FZS","testfx-parallel-safety-preflight","TestFx 并行安全预检","Check concurrency and isolation before implementing or refactoring TestFx tests, lifecycle code, helpers, shared-state declarations, or production paths those tests exercise. Use before narrowing DoNotParallelize or ResourceLock, changing parallelization settings, or introducing asynchronous workers; repeat against the final diff.","在实现或重构 TestFx 测试、生命周期代码、辅助函数、共享状态声明，或这些测试所覆盖的生产代码路径之前，检查并发性与隔离性。在缩小 DoNotParallelize 或 ResourceLock 的使用范围、更改并行化设置或引入异步工作线程之前使用；并针对最终 diff 重复检查。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-parallel-safety-preflight\u002FSKILL.md",[150,151],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[153,140,154,131,155,156,134,157,49,158,109,159,160,161,162,163,164,165,136,166],"testfx parallel safety preflight","preflight","shared","asynchronous","exercise","concurrency","paths","isolation","helpers","diff","parallelization","lifecycle","tests","workers",{"skillNo":168,"name":169,"nameZh":170,"description":171,"descriptionZh":172,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":173,"categories":174,"keywords":177,"publishedAt":51},"01M699HC61ZV9GJ2C8JV03951G","testfx-localization-validation","TestFx 本地化校验","Validate generated TestFx localization catalogs, resource IDs, placeholders and locked tokens. Use for RESX\u002FXLF changes, OneLoc PRs, localization build failures, duplicate targets or units, and orphaned translation entries.","验证生成的 TestFx 本地化目录、资源 ID、占位符和锁定标记。适用于 RESX\u002FXLF 变更、OneLoc PR、本地化构建失败、重复的目标文本或翻译单元，以及孤立的翻译条目。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-localization-validation\u002FSKILL.md",[175,176],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[178,179,180,181,182,183,184,185,186,135,105,136,187,188,99,189,190],"testfx localization validation","validation","localization","validate","translation","ids","for","tokens","entries","units","duplicate","targets","build",{"skillNo":192,"name":193,"nameZh":194,"description":195,"descriptionZh":196,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":197,"categories":198,"keywords":201,"publishedAt":51},"01M699H9J2NWQXE4BDT6R0FH7S","testfx-acceptance-validation","TestFx 验收验证","Validate TestFx shipping paths and capable CI execution using packed consumers, package\u002Fcache provenance, exact exits and artifacts, and selected-versus-executed test evidence. Use for acceptance regressions, package\u002FMSBuild\u002Flauncher\u002Fprotocol changes, or skipped-only CI results; not for unrelated unit-only or documentation changes.","使用打包后的消费者、包与缓存来源、精确的退出码和产物，以及选中测试与实际执行测试的证据，验证 TestFx 的交付路径及有效的 CI 执行。适用于验收回归、包\u002FMSBuild\u002F启动器\u002F协议变更，或仅有跳过测试的 CI 结果；不适用于无关的纯单元测试或文档变更。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-acceptance-validation\u002FSKILL.md",[199,200],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[202,203,179,31,204,128,205,206,207,45,208,136,209,210,211,212,213,214,215,216,217,218,159,184],"testfx acceptance validation","acceptance","msbuild","launcher","ci","execution","package","cache","artifacts","provenance","documentation","unrelated","shipping","results","protocol","unit","ci results",{"skillNo":220,"name":221,"nameZh":222,"description":223,"descriptionZh":224,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":225,"categories":226,"keywords":233,"publishedAt":51},"01M699H70BB999BT4F627T1PHE","session-delivery-hygiene","会话交付规范管控","Gate local-session scope, persistent delivery, live PR state, integration provenance, and owned cleanup. Use before implementing guidance changes, changing or pushing PR work, diagnosing package\u002Foutput mismatches, or handing off implementation.","把控本地会话范围、持久化交付、实时 PR 状态、集成来源以及责任范围内的清理工作。在实施指导变更、修改或推送 PR、诊断包与产物不匹配，或交接实现工作之前使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsession-delivery-hygiene\u002FSKILL.md",[227,230],{"categoryNo":228,"categoryName":229,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":231,"categoryName":232,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[234,235,236,237,238,134,102,239,240,113,241,208,136,211,242,243,99,244,245,246],"session delivery hygiene","delivery","session","hygiene","scope","cleanup","work","pr","output","state","integration","guidance","gate"]