Skip to content

feat(evals): emit case.yaml suites from evals:design and point evals.json guidance at evals:validate - #11711

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-11650-41240740328-1
Oct 31, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-11650-41240740328-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #11650

Summary

Opened by the work-resolve-issue lane. The run's own summary:

/evals:design's skill target now writes one claude plugin eval case directory per case (case.yaml, a prompt.md body, samples for deterministic graders) in the eval directory of the plugin that ships the skill, checks them with /evals:validate, and no longer writes evals/evals.json. A case's difficulty is a hard/routine tag and its source and why_hard go in its description, following the repo's existing 'Hard case. Why hard:' convention. The evals skills (validate, plugin-eval, methodology), the evals README, playbooks' skill-criteria.md and /skill-quality:check validate-evals now point authors at the suite format and /evals:validate. A skill-creator JSON file is described as something to convert. Two new suite cases cover the change: de-skill-target-suite in evals and ve-new-evals-route-to-suite, the first case in skill-quality. A choice I made: I left check 14 and scripts/check-changed-skills.sh unchanged. They still require evals/evals.json under --require-evals, and making them accept suite cases means deciding how a case names its skill, which no file here records. The edited text says so plainly instead of telling authors something the gate contradicts.

Remaining work

  • Done-when 2's 'eval evidence of no loss' for each touched skill (evals:design, evals:validate, evals:plugin-eval, evals:methodology, skill-quality:check) needs paid before/after claude plugin eval runs and a measure-invocation re-score of the edited descriptions, the owner's spend call
  • check 14 in plugins/skill-quality/scripts/check-skill.sh and scripts/check-changed-skills.sh still require evals/evals.json for a new or changed SKILL.md under --require-evals, so a new skill in this repository still needs one. Accepting suite cases needs a decided rule for how a case names its skil
  • Done-when 3 is not met yet: outside case files, evals.json is still named in docs/migration-playbook.md, docs/native-surfaces.md and docs/native-surfaces/records.json (the 'two formats coexist' record), docs/knowledge-integration-design.md, docs/catalog.md, docs/contracts/retired-conventions/README.

Not verified

  • tidy skipped: the change is 24 files across 4 areas (evals, playbooks, skill-quality, .changes), over the 10-file and 1-area cutoffs
  • changed-skills gate (plugins/skill-quality/scripts/check-skill.sh over the five touched skills) was skipped by check-affected because it runs the checked tree's code; left to the PR's CI
  • /evals:validate (validate-cases.py) was not run on the two new case directories: this lane has no wrapper for it. The review subagent checked both cases and every sample by hand against the validator's documented rules
  • No paid claude plugin eval or measure-invocation run: the new and edited cases are unmeasured, and the description edits to evals:design, evals:validate and evals:plugin-eval have not been re-measured against their frozen probes (design probe neg-train-05 is the one most at risk). Eval spend is the
  • Untracked .bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile and .zshrc at the checkout root are not from this change and were left alone

Fix

  • plugins/evals/skills/design/SKILL.md: the skill target writes case.yaml case directories in the plugin's eval directory and validates them with /evals:validate; difficulty becomes a tag, and source and why_hard go in the description; adds a pointer record for the eval suite reference and the case.ya
  • plugins/evals/skills/design/evals/evals.json: case 2 (renamed skill-target-emits-suite-cases) expects case directories and /evals:validate; case 5 routes the written cases to claude plugin eval; case 11 keeps the checked requirement in expected_outcome or a grader
  • plugins/evals/evals/de-skill-target-suite/ (case.yaml, prompt.md, samples/names-case-yaml.json, samples/names-validate.json, samples/skill-fired.json): new hard case. The skill target should name case.yaml case directories under the plugin's evals/ and /evals:validate, not an evals.json in the skill
  • plugins/evals/skills/validate/SKILL.md: the description and Boundary call the skill-creator JSON file something to convert to this layout, no longer routed to /skill-quality:check validate-evals
  • plugins/evals/skills/validate/evals/evals.json: case 5 expects the conversion route
  • plugins/evals/skills/plugin-eval/SKILL.md: the Boundary bullet converts skill-creator cases, checks them with /evals:validate, then runs them; the description wording follows
  • plugins/evals/skills/plugin-eval/evals/evals.json: case 9 expects the conversion route
  • plugins/evals/skills/methodology/SKILL.md: Boundary names /evals:validate in place of /skill-quality:check validate-evals
  • plugins/evals/README.md: the skill target writes case.yaml cases, and the 'two formats coexist' paragraph now names the suite layout as the format design writes
  • plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md: a skill's cases are case.yaml cases written by /evals:design and checked by /evals:validate; the pre-share row states plainly that check 14 still reads only the JSON file
  • plugins/skill-quality/skills/check/SKILL.md: Purpose and Action validate-evals point new evals at case.yaml cases (/evals:design, /evals:validate), say check 14 under --require-evals still needs the JSON file, and no longer credit /evals:design with a baseline-arm rule it no longer states
  • plugins/skill-quality/README.md: the evals section points new evals at the suite format
  • plugins/skill-quality/evals/ve-new-evals-route-to-suite/ (case.yaml, prompt.md, samples/names-case-yaml.json, samples/names-evals-skill.json, samples/skill-fired.json): new hard case. validate-evals points a new skill's evals at case.yaml cases, not a new evals.json
  • .changes/evals/work-resolve-issue-issue-11650-3f9c2a61.md: minor fragment
  • .changes/playbooks/work-resolve-issue-issue-11650-8d24e7b0.md: patch fragment
  • .changes/skill-quality/work-resolve-issue-issue-11650-c51a09e4.md: patch fragment

Verification

The runner ran each check from the base copy against 9445897:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • read https: //code.claude.com/docs/en/plugin-evals: the eval directory is evals/ unless configured otherwise; a directory with prompt.md or case.yaml is a case; case.yaml requires schema_version "1.1" and name, takes description/tags/plugins/runs/expected_outcome at the top level and model/max_turns
  • read https: //github.com/melodic-software/claude-code-plugins/issues /8635: the owner decision 'Replace, staged' makes case.yaml the one eval format for skills; slice 1 covers /evals:design, skill-criteria.md, /skill-quality:check validate-evals and the evals skills
  • .lane/checks/bin/check-changelog-fragments: All 9 changelog fragment(s) under .changes/ are valid (run after the final edits)
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped over 24 changed files (run after the final edits)
  • .lane/verify/bin/check-evals-quality on design, validate and plugin-eval evals.json: PASS, exit 0; 3 warnings, all on cases this change did not touch (ids 1 and 6 of design)
  • fresh-context review subagent: both new case.yaml files load under the validator's FAIL rules, and every sample sorts the right way by hand against its regex or tool_used input_match; its contradiction findings were fixed (README one-format wording, methodology's validate-evals pointer, design case
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41240740328

Left out: the items under Not verified.

Related

#11650

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed c40faa7e2b149d1b51df3d78598e2ec864d3f1b6: 0 finding(s), 0 as inline comments.

No security issues in the incremental change.

The only change since the last review is in plugins/evals/skills/validate/SKILL.md. It shortens the frontmatter description by dropping the clause ", whose cases convert to this layout" from the last sentence. The description is routing prose.

  • The change grants no tools, removes no guardrail, changes no permissions and touches no trust control.
  • It is not a plugin.json or marketplace.json change, so there are no manifest lines to report.
  • No standing instruction or rule is deleted or softened, so the instruction-surface lens does not apply.
  • The file is not on the trusted-paths list.
  • I did not read the PR context file, the full diff or the settled-threads file, because nothing in the incremental diff needed them.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 944589783e649eab4a3af7b19985897b60451968; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread plugins/evals/skills/validate/SKILL.md Resolved
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed c40faa7e2b149d1b51df3d78598e2ec864d3f1b6: 0 finding(s), 0 as inline comments.

Incremental review of plugins/evals/skills/validate/SKILL.md: the only change since the last review trims the frontmatter description by dropping the clause "whose cases convert to this layout". The Boundary section (lines 154-159) still carries the conversion guidance, so no information is lost and the two sections stay consistent. I found no issues.

Not reviewed: the description change is unmeasured against its frozen invocation probes. That would need a paid measure-invocation run, which the PR already lists under "Not verified". It is not a hold.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6yUztV
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 944589783e649eab4a3af7b19985897b60451968. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (unreadable: the head is
  c40faa7e2b149d1b51df3d78598e2ec864d3f1b6, not 944589783e649eab4a3af7b19985897b60451968)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on c40faa7.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head c40faa7e2b149d1b51df3d78598e2ec864d3f1b6.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 9135692ebb1e5424b151eec962ab42ccf4b00005; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants