add-tests

Generate unit and component tests for JavaScript web applications using Vitest, Vue Test Utils, and Playwright.

1|Updated Jun 4, 2026
One-click install
npx skills add https://github.com/TarasTsavolyk/claude-code-frontend --skill add-tests-tarastsavolyk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-tests
Source: https://github.com/TarasTsavolyk/claude-code-frontend/tree/main/.claude/skills/add-tests
Command: npx skills add https://github.com/TarasTsavolyk/claude-code-frontend --skill add-tests-tarastsavolyk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of adding and strengthening tests for code changes, streamlining the testing workflow and improving code quality.

Core Features & Use Cases

  • Test Generation: Automatically generate unit tests for new logic, close coverage gaps, or anchor bug fixes with regression tests.
  • Multi-Level Testing: Supports unit, component, and end-to-end testing for comprehensive code coverage.
  • Framework Support: Compatible with Vue.js, React, Angular, Svelte, and more, with a focus on translation mode for non-Vue frameworks.

Quick Start

Run the skill to add unit tests for the modified 'exampleComponent.vue' file.

Frequently Asked Questions about add-tests

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

FAQPage Schema
How do I automatically generate unit tests for Vue components?

Automated unit test generation for Vue components is handled by this Skill using Vitest and Vue Test Utils, which analyzes modified files to produce test cases that close coverage gaps and anchor bug fixes with regression tests.

Can I use automated test generation for React and Angular front-end frameworks?

Automated test generation supports React and Angular through a translation mode for non-Vue frameworks, enabling comprehensive unit and component test generation for these front-end frameworks using Vitest and Playwright.

What is the best way to improve test coverage for code changes?

Improving test coverage for code changes is achieved by automating test generation for new logic, producing unit, component, and end-to-end tests that close coverage gaps and anchor bug fixes with regression tests.

Does this automated test generation tool support end-to-end testing?

Automated test generation supports end-to-end testing by utilizing Playwright, delivering multi-level testing that encompasses unit, component, and end-to-end tests for comprehensive code coverage in JavaScript-based web applications.

How do I add regression tests for bug fixes in JavaScript web applications?

Adding regression tests for bug fixes in JavaScript web applications is done by running this Skill to automate the generation of unit and component tests, anchoring bug fixes and strengthening the overall testing workflow.