Skip to content
mcp/skillhub

Agent Skill

Playwright Best Practices skill

playwright-best-practicescurrents-dev/playwright-best-practices-skillplaywright-best-practices/SKILL.md

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), console error monitoring, global setup/teardown, test annotations (skip, fixme, slow), test tags (@smoke, @fast, @critical, filtering with --grep), project dependencies, security testing (XSS, CSRF, auth), performance budgets (Web Vitals, Lighthouse), iframes, component testing, canvas/WebGL, service workers/PWA, test coverage, i18n/localization, Electron apps, or browser extension testing. Covers E2E, component, API, visual, accessibility, security, Electron, and extension testing.

406MIT

always on

214 tokname + description

once used

4,680 tokSKILL.md body

bundled files

58719 KB

installs

97kskills.sh

Install the Playwright Best Practices skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/currents-dev/playwright-best-practices-skill --skill playwright-best-practices

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/currents-dev/playwright-best-practices-skill.git /tmp/playwright-best-practices-skill
mkdir -p ~/.claude/skills
cp -R /tmp/playwright-best-practices-skill/playwright-best-practices ~/.claude/skills/playwright-best-practices

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description214 tok
When the agent uses itThe SKILL.md instructions4,680 tok
Only if opened58 bundled files (719 KB)varies

Until it is used, playwright-best-practices costs about 6.4× less than the median MCP server we measured (1,362 tokens on every turn). Skills vs MCP study

Checks

Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Playwright Best Practices
  • Activity-Based Reference Guide
  • Writing New Tests
  • Mobile & Responsive Testing
  • Real-Time & Browser APIs
  • Debugging & Troubleshooting
  • Error & Edge Case Testing
  • Multi-User & Collaboration Testing
  • Architecture Decisions
  • Framework-Specific Testing
  • Refactoring & Maintenance
  • Infrastructure & Configuration
  • Advanced Patterns
  • Quick Decision Tree
  • Test Validation Loop