test-setup

Initialize Vitest and Playwright testing infrastructure from upstream configs.

2|1|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/lucidlabs-hq/agent-kit --skill test-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-setup
Source: https://github.com/lucidlabs-hq/agent-kit/tree/main/.claude/skills/test-setup
Command: npx skills add https://github.com/lucidlabs-hq/agent-kit --skill test-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Initialize testing infrastructure for a project by syncing Vitest and Playwright configs from upstream.

Core Features & Use Cases

  • Copy upstream Vitest and Playwright configurations to ensure consistent testing environments.
  • Set up a ready-to-run test scaffold including setup utilities, examples, and necessary dev tools.
  • Use case: New frontend projects can bootstrap a full TDD and E2E testing workflow with minimal setup.

Quick Start

Run the test-setup skill to initialize Vitest and Playwright configurations in your frontend project.

Frequently Asked Questions about test-setup

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

FAQPage Schema
How do I set up Vitest and Playwright for a new frontend project?

To set up Vitest and Playwright, you initialize testing infrastructure by syncing configurations from upstream. This copies standard Vitest and Playwright configs, defines setup utilities, and installs necessary dev dependencies to support reliable test execution.

What is the best way to bootstrap a TDD workflow with TypeScript?

The best way to bootstrap a TDD workflow is to copy upstream Vitest and Playwright configurations. This creates a ready-to-run scaffold including setup utilities and examples, ensuring a consistent test environment for TypeScript projects.

Can I use testing-library with Vitest and Playwright in my existing app?

Yes, you can use testing-library with Vitest and Playwright. The test-setup initialization copies upstream configurations and defines necessary dev dependencies, allowing you to integrate testing-library into a consistent test environment for reliable execution.

Does this test infrastructure setup support end-to-end testing out of the box?

Yes, this test infrastructure setup supports end-to-end testing out of the box. It syncs Playwright config from upstream and defines setup utilities, providing a ready-to-run E2E testing scaffold for frontend projects.

Why do I need to sync test configurations from upstream?

You need to sync test configurations from upstream to ensure consistent testing environments across projects. This initialization copies standardized Vitest and Playwright configs, reducing manual setup errors and supporting reliable test execution.