Communitygithub.com

browser-qa

이 스킬은 기능 배포 후 브라우저 자동화를 통해 시각적 테스트 및 UI 상호작용 검증을 자동화합니다.

browser-qa란 무엇인가요?

Browser QA 스킬은 브라우저 자동화 MCP(Claude-in-Chrome, Playwright, Puppeteer)를 활용하여 실제 사용자처럼 라이브 페이지와 상호작용하며 UI 품질을 검증합니다. 이 스킬은 스테이징/프리뷰 환경에 기능을 배포한 후, 실제 출시 전에 레이아웃, 폼, 링크 등 핵심 UI 동작이 정상 작동하는지 확인하는 데 사용됩니다. 기본적으로 읽기 전용(read-only) 모드로 작동하며, 프로덕션 환경에서 결제나 삭제와 같은 변경 작업을 수행하지 않도록 안전장치가 내장되어 있습니다. 이 스킬은 네 가지 단계(스모크 테스트, 상호작용 테스트, 시각적 회귀 테스트, 접근성 테스트)로 구성되어 있으며, 각 단계별 결과를 마크다운 리포트로 출력합니다. 또한 axe-core를 활용한 WCAG 2.2 AA 접근성 위반 사항을 자동으로 감지하고, 키보드 내비게이션과 스크린 리더 호환성을 검사합니다. 최종 결과는 'SHIP(출시)', 'SHIP WITH FIXES(수정 후 출시)', 'DO NOT SHIP(출시 불가)' 중 하나로 판정됩니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/browser-qa

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Browser QA — 자동화된 시각적 테스트 및 상호작용

사용 시점

  • 스테이징/프리뷰에 기능을 배포한 후
  • 여러 페이지에서 UI 동작을 확인해야 할 때
  • 출시 전 — 레이아웃, 폼, 상호작용이 실제로 작동하는지 확인
  • 프론트엔드 코드를 건드리는 PR을 리뷰할 때
  • 접근성 감사 및 반응형 테스트

작동 방식

브라우저 자동화 MCP(Claude-in-Chrome, Playwright, Puppeteer)를 사용하여 실제 사용자처럼 라이브 페이지와 상호작용합니다.

안전 우선 — 피해 범위 (기본적으로 읽기 전용 실행)

Browser QA는 실제 인증 및 실제 사용자 여정을 다루므로 피해 범위를 명시적으로 다룹니다. 기본값은 읽기 전용: 프로덕션 URL에 대해 변경하는 여정(결제, 결제, 삭제, 대량 업데이트)은 절대 실행하지 마십시오. 명시적인 동의 및 스테이징/프리뷰 URL이 필요합니다. 시드된 테스트 자격 증명을 사용하고, 실제 프로덕션 로그인은 절대 사용하지 마십시오. 스크린샷을 저장하기 전에 자격 증명/토큰/PII를 삭제하세요.

1단계: 스모크 테스트

1. 대상 URL로 이동
2. 콘솔 오류 확인 (노이즈 필터링: 분석, 서드파티)
3. 네트워크 요청에서 4xx/5xx가 없는지 확인
4. 데스크톱 + 모바일 뷰포트에서 접힌 부분 위 스크린샷
5. 핵심 웹 바이탈 확인: LCP < 2.5초, CLS < 0.1, INP < 200ms
   (INP는 2024년 3월에 FID를 대체했습니다. 임계값은 web.dev 기준)

2단계: 상호작용 테스트

1. 모든 내비게이션 링크 클릭 — 끊긴 링크가 없는지 확인
2. 유효한 데이터로 양식 제출 — 성공 상태 확인
3. 유효하지 않은 데이터로 양식 제출 — 오류 상태 확인
4. 인증 흐름 테스트: 로그인 → 보호된 페이지 → 로그아웃 (테스트 자격 증명만 사용, 프로덕션 절대 안 됨)
5. 중요한 사용자 여정 테스트 (결제, 온보딩, 검색)
   — 기본적으로 읽기 전용이며, 변경 여정은 명시적 동의가 있는 스테이징에서만 실행
   (위의 "안전 우선" 참조)

3단계: 시각적 회귀 테스트

1. 3개의 중단점(375px, 768px, 1440px)에서 주요 페이지 스크린샷
2. 커밋된 기준 스크린샷과 비교
   — 기준이 없으면 INCONCLUSIVE(결정 불가)로 보고, 절대 자동 PASS로 처리하지 않음
3. 5px 이상의 레이아웃 이동, 누락된 요소, 오버플로 플래그 지정
4. 다크 모드가 적용되는 경우 확인

4단계: 접근성 테스트

1. 각 페이지에서 axe-core 또는 동등한 도구 실행
2. WCAG 2.2 AA 위반 사항 플래그 지정 (대비, 레이블, 포커스 순서)
3. 키보드 내비게이션이 처음부터 끝까지 작동하는지 확인
4. 스크린 리더 랜드마크 확인

참고: axe-core는 자동으로 WCAG의 약 30~40%를 다룹니다. 깨끗한 실행은 필요 조건이지만 충분 조건은 아닙니다. 키보드 내비게이션, 포커스 순서, 스크린 리더 통과는 여전히 수동 확인이 필요합니다. 자동화된 통과만으로 "접근 가능"이라고 보고하지 마십시오.

출력 형식

## QA 보고서 — [URL] — [타임스탬프]

### 스모크 테스트
- 콘솔 오류: 0개 심각, 2개 경고 (분석 노이즈)
- 네트워크: 모두 200/304, 실패 없음
- 핵심 웹 바이탈: LCP 1.2초 ✓, CLS 0.02 ✓, INP 89ms ✓

### 상호작용
- [✓] 내비게이션 링크: 12/12 작동
- [✗] 문의 양식: 유효하지 않은 이메일에 대한 오류 상태 누락
- [✓] 인증 흐름: 로그인/로그아웃 작동

### 시각적
- [✗] 히어로 섹션이 375px 뷰포트에서 오버플로됨
- [✓] 다크 모드: 모든 페이지 일관됨

### 접근성
- AA 위반 2건: 히어로 이미지에 대체 텍스트 누락, 푸터 링크의 낮은 대비

### 판정: 수정 후 출시 (2개 이슈, 0개 차단)
# 판정 ∈ 출시 / 수정 후 출시 / 출시 불가; 시각적 기준이 없으면 INCONCLUSIVE(결정 불가) 사용

통합

모든 브라우저 MCP와 함께 작동합니다:

  • mChild__claude-in-chrome__* 도구 (선호 — 실제 Chrome 사용)
  • mcp__browserbase__*를 통한 Playwright
  • 직접 Puppeteer 스크립트

배포 후 모니터링을 위해 /canary-watch와 함께 사용하세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

관련 스킬