본문으로 건너뛰기
cccskills
무료GitHub에 공개

browser-e2e-test

Build kokoro-js-jp and run its real-browser e2e suite (Worker + WASM openjtalkjs g2p + ONNX kokoro-js synthesis, English and Japanese). Use when asked to verify this package actually works in a browser, to check whether a change broke synthesis, or to add browser-level regression coverage for a bug in the g2p/synthesis pipeline that vitest's pure-function tests can't catch. Not for typecheck/lint/unit-test requests — use npm run typecheck / npm test for those.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Playwright
설치 방법 보기

포함된 파일(1)

  • SKILL.md1.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Runs kokoro-js-jp's browser e2e suite (test/e2e/tts.spec.ts, Playwright) and reports the result. This is the only verification path that exercises the actual Worker + WASM + ONNX pipeline — npm test (vitest) only covers pure functions. See AGENTS.md at the repo root for the full rationale (this pipeline had a long-standing bug that silently broke every KokoroJP.load() call and only real-browser testing could have caught it).

Steps

  1. Confirm you're in the kokoro-js-jp repo (package.json name field). If not, find it — it's a separate repo from whatever else is open, commonly at ~/public_html/kokoro-js-jp.
  2. Delegate to the browser-e2e-tester subagent (.claude/agents/browser-e2e-tester.md) to build, run, and — if something fails — investigate and either fix it or report exactly what's broken and where. Don't duplicate its debugging logic here; that file is the source of truth for how to interpret failures.
  3. Relay the agent's result plainly: pass/fail, and for a fail, what broke and what (if anything) was fixed. Don't editorialize beyond that.

Args

If the user names a specific scenario to check (e.g. "does the French voiceId error case still work", "check the dictionary reachability regression"), pass that through to the subagent as extra context rather than just re-running the whole suite blind — it can target npx playwright test -g "<pattern>" if that's faster for the ask.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고