run-tests

Execute Vitest unit tests for files or watch mode with coverage reports.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/furrycolombia-sys/candyshop --skill run-tests-furrycolombia-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/furrycolombia-sys/candyshop/tree/main/.agents/skills/run-tests
Command: npx skills add https://github.com/furrycolombia-sys/candyshop --skill run-tests-furrycolombia-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables you to run unit tests for a codebase using Vitest in a consistent, reproducible manner, reducing feedback cycles and ensuring code quality.

Core Features & Use Cases

  • Run all tests, a subset of files, or watch mode for real-time feedback.
  • Generate coverage reports and integrate with existing Claude workflow described in the source file.
  • Use Case: When you modify a module, quickly run only related tests to validate changes.

Quick Start

Run vitest tests against the entire project or targeted files to quickly verify changes.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I run Vitest unit tests for a specific file or module?

You can run Vitest unit tests for a specific file or module by executing targeted test runs instead of the entire project. This skill supports running subset of files to quickly validate changes and provide fast feedback.

Can I use watch mode with Vitest to get real-time test feedback?

Yes, you can use watch mode with Vitest to get real-time test feedback. This skill supports watch mode execution, allowing you to continuously run unit tests and see results instantly as you modify your codebase.

Does this skill generate coverage reports for Vitest tests?

Yes, this skill generates optional coverage reports for Vitest tests. You can enable coverage reporting when running unit tests in both local and CI environments to track code quality and test completeness.

What do I need to run Vitest tests using this skill?

To run Vitest tests using this skill, you need a project with Vitest configured and accessible test configuration. Your environment must have dependencies installed and the proper environment setup completed before execution.

How do I run unit tests in a CI environment with Vitest?

You can run unit tests in a CI environment with Vitest by executing tests in a consistent and reproducible manner. This skill supports CI environments, ensuring reliable results and reducing feedback cycles for code quality assurance.

What's the best way to run only related tests after modifying a module?

The best way to run only related tests after modifying a module is to use targeted file execution. This skill allows you to run a subset of test files quickly, providing fast feedback and validating changes without running the entire test suite.