Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

visual-qa视觉质量保证

Agent Skill

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

总安装

392

周安装

16

GitHub Stars

2,992

下载量

127
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于辅助界面视觉规范和排版布局的质量检查。

  • 适合生成 UI 方案、检查一致性或改进组件层级。
  • 使用时需结合品牌指南和设计系统,避免装饰堆砌。
  • 涉及真实页面时应通过截图或浏览器预览验证效果。
  • 建议先在小范围测试再应用于完整产品流程。visual-qa 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Visual QA

$ARGUMENTS

CRITICAL: Your job is to find problems, not confirm things look fine. Do not rationalize, justify, or explain away what you see. If it looks wrong, report it.

Backend

  • Default (Gemini): Run the script below. All queries go to gemini-3-flash-preview.
  • --native flag in arguments: Use Claude vision — read every image with the Read tool, analyze directly. Do NOT run the Gemini script.
  • --both flag in arguments: Run Gemini first, then do native analysis. Aggregate verdicts (details below).

Mode Detection

From the arguments — freeform text with file paths:

  • Reference image mentioned + 1 screenshot → Static mode
  • Reference image + multiple frames → Dynamic mode — frames are 0.5s apart (2 FPS cadence)
  • No reference, just a question about screenshots → Question mode

Gemini Execution

Parse the arguments to construct the command. The script is at ${CLAUDE_SKILL_DIR}/scripts/visual_qa.py.

# Static
python3 ${CLAUDE_SKILL_DIR}/scripts/visual_qa.py --log .vqa.log [--context "Goal: ... Requirements: ... Verify: ..."] reference.png screenshot.png

# Dynamic
python3 ${CLAUDE_SKILL_DIR}/scripts/visual_qa.py --log .vqa.log [--context "..."] reference.png frame1.png frame2.png ...

# Question
python3 ${CLAUDE_SKILL_DIR}/scripts/visual_qa.py --log .vqa.log --question "the question" screenshot.png [frame2.png ...]

Always pass --log.vqa.log. Print the script output as your response.

Native Execution

Read every image file referenced in the arguments using the Read tool. Analyze using the criteria and output format below. Never look at code — only images.

After producing output, append a debug log entry:

printf '%s\n' "$(cat <<'LOGEOF'
{"ts":"$(date -u +%Y-%m-%dT%H:%M:%SZ)","mode":"MODE","model":"native","query":"QUERY","files":["FILE1","FILE2"],"output":"FIRST_LINE..."}
LOGEOF
)" >> .vqa.log

Aggregated Mode (--both)

  1. Run Gemini script, capture output
  2. Read all images with Read tool, do native analysis using criteria below
  3. Produce combined verdict:

- Either says failfail - Either says warning and neither failwarning - Both passpass

  1. Merge issue lists from both, deduplicate by location + description
  2. Label each issue source: [gemini], [native], or [both]
  3. Log both outputs to .vqa.log

Analysis Criteria

Implementation Quality (static + dynamic)

Assets are usually fine — what breaks is how they're placed, scaled, composed:

  • Grid/uniform placement when reference shows organic arrangement
  • Uniform/default scale when reference shows varied, purposeful sizing
  • Flat composition when reference has depth and layering
  • Stretched, tiled, or carelessly applied materials
  • Objects unrelated to environment (just placed on a flat plane)
  • Camera framing doesn't match reference perspective

Visual Bugs

  • Z-fighting (flickering overlapping surfaces)
  • Texture stretching, tiling seams, missing textures (magenta/checkerboard)
  • Geometry clipping (objects visibly intersecting)
  • Floating objects that should be grounded
  • Shadow artifacts (detached, through walls, missing)
  • Lighting leaks through opaque geometry
  • Culling errors (missing faces, disappearing objects)
  • UI overlap, truncated text, offscreen elements

Logical Inconsistencies

  • Impossible orientations (sideways, upside-down, embedded in terrain)
  • Scale mismatches (tree smaller than character, door too small)
  • Misplaced objects (furniture on ceiling, rocks in sky)
  • Broken spatial relationships (bridge not connecting, stairs into wall)

Placeholder Remnants

  • Untextured primitives contrasting with surrounding detail
  • Default Godot materials (grey StandardMaterial3D, magenta missing shader)
  • Debug artifacts (collision shapes, nav mesh, axis gizmos)

Motion & Animation (dynamic mode only)

Compare consecutive frames (0.5s apart):

  • Stuck entities (same position/pose across frames when movement expected)
  • Jitter/teleportation (large position jumps between frames)
  • Sliding (position changes but pose frozen — ice-skating)
  • Physics breaks (objects through walls, endless bouncing, unnatural acceleration)
  • Animation mismatches (walk anim at running speed, idle while moving)
  • Camera issues (sudden jumps, clipping through geometry)
  • Collision failures (overlapping objects that should collide)

Output Format

Static / Dynamic

### Verdict: {pass | fail | warning}

### Reference Match
{1-3 sentences: does the game capture the reference's *intent* — placement logic, scaling, composition, camera? Distinguish lazy implementation (fail) from asset/engine limitations (acceptable).}

### Goal Assessment
{1-3 sentences from Task Context. "No task context provided." if none.}

### Issues

{If none: "No issues detected." Otherwise:}

#### Issue {N}: {short title}
- **Type:** style mismatch | visual bug | logical inconsistency | motion anomaly | placeholder
- **Severity:** major | minor | note
- **Frames:** {dynamic only: which frames}
- **Location:** {where in frame}
- **Description:** {1-2 sentences}

### Summary
{One sentence.}

Severity: major/minor = must fix. note = cosmetic, can ship.

Question Mode

### Answer
{Direct, specific, actionable answer. Reference locations, frames, colors, objects.}

### Visual Evidence
{What in the screenshots supports the answer. Reference specific frames and locations.}

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.34%
按下载量换算50

Claude

29.61%
按下载量换算38

Cursor

19.2%
按下载量换算24

Gemini CLI

8.83%
按下载量换算11

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills