generate-test

Generate Vitest test files from test-plan.md using qa-specialist agents.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating comprehensive Vitest tests from a test-plan.md is time-consuming and error-prone; this skill automates reading test plans, applying best practices, and orchestrating qa-specialist agents to produce feature, shared, and Supabase integration tests with consistent structure.

Core Features & Use Cases

  • Reads test-plan.md and vitest best-practices rules to guide test generation.
  • Spawns qa-specialist agents to produce .test.ts files for features, shared utilities, and RLS/constraints tests.
  • Validates tests against a local Supabase context and outputs structured test files ready to run with Vitest.

Quick Start

Create a test-plan.md outlining scenarios and categories, then run the skill to generate Vitest tests for all features.

Frequently Asked Questions about generate-test

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

FAQPage Schema
How do I automate Vitest test generation from a test plan?▼

You can automate Vitest test generation by providing a test-plan.md file, which the skill reads to coordinate qa-specialist agents that produce structured .test.ts files for features, shared utilities, and Supabase integration tests.

Can I generate Supabase integration tests with Vitest automatically?▼

Yes, you can generate Supabase integration tests automatically by outlining scenarios in a test-plan.md, which triggers qa-specialist agents to create and validate RLS and constraints tests against your local Supabase context.

What do I need to create Vitest tests from a markdown test plan?▼

To create Vitest tests from a markdown test plan, you need a test-plan.md file outlining your scenarios and categories, alongside a local Supabase context to validate the generated integration and constraints tests.

How does automated test generation apply Vitest best practices?▼

Automated test generation applies Vitest best practices by reading predefined best-practice rules alongside your test-plan.md, ensuring the spawned qa-specialist agents produce validated and consistently structured test files.

Does automated Vitest test generation work for shared utilities and features?▼

Yes, automated Vitest test generation works for shared utilities and features by spawning qa-specialist agents that read your test-plan.md to produce corresponding .test.ts files across all defined categories.