跳到正文
Skillpedia
测试48k · #3872

awt-e2e-testing

它能做什么

这个工具可以让 AI 像真人一样测试网站。它使用一种特殊格式(YAML)编写的指令,在真实的浏览器中进行操作,检查一切是否正常运行。

适用场景

  • ✓当你想让 AI 自动测试一个网站时。
  • ✓当测试需要依赖屏幕上看到的视觉元素,而不是代码时。
  • ✓当你想检查网站在不同技术(如 React、Vue 等)下是否运行良好时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/awt-e2e-testing/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/awt-e2e-testing/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我创建一个自动化测试,检查我能否把商品加入购物车并进入结账页面。”

每周 5 个新技能,1 分钟读完。

工作原理

你用一个特殊的文件(YAML)写下要做的步骤,工具会在浏览器中执行这些指令。它会观察屏幕,并像普通用户一样与页面元素进行交互。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

AWT — AI-Powered E2E Testing (Beta)

npx skills add ksgisang/awt-skill --skill awt -g

AWT gives AI coding tools the ability to see and interact with web applications through a real browser. Your AI designs YAML test scenarios; AWT executes them with Playwright.

When to Use

  • You need AI-assisted end-to-end testing through a real browser with declarative YAML scenarios.
  • The test flow depends on visual matching, OCR, or platform auto-detection instead of stable DOM selectors.
  • You want an E2E toolchain that can both execute tests and explain failures for AI coding workflows.

Upstream Advertised Capabilities

  • YAML scenarios → Playwright with human-like interaction
  • Visual matching: OpenCV template + OCR (no CSS selectors needed)
  • Platform auto-detection: Flutter, React, Next.js, Vue, Angular, Svelte
  • Structured failure diagnosis with investigation checklists
  • Learning DB: failure→fix patterns in SQLite
  • 5 AI providers: Claude, OpenAI, Gemini, DeepSeek, Ollama
  • Skill Mode: no extra AI API key needed

Execution Boundary

This entrypoint does not bundle the AWT runtime or its YAML schema. Inspect the selected upstream revision and actual installed commands before authoring a scenario. The installation command above is an upstream option, not permission to change global skills. Prefer an explicitly authorized project-scoped installation.

Confirm the target environment, test accounts, permitted browser actions and data retention. A checkout test can place orders or send notifications; use an isolated fixture environment and inspect effects before execution. Do not send screenshots, credentials or application data to a cloud provider without authorization. Record the actual scenario, runtime/version, observed result and artifact paths. If runtime is absent, return a draft and mark execution pending rather than inventing a pass.

Links

Built with the help of AI coding tools — and designed to help AI coding tools test better.

Actively developed by a solo developer at AILoopLab. Feedback welcome!

Example

User request:

Create and run a declarative browser test for the checkout flow, including visual assertions and a clear failure report.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

什么是“端到端”(E2E)测试?

这是一种模拟用户在网站上完整体验的测试,从任务开始一直到结束。

什么是 YAML?

它是一种简单的文本格式,用来编写计算机能够理解的指令,比如 AI 用来测试网站的那些指令。

为什么要用视觉识别,而不是代码选择器?

有时网站中用来定位元素的代码选择器会发生变化。使用屏幕上显示的内容(视觉)来定位元素,可以让测试更能应对这些变化。

详情

作者的原始描述

AI-powered E2E web testing — eyes and hands for AI coding tools. Declarative YAML scenarios, Playwright execution, visual matching (OpenCV + OCR), platform auto-detection (Flutter/React/Vue), learning DB. Install: npx skills add ksgisang/awt-skill --skill awt -g

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#3872
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能