Repository navigation
fix(evals): cover description vocabulary gaps - #358
Conversation
federicobartoli
left a comment
There was a problem hiding this comment.
Reviewed locally and this matches #351 well.
The description updates add the missing user vocabulary without changing the shape of the skills: frontend-ui-engineering now catches responsive/WCAG/page wording, and performance-optimization now catches queries/N+1/database wording. The eval updates also cover the exact routing gaps Addy called out, including the api-and-interface-design negative now pointing responsive page work at frontend-ui-engineering.
Verification:
node scripts/validate-skills.js— 24 skills checked, 0 errors, 0 warningsnode scripts/run-evals.js— 124 checks passed, trigger rank-1 rate 86%
LGTM from me.
addyosmani
left a comment
There was a problem hiding this comment.
This is the eval framework doing exactly what it was built to do, so it is nice to see someone act on it. The frontend and performance descriptions genuinely were missing the words people type, and watching rank-1 tick up to 86% once the vocabulary lands is the satisfying part. Thanks for picking up the loose thread and closing it out.
#358 broadened the performance-optimization description to cover "frontend, backend, queries, and databases", but the body's backend coverage was a single N+1 example, against the full Core Web Vitals and art-direction treatment on the frontend side. Routing a "slow query" or "connection pool" prompt here landed on a snippet. Adds three measure-first patterns inline, each with a "when NOT to": - Query plans: read EXPLAIN ANALYZE before indexing; composite column order (equality first, then range/sort); the four cases where an index does not help; revert an index that did not change the plan. - Connection pool exhaustion: the distinctive symptom, one pool per process, why a bigger pool relocates the queue instead of removing it, and the proxy answer for serverless. - Caching: layer choice (in-process, shared, edge), key design as a correctness concern, one invalidation strategy rather than an accidental mix, and stampede protection. Deeper material goes to references/performance-checklist.md to keep SKILL.md readable: read/write patterns, negative caching, request coalescing, and query-plan, index, pooling and cache checklists. Closes #378 Claude-Session: https://claude.ai/code/session_01TuWNaEV9RFXpTxqeBRTRg8
…-vocabulary-gaps fix(evals): cover description vocabulary gaps
Summary
frontend-ui-engineeringandperformance-optimizationdescriptions with the user vocabulary called out in Description vocabulary gaps: frontend-ui-engineering, performance-optimization #351.frontend-ui-engineeringowner to theapi-and-interface-designresponsive landing page negative.Why
The deterministic trigger evals surfaced that fair user prompts could miss these skills because the frontmatter descriptions did not include vocabulary users actually say. This keeps the descriptions in the repo's what-then-Use-when format while making those routing cues explicit.
Fixes #351.
Validation
node scripts/validate-skills.jsnode scripts/run-evals.js-> 124 checks passed, 0 errors, 0 warnings; trigger rank-1 rate 86% (65/76)