generate-test
Installation
SKILL.md
Generate Test Skill
Generate Vitest test files from test-plan.md by spawning qa-specialist agents that produce behavior-driven tests against Supabase local.
All test files are generated in the root tests/ directory — NOT co-located with source code.
When to Use
Use /generate-test when:
- You have a test-plan.md with test scenarios defined
- You want to generate .test.ts files for feature behavior, RLS policies, and constraints
- Tests should run against Supabase local (not UI, not browser)
Do NOT use when:
- You need UI/component tests (use @testing-library/react directly)
- You need E2E browser tests (use Playwright directly)
- No test-plan.md exists yet (create one first)