Conversation
Adds a Reliability & Eval pattern for treating skill selection as a classification problem: a labelled dataset of prompts (including a negative region no skill should own), per-skill precision/recall/F1 from one agent trace per row, and thresholds that gate CI. Includes the output of `bun run build:data` as required by CI, which adds the README catalog line and the generated artifacts under apps/web/public. Live star data (apps/web/src/data/github-stars.json) is deliberately left out, matching the CI check's own `git restore`. Assisted-by: Claude Opus 5 (Claude Code) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VUrhWdh4NpgT2RR7ohWjXD
|
@uipreliga is attempting to deploy a commit to the nkkko's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The The run ends as That start date lines up with #140, which added Two cheap things, if useful:
Happy to open a separate PR for either if you'd rather not spend the time. The run I looked at is here. |
PR intent
patterns/skill-activation-as-precision-recall.md— Reliability & Eval, 155 lines.A skill is normally tested like a function: run it, check the output. But before it runs, the model must choose it from among every other skill's description — and that routing decision is what fails in production, in two directions, both silently. Under-triggering is a recall problem that users report; over-triggering is a precision problem that gets absorbed, because the output still looks like an answer. The decision is also coupled across the whole catalog: editing one description re-routes prompts belonging to skills you did not touch.
The pattern is to measure it as the classification problem it is — a labelled dataset including a negative region no skill should own, one agent trace per row scored against every skill, per-skill precision/recall/F1, and thresholds that gate CI.
Reviewer checklist
Conflict of interest
I maintain Coder Eval, which is one implementation of this pattern, and three of the references are its blog. So, per the template's note on self-referencing PRs:
source:andbased_on:both disclose the origin in the front matter.workflow-evals-with-mocked-toolspattern cites LangSmith and Promptfoo.testing/skills-boundaries/(3 pairs at the time of writing) alongside aqa-evalworkflow. The measured pilot is also hosted third-party, as a public issue on neondatabase/agent-skills#76, including the rows we excluded and why.AI disclosure (per AI_POLICY.md)
Assisted-by:trailer.SCHEMA.md,TEMPLATE.mdand the existing patterns.Related:links resolve to existing files; the MongoDB and Neon claims were checked against the live repositories rather than recalled. Two claims from an earlier draft were removed because they could not be verified publicly — a "required check" characterisation of MongoDB's CI (workflow existence is public, branch protection is not), and an unsourced generalisation about "shipped public catalogs," now replaced by the specific, published collision in the Neon issue. Numbers in Evidence are quoted from the linked pages, and the Evidence section states its own grade asmediumwith an explicit "Unverified / Unclear" list.Generated artifacts
bun run build:datawas run and its output is committed in the same commit, as the CI error message asks. That adds the README catalog line (inside theAUTO-GENERATEDmarkers — not hand-edited) and the artifacts underapps/web/public.apps/web/src/data/github-stars.jsonis deliberately not included, matching thegit restorein the CI check's own logic.Verified locally:
bun run validate:patternsclean, the CI drift check reproduces green, andbun run buildsucceeds (203 pages).One note in case it shows up in triage:
bun run validate:patterns:contentreports 15 warnings and 1 error (cross-agent-lesson-sharing.md: missingreferences) on pre-existing patterns. None are from this PR, and I have not touched them. My file is not flagged — including for heading order, since## Evidencesits between Solution and How-to-use exactly asTEMPLATE.mdplaces it.