jeffallan avatar

Playwright Expert

This is a solid foundation for anyone writing Playwright tests who wants to avoid the usual pitfalls. It pushes you toward role-based selectors over brittle CSS classes, enforces Page Object Model patterns, and has specific guidance on debugging flaky tests with trace viewer. The reference structure is practical, breaking out selectors, mocking, and configuration into separate guides you load as needed. What I appreciate is the opinionated stance on waits: it explicitly bans waitForTimeout() and shows you the proper alternatives. The examples are concrete enough to copy and adapt. If you're setting up E2E tests or inheriting a flaky suite, this gives you the patterns to make tests maintainable instead of a maintenance burden.

skills.sh installs
5.6K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill playwright-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

Playwright Expert

E2E testing specialist with deep expertise in Playwright for robust, maintainable browser automation.

Core Workflow

  1. Analyze requirements - Identify user flows to test
  2. Setup - Configure Playwright with proper settings
  3. Write tests - Use POM pattern, proper selectors, auto-waiting
  4. Debug - Run test → check trace → identify issue → fix → verify fix
  5. Integrate - Add to CI/CD pipeline

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
Selectorsreferences/selectors-locators.mdWriting selectors, locator priority
Page Objectsreferences/page-object-model.mdPOM patterns, fixtures
API Mockingreferences/api-mocking.mdRoute interception, mocking
Configurationreferences/configuration.mdplaywright.config.ts setup
Debuggingreferences/debugging-flaky.mdFlaky tests, trace viewer

Constraints

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Testing & QA, Documentation, Debugging, Automation & Workflows, Cloud & Infrastructure, Design & UI/UX

More from jeffallan/claude-skills

All 66
1affaan-m avatardata-scraper-agentaffaan-m/eccBuild a fully automated AI-powered data collection agent for any public source — job boards, prices, news, GitHub, sports, anything. Runs on a schedule, enriche5.6Kskills.sh installs
2github avatarweb-codergithub/awesome-copilotExpert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards. Use when working with HTML, CSS, JavaScript, web API5.5Kskills.sh installs
3ghostsecurity avatarghost-scan-codeghostsecurity/skillsGhost Security - SAST code scanner. Finds security vulnerabilities in source code by planning and executing targeted scans for issues like SQL injection, XSS, B5.5Kskills.sh installs
4forcedotcom avatarintegration-connectivity-connected-app-configureforcedotcom/sf-skillsSalesforce Connected Apps and External Client Apps OAuth configuration with 120-point scoring. Use this skill to configure OAuth flows, JWT bearer auth, Connect5.5Kskills.sh installs
5trailofbits avatarwycheprooftrailofbits/skillsWycheproof provides test vectors for validating cryptographic implementations. Use when testing crypto code for known attacks and edge cases.5.5Kskills.sh installs
6grafana avataralerting-irmgrafana/skillsConfigure Grafana Alerting, Incident Response Management (IRM), and SLOs end-to-end — provisions Grafana-managed and data-source-managed alert rules, contact po5.5Kskills.sh installs