/training:skill-eval-builderfrom training
Sets up small, real evals for skills: measures invocation accuracy, output validity, and duration against a time budget. Scaffolds cases, run scripts, and scorecards.
Ships in training. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Set up a small, real eval for a skill: an evals/ folder next to it with a few
real cases, a runnable script, and a scorecard. It measures what scripts can't pin
down — does the skill fire when it should (and stay quiet when it shouldn't),
is its output valid, is it within a time budget.
Core principle: an eval is a folder, not a framework. Keep it that small.
SKILL.md).SKILL.md, references, and scripts, so you know what it does and what it produces.references/eval-dimensions.md. Workflow skill → invocation + duration; capability skill → validation-heavy.fired_when side-effect check, a validate command, and a budget_s from a real baseline (see references/eval-anatomy.md).python3 "${CLAUDE_SKILL_DIR}/scripts/scaffold-evals.py" <target-skill-dir>
Then fill in evals/cases.md with the cases from steps 3–4.python3 <target-skill-dir>/evals/run.py --dry-run # cases parse?
python3 <target-skill-dir>/evals/run.py # real run (calls claude -p)
If the skill opens with a classifier (routes feature vs bug, or decides whether to continue), test that gate:
python3 "${CLAUDE_SKILL_DIR}/scripts/scaffold-evals.py" <target> --classifyevals/classify-cases.md with the labels, the gate's own instruction, and real labeled examples (e.g. the last 10 tracker tickets + their existing labels as ground truth). See references/eval-anatomy.md.python3 <target>/evals/classify.py → an accuracy + confusion scorecard.The scorecard (dimensions × cases) plus the saved artifact path:
┌───────────────────────────────┬──────────┬────────┬────────────────────┐
│ Case │ Fires? │ Valid? │ Duration vs budget │
├───────────────────────────────┼──────────┼────────┼────────────────────┤
│ "add tests for X" │ ✅ │ ✅ │ 40s / 60s ✅ │
│ "refactor Y" (shouldn't fire) │ ✅ quiet │ – │ – │
└───────────────────────────────┴──────────┴────────┴────────────────────┘
Saved to <target-skill>/evals/ (cases.md, run.py, results.md).
references/eval-anatomy.md.scripts/scaffold-evals.py — creates evals/{cases.md, run.py, results.md}, or the classify-* set with --classify.scripts/run-evals.py — runs cases via claude -p, times each, checks firing + validation, prints/saves the scorecard. --dry-run parses without spending tokens.scripts/classify-evals.py — classifies labeled examples via claude -p, reports accuracy + confusion. --dry-run parses without tokens.references/eval-dimensions.md — the dimension menu + when each applies.references/eval-anatomy.md — cases format, the side-effect pattern, anti-patterns.If a script can't run here (needs python3 and the claude CLI, or a different OS): don't abandon the task — an eval is just a cases.md plus a small runner, so run the cases and tally the scorecard with whatever tools are available.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
9 skills in this plugin
/api-playwright-testingGuides the creation of Playwright API tests from exploration through implementation. Covers API discovery, test plan creation, helper/data factory development, and test writing with human checkpoints at each stage./context-coverageAudit how agent context (CLAUDE.md, AGENTS.md, GitHub Copilot instructions, Cursor/Windsurf rules, rules directories, skills) lines up with the code across a set of repositories and generate a self-contained HTML report. The report leads with a short list of specific "things to check" (context behind the code, thin coverage for the codebase, oversized files, no per-area context), then per-repo raw metrics and a folder tree comparing folder LOC to context coverage, and can show what changed since an earlier run. Use when the user wants to audit context coverage across repos, "which repos are missing CLAUDE.md", "which repos have no Copilot instructions", "where is our agent context thin or stale", "context coverage across my org / projects folder", "track context coverage week over week", or "/context-coverage". Works on a local folder of clones, a whole GitHub org via the gh CLI, or a single monorepo scoped to just the areas one team owns.npx claudepluginhub devclarityai/devclarity-marketplace --plugin training