testing-setup

Installation
SKILL.md

Set up testing infrastructure: $ARGUMENTS

$ARGUMENTS can include:

  • "vitest" — unit/integration only (skip Playwright)
  • "playwright" — e2e only (skip Vitest)
  • "full" — both (default)
  • "with-db" — include database test helpers (test transactions, seed/teardown)
  • Framework hint: "nextjs" or "vite" (auto-detected if omitted)
  • Empty — full setup, auto-detect framework

Before Starting

  1. Read package.json to detect framework and see existing test config
  2. Read tsconfig.json to understand path aliases
  3. Check if vitest.config.ts or playwright.config.ts already exists
  4. Read src/lib/database/schema.ts to understand table structure (for fixtures)
  5. Check src/lib/env.ts for env validation patterns
Installs
1
GitHub Stars
1
First Seen
Jun 4, 2026
testing-setup — joshuashepherd/my-skills