Agent skill

Playwright Pipeline

by SurveyController in SurveyController/SurveyController

面向 SurveyController 仓库 v3 分支的 Playwright 作答执行层技能。仅在修改或排查 Playwright 作答链路、异步浏览器 owner/context 池、BrowserDriver 封装、页面加载、运行时答题、翻页、提交、取消、超时、资源释放和并发调度时使用。只能用于 v3 分支;只允许系统自带 Microsoft Edge,不允许安装或引入…

GPL-3.0Auto-check passedTesting & QA

Install Playwright Pipeline

skills CLI
$ npx skills add SurveyController/SurveyController --skill playwright-pipeline -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SurveyController/SurveyController playwright-pipeline --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SurveyController/SurveyController.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/playwright-pipeline .claude/skills/playwright-pipeline && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
playwright-pipeline
GitHub stars
142
Token cost
~945 tokens
SKILL.md length
200 words
Files
2
Skills in repo
9
Repo updated
First seen
Licence
GPL-3.0

At a glance

面向 SurveyController 仓库 v3 分支的 Playwright 作答执行层技能。仅在修改或排查 Playwright 作答链路、异步浏览器 owner/context 池、BrowserDriver 封装、页面加载、运行时答题、翻页、提交、取消、超时、资源释放和并发调度时使用。只能用于 v3 分支;只允许系统自带 Microsoft Edge,不允许安装或引入…

  • Works in 6 steps: 只能用系统 Microsoft Edge。 → 不准执行或建议执行 playwright install chromium。 → 全量异步。 → …
  • Tasks that involve Browser testing
  • SKILL.md covers scope, must_read, hard_rules and architecture_boundaries, plus 3 more sections
  • Calls uv, playwright and git

What it does

Playwright Pipeline is an agent skill from SurveyController/SurveyController. 面向 SurveyController 仓库 v3 分支的 Playwright 作答执行层技能。仅在修改或排查 Playwright 作答链路、异步浏览器 owner/context 池、BrowserDriver 封装、页面加载、运行时答题、翻页、提交、取消、超时、资源释放和并发调度时使用。只能用于 v3 分支;只允许系统自带 Microsoft Edge,不允许安装或引入 Chromium;要求全量异步,不使用 Playwright syncapi。

Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Testing & QA, covering Browser testing. It works with Playwright. The repository describes itself as: 适用于问卷星、腾讯问卷、Credamo见数平台的纯HTTP高并发提交程序. The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Browser testing

Example prompts

  • “/playwright-pipeline”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 只能用系统 Microsoft Edge。
  2. 不准执行或建议执行 playwright install chromium。
  3. 全量异步。
  4. async 函数里不准阻塞事件循环。
  5. 不准把平台题型细节塞进浏览器通用层。
  6. 不准恢复旧浏览器兜底屎山。

What it can do on your machine

Read from SKILL.md and the folder at commit 1a22ba3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • playwright
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Playwright Pipeline loads about 945 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 200 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~945

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from SurveyController/SurveyController at commit 1a22ba3, republished under its GPL-3.0 licence (© SurveyController). 200 words, ~945 tokens.

Download SKILL.mdSave it as .claude/skills/playwright-pipeline/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
playwright-pipeline
description
面向 SurveyController 仓库 v3 分支的 Playwright 作答执行层技能。仅在修改或排查 Playwright 作答链路、异步浏览器 owner/context 池、BrowserDriver 封装、页面加载、运行时答题、翻页、提交、取消、超时、资源释放和并发调度时使用。只能用于 v3 分支;只允许系统自带 Microsoft Edge,不允许安装或引入 Chromium;要求全量异步,不使用 Playwright sync_api。

playwright-pipeline

scope

这个 skill 处理 v3 的 Playwright 作答执行层。 重点是浏览器生命周期、上下文池、页面加载、题目交互、翻页、提交、停止、异常和资源释放。

先确认当前分支:

bash
git branch --show-current

不是 v3 时不要直接改 Playwright 作答链路。 除非用户明确要求把 v3 方案迁到当前分支。

must_read

改动前先读相关文件。 不要凭记忆猜。

  • software/network/browser/startup.py
  • software/network/browser/options.py
  • software/network/browser/runtime_async.py
  • software/network/browser/async_owner_pool.py
  • software/network/browser/pool_config.py
  • software/core/engine/async_engine.py
  • software/core/engine/async_runtime_loop.py
  • software/core/engine/page_loader.py
  • software/core/engine/submission_service.py
  • 目标平台的运行时文件:wjx/provider/runtime*.py、wjx/provider/answering*.py、wjx/provider/navigation.py、wjx/provider/submission*.py
  • 目标平台的运行时文件:tencent/provider/runtime*.py、tencent/provider/answering*.py、tencent/provider/navigation.py、tencent/provider/submission*.py
  • 目标平台的运行时文件:credamo/provider/runtime*.py、credamo/provider/submission.py

hard_rules

  1. 只能用系统 Microsoft Edge。 Playwright 要走 chromium.launch(channel="msedge")。 项目现有入口是 software/network/browser/options.py::_build_launch_args()。
  2. 不准执行或建议执行 playwright install chromium。 不要新增 Chromium 下载、捆绑、兜底或自动安装逻辑。
  3. 全量异步。 只能用 playwright.async_api。 不准引入 playwright.sync_api。
  4. async 函数里不准阻塞事件循环。 不要用 time.sleep()、同步网络请求、长时间同步文件 IO、同步等待子进程。 必须做阻塞系统调用时,用现有封装或 asyncio.to_thread() 隔离。
  5. 不准把平台题型细节塞进浏览器通用层。 software/network/browser/ 只放浏览器能力。 平台 DOM 规则留在各自 provider。
  6. 不准恢复旧浏览器兜底屎山。 v3 是 Playwright 作答执行层,不是把 HTTP 链路和浏览器链路乱搅在一起。

architecture_boundaries

  • 启动层:startup.py 负责延迟导入 async_playwright、启动重试、环境错误分类。
  • 参数层:options.py 负责 selector、proxy、launch/context 参数。 Edge-only 规则放这里。
  • owner/context 池:async_owner_pool.py 负责少量浏览器、多 context、并发槽位、断线恢复和 shutdown。
  • driver 封装:runtime_async.py 负责把 Playwright async page/element 包成项目内部 BrowserDriver 协议。
  • 执行引擎:software/core/engine/ 负责任务调度、停止信号、页面加载、提交检测、状态回传。
  • 平台运行时:wjx/、tencent/、credamo/ 负责 DOM 定位、题型交互、翻页和提交按钮。

workflow

  1. 先定位问题属于哪一层。 浏览器拉不起看 startup.py 和 options.py。 并发卡死看 async_owner_pool.py 和 async_runtime_loop.py。 页面加载失败看 page_loader.py。 某题型填错看平台 runtime_interactions.py、runtime_answerers.py 或 answering_direct.py。 提交后判断错看 submission_service.py 和平台 submission*.py。
  2. 保持异步调用链完整。 新增 API 默认写成 async def。 调用 Playwright API 必须 await。 清理资源必须能被取消路径触发。
  3. 处理异常路径。 至少考虑启动失败、代理隧道失败、页面关闭、context/browser 断开、导航超时、停止信号、提交校验失败。
  4. 改并发时同时看 owner 槽位释放。 AsyncBrowserSession.close()、PlaywrightAsyncDriver.aclose()、release_callback 不能漏。
  5. 改平台作答时优先写 DOM 层小函数。 不要把一坨 JS 和重试循环塞进主流程。 屎山就是这么来的。

testing

优先补 mock 单测。 不要在普通单测访问真实问卷、真实账号或真实代理。

常用检查:

bash
uv run pytest CI/unit_tests/test_browser_helpers.py
uv run pytest CI/unit_tests/test_browser_runtime_async.py
uv run pytest CI/unit_tests/engine/test_async_owner_pool_large.py
uv run pytest CI/unit_tests/engine/test_async_runtime_loop_large.py
uv run pytest CI/unit_tests/engine
uv run pytest CI/unit_tests/providers
uv run python CI/python_ci.py

涉及真实启动、UI、打包或提交链路时,再跑:

bash
uv run python CI/python_ci.py --full

validation_checklist

  • 当前分支是否是 v3。
  • 是否仍然只启动系统 Microsoft Edge。
  • 是否没有 playwright.sync_api。
  • 是否没有 playwright install chromium 或 Chromium 兜底。
  • 是否没有在 async 函数里阻塞事件循环。
  • context、page、browser、playwright 实例是否都能关闭。
  • owner 槽位是否一定释放。
  • 停止、超时、断线、代理失败和提交校验失败是否有明确路径。
  • 平台 DOM 逻辑是否留在 provider。
  • 是否补了相关异步测试;没补要说明原因。

© SurveyController, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .codex/skills/playwright-pipeline of SurveyController/SurveyController.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 1a22ba3

Compare with similar skills

Playwright Pipeline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Playwright Pipeline compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Playwright Pipeline this skillSurveyController/SurveyController142—~945Automated safety check: PassGPL-3.0
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
Playwright CLIsanity-io/sanity6.4k18 repos~1.9kAutomated safety check: PassMIT
playwright-cli Browser Automationgithub/gh-aw5.3k23 repos~2.8kAutomated safety check: PassMIT
Write and Verify Playwright Testsappsmithorg/appsmith41k—~2.9kAutomated safety check: NotesApache-2.0
Cucumber and Playwright E2E Testslanggenius/dify158k—~682Automated safety check: PassCustom licence

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Playwright CLI

    sanity-io/sanity

    Official

    Automates browser interactions for web testing, form filling, screenshots, and data extraction.

    6.4k GitHub starsUsed in 18 repos~1.9k tokens
    Testing & QAAuto-check passed
  • Official

    Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.

    5.3k GitHub starsUsed in 23 repos~2.8k tokens
    Testing & QAAuto-check passed
  • Writes a Playwright end-to-end test from a prompt, runs it against a live Appsmith deployment and retries with fixes up to three times until it passes.

    41k GitHub stars~2.9k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Guides changes and reviews of the Cucumber and Playwright end-to-end suite under `e2e/`: feature files, step definitions, support code, tags, locators and assertions.

    158k GitHub stars~682 tokensUpdated today
    Testing & QAAuto-check passed
  • E2E Testing

    langflow-ai/langflow

    Write and review Playwright E2E tests for Langflow. An agent skill from langflow-ai/langflow.

    156k GitHub stars~3.3k tokensUpdated today
    Testing & QAAuto-check passed

More from SurveyController/SurveyController

All 9 skills in this repo
  • App Settings Migration

    SurveyController/SurveyController

    面向 SurveyController 仓库的设置、路径与配置迁移技能。用于修改 software/app/、software/io/config/、software/core/config/ 里的 QSettings 键、用户目录、配置文件路径、schema 版本、序列化字段、默认值和兼容策略,避免升级后读错配置、写错目录或把旧配置直接干爆。适合做预防性演进,不适合只修表面报错。

    142 GitHub stars~732 tokensUpdated 19 days ago
    Auto-check passed
  • Async HTTP Pipeline

    SurveyController/SurveyController

    面向 SurveyController 仓库的全异步 HTTP 解析与执行链路技能。用于修改或排查 software/network/http/、software/core/engine/、software/providers/、software/network/proxy/ 以及各平台 provider 的异步请求、响应解析、任务调度、并发控制、超时、重试、取消和资源释放问题。适合处理纯…

    142 GitHub stars~648 tokensUpdated 19 days ago
    Auto-check passed
  • Gui Development

    SurveyController/SurveyController

    面向 SurveyController 桌面端的 GUI 开发与界面修复技能。用于修改 software/ui/ 下的 PySide6 + QFluentWidgets 页面、弹窗、导航、配置编辑、运行状态展示和日志界面,处理信号槽、线程协作、对象生命周期、布局、主题和窗口缩放问题。适合做桌面界面开发、交互修复和配置同步,不适合把耗时逻辑直接塞进主线程。

    142 GitHub stars~580 tokensUpdated 19 days ago
    Auto-check passed
  • Log Config Debugging

    SurveyController/SurveyController

    面向 SurveyController 的日志、配置与报错排查技能。用于根据用户提供的日志、截图、配置文件、调用栈、运行环境和最近改动定位根因,修复 software/app/、software/io/、software/logging/、software/network/、software/ui/…

    142 GitHub stars~481 tokensUpdated 19 days ago
    Auto-check passed
  • Question Parser Rules

    SurveyController/SurveyController

    面向 SurveyController 仓库的题型解析、字段映射与 parser 规则技能。用于修改 wjx/provider/、tencent/provider/、credamo/provider/、software/core/questions/、software/providers/ 中的题目结构解析、元数据字段、题型识别、逻辑规则标记、答案模型映射和最小兼容适配。适合处理 parser…

    142 GitHub stars~653 tokensUpdated 19 days ago
    Auto-check passed
  • Structure Refactor

    SurveyController/SurveyController

    面向 SurveyController 仓库的目录结构重构与模块拆分技能。用于整理 software/、wjx/、tencent/、credamo/、CI/unittests/ 等真实目录,处理文件移动、命名调整、导入修复、测试路径更新、资源路径修复、CI 检查联动。适合在需要小步重构、保持行为不变、清理屎山边界时使用,不适合纯样式改名或无关大洗牌。

    142 GitHub stars~645 tokensUpdated 19 days ago
    Auto-check passed

Works with

Categories

Questions about Playwright Pipeline

What does Playwright Pipeline do?

面向 SurveyController 仓库 v3 分支的 Playwright 作答执行层技能。仅在修改或排查 Playwright 作答链路、异步浏览器 owner/context 池、BrowserDriver 封装、页面加载、运行时答题、翻页、提交、取消、超时、资源释放和并发调度时使用。只能用于 v3 分支;只允许系统自带 Microsoft Edge,不允许安装或引入…. Playwright Pipeline is an agent skill from SurveyController/SurveyController.

When should I use Playwright Pipeline?

Playwright Pipeline fits situations like: tasks that involve Browser testing.

How do I install Playwright Pipeline in Claude Code?

Run `npx skills add SurveyController/SurveyController --skill playwright-pipeline -a claude-code`. Or copy the skill folder (.codex/skills/playwright-pipeline in SurveyController/SurveyController) into .claude/skills/playwright-pipeline in your project. Claude Code loads it when a task matches its description.

How do I install Playwright Pipeline in Codex?

Run `npx skills add SurveyController/SurveyController --skill playwright-pipeline -a codex`. Or copy the skill folder (.codex/skills/playwright-pipeline in SurveyController/SurveyController) into .agents/skills/playwright-pipeline in your project. Codex loads it when a task matches its description.

Can I use Playwright Pipeline in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SurveyController/SurveyController --skill playwright-pipeline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/playwright-pipeline, .gemini/skills/playwright-pipeline, .github/skills/playwright-pipeline and .opencode/skills/playwright-pipeline in your project.

What does Playwright Pipeline need to run?

Going by SKILL.md and its folder, Playwright Pipeline needs the command-line tools its instructions call (uv, playwright and git). Our summary lists: Python 3.

Does Playwright Pipeline access the network?

SKILL.md contains no URLs. Its commands use uv and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Playwright Pipeline safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Playwright Pipeline use?

Playwright Pipeline is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Playwright Pipeline use?

About 945 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Playwright Pipeline?

Skills that share tags, products or a category with Playwright Pipeline: Web Application Testing (anthropics/skills, 180k stars), Playwright CLI (sanity-io/sanity, 6.4k stars), playwright-cli Browser Automation (github/gh-aw, 5.3k stars) and Write and Verify Playwright Tests (appsmithorg/appsmith, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Playwright Pipeline?

SurveyController (a GitHub organization) maintains it in SurveyController/SurveyController, which has 142 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 18, 2026.

Source: SurveyController/SurveyController on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.