Debian Codegraph @

tests/skill_evals/README.md

raw
1 # Skill trigger evals
2
3 `trigger_queries.json` is the eval set for the `hsql` skill's `description`, which is the
4 only part of a skill always in context and the whole of what decides whether it loads.
5
6 Run it with the description-optimization loop in the `skill-creator` skill, which needs
7 the `claude` CLI. It is a pre-merge exercise on a change to the description, not a CI
8 check: scoring it costs model calls, and the answer is a rate rather than a pass or fail.
9
10 Ten positives and ten negatives, split train/test so a description tuned on one half is
11 scored on turns it was never tuned against. The positives include turns that never say
12 "hsql" or "harlequin", because under-triggering is the failure mode; the negatives are
13 near misses — SQL-shaped work that is not a query, and database-shaped work that belongs
14 to another tool.
15
16 It lives here rather than beside the skill because
17 `src/harlequin/hsql/skill/` is what ships in the wheel, and is the directory a
18 marketplace entry points at as a plugin.
19
20 ## Last run
21
22 2026-08-28, against the description as it ships: 10/10 positives and 10/10 negatives on
23 both splits. The description was not tuned against this set — it scored at ceiling on the
24 first pass — so the set's value now is as a regression check on the next edit to the
25 description, and it will need harder near misses before it can distinguish one good
26 description from another.