verify Skill
验证对 e2e 运行器、引擎、CLI、reporter、MCP 服务器或文档的改动,从用户视角确认其真实表现——针对测试台和基准应用运行真实 CLI,必要时带界面运行并录制视频,修复类改动用 main 分支与该分支对比。迭代过程中和提交 PR 前使用;被要求运行、测试、检查或截图某物时;复现 bug 报告时;以及任何你本想说“编译通过”的场合。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
Verify
Every change ships with evidence from the real thing. Unit tests passing is
not evidence that the CLI prints the right line, a locator finds the node on
a real page, or an agent step replays. The testbed and the benchmarks are
the app here: they consume the built packages the way a user does. Use
this skill in the loop, not only at the end: change, build, run, look,
repeat.
Setup
pnpm install --frozen-lockfile
pnpm --filter @e2e-dev/web exec playwright-core install chromium
pnpm build # every consumer below runs dist; rebuild after each change
A stale dist is the most common false result. Rebuild before trusting any
run, and after switching branches.
Pick the surface
| Change | Run | Proves |
| --- | --- | --- |
| Runner, collect, locator, config, sessions, CLI flags | the testbed suite, or the file covering it | The built CLI end to end on a deterministic app |
| Reporters (list, json, markdown, junit) | the testbed file plus test:stress | The printed and written output, hostile titles included |
| @e2e-dev/web | the testbed file, then the web benchmark's tests/ | Real Chromium on plain and hard surfaces |
| Agent (src/agent/), prompts, trace cache | the web benchmark's tests-agent/ replay, then --no-cache --ai-trace | Replay still hits, and the live agent still reaches the goal |
| @e2e-dev/mobile | the mobile benchmark on a simulator or emulator | Real devices; see apps/mobile-benchmark |
| e2e mcp | the e2e MCP server on the testbed | The tools as a coding agent sees them |
| e2e init, packaging, the skill | packed tarballs in a scratch project under /tmp | What a new user gets from npm |
| Docs pages | pnpm docs:check | Links, anchors, examples, package manager tabs, and logos |
| @e2e-dev/github | the PR's own e2e-github comments | The comment a user's PR gets |
Commands (run from the app directory; call the CLI directly, since
pnpm run