e2e-reviewer
Installation
SKILL.md
E2E Test Scenario Quality Review
Systematic checklist for reviewing E2E spec files AND Page Object Model (POM) files. Covers Playwright and Cypress with full grep + LLM analysis. General principles (name-assertion alignment, missing Then, YAGNI) apply to any framework, but automated grep patterns are Playwright/Cypress-specific.
Reference:
- Playwright best practices: https://playwright.dev/docs/best-practices
- Cypress best practices: https://docs.cypress.io/app/core-concepts/best-practices
Phase 0: Framework Detection
Before running checks, enumerate candidate source files with the scanner's exact
extension set: .ts, .js, .tsx, .jsx, .mts, .mjs, .cts, and .cjs.
Inspect actual import statements and cy. calls in those files to determine
the framework:
@playwright/test→ Playwrightcypress(as a module import orcy.call) → Cypress