web-ui-autotest-generator SKILL.md skillA

web-ui-autotest-generator from kunolu/640-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kunolu/640-skills/web-ui-autotest-generator@git:20261014.5b97c82

Pins git:20261014.5b97c82 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kunolu/640-skills
Path
sbtd-workflow-onboard/templates/skills/web-ui-autotest-generator/SKILL.md
Versions recorded
2
Latest version
git:20261014.5b97c82, committed Oct 14, 2026
First version recorded
Jul 19, 2026
Size
15,806 bytes
Repository stars
557
License
Apache-2.0

从前端和后端源码中生成可维护的 Web UI 自动化测试。适用于分析页面、路由、组件、接口、用户流程,生成 Playwright UI 测试,运行测试,生成中文报告,并自检页面功能和跨页面逻辑是否被独立测试资产覆盖。 Generate maintainable Web UI automated tests from frontend and backend source code. Use for analyzing pages, routes, components, APIs, and user flows; generating and running Playwright UI tests; producing Chinese test reports; and checking whether page features and cross-page logic are covered by independent test assets.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Web UI 自动化测试生成器

使用本 skill 可以把一个 Web 项目整理成可执行、可复查、可持续维护的 UI 自动化测试套件。

目标不是只写几条临时脚本,而是先分析前端页面、后端接口、用户流程和 UI 状态,再生成 Playwright 测试、覆盖率清单、执行命令和中文报告。生成后的测试资产应能脱离本 skill 独立运行。

## 默认技术栈

除非目标仓库已经明确使用其他 UI 测试框架,否则默认使用 Playwright + TypeScript。

默认输出结构:

```text
tests/e2e/
  pages/                 # Page Object 模型
  specs/                 # 按页面或路由组织的测试用例
  fixtures/              # 登录状态、测试数据、接口 mock
  utils/                 # 通用辅助函数
  reports/               # 测试报告和中文总结
playwright.config.ts
ui-test-manifest.json
ui-test-coverage.json
```

内置资源:

```text
scripts/generate_manifest.py       # 源码扫描,生成 ui-test-manifest.json
scripts/audit_selectors.py         # 选择器稳定性审计,生成 ui-selector-audit.json
scripts/check_coverage.py          # 清单和用例覆盖率检查,生成 ui-test-coverage.json
scripts/analyze_failures.py        # Playwright JSON 报告分析,生成 ui-test-repair-plan.json
assets/templates/                  # Playwright 起始模板
assets/templates/summary.zh-CN.md.template # 中文覆盖率评估附录模板
```

## 工作流程

1. 检查项目结构和已有测试工具。
2. 分析前端路由、页面、组件、UI 控件、状态管理和接口调用。
3. 如存在后端代码、OpenAPI、Swagger 或 Apifox 文档,补充分析接口契约。
4. 生成页面、功能、接口和流程清单。
5. 审计选择器稳定性,并记录 `data-testid` 等改造建议。
6. 生成 Playwright Page Object、fixture、spec 和 CI 脚本。
7. 条件允许时在本地运行测试。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kunolu/640-skills/web-ui-autotest-generator@sha256:ea9a25fc4f92d8ce

The line at the top of this page pins the label git:20261014.5b97c82, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yemeezprqrpd5mtw.svg)](https://markdownregistry.com/a/art_yemeezprqrpd5mtw)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 19, 2026 and Oct 14, 2026, about one every 87 days.

versioncommittedcommitsizeaudit
git:20261014.5b97c82 latest2026-10-14 5b97c82 15,806 BA view · diff
git:20260719.6789ba02026-07-19 6789ba0 15,290 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15806 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kunolu/640-skills · 557 stars · license Apache-2.0 · pushed 2026-10-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yemeezprqrpd5mtw
GET https://markdownregistry.com/api/v1/resolve?ref=kunolu/640-skills/web-ui-autotest-generator
GET https://markdownregistry.com/api/v1/blob/ea9a25fc4f92d8ce916826b7f81e389491ed671ae5bc2930f1fe7cd9098625f0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kunolu/640-skills

sbtd-workflow-onboard SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/SKILL.md · Checks, installs, resets, or explicitly upgrades and verifies selected SBTD workflow Skills, AGENTS and host…
git:20261028.4093baf · audit A · 557 stars
codebase-design SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260827.561ec6a · audit A · 557 stars
diagnosing-bugs SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20261028.4eb8b2a · audit A · 557 stars
domain-modeling SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/domain-modeling/SKILL.md · Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md…
git:20261028.4eb8b2a · audit A · 557 stars
grill-me SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/grill-me/SKILL.md · A relentless interview to sharpen a plan or design.
git:20260827.561ec6a · audit B · 557 stars
grill-with-docs SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/grill-with-docs/SKILL.md · A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
git:20260827.561ec6a · audit A · 557 stars
grilling SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/grilling/SKILL.md · Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or…
git:20261028.4eb8b2a · audit A · 557 stars
handoff SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/handoff/SKILL.md · Compact the current conversation into a handoff document for another agent to pick up.
git:20261028.4eb8b2a · audit A · 557 stars
i-have-adhd SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/i-have-adhd/SKILL.md · Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns…
git:20261028.4eb8b2a · audit A · 557 stars
impeccable SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/impeccable/SKILL.md · Use when the user wants to design, redesign, shape, critique, audit, polish, simplify, harden, animate, or otherwise…
v4.8.0 · audit A · 557 stars
ponytail-audit SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/ponytail-audit/SKILL.md · Quality audit of a whole repo: bugs, security holes, what breaks under real load, risky code without tests, slow paths…
git:20261028.4eb8b2a · audit A · 557 stars
ponytail-debt SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/ponytail-debt/SKILL.md · List every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for…
git:20261028.4eb8b2a · audit A · 557 stars

Every file in kunolu/640-skills

Browse by kind, by grade A, or by owner.