用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/YunosukeYoshino/harness --skill ui-evaluation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | ui-evaluation |
| description | Evaluate the running web app with Playwright E2E and agent-browser visual verification. |
| disable-model-invocation | true |
This skill provides the full browser verification flow. CI passing alone is NOT sufficient. Actual browser rendering must be confirmed.
pnpm test:smoke
If E2E fails, STOP. Fix the issue before proceeding.
Requires: agent-browser CLI installed (which agent-browser).
If not installed, skip Phase 2 and note it in the report.
For each route in apps/web/app/routes.ts:
# 1. Open page
agent-browser open "http://127.0.0.1:3000{route}"
agent-browser wait --load networkidle
# 2. Console error check (CRITICAL)
agent-browser errors
# If errors exist → record as FAIL for this route
# 3. Screenshot with annotations
mkdir -p work/qa-reports/screenshots
agent-browser screenshot --annotate "work/qa-reports/screenshots/{route-slug}.png"
# 4. Accessibility snapshot for content verification
agent-browser snapshot
# Verify expected headings/content exist in the snapshot output
For each route verified in Phase 2, additionally evaluate:
Responsive screenshots: Resize viewport and capture at 3 breakpoints:
{route-slug}-mobile.png (375px){route-slug}-tablet.png (768px){route-slug}-desktop.png (1280px)Design checks:
Naming convention: All screenshots follow {route-slug}-{viewport}.png format.
Include a "Design Quality" section in the QA report with PASS/WARN/FAIL per check. WARN items do not block completion but should be noted for follow-up.
Write to work/qa-reports/active/{slug}-browser.md:
work/qa-reports/active/ before completion{route-slug}-{viewport}.png convention