# Playwright Best Practices (agent skill)

> Playwright Best Practices is an agent skill (a SKILL.md file) from currents-dev/playwright-best-practices-skill. Agents load it when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth. It works with Claude Code and has 391 GitHub stars.

Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions, multi-tab/popup flows, mobile/responsive layouts, touch gestures, GraphQL, error handling, offline mode, multi-user collaboration, third-party services (payments, email verification),…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/currents-dev/playwright-best-practices-skill |
| Skill path | playwright-best-practices/SKILL.md |
| Skill name | playwright-best-practices |
| GitHub stars | 391 |
| Installs on skills.sh | 90,405 |
| License | MIT |
| Skills in repo | 1 |
| Plugin marketplace | no |
| Official | yes |
| Works with | Claude Code |
| Category | Testing & QA |
| Last commit | Jul 21, 2026 |

## When it triggers

- Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file upl

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/currents-dev/playwright-best-practices-skill.git
cp -r playwright-best-practices-skill/playwright-best-practices ~/.claude/skills/playwright-best-practices   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/currents-dev/playwright-best-practices-skill.git
cp -r playwright-best-practices-skill/playwright-best-practices .agents/skills/playwright-best-practices   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/currents-dev/playwright-best-practices-skill.git
cp -r playwright-best-practices-skill/playwright-best-practices .cursor/skills/playwright-best-practices   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/currents-dev/playwright-best-practices-skill/playwright-best-practices

---

Canonical page: https://appsgit.com/skills/currents-dev-playwright-best-practices
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
