vibe-e2elisted
Install: claude install-skill aakashdhar/vibe-skill
# Vibe E2E Skill
Generates Playwright E2E tests from your SPEC.md and FEATURES.md.
Runs them against a live URL. Records video on failure.
Cleans up test data after every run.
---
## Triggers
| Trigger | What it does |
|---|---|
| `e2e: https://url` | Generate tests (if none exist) + run against URL |
| `e2e: run https://url` | Run existing tests against URL without regenerating |
| `e2e: regenerate` | Rewrite all test files from current SPEC.md + FEATURES.md |
| `e2e: cleanup https://url` | Run cleanup script only — delete test data |
---
## Step 0 — Install Playwright if missing
Before anything else, check if Playwright is available and install if not.
Install into an isolated `e2e/` folder — never touch the app's `package.json`.
```bash
# Check if e2e folder exists with Playwright already installed
ls e2e/node_modules/@playwright/test 2>/dev/null && echo "INSTALLED" || echo "NOT_INSTALLED"
```
**If not installed:**
```bash
# Create e2e folder if it doesn't exist
mkdir -p e2e
# Detect project package manager
ls yarn.lock 2>/dev/null && echo "yarn" || ls pnpm-lock.yaml 2>/dev/null && echo "pnpm" || echo "npm"
# Install Playwright into e2e/ only
cd e2e
# If npm:
npm init -y
npm install -D @playwright/test
# If yarn:
yarn init -y
yarn add -D @playwright/test
# If pnpm:
pnpm init
pnpm add -D @playwright/test
# Install Chromium browser only (sufficient for QA, smallest download)
npx playwright install chromium --with-deps
```
**If project is Python-only (no pack