awt-e2e-testing
Skill này làm gì
Công cụ này giúp AI kiểm thử website như một người thật làm. Nó dùng các chỉ dẫn viết theo định dạng đặc biệt (YAML) để điều hướng và kiểm tra xem mọi thứ có hoạt động đúng trong trình duyệt thật hay không.
Khi nào nên dùng
- ✓Khi bạn muốn AI tự động kiểm thử một website.
- ✓Khi bài kiểm thử dựa vào việc nhìn thấy các thành phần trên màn hình, thay vì dựa vào mã.
- ✓Khi bạn muốn kiểm tra website có hoạt động tốt với các công nghệ khác nhau (như React, Vue, v.v.).
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/awt-e2e-testing/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một bài kiểm thử tự động để kiểm tra xem tôi có thể thêm sản phẩm vào giỏ hàng và tiến hành thanh toán không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn viết chỉ dẫn trong một tệp đặc biệt (YAML) cho công cụ biết cần làm gì. Công cụ thực hiện các chỉ dẫn này trong trình duyệt, quan sát màn hình và tương tác với các thành phần như một người dùng thật.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Main repo: https://github.com/ksgisang/AI-Watch-Tester
- Skill repo: https://github.com/ksgisang/awt-skill
- Cloud demo: https://ai-watch-tester.vercel.app
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.
Câu hỏi thường gặp
Kiểm thử “end-to-end” (E2E) là gì?
Đó là bài kiểm thử mô phỏng trải nghiệm đầy đủ của người dùng trên website, từ đầu đến cuối một tác vụ.
“YAML” là gì?
Đó là định dạng văn bản đơn giản dùng để viết chỉ dẫn mà máy tính hiểu, như những chỉ dẫn AI sẽ dùng để kiểm thử website.
Vì sao dùng nhận diện hình ảnh thay vì bộ chọn mã?
Đôi khi các bộ chọn mã nhận diện phần tử trên website bị thay đổi. Dùng những gì màn hình hiển thị (hình ảnh) giúp bài kiểm thử bền vững hơn trước những thay đổi này.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #3872
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.