test

Generate Vitest and Testing Library tests for components, hooks, and stores.

Updated Jun 23, 2025
One-click install
npx skills add https://github.com/Dayopt/app --skill test-dayopt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/Dayopt/app/tree/main/.claude/skills/test
Command: npx skills add https://github.com/Dayopt/app --skill test-dayopt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates test creation to speed up quality assurance after new features or bug fixes, reducing manual toil and human error.

Core Features & Use Cases

  • Auto-generate Vitest + Testing Library test patterns for components, hooks, and stores.
  • Provide unit and integration test coverage guidance, including mocks with MSW when needed.
  • Template-driven test scaffolding aligned with project conventions and file structure.

Quick Start

Prompt the AI to generate Vitest tests and Testing Library scenarios for the touched feature.

Frequently Asked Questions about test

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

FAQPage Schema
How do I auto-generate Vitest tests after implementing a new feature?

You can auto-generate Vitest tests by prompting the AI to create Testing Library scenarios for newly implemented features or bug fixes, which scaffolds unit and integration tests aligned with your project conventions.

What is the best way to scaffold unit tests for React hooks and stores?

The best way to scaffold unit tests for hooks and stores is by applying standardized test patterns that integrate Testing Library scenarios and optional MSW mocks for accurate integration coverage.

Does this testing approach support MSW mocks for integration test coverage?

Yes, this testing approach supports MSW mocks to provide accurate unit and integration test coverage, enabling API interaction simulation while adhering to project file structure and conventions.

How do I ensure my generated test file structure matches existing project conventions?

Ensure generated test file structures match project conventions by using template-driven test scaffolding, which aligns Vitest and Testing Library patterns directly with your codebase architecture.

Can I create integration test scenarios for bug fixes without manual test coding?

Yes, you can create integration test scenarios for bug fixes without manual coding by prompting the AI to auto-generate standardized Vitest patterns, reducing manual toil and human error.