skills/council/craftsman/e2e-testing/SKILL.md
Use when designing end-to-end test suites, visual regression testing, or cross-browser test strategies. Covers Playwright/Cypress test architecture, page object patterns, test data management, visual snapshot comparison, cross-browser matrix, and CI integration. Do not use for unit/integration test strategy (use testing-strategy) or code pattern audit (use pattern-analysis).
npx skillsauth add dtsong/my-claude-setup e2e-testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Design end-to-end test suites that validate critical user journeys across the full stack, catch visual regressions, and ensure cross-browser compatibility with efficient CI execution.
Analyzes application architecture and existing test infrastructure to design E2E test strategy. Does not execute tests or modify application code. Does not set up CI pipelines (hand off to operator/deployment-plan).
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
data-testid attributes over CSS/XPath.Compaction resilience: If context was lost, re-read the Inputs section to identify the application under test, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
| Journey | Priority | Tests | Framework | Browser Matrix | Data Strategy | |---------|----------|-------|-----------|----------------|---------------| | Auth flow | P0 - Smoke | 5 | Playwright | Chromium, Firefox, WebKit | API fixtures | | Checkout | P0 - Smoke | 8 | ... | ... | ... | | Dashboard | P1 - Full | 12 | ... | ... | ... |
| Gate | Tests | Parallelism | Time Budget | Trigger | |------|-------|-------------|-------------|---------| | PR smoke | 15 | 3 shards | <2 min | Every PR | | Full suite | 80 | 6 shards | <15 min | Main branch | | Visual regression | 30 | 2 shards | <5 min | PR + Main |
development
Use when planning implementation steps, deciding commit format, or structuring development approach. Provides brainstorm-plan-implement flow with conventional commits. Triggers on 'how should I approach this', 'commit format'.
development
Security audit checklist for web applications. Use when reviewing, auditing, or hardening a web app's security posture. Covers rate limiting, auth headers, IP blocking, CORS, security middleware, input validation, file upload limits, ORM usage, and password hashing. Triggers on requests like "review security", "harden this app", "security audit", "check for vulnerabilities", or when building/reviewing API endpoints.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.