PluginBench
Skill
Official
Review
Audit score 70

playwright-dev

microsoft/playwright

Guide for contributing to Playwright: add APIs, MCP tools, CLI commands, and manage vendor dependencies.

What is playwright-dev?

This skill provides detailed documentation for developing and extending Playwright itself. Use it when you need to add new APIs, implement MCP tools, create CLI commands, manage vendor dependencies, or understand Playwright's internal architecture.

  • Navigate monorepo structure, build/test/lint commands, and coding conventions
  • Define and implement new APIs with client/server architecture and protocol layer
  • Add MCP tools and CLI commands with configuration options
  • Manage vendor dependencies, bundling, and npm package vendoring
  • Update WebKit Safari versions and maintain WebView backend compatibility
  • Bisect regressions across published versions for debugging

How to install playwright-dev

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

How to use playwright-dev

  1. 1.Review CLAUDE.md for monorepo structure and build 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 DEPS rules documented in library.md
  4. 4.Implement your changes and run the test/lint commands from CLAUDE.md
  5. 5.For vendor changes, update DEPS.list and run check_deps validation

Use cases

Good for
  • Adding a new browser automation API to Playwright core
  • Implementing a new MCP tool or CLI command for the Playwright CLI
  • Vendoring a new npm package and updating DEPS.list
  • Updating Safari version strings in WebKit user-agent
  • Debugging a regression by comparing behavior across published versions
Who it's for
  • Playwright core contributors
  • Library maintainers extending Playwright APIs
  • DevOps engineers managing Playwright dependencies
  • Contributors implementing MCP tools or CLI features

playwright-dev FAQ

Where do I find the monorepo structure and build commands?

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

How do I add a new API to Playwright?

Follow the guide in api.md, which covers defining API docs, implementing client/server components, and adding tests.

How do I add a new MCP tool or CLI command?

Use tools.md as your reference for adding MCP tools, CLI commands, and configuration options.

What's the process for adding a vendored npm package?

Consult vendor.md for guidance on utilsBundle, coreBundle, babelBundle, updating DEPS.list, and running check_deps.

How do I debug a regression across different Playwright versions?

See bisect-published-versions.md for instructions on reproducing regressions side-by-side from npm and diffing node_modules.

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