Playwright Dev

microsoft/playwright/.claude/skills/playwright-dev

by microsoft99d4c415db3794d1c989be16ac4987f4529e3220No license100K starsListed Nov 20, 2026Updated Nov 20, 2026Repository updated today

Explains how to develop Playwright - add APIs, MCP tools, CLI commands, and vendor dependencies.

FeaturedInstructions onlySoftware Development
AI-generated overview

Guides contributing to the Playwright codebase: adding APIs, MCP tools, CLI commands, vendor dependencies and WebKit updates.

What it does
This skill is a development guide for working inside the Playwright monorepo. It points to detailed references covering library architecture (client/server/dispatcher and protocol layer), adding or modifying APIs with tests, adding MCP tools and CLI commands, vendoring npm dependencies and bundling rules, updating the WebKit Safari version string, the WebView iOS Safari backend, bisecting regressions across published npm versions, and the dashboard UI behind the CLI show command. It produces guidance rather than files or code itself.
When to use it
Use it when contributing to Playwright itself — implementing a new API, MCP tool or CLI command, adding a vendored dependency, adjusting WebKit/WebView behavior, or bisecting a regression between published versions.
Requirements
Instructions only, no scripts. Assumes a local checkout of the Playwright monorepo and its build, test and lint tooling as described in AGENTS.md.

Playwright Development Guide

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

Detailed Guides

  • Library Architecture [blocked] — client/server/dispatcher structure, protocol layer, DEPS rules
  • Adding and Modifying APIs [blocked] — define API docs, implement client/server, add tests
  • MCP Tools and CLI Commands [blocked] — add MCP tools, CLI commands, config options
  • Vendor Dependencies & Bundling [blocked] — utilsBundle, coreBundle, babelBundle; adding vendored npm packages; DEPS.list; check_deps
  • Updating WebKit Safari Version [blocked] — update the Safari version string in the WebKit user-agent
  • WebView (iOS Safari) Backend [blocked] — webkit/webview/ against stock Mobile Safari; provisional-target pause/resume; what's upstream vs Playwright patches; local + CI test setup
  • Bisecting Across Published Versions [blocked] — reproduce regressions side-by-side from npm and diff node_modules/playwright/lib/ between versions
  • Dashboard [blocked] - the UI powering the "playwright cli show" command, and how to work on it

Source and attribution

Source:microsoft/playwrightin.claude/skills/playwright-devat commit99d4c41

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Add a badge to your README

Show readers this skill is listed on SourceWeft. The badge links to this page.

Preview of the “Listed on SourceWeft” badge
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-microsoft-playwright-playwright-dev.svg)](https://sourceweft.com/skills/gh-microsoft-playwright-playwright-dev?utm_source=readme&utm_medium=badge)

Report or request removal