Playwright Dev

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

作者 microsoft99d4c415db3794d1c989be16ac4987f4529e3220無授權條款100K 個星標收錄於 2026年11月20日更新於 2026年11月20日儲存庫今天更新

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

精選僅含說明軟體開發
AI 產生的概覽

指導參與 Playwright 程式碼庫開發:新增 API、MCP 工具、CLI 指令、第三方相依套件及 WebKit 更新。

功能
此技能是 Playwright 單體儲存庫內部的開發指南,指向多份詳細文件:函式庫架構(client/server/dispatcher 與協定層)、新增或修改 API 並補上測試、新增 MCP 工具與 CLI 指令、引入第三方 npm 相依套件與打包規則、更新 WebKit 的 Safari 版本字串、WebView(iOS Safari)後端、在已發佈的 npm 版本之間二分定位回歸,以及 CLI show 指令所用的儀表板介面。它產出的是開發指引,而非檔案或程式碼本身。
適用情境
適用於為 Playwright 本身做出貢獻時:實作新 API、MCP 工具或 CLI 指令,加入第三方相依套件,調整 WebKit/WebView 行為,或在已發佈版本之間二分定位回歸問題。
執行需求
僅為說明文件,不含腳本。需要在本機檢出 Playwright 單體儲存庫,並具備 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

來源與署名

來源:microsoft/playwright位於.claude/skills/playwright-dev提交99d4c41

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

在 README 中新增徽章

向讀者展示該技能已收錄於 SourceWeft,徽章連結到本頁。

「Listed on SourceWeft」徽章預覽
[![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)

檢舉或申請下架