Repository navigation
Description
Goal
Every skill in the uno-platform-studio plugin has behaviour evals. Every PR that changes a skill carries a fresh, passing eval report. CI rejects a PR whose reports are missing, stale or failing, and it does so without making model calls. The work is on the feat/plugin-evals branch. It was first proposed in unoplatform/studio#209, which is now closed so that a new PR can be opened from the branch once the checklist below is done. This issue tracks what is left.
Where things stand (2026-11-02)
- unoplatform/studio#208 (skill fixes found by the evals) is merged.
- The
feat/plugin-evalsbranch is rebased onmain. It needs fresh reports (see the checklist), then a new PR. - unoplatform/studio#209 is closed. Its description is out of date; don't reuse it.
- The branch adds:
evals/: 28 skill cases across 7 suites (uno-build-app,uno-mvux,uno-navigation,uno-platform,uno-testing,uno-themes,uno-toolkit). It also addsevals/routing/with 2 cases, which check that ASP.NET Core and .NET MAUI questions load no Uno skill.evals/reports/<suite>.json: one committed report per suite. Each records:- every case's score and run count
- the graders that failed, as
"info-plist": "3/3"(failed runs / runs) - a hash of the files the suite depends on
.github/scripts/Update-EvalReport.ps1: runs suites locally and writes the reports..github/scripts/Test-EvalReports.ps1: the CI gate. It runs in the required "Validate plugin and skills" check and makes no model calls..github/scripts/Test-EvalCases.ps1: a lint. Every case has a non-empty, unique prompt. Every LLM grader is namedrubric-<criterion>.mdand judges exactly one criterion.Test-Plugin.ps1checks:- The plugin README's skill table lists every skill with the right reference count.
- In-file
#anchorlinks point to a real heading. - Every reference over 100 lines opens with a
**Contents:**line.
- Skill fixes the evals found:
uno-platformroutes feature work touno-build-app.- The
uno-build-appanduno-mvuxdescriptions say when they must load. uno-testingtells the user to add automation ids it hasn't seen.- Others are listed in the commits.
uno-authenticationanduno-kiotaare merged skills onmainwith no eval suite yet. They are the only skills without one.- At the last full run, all 30 cases scored at least 0.8, and almost all scored 1.0.
Start with evals/README.md. It explains cases, graders, reports and the CI gate.
Update (2026-11-03)
unoplatform/studio#218 is merged into feat/plugin-evals. It adds the uno-authentication and uno-kiota suites and the gate changes checked off below, and it refreshes every report. On the branch, Test-EvalReports.ps1 (10 suites), Test-EvalCases.ps1 (42 cases) and Test-Plugin.ps1 pass, and every case scores 1.0. What's left is the PR to main.
Decisions already made
Change these only with a reason, and note it here.
- The gate runs the plugin arm only (
--ablation none), so theloads-skillgraders count toward the score. The gate asks whether the skills give right answers, not how much they add. The with/without lift is still available by runningclaude plugin evalwithout--ablation none. - Sonnet 5.5 is both agent and judge. A case runs 3 times, and it passes at a mean score of 0.8 or more.
- One criterion per LLM grader. A judge asked whether several things all hold gives a different verdict from run to run. Each criterion gets its own
rubric-<criterion>.mdfile, so a report names exactly what failed. - Cases are a prompt plus graders on the reply. There are no app builds, scaffolds or fixtures; full-app checks belong to the separate AX evaluation. Aim prompts at real pitfalls that the skills fix: generic prompts pass with or without the plugin.
- Graders check behaviour, not syntax. Accept every correct form of an answer. For example,
rubric-delete-error-roleaccepts the error roles in any XAML form.
What's left
- Refresh the reports on
feat/plugin-evals. The rebase ontomainmade every report stale. Fresh reports were being generated at handoff time. Runpwsh .github/scripts/Test-EvalReports.ps1. If it reports stale or missing reports, runUpdate-EvalReport.ps1(see below), commitevals/reports/, and push.- Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218: all 10 suites, on 2026-11-03.
- Open a new PR from
feat/plugin-evalsonce theuno-authenticationanduno-kiotaeval suites below are in. Describe:- the report gate and what CI checks
- the one-criterion graders
- the skill fixes
- link this issue, and mention it supersedes unoplatform/studio#209.
- Get the new PR reviewed and merged (squash) with "Validate plugin and skills" green.
- Add an eval suite for
uno-authentication. The skill is already merged onmain(unoplatform/studio#182) and is on the branch since the rebase. Only its eval cases are missing.- Aim for about 5 cases in
evals/uno-authentication/. - Copy the shape of an existing case, e.g.
evals/uno-mvux/remove-item-from-list. - Each case needs a
loads-skill.md, regex graders for the APIs the answer must or must not use, and onerubric-<criterion>.mdper judged criterion. - Check every graded API against the skill references or the Uno docs.
- Run the suite, then commit the cases together with
evals/reports/uno-authentication.json. - Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218: 5 cases. They average 1.00 with the plugin and 0.58 without it.
- Aim for about 5 cases in
- Add an eval suite for
uno-kiota. The skill is already merged onmain(unoplatform/studio#215). Only its eval cases are missing. Same steps asuno-authentication.- Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218: 5 cases. They average 1.00 with the plugin and 0.48 without it.
- Make every report go stale when
uno-platformchanges.- Agents load
uno-platformfirst and follow its routing table, so its body affects every suite. - Today a suite's hash covers only its own skill, plus every
SKILL.mdfrontmatter forrouting. - Fix: add
plugins/uno-platform-studio/skills/uno-platform/SKILL.mdtoGet-EvalInputPathsin.github/scripts/EvalReports.Common.ps1for every suite. Consider addinguno-build-app/SKILL.mdtoo, since feature prompts now load it first. - Trade-off: any edit to that file then costs a full rerun, about $16.
- Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218.
uno-platform/SKILL.mdanduno-build-app/SKILL.mdare inputs of every skill suite.routingkeeps only the frontmatter of everySKILL.md, because its cases pass only when no skill loads, so a skill's body can't change their result. - Still open: count how many cases outside
uno-build-apploaduno-build-app, and drop it from the other suites if few do, since each edit to it now costs a full rerun. The reports don't record which skills loaded, so this needs a run with traces.
- Agents load
- Teach
Test-EvalCases.ps1to catch a second criterion hidden in the PASS line.- Example:
rubric-selectorsonce read "PASS if it locates elements by automation id or name (and suggests addingAutomationProperties.AutomationIdif missing)". - The lint passed it because there is one
PASS. - Flag a PASS line that contains
(andor a;that joins two requirements. - Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218. The check reads the PASS condition up to the FAIL line, ignores inline code, and flags
(andand;. It catches those two phrasings only, so it doesn't prove a rubric judges one thing: a plain "and" still needs a reviewer.
- Example:
- Watch
feed-list-loaded'srubric-not-error-template. It failed 1 of 3 runs in 2 of the last 4 reports, and no other grader keeps failing. If it fails again, run the case with traces (see below) and decide whether the skill or the rubric is wrong.- Passed 3 of 3 in the 2026-11-03 full run.
- Make the gate check the report's agent and judge model.
Test-EvalReports.ps1checkedablationbut notmodelorjudgeModel, so a report from a cheaper model passed. The models now live inEvalReports.Common.ps1, and a report takes them from the run result. Changing them fails every report, andUpdate-EvalReport.ps1with no-Suitereruns them all. Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218. - Add near-miss routing cases for the two new skills.
evals/routing/aspnet-jwt-bearerandevals/routing/console-kiota-clientmust load no Uno skill: the two skills cover generic .NET topics, so their descriptions are the likeliest to load on a question that isn't about Uno. Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218. - Run each new suite once with and without the plugin. Four first-draft cases scored the same both ways and were replaced with cases on Uno-specific rules. test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218 has the table. Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218.
- Make reports written on Windows pass the gate. They spelled case paths with backslashes, so the gate found no result for any case. Done in test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills #218.
Not part of this issue: the reference size-budget warnings Test-Plugin.ps1 prints are tracked in unoplatform/studio#161.
Definition of done
- The new PR from
feat/plugin-evalsis merged with "Validate plugin and skills" green. - Every skill under
plugins/uno-platform-studio/skills/has a suite underevals/, and its committed report passes. - A change to
uno-platform/SKILL.mdmakes every report stale. Test-EvalCases.ps1rejects a rubric whose PASS line asks for two things.
How to run
Prerequisites:
- PowerShell 7 (
pwsh). - Claude Code signed in. The evals use your Claude credentials and cost money.
- Run from the repo root.
pwsh .github/scripts/Update-EvalReport.ps1 # every suite whose report is stale or missing
pwsh .github/scripts/Update-EvalReport.ps1 -Suite uno-mvux # one suite
pwsh -Command '& ./.github/scripts/Update-EvalReport.ps1 -Suite uno-mvux,routing' # several (see the gotchas)
pwsh .github/scripts/Test-EvalReports.ps1 # what CI checks; free
pwsh .github/scripts/Test-EvalCases.ps1 # case lint; free
pwsh .github/scripts/Test-Plugin.ps1 # plugin checks; freeCost and time: a full pass of all 8 suites takes about 25 minutes and costs about $16. One suite costs $0.20 to $3.80.
Gotchas
pwsh -File script.ps1 -Suite a,bpasses"a,b"as one string and fails. Usepwsh -Commandfor several suites.- Mirror skill edits into the root
skills/folder:rsync -a --delete --exclude README.md plugins/uno-platform-studio/skills/ skills/.Test-Plugin.ps1fails if they differ. - A skill description must stay at 1024 characters or fewer.
uno-mvuxis at 1013. - Editing a skill makes its suite's report stale. Editing any
SKILL.mdfrontmatter also makesroutingstale. Batch your edits per suite before rerunning.
Diagnosing a failure
-
A report's
failedfield names the grader that failed. -
The full result of every run sits in the git-ignored
evals/results/<timestamp>/aggregate-result.json. It has every grader's verdict, the judge votes, and the reply that LLM judges saw. -
To see what the agent did, such as which skills it loaded and which files it read, rerun one case with traces kept:
claude plugin eval . --case <case> --runs 6 --ablation none --threshold 0 \ --model claude-sonnet-5-5 --judge-model claude-sonnet-5-5 --trust-plugin --keep-temp --no-publish --json out.json
Each run's
tracePathinout.jsonpoints to atrace.jsonlof its tool calls. -
In the work so far, failures had four causes:
- the skill lacked a fact the docs have
- the skill buried that fact
- a description didn't trigger, so the agent answered from memory or loaded a different skill
- a grader was too literal
Read the trace and the reply before changing either side.
Activity
[-]Finish the skill eval suite and its CI report gate (handoff of #209)[/-][+]Finish the skill eval suite and its CI report gate[/+]test(evals): replace four uno-authentication and uno-kiota cases that…
ci(evals): a report takes its agent and judge models from the run result
ci(evals): a report written on Windows spells its case paths with for…
test(evals): replace template-test-icuuc77 with section-named-after-t…
test(evals): fresh reports for all 10 suites, every case at 1.0
test(evals): uno-themes and uno-build-app reports after #214 and #217
ci(evals): drop the committed-report gate; CI only lints the eval cases
test(evals): uno-themes and uno-build-app reports after #214 and #217
ci(evals): drop the committed-report gate; CI only lints the eval cases
test(evals): per-skill evals for claude plugin eval, and a CI lint of…
test(evals): a local runner for the suites a change affects, and a li…
docs(evals): run the affected suites locally with Invoke-Evals.ps1
test(evals): a local runner for the affected eval suites, and a lint …