Generate Locator — Testing skill for Claude Code
Sinh locator ổn định cho UI element.
How to install Generate Locator
Installs to ~/.claude/commands/ruby-90-claude-testing-skills-generate_locator.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ruby-90/claude-testing-skills/HEAD/.claude/commands/generate_locator.md -o ~/.claude/commands/ruby-90-claude-testing-skills-generate_locator.md Restart Claude Code, or start a new session, for it to be picked up.
What Generate Locator does
description: Sinh locator ổn định cho UI element. Hỗ trợ Playwright, Selenium, Appium. skills:
- skills-smart-locator-agent
- skills-ui-debug-agent
/generate_locator — Sinh Locator Ổn Định Cho UI Automation
User cung cấp element cần tìm locator (mô tả, screenshot, URL, hoặc HTML snippet). AI inspect DOM/UI hierarchy thực tế, sinh locator ổn định theo priority chuẩn, verify uniqueness, trả về kết quả.
**BẮT BUỘC (MANDATORY):** Trước khi bắt đầu, PHẢI nạp và đọc kỹ:
- **Sk
Alternatives in Testing
- Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
- Playwright — claude-plugins-official Browser automation, E2E testing, screenshots 29.4k ★
- Develop Web Game — Build and test web games iteratively using Playwright with time-stepping 14.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Generate Automation From UI Flow
Thực thi UI flow trực tiếp trên browser, thu thập locators từ DOM thực tế, và sinh automation scripts. Hỗ trợ
Generate Automation From Mobile Flow
Sinh automation Appium từ flow mobile chạy thật trên device/emulator — hỗ trợ Native Android, Native iOS, Flut
Goal
Đóng vai Skill Architect — phỏng vấn thông minh để trích xuất quy trình từ đầu người dùng, sinh AI Skill hoàn
Smart Browser
Browser automation and API testing MCP server on Playwright + Chrome DevTools Protocol. Numbered element refs
Project Starter
In checklist bộ khởi động cho dự án mới (monorepo mẫu, CI, tsconfig, test mẫu, ADR/DoD, rule.md rỗng)
Playwright
Automate real browser interactions for navigation, forms, and scraping
Related Agents
Fw Driver
Viết và sửa driver ngoại vi MCU cho bất kỳ nền tảng nào - giao tiếp nối tiếp, tương tự, định thời, chân vào ra
Ba Diagram Reviewer
Soát ĐỘ PHỦ NGHIỆP VỤ của sơ đồ Mermaid vừa sinh (đã render được) — bắt vai trò/lane thiếu, điểm quyết định só
Integration Test Generator
Generates one integration/E2E test from an approved test case spec using existing project patterns. Use for in