ce-test-browser
하는 일
코드 변경이 건드리는 페이지를 실제 브라우저에서 열고, 종단 간 검사를 실행해 페이지별 결과를 보고합니다. 변경이 브라우저에서 작동한다는 증거를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓웹 페이지를 바꾸고 브라우저에서 확인하고 싶을 때.
- ✓pull request를 병합하기 전에 브라우저 테스트 결과가 필요할 때.
- ✓테스트하지 못한 페이지가 있을 때 그 이유를 알고 싶을 때.
스킬 링크
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-test-browser/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 브랜치가 바꾼 페이지에서 브라우저 테스트를 실행하고, 무엇이 실패하는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 설정에서 쓸 수 있는 브라우저 도구를 고르고, 실행 중인 개발 서버를 사용해 영향받는 페이지를 각각 테스트한 뒤, 각 페이지를 이유와 함께 통과, 실패, 건너뜀으로 표시합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Browser Test Skill
Run end-to-end browser tests on pages affected by a PR or branch using the best approved browser driver available in the active harness.
Done: the run ends by reporting what it found — either the summary, with every affected route marked Pass, Fail, or Skip and each Skip carrying its reason, or, when a preflight blocker stops testing before any route can be exercised, the blocker and what would clear it. Reaching neither, or dropping a route from the summary because nobody could reach it, is the failure this done condition exists to prevent.
Modes
- Manual (default): the user controls the dev server. When the fallback driver is
agent-browser, ask whether to run headed or headless. - Pipeline (
mode:pipeline): invoked by LFG or another automated runner. The run is unattended — never block on a question. Readreferences/pipeline-orchestration.mdfrom this skill's directory and follow it; it overrides port selection (step 4, Determine the dev server port), dev-server startup (step 5, Verify the dev server is running), and visibility prompts (step 6, Set visibility), running the same port script with--freeinside the block that starts the server.
Browser Driver Policy
Select the driver before the first browser action:
- Prefer a host-native integrated browser. Use a browser-control surface embedded in or directly owned by the active harness when it can navigate local URLs, inspect rendered and interactive state, click/fill/press, capture screenshots, and inspect console errors. A separately configured browser extension or integration is not host-native. Load and follow the selected capability's own instructions before browser work.
- Otherwise fall back to
agent-browser. Readreferences/agent-browser-driver.mdbefore running any command. - Do not introduce a third browser stack. Never install or substitute standalone Playwright, Puppeteer, a separately configured browser extension or MCP, or other ad hoc browser automation. A Playwright API exposed inside the selected host-native browser remains host-native; it is not standalone Playwright.
Use one driver for the entire run. A selected host-native driver may fall back to agent-browser only if initialization fails before the first route is tested. After testing begins, do not mix driver sessions, element references, screenshots, or authentication state.
Workflow
Read references/route-and-report.md from this skill's directory before step 3 (Map changed files to routes). It carries the route-mapping patterns, the port and server commands, the per-page checks, the two human-facing prompts, and the summary format.
- Select the driver per the policy above and record it. This also requires a git repository with changes to test.
- Determine test scope from the argument: a PR number →
gh pr view [number] --json files -q '.files[].path';currentor empty →git diff --name-only main...HEAD; a branch name →git diff --name-only main...[branch]. - Map changed files to routes and build the list of URLs to test.
- Determine the dev server port.
scripts/resolve-port.shresolves it and prints the port alone on stdout: an explicit port argument; else a--portflag in apackage.jsondev/start script; elsePORT=in.env,.env.local, or.env.development; else3000. Pass an explicit port when the user gave--port N, or when your active project instructions already in context state the dev-server port. Do not grep instruction files for one: prose mentions in docs, examples, and troubleshooting are unreliable and false-positive-prone, while config files and.envare trustworthy. Each mode runs the script in the shell call that needs the port, so no port value has to survive between shell calls or be transcribed out of prose; the reference gives the command. Manual mode uses that port as-is: the user controls their own server, so do not scan for alternatives. - Verify the dev server is running before asking the headed/headless question — a manual run with no server stops here, so asking first would waste the question.
- Set visibility, then verify the root. Visibility is independent from unattended execution:
- Host-native integrated browser: keep its normal integrated surface visible and non-blocking so the user can watch progress when useful. Do not repeatedly steal focus as routes change. This applies in both manual and pipeline modes.
- **`ag
자주 묻는 질문
개발 서버가 실행되어 있어야 하나요?
수동 모드에서는 개발 서버를 직접 관리하고, 자동 모드에서는 스킬이 직접 시작할 수 있습니다.
실행 중에 브라우저를 볼 수 있나요?
대체 브라우저 도구를 사용하면 브라우저를 보이게 할지 숨길지 물어봅니다.
페이지에 접속할 수 없으면 어떻게 하나요?
그 페이지는 이유와 함께 건너뜀으로 표시되므로 보고서에서 사라지지 않습니다.
상세 정보
작성자의 원본 설명
Run browser tests for pages affected by the current branch or PR. Use when asked to run or check browser tests for the current change.
인기도
- GitHub 스타
- 26k
- 순위
- #10049
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ce-babysit-pr
26k에이전트가 리뷰 댓글, 실패한 검사, 오래된 브랜치를 시간에 걸쳐 처리하며 열린 GitHub 풀 리퀘스트가 병합 상태로 나아가도록 돕습니다.
ce-bakeoff
26k에이전트가 한 문제에 대해 여러 경쟁 해결책을 만들고 비교한 뒤, 가장 강한 부분을 합쳐 하나의 추천 방식으로 정리하도록 돕습니다.
ce-brainstorm
26k에이전트가 막연한 아이디어를 짧은 안내 대화를 거쳐, 작업을 시작하기 전에 명확하고 알맞은 크기의 요구 사항으로 바꾸도록 돕습니다.
ce-code-review
26k에이전트가 지정된 코드 변경이나 풀 리퀘스트를 버그, 회귀, 누락된 테스트, 표준 문제 측면에서 검토하고, 명확한 발견 사항을 보고하도록 돕습니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.