currents-dev/playwright-best-practices-skill

AI Skill for Playwright Best Practices—made by Currents.dev

What it solves

It provides AI assistants with specialized, high-quality guidance for writing, debugging, and maintaining Playwright tests in TypeScript, ensuring that generated code follows industry best practices rather than generic patterns.

How it works

The project is an activity-based "skill" containing 57 reference documents organized into categories (Core, Debugging, Testing Patterns, Advanced, Browser APIs, Architecture, Frameworks, and Infrastructure). When an AI infers a user is performing a specific task—such as fixing a flaky test or setting up CI/CD—it dynamically references the relevant documentation to provide focused, context-aware advice.

Who it’s for

Developers and QA engineers using Playwright for end-to-end (E2E), component, API, visual regression, accessibility, and security testing in TypeScript.

Highlights

  • Comprehensive Coverage: Includes guidance for complex scenarios like Electron apps, browser extensions, i18n, and WebGL.
  • Activity-Based Triggering: Directs the AI to specific references based on the user's current task to avoid information overload.
  • Broad Framework Support: Provides specific patterns for React, Angular, Vue, and Next.js.
  • Infrastructure Guidance: Covers CI/CD setup for GitHub Actions, GitLab, Docker, and parallel execution/sharding.

Related

  • Project
  • Project
  • Project
  • Project
  • Project