[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DZ4J06W2BECCD297CYSNZM":3,"skill-same:01M6DZ4J06W2BECCD297CYSNZM":92},{"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":23,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M6DZ4J06W2BECCD297CYSNZM","improve-skill-quality",null,"Diagnoses and fixes skills in the dotnet\u002Fskills repository that lose to their own baseline, fail to activate, time out, or return \"no credible improvement\". Use when an evaluation verdict is a regression or underpowered, when a skill regressed after a change, when \u002Fevaluate reports no results, or when deciding whether a weak skill should be strengthened or retired. Do not use for scaffolding a brand-new skill (use create-skill) or a brand-new eval (use create-skill-test).","managedcode\u002Fdotnet-skills","managedcode","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78253589?v=4","01M6DYDJR3EG8KB5G4PC65XCTT","Managed Code","01M6DYDJX0ZT432N04NYJW89DN",515,"MIT","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTools\u002FOfficial-DotNet-Improve-Skill-Quality\u002Fskills\u002Fimprove-skill-quality\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"improve skill quality","improve skill","improve","quality","eval","new","when","verdict","time","scaffolding","new skill","do","activate","reports","use","results","test","brand","regression","baseline","Evaluation","repository","create","change","dotnet","2026-11-10 10:12:30",false,"---\nname: improve-skill-quality\ndescription: Diagnoses and fixes skills in the dotnet\u002Fskills repository that lose to their own baseline, fail to activate, time out, or return \"no credible improvement\". Use when an evaluation verdict is a regression or underpowered, when a skill regressed after a change, when \u002Fevaluate reports no results, or when deciding whether a weak skill should be strengthened or retired. Do not use for scaffolding a brand-new skill (use create-skill) or a brand-new eval (use create-skill-test).\n---\n\n# Improve Skill Quality\n\nTurn a failing or unconvincing evaluation into a targeted fix. The single most common mistake\nin this repo is rewriting skill prose in response to a verdict whose real cause was the eval,\nthe fixtures, or the harness. Classify first, then fix.\n\n## When to Use\n\n- An evaluation verdict is a regression, underpowered, or \"no credible improvement\".\n- A skill wins in the isolated arm but not in the plugin arm, or is reported \"not activated\".\n- `\u002Fevaluate` reports \"Evaluation ran but produced no results\".\n- A skill scores well but costs too much (tokens, turns, wall time, plugin menu budget).\n- Deciding whether to strengthen or retire a persistently weak skill.\n\n## When Not to Use\n\n- Creating a new skill from scratch — use `create-skill`.\n- Creating a new `eval.yaml` from scratch — use `create-skill-test`.\n- Changing the harness itself (`eng\u002Fskill-validator`, `eng\u002Fvally-adapter`, `evaluation*.yml`).\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Verdict evidence | Yes | The `\u002Fevaluate` PR comment, or `results.json` from the run artifacts |\n| Losing trial transcripts | Yes for content fixes | Baseline vs. skilled output plus the judge's stated reason |\n| Stimulus-vote W\u002FT\u002FL and repeated-run W\u002FT\u002FL | Yes | Separates cross-task evidence from reliability |\n| Activation status per arm | Yes | Isolated and plugin activation are different failures |\n\n## Workflow\n\n### Step 1: Get the evidence before forming a hypothesis\n\nRead [InvestigatingResults.md](..\u002F..\u002F..\u002Feng\u002Fvally-adapter\u002FInvestigatingResults.md) for how to\ndownload artifacts and read `results.json`. Extract, per failing stimulus:\n\n- authoritative stimulus-vote W\u002FT\u002FL and separate repeated-run W\u002FT\u002FL\n- activation status in the **isolated** and **plugin** arms, separately\n- the judge's verbatim reason on each losing trial\n- whether any trial errored, timed out, or produced empty output\n\nDo not change skill content until you can quote a losing trial and the judge's reason for it. For the\nother cause classes the evidence is different: harness failures are diagnosed from the job log and\nthe spec, and power problems from the trial record — neither has a losing trial to quote, and\ndemanding one is what sends people rewriting prose instead.\n\n### Step 2: Classify the failure\n\nWork down this table and stop at the first row that matches. Rows are ordered by how often the\nsymptom has been misdiagnosed as a skill-content problem — the fixture row is first because a\nfixture failure also presents as a setup or reliability failure and gets misfiled as one.\n\n| Symptom | Real cause class | Go to |\n|---------|------------------|-------|\n| A fixture does not build, is untracked by git, breaks for the wrong reason, or contradicts itself | Fixture | Step 4 |\n| No `results.json`, \"produced no results\", or the spec never loaded | Harness \u002F spec-load | Step 3 |\n| Trials errored, timed out, or returned empty output | Reliability | Step 3 |\n| Trajectories unmatched, a trial errored, or the summary disagrees — verdict reported inconclusive | Reliability (not power) | Step 3 |\n| Positive record (e.g. 16W\u002F8T\u002F1L), comparison conclusive, verdict still not a pass | Statistical power | Step 5 |\n| Skilled arm equals baseline arm by construction | Eval design | Step 6 |\n| Activated and lost on quality, judge names a concrete defect | Skill content | Step 7 |\n| Activated in isolation, not in plugin | Activation \u002F routing | Step 8 |\n| Not activated in either arm | Frontmatter description | Step 8 |\n| Wins but costs far more than baseline | Scope and cost | Step 7 |\n\nA verdict is only a *measured* result when the comparison was conclusive: `adapt.mjs` requires zero\nerrored trials, zero unmatched trajectories, and an agreeing summary before it will report a pass or\na regression. Confirm that before reading a record as a power problem.\n\n### Step 3: Rule out harness and reliability causes\n\nSee [references\u002Feval-triage.md](references\u002Feval-triage.md) for the full catalogue. The recurring ones:\n\n- The repository gate rejects the deprecated top-level `config:` alias, and Vally rejects a spec\n  that declares both `config:` and `defaults:`. Replace the alias with one `defaults:` block.\n- An errored trial is not automatically a fixture problem — judge-side auth and `session.idle`\n  failures look identical from the verdict and need harness fixes, not SDK pins.\n- `expect_tools: [bash]` on an advisory question forces a restore or build and turns an answer into\n  a timeout with no quality gain.\n- Genuine code-generation stimuli need roughly 360s; a timeout yields empty output, which fails\n  every grader and hides the real quality signal.\n- Unmatched trajectories, an errored trial, or a summary that disagrees make the comparison\n  **inconclusive**: the remaining matched trials are biased, so the record is not a measured null\n  and must not be read as a power or content problem.\n- A generic YAML parser is not the production loader. If Vally rejects a skill eval, or the native\n  SDK lane rejects an agent eval's executable scenario fields, classify it as harness \u002F spec-load\n  before changing content. The native agent parser ignores golden references, so validate those\n  separately with `check_eval_quality.py` and deterministic golden-workspace replay.\n- A pass with one worker or an enlarged local timeout is not normal execution evidence. Reproduce\n  with the repository's normal concurrency and declared suite budget; a failure there is a\n  reliability defect.\n\n### Step 4: Verify the fixtures before touching the skill\n\nRun `python eng\u002Feval-quality\u002Fcheck_eval_quality.py` — it blocks 22 defect classes that can\ncost a real result here. Then confirm by hand:\n\n- every fixture behaves as its stimulus assumes — a fixture meant to be healthy builds, and one\n  meant to be broken fails for the exact reason the stimulus is about and no other;\n- every referenced fixture is in the git index (`git ls-files`), not merely on disk — `.gitignore`\n  has silently swallowed committed coverage fixtures;\n- a fixture never states the same fact in two places that disagree — a Cobertura report whose\n  declared `line-rate`, summary totals and `\u003Cline>` elements differ is the canonical case — or the\n  two arms legitimately read different truths.\n- every preservation or scope assertion covers the complete in-scope file set, not one\n  representative file.\n- the golden trajectory and patch pass the deterministic graders, and a realistic broken mutation\n  fails the grader that is meant to protect the behavior.\n\n### Step 5: Check whether the eval could ever have passed\n\nThe gate has two independent bars, and confusing them is the usual misdiagnosis:\n\n1. **Distinct stimuli ≥ 5.** Below that the verdict is reported\n   `underpowered` — never a pass, never a regression.\n2. **The sign test must reach p ≤ 0.05 over the *discordant* (non-tie) stimulus votes.** Ties are not\n   discarded silently; they hold the discordant count down.\n\n| discordant stimulus votes | records that pass | p |\n|---:|---|---:|\n| ≤ 4 | none, however good the skill | ≥ 0.0625 |\n| 5–7 | zero losses only (5W\u002F0L) | 0.031 |\n| 8 | one loss survivable (7W\u002F1L) | 0.035 |\n\nSo at exactly 5 stimuli a single tie is fatal — it leaves 4 discordant. At 6 stimuli\none tie is survivable (5W\u002F1T\u002F0L); at 7, up to two are (5W\u002F2T\u002F0L). A loss is not.\n\nSo a positive record with a failing verdict is a power problem, not a content problem. Fix it by\nadding **discriminating stimuli**. Raising `runs` measures reliability for the same task and cannot\nclear the floor.\n\n### Step 6: Check whether the two arms differ at all\n\nAn eval that compares the skill against itself measures judge noise:\n\n- A dormancy guard (`expect_activation: false`) must **not** also set `constraints.reject_skills`.\n  That makes the skilled arm skill-free, so the activation contract cannot observe a hijack.\n  Schema version 4 retains the identical-arm comparison for diagnostics but excludes it from\n  preference inference; unexpected isolated activation still blocks a pass.\n- A skill with `disable-model-invocation: true` is absent from the model-facing skilled arm, so its\n  direct eval compares two identical arms regardless of whether graders inspect activation or answer\n  content. Cover it through consumer outcomes instead; for example, `filter-syntax` is covered by\n  `run-tests` and `mtp-hot-reload`.\n- A grader whose `config` is missing its required key enforces nothing, so the stimulus has one\n  fewer assertion than it appears to.\n\n### Step 7: Fix skill content against the losing trial\n\nOnly now change the skill. Apply the patterns in\n[references\u002Fwriting-for-baseline-delta.md](references\u002Fwriting-for-baseline-delta.md); the ones that\nmost often flip a loss:\n\n- Replace reference prose the model already knows with decisions it would otherwise get wrong.\n- Add stop-conditions so a strong skill does not over-apply — but do not over-correct into\n  answering more narrowly than the baseline did.\n- Scale output structure to input size; a dashboard for an 8-test suite loses to a direct answer.\n- Require truthful validation reporting; claiming \"Build succeeded\" after a failed restore is an\n  automatic loss.\n- Verify load-bearing API claims by compiling or probing, not by reading source.\n- For cost regressions, gate rare or expensive paths behind `references\u002F` reads and size any\n  orchestration to the user's scope.\n\n### Step 8: Fix activation\n\nActivation failures are frontmatter and routing failures, not body failures. See\n[references\u002Feval-triage.md](references\u002Feval-triage.md). Summary:\n\n| Failure | Fix |\n|---------|-----|\n| Not activated in any arm | Put the user's own words in `description`: symptoms, error codes, artifact names, quoted requests |\n| A sibling skill wins the prompt | Claim the exact ambiguous words in `description`, and add matching exclusions on **both** siblings |\n| Model answers with no skill at all | Raise the stakes in the description, de-crowd the plugin menu, verify with the plugin arm |\n| Boundary excludes real scenarios | Re-read every \"do not use for\" clause against every eval prompt and real workflow phase |\n| Description at the 1,024-char ceiling | Cut restated body content, not trigger phrases; check the plugin menu budget too |\n\n### Step 9: Re-validate\n\n```bash\ndotnet run --project eng\u002Fskill-validator\u002Fsrc\u002FSkillValidator.csproj -- check --plugin .\u002Fplugins\u002F\u003Cplugin>\npython eng\u002Feval-quality\u002Fcheck_eval_quality.py\n.\u002Feng\u002Frun-skill-evals.sh \u003Cplugin> \u003Cskill>\n```\n\nUse the production path at normal worker concurrency and with the declared `defaults.timeout`:\nVally for skill evals, and `skill-validator evaluate` for agent evals. For an agent eval, separately\nrun `check_eval_quality.py`, apply each golden patch to its materialized fixture, and run the\napplicable deterministic file, output, and command graders against the golden result. Do not use a\nserial-only pass or a larger ad hoc budget as completion evidence. For broad routing or behavior\nchanges, collect separate GPT-family and Claude-family results. Do not pool model families into\nextra stimulus votes.\n\nThen request the official run by submitting a PR review containing `\u002Fevaluate` (Files changed →\nReview changes), which binds the run to the reviewed commit. Before declaring a regression on the\nresult, confirm the skill payload actually changed — reruns on byte-identical content have shifted\n7W\u002F2T\u002F2L to 4W\u002F5T\u002F2L.\n\n## Validation\n\n- [ ] For a content fix, a losing trial and the judge's stated reason are quoted in the PR description.\n- [ ] The failure was classified before any content was edited.\n- [ ] `check_eval_quality.py` and `skill-validator check` both pass.\n- [ ] The production skill or agent runner accepts the executable spec.\n- [ ] Golden references pass the standalone checker and deterministic replay.\n- [ ] The eval completes under normal concurrency and its declared time budget.\n- [ ] Golden acceptance and mutation rejection have been demonstrated.\n- [ ] Distinct-stimulus count clears the power bar for the target effect and observed tie rate.\n- [ ] Isolated **and** plugin activation are both reported.\n- [ ] Broad changes have separate GPT-family and Claude-family evidence.\n- [ ] The PR body records root cause, fix, and validation so the lesson is reusable.\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Rewriting skill prose in response to an underpowered verdict | Underpowered means too few distinct stimuli; add discriminating stimuli instead |\n| Using the deprecated top-level `config:` alias | Rename it to `defaults:` and preserve its settings; the repository gate rejects the alias |\n| Padding `runs` to clear the stimulus floor | Repeats measure reliability for one task; add stimuli |\n| Treating an errored trial as fixture nondeterminism | Read the stderr first; judge-side auth failures need harness fixes |\n| Fixing a \"wrong\" answer that the fixture actually made wrong | Check fixture self-consistency before blaming the response |\n| Strengthening a skill nobody uses and nothing passes | Weak eval signal plus thin telemetry is a valid retirement case |\n| Landing a fix without re-running | Verify the invoked payload contains the fix; judge noise is real |\n\n## References\n\n- [references\u002Fwriting-for-baseline-delta.md](references\u002Fwriting-for-baseline-delta.md) — content patterns that beat the unskilled model\n- [references\u002Feval-triage.md](references\u002Feval-triage.md) — symptom, cause and fix catalogue with PR citations\n- [eng\u002Feval-quality\u002FREADME.md](..\u002F..\u002F..\u002Feng\u002Feval-quality\u002FREADME.md) — the 22 structural gate checks and why each exists\n- [eng\u002Fvally-adapter\u002FInvestigatingResults.md](..\u002F..\u002F..\u002Feng\u002Fvally-adapter\u002FInvestigatingResults.md) — downloading artifacts and reading `results.json`. This is the current guide; the similarly-named `eng\u002Fskill-validator\u002Fsrc\u002Fdocs\u002FInvestigatingResults.md` documents the retired `skill-validator evaluate` schema and does not describe today's results.\n","# Improve Skill Quality\n\nTurn a failing or unconvincing evaluation into a targeted fix. The single most common mistake\nin this repo is rewriting skill prose in response to a verdict whose real cause was the eval,\nthe fixtures, or the harness. Classify first, then fix.\n\n## When to Use\n\n- An evaluation verdict is a regression, underpowered, or \"no credible improvement\".\n- A skill wins in the isolated arm but not in the plugin arm, or is reported \"not activated\".\n- `\u002Fevaluate` reports \"Evaluation ran but produced no results\".\n- A skill scores well but costs too much (tokens, turns, wall time, plugin menu budget).\n- Deciding whether to strengthen or retire a persistently weak skill.\n\n## When Not to Use\n\n- Creating a new skill from scratch — use `create-skill`.\n- Creating a new `eval.yaml` from scratch — use `create-skill-test`.\n- Changing the harness itself (`eng\u002Fskill-validator`, `eng\u002Fvally-adapter`, `evaluation*.yml`).\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Verdict evidence | Yes | The `\u002Fevaluate` PR comment, or `results.json` from the run artifacts |\n| Losing trial transcripts | Yes for content fixes | Baseline vs. skilled output plus the judge's stated reason |\n| Stimulus-vote W\u002FT\u002FL and repeated-run W\u002FT\u002FL | Yes | Separates cross-task evidence from reliability |\n| Activation status per arm | Yes | Isolated and plugin activation are different failures |\n\n## Workflow\n\n### Step 1: Get the evidence before forming a hypothesis\n\nRead [InvestigatingResults.md](..\u002F..\u002F..\u002Feng\u002Fvally-adapter\u002FInvestigatingResults.md) for how to\ndownload artifacts and read `results.json`. Extract, per failing stimulus:\n\n- authoritative stimulus-vote W\u002FT\u002FL and separate repeated-run W\u002FT\u002FL\n- activation status in the **isolated** and **plugin** arms, separately\n- the judge's verbatim reason on each losing trial\n- whether any trial errored, timed out, or produced empty output\n\nDo not change skill content until you can quote a losing trial and the judge's reason for it. For the\nother cause classes the evidence is different: harness failures are diagnosed from the job log and\nthe spec, and power problems from the trial record — neither has a losing trial to quote, and\ndemanding one is what sends people rewriting prose instead.\n\n### Step 2: Classify the failure\n\nWork down this table and stop at the first row that matches. Rows are ordered by how often the\nsymptom has been misdiagnosed as a skill-content problem — the fixture row is first because a\nfixture failure also presents as a setup or reliability failure and gets misfiled as one.\n\n| Symptom | Real cause class | Go to |\n|---------|------------------|-------|\n| A fixture does not build, is untracked by git, breaks for the wrong reason, or contradicts itself | Fixture | Step 4 |\n| No `results.json`, \"produced no results\", or the spec never loaded | Harness \u002F spec-load | Step 3 |\n| Trials errored, timed out, or returned empty output | Reliability | Step 3 |\n| Trajectories unmatched, a trial errored, or the summary disagrees — verdict reported inconclusive | Reliability (not power) | Step 3 |\n| Positive record (e.g. 16W\u002F8T\u002F1L), comparison conclusive, verdict still not a pass | Statistical power | Step 5 |\n| Skilled arm equals baseline arm by construction | Eval design | Step 6 |\n| Activated and lost on quality, judge names a concrete defect | Skill content | Step 7 |\n| Activated in isolation, not in plugin | Activation \u002F routing | Step 8 |\n| Not activated in either arm | Frontmatter description | Step 8 |\n| Wins but costs far more than baseline | Scope and cost | Step 7 |\n\nA verdict is only a *measured* result when the comparison was conclusive: `adapt.mjs` requires zero\nerrored trials, zero unmatched trajectories, and an agreeing summary before it will report a pass or\na regression. Confirm that before reading a record as a power problem.\n\n### Step 3: Rule out harness and reliability causes\n\nSee [references\u002Feval-triage.md](references\u002Feval-triage.md) for the full catalogue. The recurring ones:\n\n- The repository gate rejects the deprecated top-level `config:` alias, and Vally rejects a spec\n  that declares both `config:` and `defaults:`. Replace the alias with one `defaults:` block.\n- An errored trial is not automatically a fixture problem — judge-side auth and `session.idle`\n  failures look identical from the verdict and need harness fixes, not SDK pins.\n- `expect_tools: [bash]` on an advisory question forces a restore or build and turns an answer into\n  a timeout with no quality gain.\n- Genuine code-generation stimuli need roughly 360s; a timeout yields empty output, which fails\n  every grader and hides the real quality signal.\n- Unmatched trajectories, an errored trial, or a summary that disagrees make the comparison\n  **inconclusive**: the remaining matched trials are biased, so the record is not a measured null\n  and must not be read as a power or content problem.\n- A generic YAML parser is not the production loader. If Vally rejects a skill eval, or the native\n  SDK lane rejects an agent eval's executable scenario fields, classify it as harness \u002F spec-load\n  before changing content. The native agent parser ignores golden references, so validate those\n  separately with `check_eval_quality.py` and deterministic golden-workspace replay.\n- A pass with one worker or an enlarged local timeout is not normal execution evidence. Reproduce\n  with the repository's normal concurrency and declared suite budget; a failure there is a\n  reliability defect.\n\n### Step 4: Verify the fixtures before touching the skill\n\nRun `python eng\u002Feval-quality\u002Fcheck_eval_quality.py` — it blocks 22 defect classes that can\ncost a real result here. Then confirm by hand:\n\n- every fixture behaves as its stimulus assumes — a fixture meant to be healthy builds, and one\n  meant to be broken fails for the exact reason the stimulus is about and no other;\n- every referenced fixture is in the git index (`git ls-files`), not merely on disk — `.gitignore`\n  has silently swallowed committed coverage fixtures;\n- a fixture never states the same fact in two places that disagree — a Cobertura report whose\n  declared `line-rate`, summary totals and `\u003Cline>` elements differ is the canonical case — or the\n  two arms legitimately read different truths.\n- every preservation or scope assertion covers the complete in-scope file set, not one\n  representative file.\n- the golden trajectory and patch pass the deterministic graders, and a realistic broken mutation\n  fails the grader that is meant to protect the behavior.\n\n### Step 5: Check whether the eval could ever have passed\n\nThe gate has two independent bars, and confusing them is the usual misdiagnosis:\n\n1. **Distinct stimuli ≥ 5.** Below that the verdict is reported\n   `underpowered` — never a pass, never a regression.\n2. **The sign test must reach p ≤ 0.05 over the *discordant* (non-tie) stimulus votes.** Ties are not\n   discarded silently; they hold the discordant count down.\n\n| discordant stimulus votes | records that pass | p |\n|---:|---|---:|\n| ≤ 4 | none, however good the skill | ≥ 0.0625 |\n| 5–7 | zero losses only (5W\u002F0L) | 0.031 |\n| 8 | one loss survivable (7W\u002F1L) | 0.035 |\n\nSo at exactly 5 stimuli a single tie is fatal — it leaves 4 discordant. At 6 stimuli\none tie is survivable (5W\u002F1T\u002F0L); at 7, up to two are (5W\u002F2T\u002F0L). A loss is not.\n\nSo a positive record with a failing verdict is a power problem, not a content problem. Fix it by\nadding **discriminating stimuli**. Raising `runs` measures reliability for the same task and cannot\nclear the floor.\n\n### Step 6: Check whether the two arms differ at all\n\nAn eval that compares the skill against itself measures judge noise:\n\n- A dormancy guard (`expect_activation: false`) must **not** also set `constraints.reject_skills`.\n  That makes the skilled arm skill-free, so the activation contract cannot observe a hijack.\n  Schema version 4 retains the identical-arm comparison for diagnostics but excludes it from\n  preference inference; unexpected isolated activation still blocks a pass.\n- A skill with `disable-model-invocation: true` is absent from the model-facing skilled arm, so its\n  direct eval compares two identical arms regardless of whether graders inspect activation or answer\n  content. Cover it through consumer outcomes instead; for example, `filter-syntax` is covered by\n  `run-tests` and `mtp-hot-reload`.\n- A grader whose `config` is missing its required key enforces nothing, so the stimulus has one\n  fewer assertion than it appears to.\n\n### Step 7: Fix skill content against the losing trial\n\nOnly now change the skill. Apply the patterns in\n[references\u002Fwriting-for-baseline-delta.md](references\u002Fwriting-for-baseline-delta.md); the ones that\nmost often flip a loss:\n\n- Replace reference prose the model already knows with decisions it would otherwise get wrong.\n- Add stop-conditions so a strong skill does not over-apply — but do not over-correct into\n  answering more narrowly than the baseline did.\n- Scale output structure to input size; a dashboard for an 8-test suite loses to a direct answer.\n- Require truthful validation reporting; claiming \"Build succeeded\" after a failed restore is an\n  automatic loss.\n- Verify load-bearing API claims by compiling or probing, not by reading source.\n- For cost regressions, gate rare or expensive paths behind `references\u002F` reads and size any\n  orchestration to the user's scope.\n\n### Step 8: Fix activation\n\nActivation failures are frontmatter and routing failures, not body failures. See\n[references\u002Feval-triage.md](references\u002Feval-triage.md). Summary:\n\n| Failure | Fix |\n|---------|-----|\n| Not activated in any arm | Put the user's own words in `description`: symptoms, error codes, artifact names, quoted requests |\n| A sibling skill wins the prompt | Claim the exact ambiguous words in `description`, and add matching exclusions on **both** siblings |\n| Model answers with no skill at all | Raise the stakes in the description, de-crowd the plugin menu, verify with the plugin arm |\n| Boundary excludes real scenarios | Re-read every \"do not use for\" clause against every eval prompt and real workflow phase |\n| Description at the 1,024-char ceiling | Cut restated body content, not trigger phrases; check the plugin menu budget too |\n\n### Step 9: Re-validate\n\n```bash\ndotnet run --project eng\u002Fskill-validator\u002Fsrc\u002FSkillValidator.csproj -- check --plugin .\u002Fplugins\u002F\u003Cplugin>\npython eng\u002Feval-quality\u002Fcheck_eval_quality.py\n.\u002Feng\u002Frun-skill-evals.sh \u003Cplugin> \u003Cskill>\n```\n\nUse the production path at normal worker concurrency and with the declared `defaults.timeout`:\nVally for skill evals, and `skill-validator evaluate` for agent evals. For an agent eval, separately\nrun `check_eval_quality.py`, apply each golden patch to its materialized fixture, and run the\napplicable deterministic file, output, and command graders against the golden result. Do not use a\nserial-only pass or a larger ad hoc budget as completion evidence. For broad routing or behavior\nchanges, collect separate GPT-family and Claude-family results. Do not pool model families into\nextra stimulus votes.\n\nThen request the official run by submitting a PR review containing `\u002Fevaluate` (Files changed →\nReview changes), which binds the run to the reviewed commit. Before declaring a regression on the\nresult, confirm the skill payload actually changed — reruns on byte-identical content have shifted\n7W\u002F2T\u002F2L to 4W\u002F5T\u002F2L.\n\n## Validation\n\n- [ ] For a content fix, a losing trial and the judge's stated reason are quoted in the PR description.\n- [ ] The failure was classified before any content was edited.\n- [ ] `check_eval_quality.py` and `skill-validator check` both pass.\n- [ ] The production skill or agent runner accepts the executable spec.\n- [ ] Golden references pass the standalone checker and deterministic replay.\n- [ ] The eval completes under normal concurrency and its declared time budget.\n- [ ] Golden acceptance and mutation rejection have been demonstrated.\n- [ ] Distinct-stimulus count clears the power bar for the target effect and observed tie rate.\n- [ ] Isolated **and** plugin activation are both reported.\n- [ ] Broad changes have separate GPT-family and Claude-family evidence.\n- [ ] The PR body records root cause, fix, and validation so the lesson is reusable.\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Rewriting skill prose in response to an underpowered verdict | Underpowered means too few distinct stimuli; add discriminating stimuli instead |\n| Using the deprecated top-level `config:` alias | Rename it to `defaults:` and preserve its settings; the repository gate rejects the alias |\n| Padding `runs` to clear the stimulus floor | Repeats measure reliability for one task; add stimuli |\n| Treating an errored trial as fixture nondeterminism | Read the stderr first; judge-side auth failures need harness fixes |\n| Fixing a \"wrong\" answer that the fixture actually made wrong | Check fixture self-consistency before blaming the response |\n| Strengthening a skill nobody uses and nothing passes | Weak eval signal plus thin telemetry is a valid retirement case |\n| Landing a fix without re-running | Verify the invoked payload contains the fix; judge noise is real |\n\n## References\n\n- [references\u002Fwriting-for-baseline-delta.md](references\u002Fwriting-for-baseline-delta.md) — content patterns that beat the unskilled model\n- [references\u002Feval-triage.md](references\u002Feval-triage.md) — symptom, cause and fix catalogue with PR citations\n- [eng\u002Feval-quality\u002FREADME.md](..\u002F..\u002F..\u002Feng\u002Feval-quality\u002FREADME.md) — the 22 structural gate checks and why each exists\n- [eng\u002Fvally-adapter\u002FInvestigatingResults.md](..\u002F..\u002F..\u002Feng\u002Fvally-adapter\u002FInvestigatingResults.md) — downloading artifacts and reading `results.json`. This is the current guide; the similarly-named `eng\u002Fskill-validator\u002Fsrc\u002Fdocs\u002FInvestigatingResults.md` documents the retired `skill-validator evaluate` schema and does not describe today's results.\n",{"name":5,"description":7},"main","497cc9aba79a931ac6fb8d36a48cc22fe3d6d74b","catalog\u002FTools\u002FOfficial-DotNet-Improve-Skill-Quality\u002Fskills\u002Fimprove-skill-quality",41,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills","https:\u002F\u002Fskills.managed-code.com","https:\u002F\u002Fgithub.com\u002Fmanagedcode","https:\u002F\u002Fwww.managed-code.com","Open Source Community for .NET Developers: Reliable, Actively Maintained, and Community-Driven. Made in Ukraine 🇺🇦 with ❤️","2026-11-14 19:05:44",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add managedcode\u002Fdotnet-skills --skill improve-skill-quality",{"tool":70,"command":71},"bunx","bunx skills add managedcode\u002Fdotnet-skills --skill improve-skill-quality",{"tool":73,"command":74},"pnpm","pnpm dlx skills add managedcode\u002Fdotnet-skills --skill improve-skill-quality","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTools\u002FOfficial-DotNet-Improve-Skill-Quality\u002Fskills\u002Fimprove-skill-quality\u002FSKILL.md",true,[78,84,88],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"manifest.json","REFERENCE","参考文档",157,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTools\u002FOfficial-DotNet-Improve-Skill-Quality\u002Fskills\u002Fimprove-skill-quality\u002Fmanifest.json",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Feval-triage.md",10703,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTools\u002FOfficial-DotNet-Improve-Skill-Quality\u002Fskills\u002Fimprove-skill-quality\u002Freferences\u002Feval-triage.md",{"path":89,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fwriting-for-baseline-delta.md",7408,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTools\u002FOfficial-DotNet-Improve-Skill-Quality\u002Fskills\u002Fimprove-skill-quality\u002Freferences\u002Fwriting-for-baseline-delta.md",[93,127,151,181,191,218],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":107,"publishedAt":49},"01M6DYQE1Y9FHAQHEDTVFQ3447","xtwitter-scraper","Use XTwitterScraper when a .NET application needs typed access to Xquik's X automation REST API for tweet search, user lookup, posting workflows, extraction jobs, monitors, webhooks, or giveaway draws. USE FOR: integrating the XTwitterScraper NuGet package; reviewing Xquik API client usage; modeling API-key configuration, pagination, binary exports, raw responses, retries, and webhook\u002Fevent flows in .NET. DO NOT USE FOR: unrelated stacks; direct browser automation; generic social-media strategy; or code that does not call Xquik. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FXTwitterScraper\u002Fskills\u002Fxtwitter-scraper\u002FSKILL.md",[99,102],{"categoryNo":100,"categoryName":101,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":103,"categoryName":104,"taxonomyType":105,"taxonomyTypeDesc":106},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[108,109,110,111,112,113,114,45,115,116,117,118,119,120,121,122,123,124,125,126],"xtwitter scraper","browser automation","workflows","run","code","browser","search","api","Media","api client","access","edit","unrelated","webhooks","files","social","commands","modeling","webhook",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":139,"publishedAt":49},"01M6DYQ9S4PE1H6G8MCH9T21HR","sep","Use Sep for high-performance separated-value parsing and writing in .NET, including delimiter inference, explicit parser\u002Fwriter options, and low-allocation row\u002Fcolumn workflows. USE FOR: delimited data needs are performance-sensitive and allocation-aware; project needs explicit control over separator inference, escaping, trimming, and header behavior;. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FSep\u002Fskills\u002Fsep\u002FSKILL.md",[133,136],{"categoryNo":134,"categoryName":135,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":137,"categoryName":138,"taxonomyType":105,"taxonomyTypeDesc":106},"01JBSEEDCAT000000000000036","内容创作者",[129,140,141,110,142,111,45,143,144,145,119,146,120,122,35,147,148,149,124,150],"writing","performance","tasks","data","parsing","parser","context","writer","options","project","high-performance",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":49},"01M6DZS2DNEPXCGGF6SSCW6G5V","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fwebgpu-claude-skill\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[158,159,160,161,162,163,164,165,166,167,168,169,38,170,171,172,173,174,175,176,177,178,179,180,30],"webgpu","threejs","webgpu threejs tsl","setup","shaders","gpu","integration","applications","js","node","syntax","guide","language","three","compute","post","processing","with","renderer","for","materials","wgsl","effects",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":49},"01M6DZS0BQXW2B56A289XF1X76","roslynk","Use Roslynk for semantic inspection and edits of *.cs, *.razor and *.cshtml solution files.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Froslynk\u002Fskills\u002Froslynk\u002FSKILL.md",[],[183,38,122,188,189,177,190],"semantic","razor","inspection",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":49},"01M6DZRW6MEJCVW80K3S4XV60K","system-text-json-net11","Imperative guidance for the System.Text.Json APIs added in .NET 11: the built-in `JsonNamingPolicy.PascalCase` naming policy, and the strongly-typed generic `JsonSerializerOptions.GetTypeInfo` and `JsonSerializerOptions.TryGetTypeInfo` metadata accessors (generic overloads that return a typed `JsonTypeInfo`). USE ONLY when the user is targeting net11.0 or later and needs PascalCase JSON property or dictionary-key names without writing a custom naming policy, a strongly-typed generic `JsonTypeInfo` instead of the non-generic `JsonTypeInfo`, or a no-throw way to probe whether a type's serialization metadata is resolved. DO NOT USE when the target is earlier than net11.0, the requested behavior uses an established pre-net11 naming policy, or the user explicitly selected another JSON library.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fsystem-text-json-net11\u002FSKILL.md",[],[198,199,200,201,140,202,203,204,205,206,207,38,208,209,210,211,35,212,213,214,215,177,216,217,30],"system","json","text","system text json net11","policy","metadata","library","serialization","behavior","user","only","probe","guidance","later","type","dictionary","naming","targeting","custom","generic",{"skillNo":219,"name":220,"nameZh":6,"description":221,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":222,"categories":223,"keywords":226,"publishedAt":49},"01M6DZRRJP3S662NFSG1RSPQQ7","process-api-net11","Provides guidance on the new System.Diagnostics.Process APIs introduced in .NET 11: Process.Run, Process.RunAndCaptureText, Process.StartAndForget, Process.ReadAllText\u002FBytes\u002FLines, KillOnParentExit, InheritedHandles, and StartDetached. USE FOR: starting, orchestrating, or capturing output from external processes in applications targeting net11.0 or later. DO NOT USE FOR: applications targeting .NET 10 or earlier, or basic pre-.NET 11 Process.Start usage without new APIs.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fprocess-api-net11\u002FSKILL.md",[224,225],{"categoryNo":100,"categoryName":101,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":103,"categoryName":104,"taxonomyType":105,"taxonomyTypeDesc":106},[115,227,228,229,111,230,165,198,38,210,211,35,231,232,233,234,215,177,29],"process","process api net11","diagnostics","start","basic","processes","output","usage"]