test-generator

Detect test frameworks and generate matching test files for React and Vue projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/physics91/claude-vibe --skill test-generator-physics91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/physics91/claude-vibe/tree/main/skills/test-generator
Command: npx skills add https://github.com/physics91/claude-vibe --skill test-generator-physics91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automatically generates tests by detecting the project’s test framework and applying patterns for unit, integration, and E2E tests, speeding up test coverage.

Core Features & Use Cases

  • Framework detection (Jest, Vitest, Playwright, Cypress)
  • Target selection (specific file, untested files, recently changed, full directory)
  • Test type selection (Unit, Integration, Component, E2E)
  • Coverage goal options (Happy path, edge cases, full)
  • Use Case: Generate a starter test suite for a new React component or API endpoint.

Quick Start

Run the test-generator to scaffold tests for the chosen files and test type.

Frequently Asked Questions about test-generator

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

FAQPage Schema
How do I automatically generate tests for my React components?

Test generation automatically detects your project's test framework (Jest, Vitest, Playwright, or Cypress) and scaffolds component tests with appropriate templates. Select your React component file, choose your test type, and the tool produces ready-to-run test files matching your framework's syntax.

Can I generate tests for both unit and E2E testing in the same project?

Yes. The tool supports unit, integration, component, and E2E test generation. Select your target files, pick your test type, and it applies the matching framework template—whether Jest for units or Playwright/Cypress for E2E scenarios.

What test frameworks does automated test generation support?

Test generation works with Jest, Vitest, Playwright, and Cypress. It automatically detects your project's configuration and applies the correct test templates for your framework, including React Testing Library for component tests.

How do I generate tests for untested files across my codebase?

Target selection lets you generate tests for specific files, all untested files, recently changed files, or entire directories. Choose your coverage goal—happy path, edge cases, or full—and the tool scaffolds matching test suites for your selected scope.

Does test generation work with Vue projects?

Yes. Test generation applies to both React and Vue projects, adapting templates to match your framework and test configuration. It detects your setup and generates component, hook, utility, or E2E tests accordingly.

What coverage options are available when generating tests?

Coverage goals include happy path, edge cases, and full coverage. Select your goal when running the tool, and it generates test templates targeting that coverage level for your chosen files and test type.