run-test-all

Run all Vitest tests and generate test.result.json for JavaScript/TypeScript projects.

2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/potenlab/marketplace-potenlab --skill run-test-all
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: run-test-all
Source: https://github.com/potenlab/marketplace-potenlab/tree/main/plugins/potenlab-workflow/skills/run-test-all
Command: npx skills add https://github.com/potenlab/marketplace-potenlab --skill run-test-all

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates end-to-end test execution for a JavaScript/TypeScript project by running all Vitest tests and collecting results, ensuring consistent visibility into test outcomes.

Core Features & Use Cases

  • Discover and run all Vitest tests located in /features, /tests, and /supabase.
  • Generate test.result.json, replacing the previous results on every run.
  • Invoke qa-specialist to analyze failures and provide actionable remediation guidance.
  • Triggered via multiple aliases such as /run-test-all, run-test-all, run tests.

Quick Start

Run /run-test-all to execute every Vitest test and generate test.result.json.

Frequently Asked Questions about run-test-all

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

FAQPage Schema
How do I run all Vitest tests and generate a report automatically?▼

To run all Vitest tests and generate a report, the Skill executes npx vitest run across /features, /tests, and /supabase directories, then collects the outcomes into a test.result.json file. This automates end-to-end test execution for JavaScript and TypeScript projects.

What is the best way to automate Vitest test execution in a monorepo?▼

Automating Vitest test execution in a monorepo involves discovering tests across multiple directories like /features, /tests, and /supabase, then running them via npx vitest run to ensure consistent visibility into test outcomes. This Skill handles that structure directly.

Can I use this to analyze test failures and get remediation guidance?▼

Yes, you can analyze test failures because the Skill optionally invokes qa-specialist upon detecting failures. This integration provides actionable remediation guidance alongside the generated test.result.json file.

Does the generated test result file overwrite previous test results?▼

Yes, the generated test result file overwrites previous results on every run. The Skill generates a fresh test.result.json each time npx vitest run executes, replacing the previous output to maintain current test state visibility.

Do I need a qa-specialist to run Vitest tests and collect results?▼

No, you do not need a qa-specialist to run Vitest tests because the Skill independently discovers tests, executes them, and generates test.result.json. The qa-specialist is an optional integration used only when failures occur to provide remediation analysis.