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

frontend-visualqa前端视觉 QA

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

349

周安装

14

GitHub Stars

4

下载量

113
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yutori-ai/frontend-visualqa --skill frontend-visualqa

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合处理 React、Next.js、Vue、Tailwind、CSS 等主流技术栈的代码生成与审查。
  • 可整理组件结构、定位布局问题,并建议性能优化方案。
  • 需结合项目现有设计系统和构建流程使用,避免生成孤立代码片段。
  • 涉及页面改动时应配合本地预览和构建检查确认实际效果。

SKILL.md

Frontend Visual QA

Use this skill after changing UI code when DOM assertions are not enough and you need screenshot-backed proof of what the page actually rendered.

Use it for:

  • confirming the agent is on the right route or UI state
  • checking visibility, clipping, overflow, z-index, truncation, and responsive behavior
  • verifying interactive states such as modals, menus, toasts, tabs, and disabled buttons

Do not use it for:

  • starting the dev server
  • vague requests like "make it look better"
  • broad visual diffing across a large app surface

Fast Path

  1. Make sure the frontend is already running locally.
  2. Prefer the frontend-visualqa MCP tools when available. They keep browser state warm across calls.
  3. If the page is auth-gated and the user can help, call manage_browser with action="login" and the login URL. That opens a persistent headed browser the user can authenticate in. Reuse the same session_key afterward, and call manage_browser(action="close",...) when you are done with the authenticated session.
  4. If the user provides a URL and explicit claims, go straight to verify_visual_claims — it captures screenshots internally, so a separate take_screenshot is redundant.
  5. Only call take_screenshot first when you have no claims yet and need to see the page before writing them.
  6. Fix the frontend, then rerun the same claims until they pass.

Claim Discipline

Claims must be observable from pixels. Open references/claim-writing.md for examples and anti-patterns.

If a claim requires interaction before it becomes true or false, pass a navigation_hint. Keep the claim focused on the final visible state instead of burying a multi-step script inside the claim text.

For multi-claim flows where only some claims need setup, prefer a claims file and put per-claim metadata under the specific bullet, for example:

- After logging in, the dashboard shows "Welcome back, Developer"
  - navigation_hint: Type "test@yutori.com" in the email field, type "password123" in the password field, then click Continue.
- The API Calls Today stat card shows the value 1,247

When using MCP, split warm-session verification into successive verify_visual_claims calls if the setup differs between claims. Do not expect one global navigation hint to apply selectively within a single batch.

Session Strategy

Use ephemeral mode for public pages and quick checks.

Use persistent mode for auth-gated apps, multi-step flows, or any case where cookies and local storage must survive across runs. In MCP-driven workflows, bootstrap auth with manage_browser(action="login",...) before running claims.

Setup and client-specific install commands live in references/install.md. The detailed QA playbook, status meanings, and recovery steps live in references/protocol.md.

Presenting Proof to the User

Every tool response includes file paths to screenshot evidence. Always surface this proof — do not just summarize the text result.

verify_visual_claims returns an artifacts_dir and, for each claim, results[].proof.screenshot_path (the decisive screenshot) and results[].proof.text (a textual summary). Additional screenshots from intermediate steps live in results[].trace.screenshot_paths.

take_screenshot returns a screenshot_path.

After a verification run:

  1. Read the proof screenshot file for any failed or inconclusive claim so you can describe what is visually wrong.
  2. Show the user the screenshot path and, if the client supports it, open or display the image inline.
  3. When summarizing results, reference the specific visual evidence — do not just repeat the text finding.

If your client cannot display images inline, print the absolute path so the user can open it manually.

Tool Preference

Prefer the tools in this order:

  • verify_visual_claims when the user provides claims — this is the primary tool and captures its own screenshots
  • take_screenshot only when you need to see the page before you can write claims
  • manage_browser when the shared browser state is stale, wrong-sized, or needs reset

If the MCP server is not available, use the CLI fallback in references/install.md.

$ARGUMENTS

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.08%
按下载量换算42

Claude

30.1%
按下载量换算34

Cursor

19.48%
按下载量换算22

Gemini CLI

9.13%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills