vitest-runner

Execute Vitest test suites with coverage reporting and failure analysis.

175|26|Updated Aug 14, 2025
One-click install
npx skills add https://github.com/jmagly/ai-writing-guide --skill vitest-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vitest-runner
Source: https://github.com/jmagly/ai-writing-guide/tree/main/agentic/code/frameworks/sdlc-complete/extensions/javascript/skills/vitest-runner
Command: npx skills add https://github.com/jmagly/ai-writing-guide --skill vitest-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill runs JavaScript/TypeScript tests with Vitest, including coverage, watch mode, and parallel execution for fast feedback.

Core Features & Use Cases

  • Discover and run tests with Vitest, including coverage reports.
  • Support watch mode and parallel test execution.
  • Generate test result summaries and reports.

Quick Start

Run Vitest on the test suite and review coverage and failures.

Frequently Asked Questions about vitest-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run tests with Vitest and get coverage reports?

Vitest executes your JavaScript or TypeScript test suite and generates coverage reports showing which code paths are tested. Run Vitest with the coverage flag to analyze test coverage across your project files.

Can I run Vitest tests in parallel to speed up my test suite?

Yes, Vitest supports parallel test execution by default, running multiple test files concurrently. This significantly reduces total test duration compared to sequential execution.

Does Vitest work with TypeScript projects?

Vitest is built for both JavaScript and TypeScript projects. It automatically handles TypeScript test files and provides native type support without additional configuration.

How do I use Vitest watch mode during development?

Vitest watch mode automatically reruns affected tests whenever you save changes to your code or test files, providing instant feedback during development.

What happens when Vitest tests fail?

Vitest analyzes test failures and generates diagnostic reports showing which tests failed, why they failed, and detailed error messages to help you fix issues quickly.

What are the system requirements for running Vitest?

Vitest requires Node.js to be installed on your system and the Vitest package itself present in your project. The Skill verifies these prerequisites before executing tests.