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 the council needs to surface organizational knowledge buried across multiple internal sources (wikis, design docs, ADRs, past tickets, postmortems, chat archives, code repos). Plans where to look, what to cross-reference, and how to synthesize findings into evidence the council can act on. Do not use for external market research (use competitive-analysis), library evaluation (use library-evaluation), or technology trend assessment (use technology-radar).
testing
Use to convert a Word .docx file to PDF and/or verify its page count. Triggers on: converting docx to pdf, rendering a document, checking how many pages a docx produces, or asserting a page-count constraint (e.g. a resume must stay 2 pages). Wraps LibreOffice headless conversion.
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
Interactive wizard to craft effective prompts using Claude Code best practices