browser-qa
Fungsinya
Agent ini secara otomatis memeriksa apakah sebuah website atau aplikasi web berfungsi dengan benar setelah pembaruan. Agent ini meniru tindakan pengguna, seperti mengklik tautan dan mengisi formulir, lalu memastikan semuanya tampil sesuai harapan, termasuk aksesibilitas dan kecepatan muat.
Kapan dipakai
- βSetelah men-deploy fitur baru ke lingkungan pengujian.
- βUntuk memastikan halaman penting di website berfungsi dengan baik.
- βSebelum merilis pembaruan ke semua pengguna.
Link skill
https://github.com/affaan-m/ECC/blob/main/skills/browser-qa/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPeriksa situs demo di staging.mysite.com dan beri tahu saya apakah semuanya sudah berjalan baik untuk rilis ini.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Alat ini menggunakan perangkat yang mengendalikan browser sungguhan untuk membuka halaman, memeriksa error, mengambil 'screenshot' dalam berbagai ukuran layar, dan menguji apakah tautan serta formulir berfungsi. Alat ini juga memeriksa apakah situs dapat diakses oleh penyandang disabilitas.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Browser QA β Automated Visual Testing & Interaction
When to Use
- After deploying a feature to staging/preview
- When you need to verify UI behavior across pages
- Before shipping β confirm layouts, forms, interactions actually work
- When reviewing PRs that touch frontend code
- Accessibility audits and responsive testing
How It Works
Uses the browser automation MCP (claude-in-chrome, Playwright, or Puppeteer) to interact with live pages like a real user.
Safety first β blast radius (run read-only by default)
Browser QA drives real auth and real user journeys, so treat the blast radius explicitly. Default to read-only: never run a mutating journey (checkout, payment, delete, mass-update) against a production URL β require an explicit opt-in and a staging/preview URL. Use seeded test credentials, never real production logins, and redact credentials/tokens/PII before saving any screenshot.
Phase 1: Smoke Test
1. Navigate to target URL
2. Check for console errors (filter noise: analytics, third-party)
3. Verify no 4xx/5xx in network requests
4. Screenshot above-the-fold on desktop + mobile viewport
5. Check Core Web Vitals: LCP < 2.5s, CLS < 0.1, INP < 200ms
(INP replaced FID in March 2024; thresholds per web.dev)
Phase 2: Interaction Test
1. Click every nav link β verify no dead links
2. Submit forms with valid data β verify success state
3. Submit forms with invalid data β verify error state
4. Test auth flow: login β protected page β logout (test creds only, never prod)
5. Test critical user journeys (checkout, onboarding, search)
β read-only by default; only exercise mutating journeys against staging
with explicit opt-in (see "Safety first" above)
Phase 3: Visual Regression
1. Screenshot key pages at 3 breakpoints (375px, 768px, 1440px)
2. Compare against committed baseline screenshots
β no baseline β report INCONCLUSIVE, never a silent PASS
3. Flag layout shifts > 5px, missing elements, overflow
4. Check dark mode if applicable
Phase 4: Accessibility
1. Run axe-core or equivalent on each page
2. Flag WCAG 2.2 AA violations (contrast, labels, focus order)
3. Verify keyboard navigation works end-to-end
4. Check screen reader landmarks
Note: axe-core automatically covers roughly 30β40% of WCAG. A clean run is necessary, not sufficient β keyboard nav, focus order, and a screen-reader pass still need a manual check. Don't report "accessible" from an automated pass alone.
Output Format
## QA Report β [URL] β [timestamp]
### Smoke Test
- Console errors: 0 critical, 2 warnings (analytics noise)
- Network: all 200/304, no failures
- Core Web Vitals: LCP 1.2s β, CLS 0.02 β, INP 89ms β
### Interactions
- [β] Nav links: 12/12 working
- [β] Contact form: missing error state for invalid email
- [β] Auth flow: login/logout working
### Visual
- [β] Hero section overflows on 375px viewport
- [β] Dark mode: all pages consistent
### Accessibility
- 2 AA violations: missing alt text on hero image, low contrast on footer links
### Verdict: SHIP WITH FIXES (2 issues, 0 blockers)
# verdict β SHIP / SHIP WITH FIXES / DO NOT SHIP; use INCONCLUSIVE if no visual baseline
Integration
Works with any browser MCP:
mChild__claude-in-chrome__*tools (preferred β uses your actual Chrome)- Playwright via
mcp__browserbase__* - Direct Puppeteer scripts
Pair with /canary-watch for post-deploy monitoring.
Pertanyaan umum
Apa itu 'Core Web Vitals'?
Ini adalah metrik penting yang mengukur pengalaman pengguna, mulai dari kecepatan muat halaman, interaktivitas, hingga kestabilan tampilan.
Apa arti 'visual regression'?
Ini adalah perbandingan antara 'screenshot' tampilan saat ini dengan tampilan sebelumnya untuk melihat apakah ada perubahan visual yang tidak diharapkan.
Apa itu 'axe-core'?
Ini adalah alat yang secara otomatis memeriksa apakah website mengikuti panduan aksesibilitas, sehingga penyandang disabilitas tetap bisa menggunakannya.
Detail
Deskripsi asli dari pembuat
Run automated post-deploy UI verification with a browser automation MCP (claude-in-chrome, Playwright, or Puppeteer): console-error and Core Web Vitals smoke checks, form and auth-flow interaction tests, screenshot visual regression across three breakpoints, and axe-core accessibility audits ending in a SHIP / DO-NOT-SHIP verdict. Use when testing a deployed feature on staging or preview, before s
repo: affaan-m/ECC
Popularitas
- Bintang GitHub
- 280k
- Peringkat
- #272
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
accessibility
280kMembantu agent Anda membuat antarmuka yang ramah untuk semua orang. Memastikan website dan aplikasi tetap bisa dipakai penyandang disabilitas, seperti tunanetra.
agent-architecture-audit
280kMembuat agent Anda memeriksa apakah semuanya berjalan dengan benar. Agent akan menemukan dan memperbaiki masalah pada sistem AI agar bekerja sesuai harapan.
agent-eval
280kMembantu agent Anda membandingkan berbagai alat coding AI. Mengukur mana yang lebih cepat, lebih murah, dan lebih andal untuk tugas tertentu.
agent-harness-construction
280kMembuat agent Anda lebih memahami cara menyelesaikan tugas. Agent mengoptimalkan alat dan instruksi yang digunakan agar peluang berhasilnya lebih besar.
Skill serupa
test-driven-development
311kMengajari agent Anda menulis tes yang gagal dulu, melihatnya gagal, lalu menulis kode terkecil yang lulus, sebelum membangun fitur atau perbaikan apa pun.
verification-before-completion
311kMengajari agent Anda menjalankan pemeriksaan nyata dan membaca keluarannya sebelum menyatakan tugas, perbaikan, atau build sudah selesai atau lulus.
migrate-to-shoehorn
310kMengganti type cast berisiko di file tes Anda dengan pustaka shoehorn, sehingga tes bisa memakai data parsial dan tetap lulus pemeriksaan tipe.