run-tests

Automatically identify and run tests for source files using Vitest.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/nutrisari-jeruk/react-vite-template --skill run-tests-nutrisari-jeruk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/nutrisari-jeruk/react-vite-template/tree/main/.claude/skills/run-tests
Command: npx skills add https://github.com/nutrisari-jeruk/react-vite-template --skill run-tests-nutrisari-jeruk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the testing process by automatically locating and running tests for source files, saving developers time and effort.

Core Features & Use Cases

  • Automated Test Discovery: Automatically identifies and runs tests associated with source files.
  • Quick Feedback: Provides immediate feedback on test outcomes, allowing for fast iteration.
  • Use Case: After making changes to a component, quickly run the tests to verify functionality without manually locating and running them.

Quick Start

Execute tests for the 'Button.tsx' component by running /run-tests src/components/ui/button/Button.tsx.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I run tests for a specific source file without manual setup?

To run tests for a specific source file, you can use an automated test execution tool. This approach automatically identifies and runs the relevant test files, minimizing manual execution steps within TypeScript projects.

How do I execute Vitest for a component after making changes?

You execute Vitest for a component by invoking the test runner with the source file path. This automatically discovers and runs the associated tests, providing immediate feedback on the outcomes.

Does this automated test discovery work with TypeScript projects?

Yes, automated test discovery works with TypeScript projects. It is ideal for developers operating within a TypeScript-based project environment who need to verify component functionality quickly.

What is the best way to get quick feedback on test outcomes?

The best way to get quick feedback on test outcomes is to use automated test discovery. It instantly executes tests for your source files and provides immediate feedback, allowing for fast iteration.

Do I need to manually locate test files when using Vitest?

No, you do not need to manually locate test files when using Vitest with this tool. Automated test discovery handles the process of finding and running tests associated with your source code.

How can I verify component functionality after updates without searching for tests?

You verify component functionality by running an automated test execution command with the updated file path. The tool automatically locates and runs the associated tests, eliminating the need to search manually.