Skip to content

fix(evals): cover description vocabulary gaps - #358

Merged
addyosmani merged 1 commit into
addyosmani:mainfrom
ZhiyaoWen999:codex/description-vocabulary-gaps
Jul 10, 2026
Merged

addyosmani merged 1 commit into
addyosmani:mainfrom
ZhiyaoWen999:codex/description-vocabulary-gaps

Conversation

@ZhiyaoWen999

Copy link
Copy Markdown
Contributor

Summary

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.js
  • node scripts/run-evals.js -> 124 checks passed, 0 errors, 0 warnings; trigger rank-1 rate 86% (65/76)

@federicobartoli federicobartoli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 warnings
  • node scripts/run-evals.js — 124 checks passed, trigger rank-1 rate 86%

LGTM from me.

@addyosmani addyosmani left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@addyosmani
addyosmani merged commit 2373dd6 into addyosmani:main Jul 10, 2026
4 checks passed
nucliweb added a commit that referenced this pull request Aug 27, 2026
#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
zeekay pushed a commit to Dream-AI-4444/addys-agent-skills that referenced this pull request Sep 9, 2026
…-vocabulary-gaps

fix(evals): cover description vocabulary gaps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Description vocabulary gaps: frontend-ui-engineering, performance-optimization

4 participants