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