PluginBench
Skill
Official
Review
Audit score 70

playwright-dev

microsoft/playwright

Development guide for extending Playwright with APIs, MCP tools, CLI commands, and vendor dependencies.

What is playwright-dev?

This skill provides structured guidance for contributing to Playwright's codebase. It covers the monorepo structure, library architecture, API development, tooling integration, and dependency management—essential for developers who want to add features or modify the Playwright framework itself.

  • Navigate monorepo structure, build, test, and lint commands via CLAUDE.md reference
  • Understand client/server/dispatcher architecture and protocol layer design
  • Add and modify Playwright APIs with proper client/server implementation and tests
  • Develop MCP tools and CLI commands with configuration options
  • Manage vendor dependencies, bundling strategies, and npm package vendoring
  • Update WebKit/Safari version strings and work with WebView backends

How to install playwright-dev

npx skills add https://github.com/microsoft/playwright --skill playwright-dev
Prerequisites
  • Playwright repository cloned locally
  • Node.js and npm installed
  • Familiarity with TypeScript and client/server architecture
Claude Code
Cursor
Windsurf
Cline

How to use playwright-dev

  1. 1.Review CLAUDE.md for monorepo structure and build/test/lint commands
  2. 2.Consult the relevant detailed guide (api.md, tools.md, vendor.md, etc.) for your task
  3. 3.Follow the architecture patterns and coding conventions documented
  4. 4.Implement changes in the appropriate client/server/dispatcher layer
  5. 5.Add or update tests according to project standards
  6. 6.Run build, test, and lint commands to validate changes

Use cases

Good for
  • Adding a new browser automation API to Playwright core
  • Implementing a custom MCP tool for agent integration
  • Updating vendor dependencies and resolving bundling conflicts
  • Debugging regressions by comparing behavior across Playwright versions
  • Contributing WebView or Safari-specific features to the project
Who it's for
  • Playwright core contributors
  • Framework maintainers extending Playwright
  • Developers building custom MCP integrations
  • Contributors working on browser backend support

playwright-dev FAQ

Where do I find the monorepo structure and build commands?

See CLAUDE.md at the repository root for the complete monorepo layout, build/test/lint commands, and coding conventions.

How do I add a new API to Playwright?

Follow the api.md guide, which covers defining API docs, implementing both client and server sides, and adding corresponding tests.

What's the difference between utilsBundle, coreBundle, and babelBundle?

These are bundling strategies for vendor dependencies. See vendor.md for details on when to use each and how to add vendored npm packages.

How do I debug a regression across different Playwright versions?

Use the bisect-published-versions.md guide to reproduce issues side-by-side from npm and diff node_modules/playwright/lib/ between versions.

Where is the code for the Playwright dashboard?

The dashboard powers the 'playwright cli show' command. See dashboard.md for guidance on working with its UI.

Full instructions (SKILL.md)

Source of truth, from microsoft/playwright.


name: playwright-dev description: Explains how to develop Playwright - add APIs, MCP tools, CLI commands, and vendor dependencies.

Playwright Development Guide

See CLAUDE.md for monorepo structure, build/test/lint commands, and coding conventions.

Detailed Guides