跳到正文
cccskills
免费在 GitHub 公开

spark-playwright-page-check

Use when a running Spark or DSH web service needs real-browser verification — page load, client-plugin boot errors, console errors, failed requests, or onboarding/dialog rendering — with the repository's own Playwright chromium.

中文简介正在准备中。当前显示原文说明。

集成工具Playwright
查看安装方法

包含的文件(1)

  • SKILL.md2.2 KB

SKILL.md(原文)

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

Spark Playwright page check

Verify the requested browser-visible behavior with the repository's Playwright installation. HTTP success and empty error logs are supporting evidence, not proof that client plugins or the requested interaction work.

Procedure

  1. Resolve the target URL and acceptance criteria from the task and running service. Check the owning package scripts and browser installation; use the existing setup command only when the environment needs it.
  2. Run a temporary probe from a package that resolves Playwright, or extend an existing browser test when the behavior warrants a regression test. Capture console errors, page exceptions, failed requests, and HTTP error responses. A completed 4xx/5xx response is not a requestfailed event.
  3. Navigate and wait for an explicit application-ready element or state. Exercise the requested interaction and assert its visible result; avoid treating networkidle or a fixed delay as readiness for a long-lived event connection.
  4. Capture the relevant body evidence and screenshot. View the screenshot before making a visual claim. Bound observation time and report a timeout as missing evidence rather than success.
  5. Close the browser even if the probe fails and remove only temporary files created by this check. Keep them out of commits.

Evidence and authority

Report relevant errors, status, assertions, and rendered evidence, redacting credentials and private data rather than dumping logs verbatim. Distinguish page load, plugin readiness, and interaction acceptance. An empty error array only means no error was observed in the checked interval.

Browser verification does not change service trust: direct LAN access accepts only loopback or the host's discovered local interface IP literals, and remote peers still require daemon-user authentication.

Return pageStatus, consoleErrors, pageErrors, failedRequests, bodyEvidence, verdict, and blockingReasons.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Use when Spark engineering knowledge must be placed, deduplicated, migrated, or validated across AGENTS, Notes, Roles, Skills, and Workflows.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月22日 更新

Use when adding or updating Spark AI provider models or their compact and preflight metrics, especially baidu-oneapi, Grok, Claude, GPT, DeepSeek, OneAPI, context windows, output budgets, prices, thinking maps, or transports.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月22日 更新

Use when a Spark change needs its authoritative owner, affected boundaries, risks, acceptance criteria, and smallest verifiable slice established before implementation or review.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月22日 更新

Use when a Spark implementation needs an evidence-based review for correctness, ownership, compatibility, failure handling, maintainability, and unnecessary complexity.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月22日 更新

Use when designing a Spark feature or writing or materially revising a design proposal that needs repository-first research, user input on unresolved key choices, and an owner-aligned implementation plan before code changes.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月22日 更新

Use when a working Spark implementation should be simplified without changing its observed behavior, ownership, compatibility, or public contract.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月22日 更新

查看 zendev-lab 的全部技能

报告此技能的问题