Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)41k · #7032

visual-verdict

Skill này làm gì

Skill này kiểm tra ảnh chụp màn hình giao diện tạo ra khớp với một hoặc nhiều ảnh tham chiếu đến mức nào. Skill dành cho nhà thiết kế và lập trình viên cần một quyết định đạt hoặc sửa lại rõ ràng về chi tiết hình ảnh.

Khi nào nên dùng

  • ✓Khi một màn hình phải khớp với ảnh tham chiếu về bố cục, khoảng cách hoặc kiểu chữ.
  • ✓Khi bạn muốn có điểm số và danh sách khác biệt hình ảnh sau một chỉnh sửa.
  • ✓Khi bạn cần quyết định đạt hoặc sửa lại rõ ràng trước khi thực hiện thêm thay đổi.

Liên kết skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/visual-verdict/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/visual-verdict/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“So sánh ảnh chụp màn hình bảng điều khiển mới này với thiết kế tham chiếu của chúng tôi, và cho tôi biết những gì vẫn cần thay đổi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xem ảnh chụp màn hình và các ảnh tham chiếu, rồi trả về một kết quả có cấu trúc gồm điểm số, phán quyết, các khác biệt hình ảnh đã tìm thấy và các chỉnh sửa gợi ý tiếp theo. Điểm từ 90 trở lên là mục tiêu để đạt.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

<Purpose> Use this skill to compare generated UI screenshots against one or more reference images and return a strict JSON verdict that can drive the next edit iteration. </Purpose> <Use_When> - The task includes visual fidelity requirements (layout, spacing, typography, component styling) - You have a generated screenshot and at least one reference image - You need deterministic pass/fail guidance before continuing edits </Use_When> <Inputs> - `reference_images[]` (one or more image paths) - `generated_screenshot` (current output image) - Optional: `category_hint` (e.g., `hackernews`, `sns-feed`, `dashboard`) </Inputs> <Output_Contract> Return **JSON only** with this exact shape:
{
  "score": 0,
  "verdict": "revise",
  "category_match": false,
  "differences": ["..."],
  "suggestions": ["..."],
  "reasoning": "short explanation"
}

Rules:

  • score: integer 0-100
  • verdict: short status (pass, revise, or fail)
  • category_match: true when the generated screenshot matches the intended UI category/style
  • differences[]: concrete visual mismatches (layout, spacing, typography, colors, hierarchy)
  • suggestions[]: actionable next edits tied to the differences
  • reasoning: 1-2 sentence summary
<Threshold_And_Loop> - Target pass threshold is **90+**. - If `score < 90`, continue editing and rerun `/oh-my-claudecode:visual-verdict` before any further visual review pass. - Do **not** treat the visual task as complete until the next screenshot clears the threshold. </Threshold_And_Loop> <Debug_Visualization> When mismatch diagnosis is hard: 1. Keep `$visual-verdict` as the authoritative decision. 2. Use pixel-level diff tooling (pixel diff / pixelmatch overlay) as a **secondary debug aid** to localize hotspots. 3. Convert pixel diff hotspots into concrete `differences[]` and `suggestions[]` updates. </Debug_Visualization> <Example> ```json { "score": 87, "verdict": "revise", "category_match": true, "differences": [ "Top nav spacing is tighter than reference", "Primary button uses smaller font weight" ], "suggestions": [ "Increase nav item horizontal padding by 4px", "Set primary button font-weight to 600" ], "reasoning": "Core layout matches, but style details still diverge." } ``` </Example>

Task: {{ARGUMENTS}}

Câu hỏi thường gặp

Điểm số có nghĩa là gì?

Đó là một số nguyên từ 0 đến 100, và từ 90 trở lên là mục tiêu để đạt.

Nó có thay đổi chính thiết kế không?

Không. Nó chỉ so sánh và gợi ý chỉnh sửa, rồi bạn hoặc bước khác sẽ thực hiện.

Nó có kiểm tra một loại thiết kế không?

Có. Nó có thể ghi nhận ảnh chụp màn hình có khớp với phong cách dự định hay không, như bảng điều khiển hoặc nguồn tin tức.

Chi tiết

Mô tả gốc của tác giả

Structured visual QA verdict for screenshot-to-reference comparisons

repo: Yeachan-Heo/oh-my-claudecode

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#7032
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự