All skills

Vitest 4+ testing with Vite. Use when configuring vitest.config.ts, writing unit/integration/browser tests, implementing mocks with vi.fn/vi.spyOn/vi.mock, setting up V8 or Istanbul coverage, or migrating from Jest or older Vitest workspace setups. Triggers on vitest, vitest.config.ts, vi.mock, browser mode, vitest/browser, projects, setupFiles, and toMatchScreenshot.

Use this Skill: https://skilld.dev/gh/nodnarbnitram/claude-code-extensions/vitest-v4

This session only. Nothing lands on disk.

referencesREADME.md

≈316 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Vitest 4 Skill References

Use these references when the main SKILL.md is not enough:

File Focus
mocking-reference.md vi.mock, vi.fn, vi.spyOn, env/global stubs, hoisting, and cleanup rules
browser-mode-reference.md Provider setup, vitest/browser, event realism, screenshots, and Browser Mode caveats
coverage-projects-reference.md V8/Istanbul coverage setup, coverage.include, and multi-project config
pools-execution-reference.md forks vs threads, isolation tradeoffs, fs module cache, and large-suite execution tuning

Suggested Reading Order

  • Writing or fixing mocks? Start with mocking-reference.md
  • Running tests in a real browser? Start with browser-mode-reference.md
  • Fixing coverage or multi-project config? Start with coverage-projects-reference.md
  • Tuning speed or debugging runner instability? Start with pools-execution-reference.md

Official Sources

Source: SKILL.md on GitHub

No alerts15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    The skill provides comprehensive and safe instructions for using Vitest 4. No malicious patterns, obfuscation, or security vulnerabilities were detected. It effectively guides users toward best practices, such as avoiding hanging processes in non-interactive environments and using official ecosystem packages.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

Signed by skilld at ca1a51b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago
version
1.0.0
metadata
{
  "author": "Brandon Martin"
}

README badge

README badge for nodnarbnitram/claude-code-extensions/vitest-v4