playwright-dev
作者: microsoft
扩展Playwright的新API、MCP工具、CLI命令及内置依赖的指南。涵盖单体仓库结构、构建/测试/代码检查工作流,以及通过CLAUDE.md引用的编码规范。包含实现客户端/服务器API、编写测试和修改协议层的详细步骤。说明如何在Playwright生态系统中添加MCP工具、CLI命令和配置选项。记录将第三方npm包打包为内置依赖的过程...
npx skills add https://github.com/microsoft/playwright --skill playwright-devPlaywright 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