ch-verifying-ui-with-playwright
Dùng khi một task có đụng tới thứ người dùng nhìn thấy trên trình duyệt — component, trang, CSS, form, luồng bấm — TRƯỚC khi báo là xong.
Skill by chauipp
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/chauipp-ch-verifying-ui-with-playwright
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, testing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ch-verifying-ui-with-playwright
What's inside
- Skill name
ch-verifying-ui-with-playwright- Description
- Dùng khi một task có đụng tới thứ người dùng nhìn thấy trên trình duyệt — component, trang, CSS, form, luồng bấm — TRƯỚC khi báo là xong. Bắt mở trình duyệt thật bằng Playwright và xem tận mắt, thay vì suy ra từ việc code đã sửa đúng.
- License
- MIT
- Instructions
- 101 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Kiểm UI bằng Playwright trước khi báo xong ## Luật sắt ``` CODE ĐÚNG KHÔNG CHỨNG MINH ĐƯỢC UI ĐÚNG. Chưa mở trình duyệt xem thì chưa được nói là xong. ``` Đây là bản chuyên cho UI của `verification-before-completion`. Test unit xanh, build sạch, lint sạch — không cái nào chứng minh cái nút bấm được, cái modal đóng được, hay chữ không bị tràn ra ngoài khung. **Thông báo khi bắt đầu:** "Tôi dùng skill ch-verifying-ui-with-playwright để kiểm giao diện." ## Khi nào bắt buộc chạy Task có đụng vào bất kỳ thứ nào dưới đây thì bắt buộc: - File component, template, trang - CSS / style / class Tailwind - Form, validation phía client, thông báo lỗi - Luồng tương tác: bấm, kéo thả, mở/đóng, điều hướng - State hiển thị: loading, empty, error - Bất cứ chuỗi văn bản nào người dùng đọc được **Không bắt buộc khi:** chỉ sửa backend/API không đổi hình dạng dữ liệu, sửa script build, sửa tài liệu, sửa test. ## Các bước ### 1. Dựng app lên Chạy dev server. Ghi lại URL và **cổng thật** — đừng đoán là 3000 hay 5173. Server chạy nền, đừng để nó chặn phiên làm việc. ### 2. Mở trang bằng Playwright Dùng công cụ Playwright có sẵn trong môi trường: | Việc | Công cụ | |---|---| | Mở trang | `browser_navigate` | | Đọc cấu trúc trang | `browser_snapshot` | | Bấm / gõ / chọn | `browser_click`, `browser_type`, `browser_select_option`, `browser_fill_form` | | Chờ một thứ hiện ra | `browser_wait_for` | | Đọc lỗi console | `browser_console_messages` | | Xem request thất bại | `browser_network_requests` | | Đổi kích thước màn hình | `browser_resize` | | Chụp ảnh | `browser_take_screenshot` | Không có Playwright MCP thì viết một file `.spec.ts` rồi chạy `npx playwright test`. Máy chưa cài thì `npx playwright install chromium`. **Ưu tiên `browser_snapshot` hơn `browser_take_screenshot`.** Snapshot là cây accessibility ở dạng văn bản — đọc được chính xác, tìm được phần tử theo tên. Ảnh chụp chỉ để xác nhận bố cục và cho người dùng xem. ### 3. Đi đúng luồng người dùng sẽ đi Không dừng ở "trang có tải được". Diễn lại đúng việc mà thay đổi này phục vụ. Sửa form thì: bỏ trống rồi submit (phải hiện lỗi) → điền sai kiểu (phải hiện lỗi) → điền đúng (phải thành công). Sửa modal thì: mở → bấm ra ngoài → bấm Esc → bấm nút đóng. ### 4. Bốn thứ luôn phải kiểm 1. **Console sạch.** `browser_console_messages`. Có `error` là chưa xong, kể cả trang trông vẫn ổn. 2. **Network sạch.** `browser_network_requests`. Không có 4xx/5xx nào ngoài dự tính. 3. **Hẹp màn hình.** `browser_resize` về 375×667. Rất nhiều lỗi tràn chữ và vỡ layout chỉ hiện ở đây. 4. **Trạng thái rỗng và trạng thái lỗi**, nếu thay đổi có liên quan. Chúng gần như luôn bị bỏ quên. ### 5. Báo cáo kèm bằng chứng Nói rõ đã đi những bước nào, và dán ảnh chụp hoặc trích snapshot. Không được viết "đã kiểm, chạy tốt" trống không. ## Những cái cớ hay gặp — không cái nào được chấp nhận | Cớ | Vì sao không | |---|---| | "Sửa có mỗi CSS" | CSS là thứ vỡ nhiều nhất, và unit test không bao giờ bắt được | | "Test unit xanh hết rồi" | Test unit không dựng trình duyệt, không có layout engine | | "Code y hệt chỗ kia đang chạy" | Chỗ kia có context khác: CSS cha, state khác, dữ liệu khác | | "Dựng server lâu quá" | Lâu hơn nhiều so với việc người dùng phát hiện lỗi rồi báo lại | | "Người dùng bảo gấp" | Gấp là lý do để không phải làm lại lần hai | | "Nhìn đoạn diff là biết đúng rồi" | Nhìn diff không chỉ ra được z-index sai, overflow, hay lỗi console | ## Khi không dựng được app Có lúc thật sự không dựng được: thiếu biến môi trường, thiếu database, sandbox chặn mạng. Lúc đó **nói thẳng ra**: > Chưa kiểm được UI vì `<lý do cụ thể>`. Thay đổi nằm ở `<file:dòng>`. Nhờ bạn tự xem giúp > `<đúng những bước nào>`. Đó là báo cáo trung thực. Còn viết "xong rồi" là nói dối.
From chauipp/dotagents, MIT.
More from chauipp/dotagents
- 0.570score
ch-writing-prompts-map
chauipp
Use when the user explicitly invokes ch-writing-prompts-map with an optional level to create or improve a prompt for building a game map, level, or environment.
SkillAFreshness: AClaude Code +9 - 0.570score
ch-learn-english
chauipp
Use when the user explicitly invokes $ch-learn-english on, off, status or sync, or when a trusted per-chat hook confirms English learning is enabled in the…
SkillAFreshness: AClaude Code +9 - 0.565score
ch-build-map
chauipp
Use when building or editing an Unreal Engine room, sector, or level from a detailed spatial specification, especially with UE/Blender assets, shared .umap…
SkillAFreshness: AClaude Code +9 - 0.561score
ch-research
chauipp
Research open-ended or time-sensitive questions with multiple GPT-6 Luna subagents, independent sources, cross-checking, adversarial review, and cited…
SkillAFreshness: AClaude Code +9 - 0.559score
ch-no-clarify
chauipp
Use when the user explicitly invokes $ch-no-clarify and wants the current request executed directly without explanatory commentary.
SkillAFreshness: AClaude Code +9 - 0.559score
ch-clear-conversation
chauipp
Use when the user explicitly invokes $ch-clear-conversation to remove obsolete conversation log entries from the current worktree.
SkillAFreshness: AClaude Code +9 - 0.559score
ch-compact-conversation
chauipp
Use when the user explicitly invokes $ch-compact-conversation to condense a contiguous range of conversation logs in the current worktree.
SkillAFreshness: AClaude Code +9 - 0.557score
ch-capturing-what-worked
chauipp
Dùng ngay sau khi một task đã làm xong VÀ đã kiểm chứng là đúng, để đề xuất lưu bài học cho lần sau và chờ người dùng xác nhận trước khi ghi.
SkillAFreshness: AClaude Code +9 - 0.544score
ch-updating-skill-models
chauipp
Use when the user explicitly asks to reassess model or reasoning assignments in a Codex skill, or to apply a previously approved model update proposal.
SkillAFreshness: AClaude Code +9 - 0.539score
ch-research
chauipp
Use when a user asks to investigate, compare, verify, or evaluate a question and needs evidence from multiple sources, cross-checking, or a…
SkillAFreshness: AClaude Code +9 - 0.539score
ch-compacting-conversations
chauipp
Use when the user explicitly asks to compact, condense, summarize-and-replace, or archive old conversation history in the current worktree.
SkillAFreshness: AClaude Code +9 - 0.521score
graphify
chauipp
Build and query a knowledge graph of a codebase or document corpus with graphify.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 28, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/chauipp/dotagents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from chauipp
- 0.570score
ch-learn-english
chauipp
Use when the user explicitly invokes $ch-learn-english on, off, status or sync, or when a trusted per-chat hook confirms English learning is enabled in the…
SkillAFreshness: AClaude Code +9 - 0.570score
ch-writing-prompts-map
chauipp
Use when the user explicitly invokes ch-writing-prompts-map with an optional level to create or improve a prompt for building a game map, level, or environment.
SkillAFreshness: AClaude Code +9 - 0.565score
ch-build-map
chauipp
Use when building or editing an Unreal Engine room, sector, or level from a detailed spatial specification, especially with UE/Blender assets, shared .umap…
SkillAFreshness: AClaude Code +9 - 0.561score
ch-research
chauipp
Research open-ended or time-sensitive questions with multiple GPT-6 Luna subagents, independent sources, cross-checking, adversarial review, and cited…
SkillAFreshness: AClaude Code +9 - 0.559score
ch-compact-conversation
chauipp
Use when the user explicitly invokes $ch-compact-conversation to condense a contiguous range of conversation logs in the current worktree.
SkillAFreshness: AClaude Code +9 - 0.559score
ch-clear-conversation
chauipp
Use when the user explicitly invokes $ch-clear-conversation to remove obsolete conversation log entries from the current worktree.
SkillAFreshness: AClaude Code +9
Cite this page
ch-verifying-ui-with-playwright skill. Agent Mart. https://agentmart.dev/skills/chauipp-ch-verifying-ui-with-playwright (last updated 2026-10-24)