Token导航 LogoToken导航

Agent Skill · 研究检索

test-web-ui(测试网页用户界面)

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

test-web-ui 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 56,028。

总安装 465周安装 19GitHub Stars 2下载 150核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:test-web-ui(测试网页用户界面)
来源仓库:https://github.com/biggora/claude-plugins-registry
仓库路径:skills/test-web-ui
安装命令:
npx skills add https://github.com/biggora/claude-plugins-registry --skill test-web-ui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/biggora/claude-plugins-registry --skill test-web-ui

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助网页用户界面设计与交互流程验证。test-web-ui 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合生成布局方案、检查响应式表现或优化组件层级。使用时应遵循现有设计系统,确保跨平台一致性。涉及动态内容时,需通过浏览器预览确认渲染效果。

安装方式:通过 GitHub 仓库安装,支持 Codex、Claude、Cursor、Gemini CLI。

来源仓库内路径:skills/test-web-ui

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/biggora/claude-plugins-registry --skill test-w…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

test-web-ui 怎么安装?

在终端执行 npx skills add https://github.com/biggora/claude-plugins-registry --skill test-web-ui。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

test-web-ui 支持哪些 AI 工具?

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

test-web-ui 需要什么权限?

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

test-web-ui 是免费的吗?

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

test-web-ui 用的人多吗?

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

test-web-ui 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
test-web-ui

测试网页用户界面 · 本页

4652操作浏览器未明确未通过

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

SKILL.md 原文

Web Tester Skill

Transforms any website or project into a structured QA run: Discover → Plan → Execute → Report


Overview of Phases

Phase 1 → DISCOVERY   : Explore the site, understand its purpose and features
Phase 2 → USE CASES   : Generate end-user use case list
Phase 3 → TEST PLAN   : Convert use cases into concrete, executable test cases
Phase 4 → EXECUTION   : Run tests with Playwright, capture screenshots
Phase 5 → REPORT      : Compile HTML + Markdown report with all results

Choosing Your Execution Tool

Pick the first option that works in your environment:

Option 1: Playwright MCP Tools (recommended)

If Playwright MCP tools are available (e.g., mcp__plugin_playwright_playwright__*), use them — they are the fastest and most token-efficient option (~2.8x faster than CLI, fewer tool calls needed since each MCP call does more work):

browser_navigate → navigate to URL
browser_snapshot → get page state and element refs
browser_take_screenshot → capture screenshots
browser_click → click elements
browser_type → type into inputs
browser_evaluate → run JS assertions
browser_resize → test mobile viewports
browser_console_messages → check for JS errors

Option 2: Playwright CLI

The @playwright/cli is a CLI designed for coding agents. Use it when MCP tools are not available. Install if needed:

npm install -g @playwright/cli@latest

Key commands for QA testing:

# Open a page
playwright-cli open https://example.com

# Take a snapshot (returns element refs for interaction)
playwright-cli snapshot

# Screenshot the page
playwright-cli screenshot

# Click, fill forms, type
playwright-cli click <ref>
playwright-cli fill <ref> "text value"
playwright-cli type "search query"
playwright-cli press Enter

# Mobile viewport testing — use a named session with mobile config
playwright-cli -s=mobile open https://example.com
# (configure viewport in .playwright/cli.config.json)

# Check console errors via snapshot output
playwright-cli snapshot

# Close when done
playwright-cli close

Playwright CLI is headless by default. Add --headed to watch the browser visually. Use playwright-cli show to open a dashboard of all active sessions.

Option 3: Python Playwright Scripts

If Python and Playwright are installed, use the bundled scripts in scripts/:

# Install if needed
pip install playwright && playwright install chromium

# Run discovery
python scripts/discover.py --url <URL> --output discovery.json

# Run tests
python scripts/run_tests.py --url <URL> --test-plan test_plan.json --output test_results/

# Generate report
python scripts/generate_report.py --results test_results/results.json --output qa_report.html

Option 4: Manual Testing

If none of the above are available, read the source code directly and perform manual analysis. Use curl or fetch for basic HTTP checks.


Phase 1: Discovery

What to gather

  • URL — if the user provides a live URL, navigate to it and explore
  • Project files — if no live URL, inspect source files in the project directory
  • Purpose — what does the site do? (landing page, e-commerce, dashboard, blog, etc.)
  • Key pages — home, auth, main feature pages, forms, checkout, etc.
  • Tech stack — optional but helpful for targeted checks

Discovery with Playwright MCP

1. browser_navigate to the URL
2. browser_snapshot to get the page structure
3. browser_take_screenshot for visual reference
4. Examine links, forms, headings, navigation from the snapshot
5. Navigate to discovered subpages and repeat

Discovery with Playwright CLI

playwright-cli open <URL>
playwright-cli screenshot --name discovery_home
playwright-cli snapshot
# Examine snapshot output for links, forms, navigation, headings
# Follow important links to discover subpages
playwright-cli goto <subpage-url>
playwright-cli screenshot --name discovery_subpage

Discovery with Python script

python scripts/discover.py --url <URL> --max-pages 10 --output discovery.json

Local project (no live URL)

When only source files are available:

  1. Start a local server: python -m http.server 8080 --directory <project-path> (or npx serve <project-path> or any other static server)
  2. Run discovery against http://localhost:8080
  3. If the port is busy, try 8081, 8082, etc.

Important: file:// URLs may be blocked by some tools. Always prefer HTTP serving.


Phase 2: Generate Use Cases

After discovery, produce a use case list from the perspective of an end user.

Format

UC-01: [Actor] can [action] so that [goal]
UC-02: [Actor] can [action] so that [goal]
...

Categories to cover

  • Navigation — user browses pages, menu works, links resolve
  • Authentication — sign up, log in, password reset, logout
  • Core feature flows — the main thing the site does (purchase, search, submit form, etc.)
  • Content validation — required text, images, prices, labels appear correctly
  • Forms — fill in, submit, validate errors, success states
  • Responsiveness — works on mobile viewport
  • Error handling — 404 pages, empty states, invalid inputs
  • Performance / visual — no broken images, no console errors, reasonable load
  • Accessibility basics — alt text on images, heading hierarchy, landmark elements

Aim for 10–25 use cases depending on site complexity.


Phase 3: Test Plan

Convert each use case into a concrete test case:

TC-01 [UC-01]: Homepage Navigation
  Given: User opens the site root URL
  When:  Page finishes loading
  Then:  - Page title is not empty
         - Navigation menu is visible
         - Logo/brand element is present
         - No 404/500 status code
         Checks: title, nav links count > 0, hero text present

Test case types to include

TypeExamples
Presence checksElement exists, text is visible, image loads
Functional checksButton clickable, form submits, menu expands
Data validationPrice format, phone format, required fields
Navigation checksLinks don't 404, routing works
Form validationEmpty submit shows errors, valid submit succeeds
ResponsivenessMobile viewport renders without overflow
Console errorsNo JS errors on page load
Accessibility basicsImages have alt text, headings hierarchy, landmarks

If using the Python scripts, save the test plan as test_plan.json — see references/test_case_schema.md for the JSON schema.


Phase 4: Test Execution

For each test case, follow this pattern regardless of which tool you use:

  1. Navigate to the target page
  2. Capture a "before" screenshot
  3. Execute steps — clicks, form fills, scrolling, waiting
  4. Run assertions — element presence, text content, console errors, image loading
  5. Capture an "after" screenshot if any interaction occurred
  6. Record result — PASS / FAIL / SKIP + error message + duration

Execution with Playwright MCP

browser_navigate to target URL
browser_take_screenshot for "before" capture
browser_snapshot to check element presence
browser_evaluate to run JS assertions:
  - document.title !== ''
  - document.querySelectorAll('nav').length > 0
  - document.querySelectorAll('img').filter(i => i.naturalWidth === 0).length
browser_click / browser_type for interactions
browser_take_screenshot for "after" capture
browser_console_messages to check for JS errors
browser_resize for mobile viewport testing

Execution with Playwright CLI

# Navigate and screenshot
playwright-cli goto <URL>
playwright-cli screenshot --name tc01_before

# Get page state for assertions
playwright-cli snapshot
# Parse snapshot output to verify elements exist, text content matches, etc.

# Interact
playwright-cli click <ref>
playwright-cli fill <ref> "test@example.com"
playwright-cli press Enter

# After screenshot
playwright-cli screenshot --name tc01_after

For mobile viewport testing, open a separate session with mobile dimensions or resize the browser.

For status code testing (e.g., checking that /404 returns 404): use playwright-cli navigation — the tool reports HTTP status in its output. Note that navigating to a 4xx/5xx page may throw an error in some tools; catch it gracefully and record the status code from the error message.

Execution with Python scripts

python scripts/run_tests.py \
  --url <URL> \
  --test-plan test_plan.json \
  --output test_results/

Console error collection

Console errors are important signals. Collect them during each test:

  • Playwright MCP: Use browser_console_messages or browser_evaluate
  • Playwright CLI: Check snapshot output or use playwright-cli evaluation
  • Python scripts: The script registers a console listener before navigation

Image loading checks

To detect broken images, run this JS on the page:

Array.from(document.images)
  .filter(img => img.naturalWidth === 0 && img.src && !img.src.startsWith('data:'))
  .map(img => img.src)

An empty result means all images loaded. Otherwise, list the broken URLs.

Accessibility checks

Quick checks to run on each page:

// Images missing alt text
document.querySelectorAll('img:not([alt]), img[alt=""]').length

// Heading hierarchy (should have h1, not skip levels)
[...document.querySelectorAll('h1,h2,h3,h4,h5,h6')].map(h => h.tagName)

// Landmark elements
document.querySelectorAll('main, nav, header, footer, [role]').length

Phase 5: Report Generation

Report contents

  • Summary dashboard — total tests, pass/fail/skip counts, pass rate %, tested URL, timestamp
  • Use case list with traceability to test cases
  • Test results table — TC ID, name, status badge, duration, error message
  • Screenshot gallery — inline base64 screenshots per test case (or file paths)
  • Console errors log — any JS errors captured
  • Recommendations — auto-generated improvement suggestions based on failures

Report format

  • Primary: HTML (self-contained, with embedded screenshots as base64)
  • Secondary: Markdown summary for quick reading

Using the Python report generator

python scripts/generate_report.py \
  --results test_results/results.json \
  --screenshots test_results/screenshots/ \
  --output qa_report.html

Manual report generation

If the Python script is not available, generate the HTML report directly. Build a self-contained HTML file with:

  • A dark header with site name, URL, and timestamp
  • Stat cards: total tests, passed, failed, skipped, pass rate
  • A results table with status badges (green PASS, red FAIL, yellow SKIP)
  • Embedded screenshots (base64-encoded PNGs)
  • Recommendations section based on failures

Save the report in the current working directory or wherever the user specified.


Workflow Summary (step-by-step)

1. Receive URL or project files from user
2. Pick your execution tool (MCP > Playwright CLI > Python > Manual)
3. Run discovery → understand pages, structure, features
4. Generate use case list (10–25 use cases)
5. Generate test plan → structured test cases
6. Run tests → collect results + screenshots
7. Generate HTML report
8. Show the report path to the user

Handling Common Situations

Local project without a live URL → Serve files locally: python -m http.server 8080 or npx serve. → Test against http://localhost:8080 → Do NOT use file:// URLs — they may be blocked

Site requires authentication → Ask user for test credentials OR → Test only the public-facing pages → Mark auth-gated tests as SKIP with note

Single-page app (React/Vue/Angular) → Wait for page to fully render (networkidle or specific selectors) → Check that JS bundle loads without console errors → Use snapshot/evaluate to verify dynamically rendered content

Large site (many pages) → Focus on critical user paths first → Limit to top 5–10 most important flows → Mention in report which pages were NOT covered

Status code testing (4xx/5xx pages) → Some tools throw errors on non-2xx responses → Catch the error and extract the status code from it → Or use JS fetch() to check status codes without navigation

Mobile responsiveness testing → Resize viewport to 390×844 (iPhone) or 360×800 (Android) → Check for horizontal overflow: document.body.scrollWidth > window.innerWidth → Verify key elements are still visible and readable


Reference Files

  • references/test_case_schema.md — JSON schema for test_plan.json
  • scripts/discover.py — Site discovery automation (Python + Playwright)
  • scripts/run_tests.py — Test execution engine (Python + Playwright)
  • scripts/generate_report.py — HTML report generator (Python)

平台分布

Codex

35.49%
按下载量换算53

Claude

28.71%
按下载量换算43

Cursor

18.29%
按下载量换算27

Gemini CLI

9.04%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills