e2e-generate
Installation
SKILL.md
End-to-End Test Generation
I'll generate comprehensive E2E tests using Playwright for browser automation and testing.
Capabilities:
- Auto-detect frontend framework (React, Vue, Next.js, etc.)
- Generate Playwright test files with best practices
- Create page object models for maintainability
- Set up test infrastructure if missing
Token Optimization:
- ✅ Bash-based Playwright detection (minimal tokens)
- ✅ Grep to find routes/pages (200 tokens vs 3,000+ reading all files)
- ✅ Template-based test generation (no file reads for templates)
- ✅ Caching page/route discovery - saves 80% on reruns
- ✅ Early exit when Playwright not needed
- ✅ Incremental test generation (one page at a time)
- Expected tokens: 1,200-3,000 (vs. 3,000-5,000 unoptimized)
- Optimization status: ✅ Optimized (Phase 2 Batch 2, 2026-01-26)