Skip to content

Finish the skill eval suite and its CI report gate #216

Closed

Description

@kazo0

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-evals branch is rebased on main. 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 adds evals/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 named rubric-<criterion>.md and judges exactly one criterion.
    • Test-Plugin.ps1 checks:
      • The plugin README's skill table lists every skill with the right reference count.
      • In-file #anchor links point to a real heading.
      • Every reference over 100 lines opens with a **Contents:** line.
    • Skill fixes the evals found:
      • uno-platform routes feature work to uno-build-app.
      • The uno-build-app and uno-mvux descriptions say when they must load.
      • uno-testing tells the user to add automation ids it hasn't seen.
      • Others are listed in the commits.
  • uno-authentication and uno-kiota are merged skills on main with 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 the loads-skill graders 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 running claude plugin eval without --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>.md file, 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-role accepts the error roles in any XAML form.

What's left

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-evals is merged with "Validate plugin and skills" green.
  • Every skill under plugins/uno-platform-studio/skills/ has a suite under evals/, and its committed report passes.
  • A change to uno-platform/SKILL.md makes every report stale.
  • Test-EvalCases.ps1 rejects 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; free

Cost 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,b passes "a,b" as one string and fails. Use pwsh -Command for several suites.
  • Mirror skill edits into the root skills/ folder: rsync -a --delete --exclude README.md plugins/uno-platform-studio/skills/ skills/. Test-Plugin.ps1 fails if they differ.
  • A skill description must stay at 1024 characters or fewer. uno-mvux is at 1013.
  • Editing a skill makes its suite's report stale. Editing any SKILL.md frontmatter also makes routing stale. Batch your edits per suite before rerunning.

Diagnosing a failure

  • A report's failed field 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 tracePath in out.json points to a trace.jsonl of 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

  1. added
    area/automation
    kind/contributor-experience
    on Nov 2, 2026
  2. changed the title [-]Finish the skill eval suite and its CI report gate (handoff of #209)[/-] [+]Finish the skill eval suite and its CI report gate[/+] on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/automationkind/contributor-experiencetool/Uno Platform Skills

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions