vitest-knowledge-patch

Official

Keep Vitest knowledge current and accurate

AuthorNevaberry
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Projects and AI coding agents risk using outdated Vitest knowledge which leads to deprecated APIs, broken test setups, and incorrect configurations after model training cutoffs. This knowledge patch consolidates verified, post-cutoff changes across Vitest 3.0–4.1 so developers can avoid regressions and migration pitfalls.

Core Features & Use Cases

  • Migration guidance: Replace workspace with projects, use defineProject, and update sequence and watch patterns for monorepos.
  • Browser testing: Explain the new browser provider model, visual regression setup, Playwright traces, frame locators, and strict provider behavior.
  • Fixtures, hooks, and matchers: Document test.extend builder pattern, aroundEach/aroundAll hooks, scoped fixtures, expect.schemaMatching, and expect.assert.
  • Mocking and reporters: Detail v4 mocking changes, mockThrow, vi.defineHelper, agent reporter, and GitHub Actions job summary behavior.
  • Use case: Migrate a repository from Vitest 2/3 to v4, convert workspace configs to projects, enable browser screenshots, and update mocks and coverage options.

Quick Start

Load the vitest-knowledge-patch and run a project scan to update guidance and apply configuration recommendations for Vitest 3.0 through 4.1.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vitest-knowledge-patch
Download link: https://github.com/Nevaberry/nevaberry-plugins/archive/main.zip#vitest-knowledge-patch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.