AgentSkillsCN

handoff-review

第 6 阶段:通过 python3 -m http.server 8899 提供服务,截取亮模式屏幕(fullPage),切换 .dark 类+截取暗模式屏幕,比较 3 个声明元素[预期 vs 现实],用 modify_frontend 修复差距(最多 2 轮),报告。

SKILL.md
--- frontmatter
name: handoff-review
description: "Phase 6: Serve via python3 -m http.server 8899, screenshot light mode (fullPage), toggle .dark class + screenshot dark mode, compare 3 declared elements [expected vs present], fix gaps with modify_frontend (max 2 cycles), report."
phase: 6

Phase 6: FINAL REVIEW — Visual validation and report

When

After Phase 5 audit passes. Last step of the design pipeline.

Input (from Phase 5)

  • Audited components with all Critical/Major issues resolved.
  • WCAG AA validated. Anti-AI-slop checks passed.
  • design-system.md as the source of truth.

Steps

  1. Screenshot light mode — Use mcp__playwright__browser_take_screenshot on every key page/component via localhost in light mode.
  2. Screenshot dark mode — Switch to dark mode, take screenshots of the same pages/components.
  3. Compare 3 declared elements — For each page, compare these 3 elements against the inspiration site screenshots from Phase 3:
    • Color contrast and readability.
    • Component spacing and alignment.
    • Animation and hover state consistency.
  4. Cross-viewport check — Screenshot at mobile (375px), tablet (768px), and desktop (1440px) widths using mcp__playwright__browser_resize.
  5. Fix gaps — If comparison reveals issues, use mcp__gemini-design__modify_frontend to fix. Maximum 2 fix cycles.
  6. Generate report with:
    • Side-by-side light/dark screenshots.
    • List of verified components with status (pass/fail).
    • Any remaining Minor issues from Phase 5 audit.
    • Summary of fixes applied during this phase.

Output

  • Final report with light/dark screenshots at 3 viewports.
  • All components verified visually. Gaps fixed (max 2 cycles).
  • Design pipeline complete — HTML/CSS delivered.