Token导航 LogoToken导航

Agent Skill · 前端设计

visual-qa(视觉质量保证)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

visual-qa 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 1,740。

总安装 4,092周安装 174GitHub Stars 177下载 1,434核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:visual-qa(视觉质量保证)
来源仓库:https://github.com/dylanfeltus/skills
仓库路径:skills/visual-qa
安装命令:
npx skills add https://github.com/dylanfeltus/skills --skill visual-qa
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dylanfeltus/skills --skill visual-qa

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

visual-qa 使用视觉模型比对截图与设计意图,自动检测布局错位、色彩不一致与响应式缺陷。适用于 UI 实现与设计稿一致性校验的前端 QA 场景。优先分析渲染结果而非源码,聚焦间距、对齐与无障碍合规问题。需配合浏览器预览或截图输入,不支持纯文本描述检查。

visual-qa 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/visual-qa

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dylanfeltus/skills --skill visual-qa;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

visual-qa 怎么安装?

在终端执行 npx skills add https://github.com/dylanfeltus/skills --skill visual-qa。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

visual-qa 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

visual-qa 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

visual-qa 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

visual-qa 用的人多吗?

公开数据是累计安装 4,092 次,近一周安装 174 次,下载 1,434 次,GitHub 177 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

visual-qa 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
visual-qa

视觉质量保证 · 本页

4,092177操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Visual QA

Use vision models to self-review screenshots against design intent. Catch spacing issues, alignment problems, color inconsistencies, responsive bugs, and accessibility gaps before shipping.

When to Use

  • User asks to "review this design" or "check this screenshot"
  • After building a page/component, before shipping
  • User wants to compare implementation vs mockup/reference
  • User asks "does this look right?" or "what's off about this?"
  • Automated design QA step in a build workflow

Core Philosophy

  • Screenshot first, then critique. Always look at the actual rendered output, not just the code.
  • Be specific. "The spacing looks off" is useless. "The gap between the heading and paragraph is 32px but should be 16px based on the surrounding spacing rhythm" is useful.
  • Prioritize impact. Not every pixel matters. Focus on what users will actually notice.
  • Reference the intent. Compare against design tokens, mockups, or stated design goals.

How to Review

Step 1: Capture the Screenshot

Use one of these methods to get a screenshot:

Via browser tool:

browser: screenshot (captures the current page)

Via node screen capture (if available):

nodes: screen_record

Via Peekaboo (macOS):

exec: peekaboo screenshot

User-provided: The user may paste/attach a screenshot directly.

Step 2: Analyze with Vision

Use the image tool to analyze the screenshot:

image: [path or URL to screenshot]
prompt: "Review this UI screenshot for design quality..."

Step 3: Structured Review

Analyze the screenshot against these categories (in priority order):


Review Categories

1. Layout & Spacing

Check for:

  • Consistent spacing rhythm (is everything on the spacing grid?)
  • Alignment — are elements that should be aligned actually aligned?
  • Padding consistency within similar components
  • Container widths and max-widths
  • Responsive behavior (if multiple viewport screenshots available)

Common issues:

  • Inconsistent padding in cards (e.g., 24px top, 16px sides)
  • Elements slightly off-grid (15px instead of 16px)
  • Text not aligned with adjacent elements
  • Sections with wildly different vertical spacing

2. Typography

Check for:

  • Hierarchy — is it clear what's a heading vs body vs caption?
  • Line length — body text should be 45–75 characters per line
  • Line height — too tight or too loose for the font size?
  • Font weight usage — are weights used consistently for the same role?
  • Orphans/widows — single words on their own line in headings

Common issues:

  • Heading that doesn't look like a heading (weight/size too close to body)
  • Body text line length > 80 characters (hard to read)
  • Inconsistent heading sizes across sections
  • All-caps text without letter-spacing adjustment

3. Color & Contrast

Check for:

  • Text/background contrast (does it look readable?)
  • Consistent use of brand colors
  • Color meaning consistency (is the same blue used for links AND errors?)
  • Dark mode issues (if applicable)
  • Hover/active state visibility

Common issues:

  • Light gray text on white background (contrast fail)
  • Primary color used for too many different purposes
  • Borders that are nearly invisible
  • Status colors that conflict (green for danger, red for success)

4. Visual Hierarchy

Check for:

  • Eye flow — where does the eye go first? Is that correct?
  • CTA prominence — is the primary action the most visible element?
  • Information density — too sparse or too crowded?
  • Grouping — are related items visually grouped?
  • White space — is it used intentionally or just leftover?

Common issues:

  • Two equally prominent CTAs competing for attention
  • Important information buried below less important elements
  • Sections that feel disconnected from each other
  • Dense walls of text without visual breaks

5. Component Quality

Check for:

  • Button sizing and padding consistency
  • Input field styling consistency
  • Card styling consistency (shadows, borders, radius)
  • Icon sizing and alignment with text
  • Image aspect ratios and cropping

Common issues:

  • Buttons with inconsistent padding or height
  • Mixed border-radius values (some 8px, some 12px, some 4px)
  • Icons misaligned with adjacent text baselines
  • Images stretched or poorly cropped

6. Polish & Micro-details

Check for:

  • Hover states exist and are visible
  • Focus states for keyboard navigation
  • Loading states (skeleton screens, spinners)
  • Empty states (what shows when there's no data?)
  • Transitions between states (abrupt vs smooth)
  • Favicon and OG image (if reviewing a full page)

Common issues:

  • No hover state on interactive elements
  • Focus ring removed with no replacement
  • Abrupt content shifts when data loads
  • No empty state — just a blank area

7. Responsive Issues (if multiple viewports available)

Check for:

  • Content readable on mobile (not too small)
  • Touch targets ≥ 44px on mobile
  • Navigation accessible on small screens
  • Images not overflowing containers
  • Horizontal scroll (almost always a bug)

Output Format

Full Review

### Visual QA Review

**Overall impression:** [One sentence — first gut reaction]
**Quality score:** [1-10] / 10

#### 🔴 Critical Issues (fix before shipping)
1. **[Category]:** [Specific issue with exact details]
   → **Fix:** [Actionable recommendation]

#### 🟡 Improvements (should fix)
1. **[Category]:** [Specific issue]
   → **Fix:** [Recommendation]

#### 🟢 Minor Polish (nice to fix)
1. **[Category]:** [Specific issue]
   → **Fix:** [Recommendation]

#### ✅ What's Working Well
- [Specific praise — what's well-executed]
- [Another positive]

Quick Review

### Quick QA: [Page/Component Name]

Score: [X]/10

Top 3 fixes:
1. [Most impactful issue + fix]
2. [Second issue + fix]
3. [Third issue + fix]

Looks good: [What's working]

Comparison Review (Implementation vs Mockup)

### Design vs Implementation Review

**Fidelity score:** [1-10] / 10

#### Deviations Found
1. **[Element]:** Mockup shows [X], implementation has [Y]
   Impact: [High/Medium/Low]
   → **Fix:** [How to match the mockup]

#### Matching Well
- [Elements that accurately match the design]

Review Prompts for Vision Model

Use these prompts with the image tool depending on what you need:

General Review

Review this UI screenshot for design quality. Check spacing consistency,
typography hierarchy, color contrast, visual hierarchy, and component
quality. Be specific about issues — reference exact elements and suggest
fixes. Prioritize by impact.

Spacing & Layout Focus

Analyze the spacing and layout of this UI. Check if elements follow a
consistent spacing grid, if padding within similar components matches,
if alignment is correct, and if the overall spacing rhythm feels right.
Note any elements that appear off-grid or inconsistently spaced.

Comparison Review

Compare these two images. The first is the design mockup, the second is
the implementation. Identify every deviation — differences in spacing,
color, typography, alignment, or missing elements. Rate the fidelity
on a 1-10 scale.

Responsive Check

Review this mobile screenshot for responsive design quality. Check that
text is readable, touch targets are large enough (≥44px), nothing
overflows the viewport, and the layout adapts well to the narrow width.

Accessibility Focus

Review this UI screenshot for visual accessibility. Check text contrast
against backgrounds, focus indicator visibility, touch target sizes,
color-only information (anything that relies solely on color to convey
meaning), and text readability at the shown sizes.

Integration with Build Workflow

After Building a Component

  1. Render the component in the browser
  2. Take a screenshot
  3. Run visual QA review
  4. Fix issues
  5. Re-screenshot and verify

After Building a Full Page

  1. Screenshot at desktop (1440px), tablet (768px), and mobile (375px)
  2. Run responsive review across all three
  3. Run full review on the desktop version
  4. Fix issues, prioritizing critical ones

Comparing to a Mockup

  1. Get the mockup image (Figma export, screenshot, user-provided)
  2. Screenshot the implementation at the same viewport size
  3. Run comparison review
  4. Fix deviations by priority

Examples

Example 1: "Review this landing page screenshot"

image: [screenshot path]
prompt: "Review this landing page for design quality. Check spacing
consistency, typography hierarchy, visual hierarchy (where does the eye
go first?), CTA prominence, color contrast, and overall polish. Be
specific about issues and suggest fixes. Rate 1-10."

Example 2: "Does my implementation match this Figma design?"

image: [mockup.png, implementation.png]
prompt: "Compare these two images. First is the Figma mockup, second
is the implementation. Identify every deviation in spacing, color,
typography, alignment, and missing elements. Rate fidelity 1-10."

Example 3: "Check if this component looks good on mobile"

image: [mobile-screenshot.png]
prompt: "Review this mobile UI. Is text readable? Are touch targets
large enough (≥44px)? Does anything overflow? Is the layout well-adapted
to mobile width? Check contrast and spacing."

平台分布

Codex

36.96%
按下载量换算530

Claude

29.64%
按下载量换算425

Cursor

20.32%
按下载量换算291

Gemini CLI

9.07%
按下载量换算130

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills