platforms/claude/skills/playwright/SKILL.md
Use when the task requires automating a real browser. This skill is MCP-only and uses `playwright-ext` (`@playwright/mcp --extension`) to attach to the browser extension session.
npx skillsauth add codingsamss/ai-dotfiles playwrightInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use Playwright as the reliable browser execution layer when lighter HTTP or platform-native browser paths are not enough:
playwright-ext: reliable browser executionUse a single channel only:
playwright-ext MCP.playwright-cli wrapper in this skill.@playwright/test unless the user explicitly asks for test files.Choose Playwright when:
Before proposing browser actions, verify MCP and runtime dependency:
claude mcp list | rg "playwright-ext"
command -v npx >/dev/null 2>&1
If playwright-ext is missing, have the AI merge the MCP template into ~/.claude.json, then re-check:
claude mcp list | rg "playwright-ext"
If npx is missing, ask the user to install Node.js/npm:
node --version
npm --version
brew install node
Take over from lighter browser paths when:
When Playwright takes over, say why it is now required and keep the flow inside Playwright until the critical interaction is verified.
Snapshot again after:
Refs can go stale. When a command fails due to a missing ref, snapshot again.
e12.eval and run-code unless needed.eX and say why; do not bypass refs with run-code.--headed when a visual check will help.output/playwright/ and avoid introducing new top-level artifact folders.tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。
tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。