Automated UI/UX comparison tool providing structural feedback and revision steps based on image analysis.
Install
mkdir -p .claude/skills/visual-verdict && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11360" && unzip -o skill.zip -d .claude/skills/visual-verdict && rm skill.zipInstalls to .claude/skills/visual-verdict
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
截图与参考图对比的结构化视觉 QA 判定Key capabilities
- →Compare UI screenshots
- →Identify layout mismatches
- →Suggest CSS revisions
- →Score visual fidelity
How it works
It performs a structural comparison between screenshots and reference designs, outputting a JSON verdict with improvement suggestions.
Inputs & outputs
When to use visual-verdict
- →Verifying UI layout fidelity
- →Automating visual regression testing
- →Generating CSS revision steps
About this skill
<Use_When>
- 任务包含视觉保真度要求(布局、间距、排版、组件样式)
- 你有一张生成截图和至少一张参考图
- 在继续编辑前需要确定性的 pass/fail 指引 </Use_When>
<Output_Contract> 只返回 JSON,结构必须精确如下:
{
"score": 0,
"verdict": "revise",
"category_match": false,
"differences": ["..."],
"suggestions": ["..."],
"reasoning": "short explanation"
}
规则:
score:0-100 的整数verdict:简短状态(pass、revise或fail)category_match:当生成截图匹配预期的 UI 类型/风格时为truedifferences[]:具体的视觉不匹配点(布局、间距、排版、配色、层级)suggestions[]:与差异挂钩的可执行下一步编辑reasoning:1-2 句话的总结
<Threshold_And_Loop>
- 通过阈值目标为 90+。
- 如果
score < 90,继续编辑,并在下一轮视觉评审前重新运行/oh-my-kimi:visual-verdict。 - 在下一张截图越过阈值之前,不要把视觉任务当作已完成。 </Threshold_And_Loop>
<Debug_Visualization> 当不匹配难以诊断时:
$visual-verdict仍是权威判定。- 用像素级 diff 工具(pixel diff / pixelmatch overlay)作为次级调试辅助,定位热点。
- 把像素 diff 的热点转写成具体的
differences[]与suggestions[]更新。 </Debug_Visualization>
Task: {{ARGUMENTS}}
When not to use it
- →When reference images are missing
Prerequisites
Limitations
- →Requires reference images
- →Threshold target 90+
How it compares
It provides a deterministic, structured JSON output for visual QA rather than subjective feedback.
Compared to similar skills
visual-verdict side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| visual-verdict (this skill) | 0 | 3mo | No flags | Intermediate |
| paper-parity | 0 | 4mo | No flags | Intermediate |
| gsd-ui-review | 0 | 4mo | No flags | Beginner |
| verify-bulk-action-bar | 0 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
paper-parity
GLaDO8
Use when comparing or recreating this repo's UI in Paper MCP and fixing parity issues against the live rendered site.
gsd-ui-review
AdityaArote
Retroactive 6-pillar visual audit of implemented frontend code
verify-bulk-action-bar
junnv93
BulkActionBar 패턴 SSOT 검증 — count chip aria-live, role=toolbar, Esc clear, indeterminate Radix, focus management, IME guard. 일괄 작업 UI 변경 시 트리거. canonical = components/common/BulkActionBar.tsx (도메인 무관 generic), components/approvals/BulkActionBar.tsx는 approvals 특화 wrapper.
campusway-frontend-quality
md-muntasir-shihab
CampusWay frontend quality workflow for Vite React and Tailwind with optional Next.js surface. Use when: improve UI, refactor components, fix layout, optimize bundle, enforce design consistency, prepare frontend PR.
preview-data-generator
rshankras
Generate sample data and a multi-variant #Preview matrix for SwiftUI views — empty/loading/error/loaded states, light/dark, Dynamic Type, locales/RTL, and devices. Use when the user says "add previews", "sample data for previews", "preview my view in different states", "preview data", "prototype thi
ui-ux-pro-max
nextlevelbuilder
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.