Agent skill
e2e-testing
Playwright E2E 测试 — T 阶段 (Path C+)
Install this agent skill to your Project
npx add-skill https://github.com/WenJunDuan/Rlues/tree/main/vibeCoding/config-agent_v8.9/.claude/skills/e2e-testing
SKILL.md
触发
Path C+ 的 T 阶段, 且项目有前端或 API 端点。
流程
- 检查 playwright 是否安装, 未安装则
npm install -D @playwright/test - 从 plan.md 提取关键用户流
- 编写或更新 E2E 测试
npx playwright test执行- 失败 → 截图保存 → 修复 → 重跑 (最多 3 轮)
- 结果写入 verified.md
降级
无 Playwright → 用 curl/fetch 做 API 冒烟测试。 纯 CLI 工具 → 跳过 E2E, 只跑单测。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-teams
Path D 并行编排 — 子代理分工 + Agent Teams 协作。需要 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
tdd
Path 分级 TDD 策略
context7
E 阶段按需拉取库文档 — 用 ctx7 获取准确 API 信息
knowledge
跨会话经验管理 — 在 .ai_state 内沉淀和复用项目经验
code-quality
Rev 阶段 Plugin 编排顺序
verification
V 阶段 Path 分级验证清单
Didn't find tool you were looking for?