[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DZAYPQPVSY7FDXXHRBBC14":3,"skill-same:01M6DZAYPQPVSY7FDXXHRBBC14":97},{"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":34,"publishedAt":62,"linkOnly":63,"markdownContent":64,"markdownBody":65,"frontMatter":66,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":72,"ownerHtmlUrl":73,"ownerBlogUrl":74,"ownerDescription":75,"updatedAt":76,"install":77,"resources":90},"01M6DZAYPQPVSY7FDXXHRBBC14","create-skill-test",null,"Scaffolds eval.yaml evaluation specs for skills, custom agents, and redistributable gh-aw workflow packages in the dotnet\u002Fskills repository. Use when creating skill or workflow-package tests, writing evaluation stimuli, defining graders and rubrics, sizing an eval for statistical power, or setting up test fixture files. Handles the Vally eval.yaml schema, fixture organization, and overfitting avoidance. Do not use for running or debugging existing evals (use improve-skill-quality) nor for skills authoring (use create-skill).","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\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002F.agents\u002Fskills\u002Fcreate-skill-test\u002FSKILL.md",[18,23,26,29],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":27,"categoryName":28,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":30,"categoryName":31,"taxonomyType":32,"taxonomyTypeDesc":33},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61],"test","Skill Test","create skill","create skill test","create","eval","when","tests","fixture","organization","do","files","evals","up","power","schema","use","writing","gh","improve","custom agents","package","packages","debugging","vally eval","dotnet","workflow","2026-11-10 10:12:30",false,"---\nname: create-skill-test\ndescription: Scaffolds eval.yaml evaluation specs for skills, custom agents, and redistributable gh-aw workflow packages in the dotnet\u002Fskills repository. Use when creating skill or workflow-package tests, writing evaluation stimuli, defining graders and rubrics, sizing an eval for statistical power, or setting up test fixture files. Handles the Vally eval.yaml schema, fixture organization, and overfitting avoidance. Do not use for running or debugging existing evals (use improve-skill-quality) nor for skills authoring (use create-skill).\n---\n\n# Create Skill Test\n\nScaffold an evaluation spec (`eval.yaml`) for a skill, agent, or workflow package so it conforms to the Vally schema,\npasses `skill-validator check` and `check_eval_quality.py`, is powerful enough to return a verdict,\nand does not overfit to the skill's own wording.\n\n## When to Use\n\n- Creating a new `eval.yaml` for a skill, agent, or workflow package\n- Adding stimuli to an existing eval\n- Sizing an eval so the pass gate can actually be reached\n- Setting up or repairing fixture files alongside an eval\n- Reviewing whether rubric items and graders risk overfitting\n\n## When Not to Use\n\n- Diagnosing a failing or regressed eval — use `improve-skill-quality`\n- Modifying the skill-validator or the evaluation workflows\n- Creating or editing `SKILL.md` files — use `create-skill`\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Skill or agent name | Yes | Must exist under `plugins\u002F\u003Cplugin>\u002Fskills\u002F` or `plugins\u002F\u003Cplugin>\u002Fagents\u002F` |\n| Plugin name | Yes | e.g. `dotnet-msbuild` |\n| Skill content | Yes | Read it — you cannot write non-overfitted rubric items without it |\n| Scenario hypothesis | Yes | State the expected improvement for a preference case, or the invariant protected by a guard |\n| Failure modes to discriminate | Recommended | Each becomes one distinct stimulus |\n\n## Workflow\n\n### Step 1: Prove the eval belongs to the target\n\nBefore writing YAML, state what the stimulus proves. A preference stimulus is necessary when the\ntarget should improve the answer, action, restraint, or validation result compared with the same\nmodel without the target. A non-voting activation contract or no-op guard is necessary when it\nprotects a meaningful invariant, even if correct behavior is baseline-equivalent.\n\nDo not add a stimulus when it measures:\n\n- generic knowledge the base model already has;\n- path recall for a skill that only points to reference files;\n- output volume rather than correctness;\n- a renamed or lightly reworded copy of an existing case; or\n- a `disable-model-invocation: true` reference skill in isolation.\n\nMap each proposed case to **capability**, **risk**, and **customer journey** tags. Preference cases\nmust add distinct voting value. Activation contracts and no-op guards may share a capability when\nthey protect a separate routing or preservation invariant. If two cases have the same inputs,\nexpected outcome, failure mode, and grader path, keep the stronger one. The five-stimulus floor\nnever justifies padding.\n\nThen locate the target and test directory:\n\n```text\ntests\u002F\u003Cplugin>\u002F\u003Cskill-name>\u002Feval.yaml          # skills\ntests\u002F\u003Cplugin>\u002Fagent.\u003Cagent-name>\u002Feval.yaml    # agents (the agent. prefix disambiguates)\ntests\u002Fagentic-workflows\u002F\u003Cpackage>\u002Feval.yaml   # redistributable gh-aw packages\n```\n\nVerify the target exists at `plugins\u002F\u003Cplugin>\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md` or\n`plugins\u002F\u003Cplugin>\u002Fagents\u002F\u003Cagent-name>.agent.md`, and read it.\n\n**Agent evals use the native SDK agent lane.** Vally 0.14 cannot register custom\nagents, so `agent.*` specs do not run through the skill experiment. The\nevaluation workflow discovers them separately, runs the target agent through\n`skill-validator evaluate`, and adapts that evidence into the same\nschema-versioned result and dashboard pipeline. The distinct-stimulus floor\napplies to both skill and agent evals.\n\n**Be careful with a skill that sets `disable-model-invocation: true`.** The model cannot invoke it,\nso the skill is absent from the model-facing skilled arm and any direct eval compares two identical\narms. Answer-content graders do not create a difference between those arms. The honest coverage for\nsuch skills is dependency-level — through the outcome evals of the skills that load them, and through\nthe plugin arm. For example, `filter-syntax` is covered by the filtered-command scenarios in\n`tests\u002Fdotnet-test\u002Frun-tests\u002Feval.yaml`.\n\n### Step 2: Write the spec skeleton\n\nThe spec is Vally format. Every eval in this repo uses `stimuli:` and `graders:`; `scenarios:` and\n`assertions:` are a pre-Vally format that no longer loads.\n\n```yaml\nname: \u003Cskill-name>\ndescription: Evaluates the \u003Cplugin>\u002F\u003Cskill-name> skill\ntype: capability\ndefaults:\n  timeout: 5m\n  runs: 1\nstimuli:\n  - name: \u003Cwhat the agent must accomplish>\n    prompt: \u003Cnatural developer request>\n    tags:\n      capability: \u003Cdistinct-capability>\n      risk: \u003Cfailure-being-prevented>\n      journey: \u003Ccustomer-task>\n    environment:\n      files:\n        - src: fixtures\u002F\u003Ccase>\u002FProject.csproj\n          dest: Project.csproj\n    graders:\n      - type: output-matches\n        config:\n          pattern: (root cause|underlying issue)\n      - type: exit-success\n      - type: prompt\n    rubric:\n      - \u003Coutcome the agent should have reached>\n```\n\n> **Use `defaults:` only.** `config:` is a deprecated alias that the repository gate rejects. Vally\n> warns when the alias appears alone and throws when a spec declares both keys. Replace `config:`\n> with one `defaults:` block and preserve its settings.\n\n### Step 3: Size the eval for power before writing content\n\nThe gate gives each distinct stimulus one vote. Repeated runs for one stimulus collapse to one\nmajority-direction vote and remain available as reliability evidence.\n\n1. **Distinct stimuli ≥ 5**, else the verdict is `underpowered` — never a pass, never a regression.\n2. **p ≤ 0.05 on an exact one-sided sign test over *discordant* (non-tie) stimulus votes.** Ties are not\n   discarded; they hold the discordant count down.\n\n| discordant stimulus votes | records that pass | p |\n|---:|---|---:|\n| ≤ 4 | none | ≥ 0.0625 |\n| 5–7 | zero losses only (5W\u002F0L) | 0.031 |\n| 8 | one loss survivable (7W\u002F1L) | 0.035 |\n\nAt exactly 5 stimuli, one tie is fatal because it leaves 4 discordant votes. At 6 stimuli one tie\nis survivable; at 7, up to two are. A loss is not. Five is an **eligibility floor**, not adequate\npower. For example, 80% power needs 8 discordant votes only for a true 90% conditional win rate;\nit needs 18 at 80%, 37 at 70%, and 158 at 60%. Size for the effect and tie rate you need to detect.\n\nUse `runs` for reliability, not task breadth. Vally recommends 3 runs in CI and 5–10 nightly for\npass rate, pass@k, pass^k, and flakiness. Extra runs never clear the five-stimulus floor.\n\nDo not set `runs` in `dotnet-skills.experiment.yaml`; experiment overrides overwrite every eval's\nown value rather than defaulting it.\n\n### Step 4: Write stimuli\n\n- **Name** describes *what* is tested, not *how*.\n- **Prompt** is a natural developer request. Never mention the skill, the agent, or its vocabulary —\n  cued prompts inflate the overfit score and bias the baseline.\n- Each stimulus should discriminate a **different** property of the skill. Five stimuli covering one\n  property give arithmetic, not evidence.\n- Give every capability stimulus non-empty `capability`, `risk`, and `journey` tags. Use stable\n  lowercase kebab-case values. A useful portfolio crosses distinct rows or columns in that matrix;\n  it does not repeat one journey with cosmetic wording changes.\n- Give every stimulus a stable, unique `name`. Vally pairs comparison trajectories by\n  `(stimulus name, trial index)`; duplicate names make slot identity ambiguous.\n- Include a boundary \u002F no-op stimulus for any skill that migrates or rewrites code, proving it\n  leaves already-correct input alone.\n- Add a dormancy stimulus for each real routing boundary. No-op proves restraint on an on-target,\n  already-correct input; dormancy proves the target stays inactive on an off-target request.\n\n### Step 5: Configure the environment\n\n```yaml\nenvironment:\n  files:\n    - src: fixtures\u002Fbroken-build\u002FApp.csproj      # path relative to eval.yaml\n      dest: App.csproj                           # path in the agent's working directory\n    - src: fixtures\u002Fbroken-build                 # a directory\n      dest: .\n  commands:\n    - dotnet build -bl || exit 0                 # guard intentional failures\n```\n\n**Do not set `environment.skills` in a skill eval.** The experiment declares\n`vary: \u002Fenvironment\u002Fskills` and supplies the value itself — `[]` for the baseline arm and\n`plugins\u002F\u003Cplugin>\u002Fskills\u002F\u003Cskill>` for the skilled arm — so anything the eval declares is replaced,\nin every arm. It cannot add a skill to one arm only. `environment.skills` is meaningful in an\n`agent.*` eval; the native agent lane loads those entries only in the isolated\ntarget run, while the plugin run loads the production plugin's complete skill\nsurface. Copy the shape from an existing agent eval such as\n`tests\u002Fdotnet-test\u002Fagent.test-quality-auditor\u002Feval.yaml` rather than reproducing a remembered form —\nthe specs in this repo are not consistent about how they spell those entries.\n\nFixture rules — each one has already cost a real result:\n\n- **Every referenced fixture must be tracked by git.** `.gitignore` (e.g. `coverage*.xml`) has\n  silently swallowed a committed fixture: the eval passed locally and failed at setup in CI. Verify\n  with `git ls-files`, not by looking at the working tree.\n- **Every fixture must behave as its stimulus assumes.** A fixture meant to be healthy must build; a\n  fixture meant to be broken must fail for the exact reason the stimulus is about, and no other.\n  Judges penalize agents for unrelated \"pre-existing build issues\" that the fixture author\n  introduced.\n- **Every fixture must reproduce the bug its stimulus is named for.** If it does not, the baseline\n  scores well and the skill has nothing to add.\n- **Coverage fixtures must be internally consistent.** A Cobertura report whose declared\n  `line-rate`, summary totals (`lines-covered`\u002F`lines-valid`), and `\u003Cline>` elements disagree lets\n  the two arms read different truths, and the loss is the fixture's fault. Update any rubric item or\n  prompt that quotes a figure in the same change.\n- **Do not wire duplicate fixtures** to raise `n`; rename leftovers add trials without evidence.\n- A setup command that is *expected* to fail while still producing its artifact must be guarded\n  (`|| exit 0`), or vally drops the trial.\n- A cleanup command that strips sources must skip directories containing `SKILL.md` — the staged\n  skill lives there, and deleting it aborts only the skilled arm.\n- **Preserve the complete file set.** When the prompt limits edits or requires source\u002Ftest\n  preservation, snapshot or compare every in-scope file, not one representative file. A grader that\n  checks only the main output can miss deletion, truncation, or edits to sibling files.\n\n### Step 6: Write graders\n\nGraders are hard pass\u002Ffail checks evaluated on every arm.\n\n| Type | Required config | Purpose |\n|------|-----------------|---------|\n| `output-matches` \u002F `output-not-matches` | `pattern` | Regex over agent output |\n| `output-contains` \u002F `output-not-contains` | `substring` | Literal text in output |\n| `file-exists` \u002F `file-not-exists` | `path` | Glob against the work directory |\n| `file-contains` \u002F `file-not-contains` | `path`, `value` | Content of a produced file |\n| `run-command` | `command` (plus optional `expected_exit_code`, `timeout`, `stdout_matches`) | Verify produced code actually builds\u002Fruns |\n| `exit-success` | — | Agent produced non-empty output |\n| `prompt` | — | Runs the LLM judge against the `rubric` |\n\nRules:\n\n- A grader whose `config` is absent or missing its required key parses fine and **enforces nothing**.\n  The usual cause is an indentation slip during an edit; `check_eval_quality.py` blocks it.\n- Prefer broad patterns that several valid approaches satisfy:\n  `(root cause|primary error|underlying issue)`.\n- **If the skill mandates an output shape, assert on it.** A skill required to emit a decisive\n  `Recommendation:` line can silently stop doing so while the eval still passes.\n- Use `file-not-contains` \u002F `file-not-exists` to prove the agent avoided an incorrect action.\n\nDefine the deterministic contract before writing the prompt grader:\n\n1. **Golden acceptance:** materialize the fixture and apply the `golden_patch`, if any. The golden\n   workspace and final `golden_trajectory` response must pass every deterministic grader that\n   applies to them.\n2. **Mutation rejection:** make one realistic defect that the eval exists to catch, such as a\n   missing file, zero discovered tests, an out-of-scope edit, or a changed semantic value. The\n   relevant deterministic grader must fail.\n3. **Complete-state check:** cover all files and artifacts named by the request. Do not accept a\n   partial artifact because one positive substring exists.\n\nUse `golden_patch` for replayable workspace state and `golden_trajectory` for the expected final\nresponse. A narrated edit, build, or test is not proof: completion claims need a patch or a\n`run-command` grader that replays the evidence.\n\n### Step 7: Write rubric items\n\nRubric items are judged pairwise (baseline vs. skilled). The overfitting judge classifies each item:\n\n| Classification | Description | Goal |\n|---------------|-------------|------|\n| **outcome** | Whether the agent reached a correct result — WHAT, not HOW | Target this |\n| **technique** | Whether the agent used a skill-specific procedure | Minimize |\n| **vocabulary** | Whether the agent used the skill's terminology | Avoid |\n\n1. Test outcomes, not methods: \"Identified the root cause of the build failure\", not \"Replayed the\n   binlog using `dotnet build \u002Fflp`\".\n2. Accept any valid approach.\n3. Never reference the skill by name, and never reuse `SKILL.md` phrasing.\n4. Never reward using the skill — the harness reports activation separately, so a rubric item that\n   does this measures nothing and inflates the overfit score.\n5. Do not test knowledge the model already has; it adds no delta.\n6. Keep each item independently evaluable.\n7. Do not reward raw volume (test count, report length); judges will compare it when both arms act.\n\n**Good:**\n\n```yaml\nrubric:\n  - Correctly identified the missing NuGet package as the root cause of the build failure\n  - Recognized that downstream failures cascaded from that root cause\n  - Suggested a concrete fix that resolves it\n```\n\n**Overfitted:**\n\n```yaml\nrubric:\n  - Replayed the binary log using 'dotnet build \u002Fflp:v=diag'   # technique\n  - Measured cold, warm, and no-op build scenarios             # vocabulary\n  - Used the template-comparison skill                         # rewards activation\n```\n\n### Step 8: Add constraints sparingly\n\n```yaml\nconstraints:\n  expect_tools: [bash]\n  reject_tools: [edit, create]\n  reject_skills: [some-skill]\n```\n\n- `expect_tools: [bash]` on an **advisory** question forces a restore or build and converts an\n  answer into a timeout with no quality benefit. Only require tools when the task genuinely needs\n  them.\n- `reject_tools` is the right way to keep a read-only stimulus read-only.\n\n### Step 9: Add dormancy guards\n\nA dormancy guard proves the skill stays dormant on an off-target request that superficially matches\nit. Add one per real \"when not to use\" boundary: wrong input format, out-of-scope request,\nincompatible project type, wrong framework version, prerequisite absent.\n\n```yaml\n  - name: Decline dump analysis request\n    prompt: |\n      I already have a .dmp crash dump from my .NET app. Can you help me\n      analyze it to find the root cause of the crash?\n    expect_activation: false\n    graders:\n      - type: output-matches\n        config:\n          pattern: (out of scope|not cover|does not|cannot|only.*collect)\n      - type: prompt\n    rubric:\n      - Stated that dump analysis is out of scope\n      - Did not open or analyze the dump file\n      - Did not install analysis tools such as dotnet-dump analyze, lldb, or windbg\n      - Suggested the correct alternative\n```\n\n> **Never combine `expect_activation: false` with `constraints.reject_skills`.** That forces the\n> skilled arm to run skill-free, so the harness cannot observe whether the target skill hijacks the\n> request. The comparison remains visible as report-only evidence but does not vote in preference;\n> unexpected isolated activation blocks a pass. `expect_activation: false` **alone** is the repo\n> convention.\n\n### Workflow-package scenarios\n\nFor a package target, verify `agentic-workflows\u002F\u003Cpackage>\u002Faw.yml`, then read its\nentry workflow, local imports, and bundled agents. The native SDK lane evaluates\ntheir real prompt bodies and installed resources against offline fixtures.\nSpecify collector outputs, revision\u002Ftracking evidence, and service responses as\nfixture inputs; propose terminal actions in `result.json` rather than pretending\nto publish through live GitHub or safe-output tools. Assert the structured result\nwith deterministic graders. Do not place expected answers in agent-readable\nfixtures or staged grader scripts; pass expected values through grader argv.\n\nPrompt expressions are rendered from a flat `workflow-context.json` fixture,\nwhose keys are exact trimmed expressions and values are strings. Missing context\nfails setup. A workflow that correctly chooses noop is still expected-active\ndecision evidence, not `expect_activation: false` routing evidence. Include\nnormal, partial, stale, incompatible, missing-evidence, and multi-module cases\nwhere applicable. Keep compilation, helper execution, and actual consumer\npublication tests separate: this lane is labeled `workflow-prompt-sdk`, not\nend-to-end Actions execution.\n\n```powershell\ndotnet run --project eng\u002Fskill-validator\u002Fsrc\u002FSkillValidator.csproj -- evaluate `\n  agentic-workflows\u002F\u003Cpackage>\u002Faw.yml `\n  --tests-dir tests\u002Fagentic-workflows --runs 1 --verdict-warn-only\n```\n\nGuard rubrics verify three things: **recognition** (why it does not apply), **restraint** (no\nworkflow, no file changes, no installs), **redirection** (the correct next step).\n\n### Step 10: 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-name>\n```\n\nFor an **agent** eval, exercise the native lane directly:\n\n```bash\ndotnet run --project eng\u002Fskill-validator\u002Fsrc\u002FSkillValidator.csproj -- evaluate \\\n  plugins\u002F\u003Cplugin>\u002Fagents\u002F\u003Cagent>.agent.md \\\n  --tests-dir tests\u002F\u003Cplugin> \\\n  --runs 1 \\\n  --verdict-warn-only\n```\n\nCI adapts this result through `eng\u002Fvally-adapter\u002Fadapt-agent-results.mjs`,\nwhich applies the same distinct-stimulus sign-test policy used by skill results.\n\nValidation must cover four layers:\n\n1. **Deterministic structure:** run `check_eval_quality.py` and the relevant checker self-tests when\n   the checker changes.\n2. **Production parsing and golden replay:** run skill evals through the repository's Vally entry\n   point. For agent evals, run `skill-validator evaluate` to prove the native SDK lane accepts the\n   executable scenario fields. That parser does not read `golden_trajectory` or `golden_patch`, so\n   validate the references separately: run `check_eval_quality.py`, then materialize the fixture,\n   apply the golden patch, and run every applicable deterministic file and command grader against\n   the golden workspace. Confirm the final golden response passes its output graders.\n3. **Normal execution:** use the normal worker concurrency and the declared `defaults.timeout`.\n   Do not certify an eval only with one worker or a larger ad hoc time budget. If normal concurrency\n   exposes a race or timeout, classify it as reliability evidence.\n4. **Cross-family sensitivity:** for broad routing or behavior changes, evaluate at least one GPT\n   family and one Claude family executor. Report each result separately. Different executor or\n   judge families do not increase the independent stimulus count.\n\n`check_eval_quality.py` blocks 22 structural defect classes that can corrupt a result:\nmissing or untracked fixtures, self-contradicting coverage fixtures, empty grader configs, dormancy\nguards with `reject_skills`, sub-floor stimulus counts, duplicate YAML keys or stimulus names, and\ninvalid defaults, tags, golden evidence, test commands, or ATIF trajectories. See\n[`eng\u002Feval-quality\u002FREADME.md`](..\u002F..\u002F..\u002Feng\u002Feval-quality\u002FREADME.md) for the complete list. Do not add a new eval to\n`eng\u002Feval-quality\u002Funderpowered-allowlist.txt` — the gate rejects\nallowlist entries that are new relative to the base branch.\n\nFor the official run, submit a PR review containing `\u002Fevaluate` so it binds to the reviewed commit.\n\n## Validation Checklist\n\n- [ ] Directory is `tests\u002F\u003Cplugin>\u002F\u003Cskill-name>\u002F` or `tests\u002F\u003Cplugin>\u002Fagent.\u003Cagent-name>\u002F`\n- [ ] Spec uses `stimuli:` \u002F `graders:` and the current `defaults:` settings block\n- [ ] At least 5 preference-eligible distinct stimuli exist; dormancy contracts do not count toward this floor\n- [ ] Every stimulus is necessary and fits the target; each preference case adds distinct voting value\n- [ ] Each capability stimulus has stable `capability`, `risk`, and `journey` tags and a unique name\n- [ ] Prompts never name the skill, the agent, or its vocabulary\n- [ ] Every referenced fixture exists and is tracked by `git ls-files`\n- [ ] Every fixture behaves as its stimulus assumes — healthy ones build, deliberately broken ones fail only for the stated reason\n- [ ] Preservation and scope graders cover the complete in-scope file set\n- [ ] Every grader has its required `config` key\n- [ ] Any output shape the skill mandates has a grader\n- [ ] Golden evidence passes deterministic graders, and a realistic mutation fails them\n- [ ] Rubric items are outcome-shaped and never reward using the skill\n- [ ] Rewrite skills have a no-op case; routing boundaries use `expect_activation: false` alone\n- [ ] The production runner accepts the executable spec and completes under normal concurrency and time limits\n- [ ] Golden references pass the standalone checker and deterministic replay\n- [ ] Broad routing or behavior changes have separate GPT-family and Claude-family evidence\n- [ ] `skill-validator check` and `check_eval_quality.py` pass\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Writing `scenarios:` \u002F `assertions:` | That format no longer loads; use `stimuli:` \u002F `graders:` |\n| Using the deprecated top-level `config:` alias | Rename it to `defaults:` and preserve its settings |\n| Landing an eval at exactly 5 stimuli | A single tie makes a pass unreachable; size for the effect and tie rate |\n| Raising `runs` to clear the floor | Repeats measure reliability for one task; add stimuli |\n| Prompt mentions the skill or agent by name | Rewrite as a natural developer request |\n| Rubric rewards using the skill | Drop the item — the harness reports activation separately; rubrics measure outcomes |\n| Fixture present but ignored by git | Verify with `git ls-files`; CI setup will fail otherwise |\n| Fixture that does not build, or breaks for the wrong reason | Fix the fixture before blaming the skill |\n| Dormancy guard with `reject_skills` | Use `expect_activation: false` alone |\n| `expect_tools: [bash]` on an advisory question | Drop it; it causes timeouts, not quality |\n| Timeout too short for code generation | Use ~360s; empty output fails every grader |\n| Duplicate YAML key left behind by an edit | It overwrites the next stimulus field by field — delete the stray block |\n| Duplicate stimulus names | Vally uses names as comparison identity — give every stimulus a stable, unique name |\n| Direct eval for a `disable-model-invocation: true` skill | Remove it and cover the reference through consumer outcomes |\n| Agent eval below the stimulus floor | The native agent adapter uses the same sign-test gate; add independent preference-eligible stimuli |\n| Agent eval \"run\" with `.\u002Feng\u002Frun-skill-evals.sh` | That helper remains skill-only; use `skill-validator evaluate` |\n| Agent eval missing `environment.skills` | Declare the skills the agent routes to, or it cannot invoke them |\n| `environment.skills` set in a **skill** eval | The experiment varies that key and replaces it in every arm; the declaration does nothing |\n","# Create Skill Test\n\nScaffold an evaluation spec (`eval.yaml`) for a skill, agent, or workflow package so it conforms to the Vally schema,\npasses `skill-validator check` and `check_eval_quality.py`, is powerful enough to return a verdict,\nand does not overfit to the skill's own wording.\n\n## When to Use\n\n- Creating a new `eval.yaml` for a skill, agent, or workflow package\n- Adding stimuli to an existing eval\n- Sizing an eval so the pass gate can actually be reached\n- Setting up or repairing fixture files alongside an eval\n- Reviewing whether rubric items and graders risk overfitting\n\n## When Not to Use\n\n- Diagnosing a failing or regressed eval — use `improve-skill-quality`\n- Modifying the skill-validator or the evaluation workflows\n- Creating or editing `SKILL.md` files — use `create-skill`\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Skill or agent name | Yes | Must exist under `plugins\u002F\u003Cplugin>\u002Fskills\u002F` or `plugins\u002F\u003Cplugin>\u002Fagents\u002F` |\n| Plugin name | Yes | e.g. `dotnet-msbuild` |\n| Skill content | Yes | Read it — you cannot write non-overfitted rubric items without it |\n| Scenario hypothesis | Yes | State the expected improvement for a preference case, or the invariant protected by a guard |\n| Failure modes to discriminate | Recommended | Each becomes one distinct stimulus |\n\n## Workflow\n\n### Step 1: Prove the eval belongs to the target\n\nBefore writing YAML, state what the stimulus proves. A preference stimulus is necessary when the\ntarget should improve the answer, action, restraint, or validation result compared with the same\nmodel without the target. A non-voting activation contract or no-op guard is necessary when it\nprotects a meaningful invariant, even if correct behavior is baseline-equivalent.\n\nDo not add a stimulus when it measures:\n\n- generic knowledge the base model already has;\n- path recall for a skill that only points to reference files;\n- output volume rather than correctness;\n- a renamed or lightly reworded copy of an existing case; or\n- a `disable-model-invocation: true` reference skill in isolation.\n\nMap each proposed case to **capability**, **risk**, and **customer journey** tags. Preference cases\nmust add distinct voting value. Activation contracts and no-op guards may share a capability when\nthey protect a separate routing or preservation invariant. If two cases have the same inputs,\nexpected outcome, failure mode, and grader path, keep the stronger one. The five-stimulus floor\nnever justifies padding.\n\nThen locate the target and test directory:\n\n```text\ntests\u002F\u003Cplugin>\u002F\u003Cskill-name>\u002Feval.yaml          # skills\ntests\u002F\u003Cplugin>\u002Fagent.\u003Cagent-name>\u002Feval.yaml    # agents (the agent. prefix disambiguates)\ntests\u002Fagentic-workflows\u002F\u003Cpackage>\u002Feval.yaml   # redistributable gh-aw packages\n```\n\nVerify the target exists at `plugins\u002F\u003Cplugin>\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md` or\n`plugins\u002F\u003Cplugin>\u002Fagents\u002F\u003Cagent-name>.agent.md`, and read it.\n\n**Agent evals use the native SDK agent lane.** Vally 0.14 cannot register custom\nagents, so `agent.*` specs do not run through the skill experiment. The\nevaluation workflow discovers them separately, runs the target agent through\n`skill-validator evaluate`, and adapts that evidence into the same\nschema-versioned result and dashboard pipeline. The distinct-stimulus floor\napplies to both skill and agent evals.\n\n**Be careful with a skill that sets `disable-model-invocation: true`.** The model cannot invoke it,\nso the skill is absent from the model-facing skilled arm and any direct eval compares two identical\narms. Answer-content graders do not create a difference between those arms. The honest coverage for\nsuch skills is dependency-level — through the outcome evals of the skills that load them, and through\nthe plugin arm. For example, `filter-syntax` is covered by the filtered-command scenarios in\n`tests\u002Fdotnet-test\u002Frun-tests\u002Feval.yaml`.\n\n### Step 2: Write the spec skeleton\n\nThe spec is Vally format. Every eval in this repo uses `stimuli:` and `graders:`; `scenarios:` and\n`assertions:` are a pre-Vally format that no longer loads.\n\n```yaml\nname: \u003Cskill-name>\ndescription: Evaluates the \u003Cplugin>\u002F\u003Cskill-name> skill\ntype: capability\ndefaults:\n  timeout: 5m\n  runs: 1\nstimuli:\n  - name: \u003Cwhat the agent must accomplish>\n    prompt: \u003Cnatural developer request>\n    tags:\n      capability: \u003Cdistinct-capability>\n      risk: \u003Cfailure-being-prevented>\n      journey: \u003Ccustomer-task>\n    environment:\n      files:\n        - src: fixtures\u002F\u003Ccase>\u002FProject.csproj\n          dest: Project.csproj\n    graders:\n      - type: output-matches\n        config:\n          pattern: (root cause|underlying issue)\n      - type: exit-success\n      - type: prompt\n    rubric:\n      - \u003Coutcome the agent should have reached>\n```\n\n> **Use `defaults:` only.** `config:` is a deprecated alias that the repository gate rejects. Vally\n> warns when the alias appears alone and throws when a spec declares both keys. Replace `config:`\n> with one `defaults:` block and preserve its settings.\n\n### Step 3: Size the eval for power before writing content\n\nThe gate gives each distinct stimulus one vote. Repeated runs for one stimulus collapse to one\nmajority-direction vote and remain available as reliability evidence.\n\n1. **Distinct stimuli ≥ 5**, else the verdict is `underpowered` — never a pass, never a regression.\n2. **p ≤ 0.05 on an exact one-sided sign test over *discordant* (non-tie) stimulus votes.** Ties are not\n   discarded; they hold the discordant count down.\n\n| discordant stimulus votes | records that pass | p |\n|---:|---|---:|\n| ≤ 4 | none | ≥ 0.0625 |\n| 5–7 | zero losses only (5W\u002F0L) | 0.031 |\n| 8 | one loss survivable (7W\u002F1L) | 0.035 |\n\nAt exactly 5 stimuli, one tie is fatal because it leaves 4 discordant votes. At 6 stimuli one tie\nis survivable; at 7, up to two are. A loss is not. Five is an **eligibility floor**, not adequate\npower. For example, 80% power needs 8 discordant votes only for a true 90% conditional win rate;\nit needs 18 at 80%, 37 at 70%, and 158 at 60%. Size for the effect and tie rate you need to detect.\n\nUse `runs` for reliability, not task breadth. Vally recommends 3 runs in CI and 5–10 nightly for\npass rate, pass@k, pass^k, and flakiness. Extra runs never clear the five-stimulus floor.\n\nDo not set `runs` in `dotnet-skills.experiment.yaml`; experiment overrides overwrite every eval's\nown value rather than defaulting it.\n\n### Step 4: Write stimuli\n\n- **Name** describes *what* is tested, not *how*.\n- **Prompt** is a natural developer request. Never mention the skill, the agent, or its vocabulary —\n  cued prompts inflate the overfit score and bias the baseline.\n- Each stimulus should discriminate a **different** property of the skill. Five stimuli covering one\n  property give arithmetic, not evidence.\n- Give every capability stimulus non-empty `capability`, `risk`, and `journey` tags. Use stable\n  lowercase kebab-case values. A useful portfolio crosses distinct rows or columns in that matrix;\n  it does not repeat one journey with cosmetic wording changes.\n- Give every stimulus a stable, unique `name`. Vally pairs comparison trajectories by\n  `(stimulus name, trial index)`; duplicate names make slot identity ambiguous.\n- Include a boundary \u002F no-op stimulus for any skill that migrates or rewrites code, proving it\n  leaves already-correct input alone.\n- Add a dormancy stimulus for each real routing boundary. No-op proves restraint on an on-target,\n  already-correct input; dormancy proves the target stays inactive on an off-target request.\n\n### Step 5: Configure the environment\n\n```yaml\nenvironment:\n  files:\n    - src: fixtures\u002Fbroken-build\u002FApp.csproj      # path relative to eval.yaml\n      dest: App.csproj                           # path in the agent's working directory\n    - src: fixtures\u002Fbroken-build                 # a directory\n      dest: .\n  commands:\n    - dotnet build -bl || exit 0                 # guard intentional failures\n```\n\n**Do not set `environment.skills` in a skill eval.** The experiment declares\n`vary: \u002Fenvironment\u002Fskills` and supplies the value itself — `[]` for the baseline arm and\n`plugins\u002F\u003Cplugin>\u002Fskills\u002F\u003Cskill>` for the skilled arm — so anything the eval declares is replaced,\nin every arm. It cannot add a skill to one arm only. `environment.skills` is meaningful in an\n`agent.*` eval; the native agent lane loads those entries only in the isolated\ntarget run, while the plugin run loads the production plugin's complete skill\nsurface. Copy the shape from an existing agent eval such as\n`tests\u002Fdotnet-test\u002Fagent.test-quality-auditor\u002Feval.yaml` rather than reproducing a remembered form —\nthe specs in this repo are not consistent about how they spell those entries.\n\nFixture rules — each one has already cost a real result:\n\n- **Every referenced fixture must be tracked by git.** `.gitignore` (e.g. `coverage*.xml`) has\n  silently swallowed a committed fixture: the eval passed locally and failed at setup in CI. Verify\n  with `git ls-files`, not by looking at the working tree.\n- **Every fixture must behave as its stimulus assumes.** A fixture meant to be healthy must build; a\n  fixture meant to be broken must fail for the exact reason the stimulus is about, and no other.\n  Judges penalize agents for unrelated \"pre-existing build issues\" that the fixture author\n  introduced.\n- **Every fixture must reproduce the bug its stimulus is named for.** If it does not, the baseline\n  scores well and the skill has nothing to add.\n- **Coverage fixtures must be internally consistent.** A Cobertura report whose declared\n  `line-rate`, summary totals (`lines-covered`\u002F`lines-valid`), and `\u003Cline>` elements disagree lets\n  the two arms read different truths, and the loss is the fixture's fault. Update any rubric item or\n  prompt that quotes a figure in the same change.\n- **Do not wire duplicate fixtures** to raise `n`; rename leftovers add trials without evidence.\n- A setup command that is *expected* to fail while still producing its artifact must be guarded\n  (`|| exit 0`), or vally drops the trial.\n- A cleanup command that strips sources must skip directories containing `SKILL.md` — the staged\n  skill lives there, and deleting it aborts only the skilled arm.\n- **Preserve the complete file set.** When the prompt limits edits or requires source\u002Ftest\n  preservation, snapshot or compare every in-scope file, not one representative file. A grader that\n  checks only the main output can miss deletion, truncation, or edits to sibling files.\n\n### Step 6: Write graders\n\nGraders are hard pass\u002Ffail checks evaluated on every arm.\n\n| Type | Required config | Purpose |\n|------|-----------------|---------|\n| `output-matches` \u002F `output-not-matches` | `pattern` | Regex over agent output |\n| `output-contains` \u002F `output-not-contains` | `substring` | Literal text in output |\n| `file-exists` \u002F `file-not-exists` | `path` | Glob against the work directory |\n| `file-contains` \u002F `file-not-contains` | `path`, `value` | Content of a produced file |\n| `run-command` | `command` (plus optional `expected_exit_code`, `timeout`, `stdout_matches`) | Verify produced code actually builds\u002Fruns |\n| `exit-success` | — | Agent produced non-empty output |\n| `prompt` | — | Runs the LLM judge against the `rubric` |\n\nRules:\n\n- A grader whose `config` is absent or missing its required key parses fine and **enforces nothing**.\n  The usual cause is an indentation slip during an edit; `check_eval_quality.py` blocks it.\n- Prefer broad patterns that several valid approaches satisfy:\n  `(root cause|primary error|underlying issue)`.\n- **If the skill mandates an output shape, assert on it.** A skill required to emit a decisive\n  `Recommendation:` line can silently stop doing so while the eval still passes.\n- Use `file-not-contains` \u002F `file-not-exists` to prove the agent avoided an incorrect action.\n\nDefine the deterministic contract before writing the prompt grader:\n\n1. **Golden acceptance:** materialize the fixture and apply the `golden_patch`, if any. The golden\n   workspace and final `golden_trajectory` response must pass every deterministic grader that\n   applies to them.\n2. **Mutation rejection:** make one realistic defect that the eval exists to catch, such as a\n   missing file, zero discovered tests, an out-of-scope edit, or a changed semantic value. The\n   relevant deterministic grader must fail.\n3. **Complete-state check:** cover all files and artifacts named by the request. Do not accept a\n   partial artifact because one positive substring exists.\n\nUse `golden_patch` for replayable workspace state and `golden_trajectory` for the expected final\nresponse. A narrated edit, build, or test is not proof: completion claims need a patch or a\n`run-command` grader that replays the evidence.\n\n### Step 7: Write rubric items\n\nRubric items are judged pairwise (baseline vs. skilled). The overfitting judge classifies each item:\n\n| Classification | Description | Goal |\n|---------------|-------------|------|\n| **outcome** | Whether the agent reached a correct result — WHAT, not HOW | Target this |\n| **technique** | Whether the agent used a skill-specific procedure | Minimize |\n| **vocabulary** | Whether the agent used the skill's terminology | Avoid |\n\n1. Test outcomes, not methods: \"Identified the root cause of the build failure\", not \"Replayed the\n   binlog using `dotnet build \u002Fflp`\".\n2. Accept any valid approach.\n3. Never reference the skill by name, and never reuse `SKILL.md` phrasing.\n4. Never reward using the skill — the harness reports activation separately, so a rubric item that\n   does this measures nothing and inflates the overfit score.\n5. Do not test knowledge the model already has; it adds no delta.\n6. Keep each item independently evaluable.\n7. Do not reward raw volume (test count, report length); judges will compare it when both arms act.\n\n**Good:**\n\n```yaml\nrubric:\n  - Correctly identified the missing NuGet package as the root cause of the build failure\n  - Recognized that downstream failures cascaded from that root cause\n  - Suggested a concrete fix that resolves it\n```\n\n**Overfitted:**\n\n```yaml\nrubric:\n  - Replayed the binary log using 'dotnet build \u002Fflp:v=diag'   # technique\n  - Measured cold, warm, and no-op build scenarios             # vocabulary\n  - Used the template-comparison skill                         # rewards activation\n```\n\n### Step 8: Add constraints sparingly\n\n```yaml\nconstraints:\n  expect_tools: [bash]\n  reject_tools: [edit, create]\n  reject_skills: [some-skill]\n```\n\n- `expect_tools: [bash]` on an **advisory** question forces a restore or build and converts an\n  answer into a timeout with no quality benefit. Only require tools when the task genuinely needs\n  them.\n- `reject_tools` is the right way to keep a read-only stimulus read-only.\n\n### Step 9: Add dormancy guards\n\nA dormancy guard proves the skill stays dormant on an off-target request that superficially matches\nit. Add one per real \"when not to use\" boundary: wrong input format, out-of-scope request,\nincompatible project type, wrong framework version, prerequisite absent.\n\n```yaml\n  - name: Decline dump analysis request\n    prompt: |\n      I already have a .dmp crash dump from my .NET app. Can you help me\n      analyze it to find the root cause of the crash?\n    expect_activation: false\n    graders:\n      - type: output-matches\n        config:\n          pattern: (out of scope|not cover|does not|cannot|only.*collect)\n      - type: prompt\n    rubric:\n      - Stated that dump analysis is out of scope\n      - Did not open or analyze the dump file\n      - Did not install analysis tools such as dotnet-dump analyze, lldb, or windbg\n      - Suggested the correct alternative\n```\n\n> **Never combine `expect_activation: false` with `constraints.reject_skills`.** That forces the\n> skilled arm to run skill-free, so the harness cannot observe whether the target skill hijacks the\n> request. The comparison remains visible as report-only evidence but does not vote in preference;\n> unexpected isolated activation blocks a pass. `expect_activation: false` **alone** is the repo\n> convention.\n\n### Workflow-package scenarios\n\nFor a package target, verify `agentic-workflows\u002F\u003Cpackage>\u002Faw.yml`, then read its\nentry workflow, local imports, and bundled agents. The native SDK lane evaluates\ntheir real prompt bodies and installed resources against offline fixtures.\nSpecify collector outputs, revision\u002Ftracking evidence, and service responses as\nfixture inputs; propose terminal actions in `result.json` rather than pretending\nto publish through live GitHub or safe-output tools. Assert the structured result\nwith deterministic graders. Do not place expected answers in agent-readable\nfixtures or staged grader scripts; pass expected values through grader argv.\n\nPrompt expressions are rendered from a flat `workflow-context.json` fixture,\nwhose keys are exact trimmed expressions and values are strings. Missing context\nfails setup. A workflow that correctly chooses noop is still expected-active\ndecision evidence, not `expect_activation: false` routing evidence. Include\nnormal, partial, stale, incompatible, missing-evidence, and multi-module cases\nwhere applicable. Keep compilation, helper execution, and actual consumer\npublication tests separate: this lane is labeled `workflow-prompt-sdk`, not\nend-to-end Actions execution.\n\n```powershell\ndotnet run --project eng\u002Fskill-validator\u002Fsrc\u002FSkillValidator.csproj -- evaluate `\n  agentic-workflows\u002F\u003Cpackage>\u002Faw.yml `\n  --tests-dir tests\u002Fagentic-workflows --runs 1 --verdict-warn-only\n```\n\nGuard rubrics verify three things: **recognition** (why it does not apply), **restraint** (no\nworkflow, no file changes, no installs), **redirection** (the correct next step).\n\n### Step 10: 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-name>\n```\n\nFor an **agent** eval, exercise the native lane directly:\n\n```bash\ndotnet run --project eng\u002Fskill-validator\u002Fsrc\u002FSkillValidator.csproj -- evaluate \\\n  plugins\u002F\u003Cplugin>\u002Fagents\u002F\u003Cagent>.agent.md \\\n  --tests-dir tests\u002F\u003Cplugin> \\\n  --runs 1 \\\n  --verdict-warn-only\n```\n\nCI adapts this result through `eng\u002Fvally-adapter\u002Fadapt-agent-results.mjs`,\nwhich applies the same distinct-stimulus sign-test policy used by skill results.\n\nValidation must cover four layers:\n\n1. **Deterministic structure:** run `check_eval_quality.py` and the relevant checker self-tests when\n   the checker changes.\n2. **Production parsing and golden replay:** run skill evals through the repository's Vally entry\n   point. For agent evals, run `skill-validator evaluate` to prove the native SDK lane accepts the\n   executable scenario fields. That parser does not read `golden_trajectory` or `golden_patch`, so\n   validate the references separately: run `check_eval_quality.py`, then materialize the fixture,\n   apply the golden patch, and run every applicable deterministic file and command grader against\n   the golden workspace. Confirm the final golden response passes its output graders.\n3. **Normal execution:** use the normal worker concurrency and the declared `defaults.timeout`.\n   Do not certify an eval only with one worker or a larger ad hoc time budget. If normal concurrency\n   exposes a race or timeout, classify it as reliability evidence.\n4. **Cross-family sensitivity:** for broad routing or behavior changes, evaluate at least one GPT\n   family and one Claude family executor. Report each result separately. Different executor or\n   judge families do not increase the independent stimulus count.\n\n`check_eval_quality.py` blocks 22 structural defect classes that can corrupt a result:\nmissing or untracked fixtures, self-contradicting coverage fixtures, empty grader configs, dormancy\nguards with `reject_skills`, sub-floor stimulus counts, duplicate YAML keys or stimulus names, and\ninvalid defaults, tags, golden evidence, test commands, or ATIF trajectories. See\n[`eng\u002Feval-quality\u002FREADME.md`](..\u002F..\u002F..\u002Feng\u002Feval-quality\u002FREADME.md) for the complete list. Do not add a new eval to\n`eng\u002Feval-quality\u002Funderpowered-allowlist.txt` — the gate rejects\nallowlist entries that are new relative to the base branch.\n\nFor the official run, submit a PR review containing `\u002Fevaluate` so it binds to the reviewed commit.\n\n## Validation Checklist\n\n- [ ] Directory is `tests\u002F\u003Cplugin>\u002F\u003Cskill-name>\u002F` or `tests\u002F\u003Cplugin>\u002Fagent.\u003Cagent-name>\u002F`\n- [ ] Spec uses `stimuli:` \u002F `graders:` and the current `defaults:` settings block\n- [ ] At least 5 preference-eligible distinct stimuli exist; dormancy contracts do not count toward this floor\n- [ ] Every stimulus is necessary and fits the target; each preference case adds distinct voting value\n- [ ] Each capability stimulus has stable `capability`, `risk`, and `journey` tags and a unique name\n- [ ] Prompts never name the skill, the agent, or its vocabulary\n- [ ] Every referenced fixture exists and is tracked by `git ls-files`\n- [ ] Every fixture behaves as its stimulus assumes — healthy ones build, deliberately broken ones fail only for the stated reason\n- [ ] Preservation and scope graders cover the complete in-scope file set\n- [ ] Every grader has its required `config` key\n- [ ] Any output shape the skill mandates has a grader\n- [ ] Golden evidence passes deterministic graders, and a realistic mutation fails them\n- [ ] Rubric items are outcome-shaped and never reward using the skill\n- [ ] Rewrite skills have a no-op case; routing boundaries use `expect_activation: false` alone\n- [ ] The production runner accepts the executable spec and completes under normal concurrency and time limits\n- [ ] Golden references pass the standalone checker and deterministic replay\n- [ ] Broad routing or behavior changes have separate GPT-family and Claude-family evidence\n- [ ] `skill-validator check` and `check_eval_quality.py` pass\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Writing `scenarios:` \u002F `assertions:` | That format no longer loads; use `stimuli:` \u002F `graders:` |\n| Using the deprecated top-level `config:` alias | Rename it to `defaults:` and preserve its settings |\n| Landing an eval at exactly 5 stimuli | A single tie makes a pass unreachable; size for the effect and tie rate |\n| Raising `runs` to clear the floor | Repeats measure reliability for one task; add stimuli |\n| Prompt mentions the skill or agent by name | Rewrite as a natural developer request |\n| Rubric rewards using the skill | Drop the item — the harness reports activation separately; rubrics measure outcomes |\n| Fixture present but ignored by git | Verify with `git ls-files`; CI setup will fail otherwise |\n| Fixture that does not build, or breaks for the wrong reason | Fix the fixture before blaming the skill |\n| Dormancy guard with `reject_skills` | Use `expect_activation: false` alone |\n| `expect_tools: [bash]` on an advisory question | Drop it; it causes timeouts, not quality |\n| Timeout too short for code generation | Use ~360s; empty output fails every grader |\n| Duplicate YAML key left behind by an edit | It overwrites the next stimulus field by field — delete the stray block |\n| Duplicate stimulus names | Vally uses names as comparison identity — give every stimulus a stable, unique name |\n| Direct eval for a `disable-model-invocation: true` skill | Remove it and cover the reference through consumer outcomes |\n| Agent eval below the stimulus floor | The native agent adapter uses the same sign-test gate; add independent preference-eligible stimuli |\n| Agent eval \"run\" with `.\u002Feng\u002Frun-skill-evals.sh` | That helper remains skill-only; use `skill-validator evaluate` |\n| Agent eval missing `environment.skills` | Declare the skills the agent routes to, or it cannot invoke them |\n| `environment.skills` set in a **skill** eval | The experiment varies that key and replaces it in every arm; the declaration does nothing |\n",{"name":5,"description":7},"main","497cc9aba79a931ac6fb8d36a48cc22fe3d6d74b","external-sources\u002Fupstreams\u002Fdotnet-skills\u002F.agents\u002Fskills\u002Fcreate-skill-test",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":78,"prompt":88,"zipAvailable":89},[79,82,85],{"tool":80,"command":81},"npx","npx skills add managedcode\u002Fdotnet-skills --skill create-skill-test",{"tool":83,"command":84},"bunx","bunx skills add managedcode\u002Fdotnet-skills --skill create-skill-test",{"tool":86,"command":87},"pnpm","pnpm dlx skills add managedcode\u002Fdotnet-skills --skill create-skill-test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002F.agents\u002Fskills\u002Fcreate-skill-test\u002FSKILL.md",true,[91],{"path":92,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"index.json","REFERENCE","参考文档",664,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc\u002Ftools\u002Fqradar\u002Fdeploy\u002Findex.json",[98,130,149,179,189,216],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":110,"publishedAt":62},"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",[104,107],{"categoryNo":105,"categoryName":106,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":108,"categoryName":109,"taxonomyType":32,"taxonomyTypeDesc":33},"01JBSEEDCAT000000000000030","开发工程师",[111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,46,126,127,128,129],"xtwitter scraper","browser automation","workflows","run","code","browser","search","repository","api","Media","api client","access","edit","unrelated","webhooks","social","commands","modeling","webhook",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":138,"publishedAt":62},"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",[136,137],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":30,"categoryName":31,"taxonomyType":32,"taxonomyTypeDesc":33},[132,52,139,113,140,114,118,141,142,143,123,144,124,46,45,145,146,147,127,148],"performance","tasks","data","parsing","parser","context","writer","options","project","high-performance",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":62},"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",[],[156,157,158,159,160,161,162,163,164,165,166,167,51,168,169,170,171,172,173,174,175,176,177,178,41],"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":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":62},"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",[],[181,51,46,186,187,175,188],"semantic","razor","inspection",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":62},"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",[],[196,197,198,199,52,200,201,202,203,204,205,51,206,207,208,209,45,210,211,212,213,175,214,215,41],"system","json","text","system text json net11","policy","metadata","library","serialization","behavior","user","only","probe","guidance","later","type","dictionary","naming","targeting","custom","generic",{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":220,"categories":221,"keywords":224,"publishedAt":62},"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",[222,223],{"categoryNo":105,"categoryName":106,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":108,"categoryName":109,"taxonomyType":32,"taxonomyTypeDesc":33},[119,225,226,227,114,228,163,196,51,208,209,45,229,230,231,232,213,175,233],"process","process api net11","diagnostics","start","basic","processes","output","usage","new"]