跳到正文
cccskills
免费在 GitHub 公开中文介绍

web-gui-tester

通过浏览器操作可见控件,并结合截图与只读页面结构检查来测试网页。可检查交互与布局、复现前端问题,并汇总通过、失败或未能完成的测试项。

原文查看原文说明

Use the browser automation tooling available in the session to test web frontends interactively in a purely GUI-based, black-box manner: simulate real user clicks, text input, scrolling, and other actions; use screenshots for visual verification and read-only DOM inspection for cross-validation; and produce a final test report. Suitable for verifying whether web functionality works correctly, reproducing frontend bugs, checking interaction feedback and layout styling, or conducting exploratory testing of a page. Use this skill when the user asks to test a webpage/frontend feature, verify UI behavior, reproduce a page bug, or provides only a URL and asks you to "test it.

asgeirtj/system_prompts_leaks星标 70,416(GitHub 70,416 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 检查表单和标签页是否正常
  • 复现页面上的问题
  • 查看操作后的反馈和显示
  • 仅凭网址探索测试页面

中文介绍

功能

此技能从用户视角测试网页:在浏览器中操作实际可见的按钮和输入框,执行点击、输入和滚动,并通过截图与只读 DOM 信息检查页面状态。它会对照操作后的显示、状态变化和布局,整理已确认的行为、发现的问题以及未能完成的检查,并生成测试报告。适用于验证页面功能、复现前端问题、调查操作反馈与页面显示,也可用于探索性测试。

适用场景

需要检查表单提交、标签页切换等连续操作,或复现他人报告的页面问题时,可以使用此技能。也可以只提供网址,由它寻找页面的主要交互区域并进行探索。如果给出了测试步骤或预期结果,它会据此检查。

使用示例

  • “请操作此页面的搜索功能,确认结果是否正确显示。”
  • “请检查点击提交按钮后的显示;如果有问题,请整理复现步骤。”
  • “请探索并测试这个网址对应的页面。”

注意事项

测试通过屏幕上可见的操作完成,不会用 JavaScript 改变页面状态,也不会绕过界面。代码修复与测试分开处理。若需要登录,或测试会更改真实数据(例如下单、付款或删除),必须先确认才能继续。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好资料禁止有副作用的JavaScript操作,并要求登录或更改真实数据前确认。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要浏览器自动化工具,但资料没有说明具体安装步骤。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月24日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md16.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Core Principles

  1. Pure GUI black-box testing: Interact only with elements that are visible and operable on the page, simulating real user behavior. During verification, screenshots and/or read-only DOM inspection are allowed, but injecting JavaScript to modify page state, trigger interactions, or bypass frontend logic is strictly prohibited.
  2. Faithful to the actual page: All conclusions must be based on the page's actual behavior. Do not guess or speculate. If a normal GUI operation fails, stop and report it; do not use alternative methods to force progress.
  3. Separate testing from fixing: Do not modify the code under test during testing. If a bug blocks the current path, record the issue, skip that path, and continue testing other unaffected points. Only begin fixing bugs after testing is explicitly declared complete and the user has explicitly or implicitly requested code changes.
  4. Cross-validate code and visuals: Observations must include both read-only code verification (DOM state checks) and visual verification using screenshots. The two must corroborate each other and cannot replace one another. A test point without at least one visually inspected screenshot as evidence—an image returned directly by the tool, or a screenshot file read using the Read tool—must be considered incomplete. Do not conclude that a test point passed or failed without such evidence.
  5. Follow the browser tooling's own usage rules: Run the test with whatever browser automation tooling the session actually provides (a browser automation MCP tool, a built-in browser runtime, etc.). If that tooling ships its own usage skill or API documentation, complete its required initialization and read that documentation first, and obey its rules for actions, element location, waiting, and observation throughout the test. This skill defines the testing methodology only; when it conflicts with the tooling's own rules, the tooling's rules win.

Phase One: Scenario Assessment and Test Planning

Choose the appropriate strategy based on the completeness of the information provided by the user.

Complete information: Explicit steps and expected results provided

→ Skip planning and proceed directly to the subsequent phases.

Partial information: A feature description, bug description, or requirements document is provided

→ Perform lightweight planning:

  1. Clarify the test objective: what functionality should be verified or what bug should be reproduced.
  2. Define the acceptance criteria: what constitutes a pass.
  3. Execute directly without requesting confirmation.

Insufficient information: Only a URL or "please test it" is provided

→ Perform complete planning:

  1. Explore the page: Open the page, take a screenshot to obtain an overview, and identify the page type, such as a form page, list page, detail page, or dashboard.
  2. Identify functionality: List the page's core interactive elements and functional areas.
  3. Create a test plan: Organize test points by priority:
    • P0 Main flow: The normal path for the page's core functionality, such as submitting a form, completing a search, or switching tabs.
    • P1 Interaction feedback: Whether feedback after an action works correctly, including loading states, success/failure messages, disabled states, and navigation.
    • P2 Input boundaries: Empty input, excessively long input, special characters, duplicate submissions, and similar cases.
    • P3 Layout and styling: Element overlap, text overflow, alignment consistency, visual quality, and similar issues.
  4. Present the plan and begin immediately: Show the test plan to the user, then start with P0 without waiting for confirmation. The user may interrupt or adjust the plan at any time. Exception: If the page requires login credentials or testing involves writing real data, such as placing an order, making a payment, or deleting data, stop and ask the user for confirmation before continuing.

Phase Two: Test Environment Preparation, When Needed

Before formal testing begins, any necessary method may be used to prepare the test environment. The black-box testing restrictions do not apply during this phase.

Permitted operations

  • Start or restart development servers and dependent services.
  • Modify configuration files and prepare test files.
  • Initialize or populate test database data and create test accounts.
  • Preconfigure login or initial state using whatever mechanisms the browser tooling supports (such as injecting cookies/storage). If the tooling provides no injection capability, log in through the GUI with a test account instead, use backend/CLI means (seeding session data, generating a legitimate entry link), or reuse an already-logged-in user tab according to the tooling's rules.
  • Perform any other preparation necessary to make the functionality under test reachable.

Constraints

  1. Clearly separate preparation from testing: Once environment preparation is complete, explicitly state: "Environment preparation is complete; formal testing is beginning." After that, all black-box testing constraints take effect immediately, and no further injection with side effects may be performed.
  2. Do not use setup as a substitute for the behavior under test: Setup may only make the feature reachable. It must not pre-trigger or complete the functionality being tested. For example, when testing an order placement flow, do not insert an order directly into the database during setup.
  3. Do not return to setup to bypass failures during testing: If an environment issue is discovered during formal testing, first declare the current test point invalid, return to this phase to prepare the environment again, and then restart the affected test point from the beginning. Report this honestly in the final results.
  4. Record all setup operations: Explain all environment preparation actions in the final report so the user can distinguish between preconfigured states and states produced by the test itself.

Phase Three: Test Execution: Action → Observation → Action loop/cycle

Permitted tools

  • The navigation, element location, interaction (click, type, scroll, key presses, etc.), and observation (DOM reads, screenshots) capabilities provided by the browser tooling.
  • Unless necessary, do not read the project source code. Avoid relying excessively on code analysis to complete testing.

Actions: Simulate real user behavior

  • Locate elements based on actual observations of the page (DOM snapshots, accessibility trees, screenshots, or whatever ground truth the tooling provides). Never guess selectors, label text, or URL patterns.
  • In a multi-tab environment, list the current tabs and confirm the target before each batch of operations. Do not assume the target page from memory or by position.
  • Prohibited:
    • Any JavaScript injection with side effects: assignments, dispatching events, triggering clicks from code, modifying the DOM or storage, issuing requests, and similar operations are all prohibited (only side-effect-free reads are allowed).
    • Bypassing page interactions by constructing or modifying URLs.
    • Using Tab, keyboard shortcuts, force click, or other unconventional methods to bypass a failed operation.
    • Refreshing the page, navigating backward or forward, or resizing the window to escape the current failed state. However, after one test point is complete, the state may be reset by returning to the entry page before beginning the next test point.
  • When element location fails: Do not retry unchanged. First re-observe the page (take a fresh DOM snapshot, plus a screenshot when needed) to confirm the actual state, then determine whether this is a page bug, where the element is genuinely missing, or a locator issue. If it is a page bug, record it and skip the test point. If it is a locator issue, rebuild the locator from the newly observed facts.
  • When page loading fails: If the page times out, displays a blank screen, or shows an error, take a screenshot to record the current state, report it as an issue, and skip subsequent test points that depend on that page.
  • When the tooling does not support an operation (such as file upload or a specific gesture): Record that test point as "unsupported by the runtime" and skip it. Never fake success, and never work around it via injection.
  • Responsive / multi-size testing: Only when a test point explicitly requires it, adjust the viewport/window size using the capability the tooling provides, and restore it afterward. Never use it to escape a failure.

Observations: Cross-validate code and visuals

For every new page state—initial load and every state after an interaction—perform both code verification and visual verification. Neither may be omitted. (The nature of this skill is visual page testing; if the tooling's documentation limits screenshot frequency by default, proceed under its "the user asked for visual testing" branch.)

Code verification, read-only

  • Prefer the structured page-reading capabilities the tooling provides (DOM snapshots / accessibility trees, element text and attributes, element state queries, and similar).
  • Read-only JavaScript evaluation is a last resort (for example, reading element geometry to help judge occlusion). If the tooling or engine rejects it, do not retry with different wording; switch to structured reads or screenshot-based judgment.

Visual verification

  • Obtain and view screenshots in the way the tooling prescribes: an image returned directly by the tool counts as viewed; a screenshot saved to a file must be read with the session's file/image reading tool before visual verification counts as complete. Capturing without viewing is not observation.
  • When ZCode persists an explicit Browser screenshot, the tool result includes an adjacent text block in the exact form Browser screenshot saved to: <absolute path>. Treat that returned path as the source artifact; do not assume the browser API can save to an arbitrary caller-provided path.
  • Also preserve evidence: Unless the user specifies a directory, create a dedicated folder in the working directory (such as gui-test-screenshots/). When the browser tooling returns a real artifact path, copy that file with the session's available filesystem tool and use names that include the test point number (such as t1_before.png). If the tooling returns only an image and no artifact path, do not invent one: use the viewed image as evidence and state that no persistent path was exposed.
  • Layout and occlusion issues may be assessed with the help of DOM geometry information, but dimensions such as rendering quality and visual aesthetics can only be judged from screenshots. In either case, a screenshot must ultimately confirm the visual result — code verification must never replace screenshots.

Observation timing

Perform both types of verification:

  • At the beginning of each test point, recording the initial state.
  • After every interaction, including clicks, text input, navigation, keyboard input, and mouse input.
  • After every change in page state, including navigation, dialogs, notifications, list refreshes, echoed input, button enable/disable states, and similar changes.
  • At the end of each test point, recording the final state.
  • Whenever the page contains elements such as canvas, SVG, charts, images, or videos whose content cannot be fully read through DOM text.
  • Whenever an issue is discovered, preserving evidence and accumulating visual material for the final report.

Observation dimensions

DimensionPoints of attention
Element presenceWhether key UI elements exist and are visible
Content correctnessWhether text, numbers, and other content meet expectations
State changesWhether the URL, element appearance/disappearance, and text updates match expectations after an action
Layout and occlusionUnexpected overlap, obstruction, truncation, or misalignment. Distinguish legitimate overlays or sticky navigation from actual rendering defects
Rendering and designLong-text overflow, abnormal wrapping, design consistency, and similar issues
Visual qualityContrast, colors, typography, spacing, and alignment

Screenshot requirements for transient states

Toast messages, tooltips, loading indicators, animations, and other short-lived states may disappear before a screenshot is taken. To capture such states, complete the following steps consecutively within the same tool call / same script:

  1. Take a "before" screenshot recording the pre-action state.
  2. Perform the GUI action.
  3. Wait for the target state to appear. Prefer waiting for a specific element or state condition over a fixed delay; use a fixed delay only as a fallback when the target cannot be described, such as a purely visual animation.
  4. Take an "after" screenshot capturing the transient feedback.

Then view both screenshots as required under "Visual verification" above. For ordinary static pages and stable content, this same-call before-and-after pattern is unnecessary; a regular single screenshot is sufficient. However, the screenshot must still be taken and its image content must still be inspected.

Collecting page error evidence

If the browser tooling supports read-only console listening or log reading, register it at the start of testing (read-only, so it does not violate the black-box principle), collect error-level logs and uncaught page exceptions throughout, and list them separately in the final report with the operation step at which each occurred. If the tooling provides no such capability, do not work around it by injecting listeners via JavaScript. Instead, use visible error manifestations on the page as evidence—error message text, blank screens or empty regions, failed-resource placeholders, broken layout, and so on—capture screenshots, note the corresponding steps, and state honestly in the report that console information could not be collected.


Phase Four: Output Test Conclusions

After testing is complete, summarize the results based on every recorded observation:

  • Which test points passed.
  • Which test points failed, including reproduction steps and screenshots.
  • Which test points could not be executed because they were blocked.
  • Console errors collected during testing, or observed page error manifestations.

Every test point—whether passed or failed—must reference its corresponding viewed screenshot. When the tooling exposes an artifact path, reference the actual absolute path (or its file:// URI); otherwise use the returned image evidence and state that no persistent path was exposed.

Output format

  • If the user's prompt specifies requirements for the report format, such as outputting to a designated file, a particular format, or a specific language, follow those requirements strictly when producing the output or generating the file.
  • If the user does not explicitly specify another format, output an interleaved Markdown report with text and images directly by default, referencing images with standard Markdown image syntax, such as ![screenshot description](https://example.com/screenshot.png), where the image address should be an accessible absolute URL. When a local artifact exists, use its actual absolute path or file:/// URI, such as ![login screenshot](file:///C:/Users/test/screenshots/login.png). Do not invent paths, output plain file paths only, or gather all screenshots at the end of the report.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

3d-object

免费有简介

使用three.js创建立体模型,在交互式查看器中从各个角度检查形状和材质,并以OBJ + MTL或GLB格式保存,供其他三维制作软件使用。

  • 创建立体模型并从各个角度检查
  • 制作可在Blender中继续编辑的模型
  • 检查模型轮廓和材质效果
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

Audit web accessibility with Chrome DevTools MCP and Lighthouse. Inspect semantic structure, labels, keyboard focus, tap target size, and color contrast, then identify page elements that may need changes based on web.dev guidance.

中文简介正在准备中。当前显示英语简介。

  • Finding missing labels or image alternatives
  • Checking heading structure and reading order
  • Testing keyboard navigation and modal focus
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

action-items

免费有简介

在个人任务清单中记录待办事项、承诺、期限、下一步、待回复对象和阻碍原因,更新进度与依赖关系,合并重复项并归档已结束的任务。

  • 记录有期限的任务与承诺
  • 整理待回复事项及阻碍原因
  • 前置任务完成后更新依赖关系
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agents

免费

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

中文简介正在准备中。当前显示英语简介。

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agy-customizations

免费有简介

了解 Antigravity 如何发现和加载自定义配置,包括配置位置与优先级。借助本指南选择并创建技能、规则、插件、钩子或 MCP 服务器,用于智能体工作流程和外部工具连接。

  • 选择合适的自定义配置类型
  • 查看配置的发现位置和加载顺序
  • 创建技能或规则
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

animated-video

免费有简介

将动画制作成可播放、暂停和定位时间的HTML页面,通过时间轴调整场景时长与速度,并为横屏或竖屏视频导出做好准备。

  • 制作产品操作演示动画
  • 用文字和图形解释内容
  • 制作竖屏动画
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

查看 asgeirtj 的全部技能

报告此技能的问题