Our review
Development guide for contributing to Playwright: architecture, adding APIs, MCP tools, CLI commands, and vendored dependencies.
Strengths
- Comprehensive coverage of Playwright internals.
- Separate guides for different change types.
- Points to CLAUDE.md for coding conventions.
- Includes procedures for specific tasks like WebKit updates.
Limitations
- Specific to the Playwright monorepo.
- Requires prior knowledge of the project.
- Some sections may become outdated as code evolves.
When implementing a feature or fix inside the Playwright source code.
When using Playwright as a testing tool or working on unrelated projects.
Security analysis
SafeThe skill only contains documentation links and no executable commands, destructive actions, or exfiltration instructions. It describes development practices for the Playwright open-source project.
No concerns found
Examples
I want to add a new method to the Playwright library. What are the steps to define the API docs, implement it on the client and server, and add tests?How do I add a new MCP tool to the Playwright MCP server? Explain where to define it and how to register it.I need to update the WebKit user-agent's Safari version string. Which file should I change and what are the testing implications?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
- Library Architecture — client/server/dispatcher structure, protocol layer, DEPS rules
- Adding and Modifying APIs — define API docs, implement client/server, add tests
- MCP Tools and CLI Commands — add MCP tools, CLI commands, config options
- Vendor Dependencies & Bundling — utilsBundle, coreBundle, babelBundle; adding vendored npm packages; DEPS.list;
check_deps - Updating WebKit Safari Version — update the Safari version string in the WebKit user-agent
- WebView (iOS Safari) Backend —
webkit/webview/against stock Mobile Safari; provisional-target pause/resume; what's upstream vs Playwright patches; local + CI test setup - Bisecting Across Published Versions — reproduce regressions side-by-side from npm and diff
node_modules/playwright/lib/between versions - Dashboard - the UI powering the "playwright cli show" command, and how to work on it
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.