Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
getsentry avatar

Vitest Evals

  • 31 installs
  • 325 repo stars
  • Updated July 23, 2026
  • getsentry/vitest-evals

vitest-evals skill documents Use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom Harness adapters, first-party ai-sdk or pi-ai harness integrations, judges, replay, reporter-facing norm

About

vitest-evals skill documents Use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom Harness adapters, first-party ai-sdk or pi-ai harness integrations, judges, replay, reporter-facing normalized run data, or examples and docs for these APIs.. name: vitest-evals description: Use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom Harness adapters, first-party ai-sdk or pi-ai harness integrations, judges, replay, reporter-facing normalized run data, or examples and docs for these APIs.

  • Use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom Harness adapters, first-party ai-
  • Platform-specific setup patterns for vitest-evals.
  • Evidence-backed steps from upstream SKILL.md.
  • When-to-use criteria for vitest-evals versus alternatives.

Vitest Evals by the numbers

  • 31 all-time installs (skills.sh)
  • Ranked #665 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

vitest-evals capabilities & compatibility

Capabilities
vitest evals quick start · vitest evals when to use guidance · vitest evals integration patterns
Works with
sentry
Use cases
code review
From the docs

What vitest-evals says it does

Use the harness-backed API as the only authoring model.
SKILL.md
1. Read the package, app, or eval file being changed.
SKILL.md
npx skills add https://github.com/getsentry/vitest-evals --skill vitest-evals

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs31
repo stars325
Last updatedJuly 23, 2026
Repositorygetsentry/vitest-evals

How do I use vitest-evals correctly?

Use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom Harness adapters, first-party ai-sdk or pi-ai harness integrations, judges, replay, reporter-facing normalized ru

Who is it for?

Teams implementing vitest-evals workflows from the catalog.

Skip if: Skip when requirements clearly match a different specialized stack.

When should I use this skill?

User asks about vitest-evals, use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom har.

What you get

Working vitest-evals setup with validated configuration and next steps.

Files

SKILL.mdMarkdownGitHub ↗

vitest-evals

Use the harness-backed API as the only authoring model.

First Steps

1. Read the package, app, or eval file being changed. 2. Identify the runtime target, then open only the needed reference. 3. Keep suites close to Vitest: one harness per describeEval(...), explicit run(...) inside each test, ordinary expect(...) assertions over the returned result.

Reference Router

NeedOpen
Write or review a normal eval suitereferences/suite-authoring.md
Build a custom app Harness without a first-party adapterreferences/custom-harness.md
Integrate AI SDK generateText, generateObject, tools, or an AI SDK-style agentreferences/harness-ai-sdk.md
Integrate a Pi AI or Pi Mono-style agentreferences/harness-pi-ai.md
Add custom judges, suite judges, built-in judges, or toSatisfyJudge(...) assertionsreferences/judges-and-assertions.md
Assert on message, tool-call, or span historyreferences/utilities.md
Configure tool recording or replayreferences/tool-replay.md
Diagnose failures, missing traces, odd output, or choose verification commandsreferences/troubleshooting.md

Runtime Defaults

  • Import describeEval(...), judges, and helpers from vitest-evals.
  • Bind exactly one harness to a suite.
  • Call run(input) where the test should execute the system.
  • Assert on result.output for app-facing behavior.
  • Use toolCalls(result) and message helpers for normalized session assertions.
  • Use spans(result), spansByKind(result, kind), and failedSpans(result) for span assertions.
  • Keep HarnessRun, NormalizedSession, usage, artifacts, and tool records JSON-serializable.
  • Keep judge model calls on judges. Use createJudge("Name", assess) for

custom judges; use the provider-helper overload only when multiple judges reuse setup and need curried run options.

  • Put scenario-owned criteria on the input value. Put direct-check expected

values in Vitest case rows. Pass per-case judge criteria through explicit matcher options, and suite-wide criteria through judge config.

  • Custom judges should use createJudge(...) for stable reporter labels.

Verification

Prefer the smallest command that covers the edited files:

TaskCommand
Lint filepnpm exec biome lint path/to/file.ts
Format filepnpm exec biome format --write path/to/file.ts
Test filepnpm exec vitest run path/to/file.test.ts -c vitest.config.ts
Eval filepnpm exec vitest run path/to/file.eval.ts -c vitest.config.ts --reporter=./packages/vitest-evals/src/reporter.ts
Type surfacepnpm typecheck
Package buildpnpm build

Related skills

FAQ

What does vitest-evals do?

vitest-evals skill documents Use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom Harness adapters, first-party ai-sdk or pi-ai harness integrations, judges, replay, reporter-facing normalized run data, or examples and docs for these APIs.

When should I use vitest-evals?

User asks about vitest-evals, use when authoring, reviewing, or debugging harness-backed vitest-evals suites, custom har.

Is this skill safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.