·playwright
</>

playwright

thongdn-it/react-agent-skills

Playwright 测试 Next.js 应用程序的最佳实践(以前称为 test-playwright)。使用 Playwright 编写、审查或调试 E2E 测试时应使用此技能。触发涉及测试选择器、片状测试、身份验证状态、API 模拟、水化测试、并行执行、CI 配置或调试测试失败的任务。

3安装·0热度·@thongdn-it

安装

$npx skills add https://github.com/thongdn-it/react-agent-skills --skill playwright

SKILL.md

Comprehensive testing optimization guide for Playwright with Next.js applications. Contains 43 rules across 8 categories, prioritized by impact to guide reliable, fast, and maintainable E2E tests.

| 1 | Test Architecture | CRITICAL | arch- | | 2 | Selectors & Locators | CRITICAL | loc- | | 3 | Waiting & Assertions | HIGH | wait- | | 4 | Authentication & State | HIGH | auth- | | 5 | Mocking & Network | MEDIUM-HIGH | mock- | | 6 | Next.js Integration | MEDIUM | next- | | 7 | Performance & Speed | MEDIUM | perf- |

| 8 | Debugging & CI | LOW-MEDIUM | debug- |

Playwright 测试 Next.js 应用程序的最佳实践(以前称为 test-playwright)。使用 Playwright 编写、审查或调试 E2E 测试时应使用此技能。触发涉及测试选择器、片状测试、身份验证状态、API 模拟、水化测试、并行执行、CI 配置或调试测试失败的任务。 来源:thongdn-it/react-agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/thongdn-it/react-agent-skills --skill playwright
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 playwright?

Playwright 测试 Next.js 应用程序的最佳实践(以前称为 test-playwright)。使用 Playwright 编写、审查或调试 E2E 测试时应使用此技能。触发涉及测试选择器、片状测试、身份验证状态、API 模拟、水化测试、并行执行、CI 配置或调试测试失败的任务。 来源:thongdn-it/react-agent-skills。

如何安装 playwright?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/thongdn-it/react-agent-skills --skill playwright 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/thongdn-it/react-agent-skills