Skip to content

test: run skill evals with vitest - #51

Merged
carlosvin merged 1 commit into
mainfrom
cursor/vitest-skill-evals-3851
Oct 7, 2026
Merged

carlosvin merged 1 commit into
mainfrom
cursor/vitest-skill-evals-3851

Conversation

@carlosvin

@carlosvin carlosvin commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

Skill evals no longer have a separate Node runner. scripts/skills/runSkillEvals.mjs is gone. The same static app↔skill checks live in scripts/skills/skillEvals.ts and run as individual Vitest cases in scripts/skills/skillEvals.test.ts.

Merged main, including the choose-a-UX check (choose-ux-asks-when-unclear), into that TypeScript catalog.

pnpm test:skill-evals is vitest run scripts/skills/skillEvals.test.ts. Filter by skill or check id with Vitest's -t flag, for example pnpm test:skill-evals -- -t observability-and-env.

Test plan

  • pnpm test:skill-evals — 35 passed after merging main
Open in Web Open in Cursor 

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fullstack-promptable-app-example ready!

Name Link
🔨 Latest commit 6592be8
🔍 Latest deploy log https://app.netlify.com/projects/fullstack-promptable-app-example/deploys/6ac5eea2dbfd5900088db827
😎 Deploy Preview https://deploy-preview-51--fullstack-promptable-app-example.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fullstack-promptable-prompt-first ready!

Name Link
🔨 Latest commit 6592be8
🔍 Latest deploy log https://app.netlify.com/projects/fullstack-promptable-prompt-first/deploys/6ac5eea2eb0e560008bff34e
😎 Deploy Preview https://deploy-preview-51--fullstack-promptable-prompt-first.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fullstack-promptable-agentic ready!

Name Link
🔨 Latest commit 6592be8
🔍 Latest deploy log https://app.netlify.com/projects/fullstack-promptable-agentic/deploys/6ac5eea28a72f30008323a06
😎 Deploy Preview https://deploy-preview-51--fullstack-promptable-agentic.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@carlosvin
carlosvin marked this pull request as ready for review October 7, 2026 06:53
Copilot AI balanced review requested due to automatic review settings October 7, 2026 06:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The migration is consistent, references are updated, and filtering and fixture coverage are preserved.

Review effort: Balanced
Findings: None

What changed in this PR

Migrates static skill evaluations from a standalone Node runner to grouped Vitest tests backed by a typed TypeScript catalog.

Changes:

  • Converts the skill-evaluation catalog to TypeScript.
  • Groups evaluations by skill and improves fixture helpers.
  • Updates scripts and documentation for the new Vitest workflow.
File Description
scripts/​skills/​skillEvals.ts Defines typed skill evaluations and results.
scripts/​skills/​skillEvals.test.ts Runs evaluations as grouped Vitest cases.
package.json Points the evaluation script at the new test file.
skills/​evals/​README.md Documents grouping and filtering behavior.
skills/​AUTHORING.md References the new evaluation catalog.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Replace the node runner with one Vitest case per app-to-skill
check, including the choose-a-UX check from main.

Co-authored-by: carlosvin <carlosvin@gmail.com>
@cursor
cursor Bot force-pushed the cursor/vitest-skill-evals-3851 branch from 1648d1c to 6592be8 Compare October 7, 2026 07:02
@carlosvin
carlosvin merged commit ccf422b into main Oct 7, 2026
7 checks passed
@carlosvin
carlosvin deleted the cursor/vitest-skill-evals-3851 branch October 7, 2026 07:20
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.

3 participants