Skip to content
Agent Orchestration
Skill

/e2e-verify

개발 완료 후 브라우저 자동화가 필요 없는 API/CLI 레벨 E2E 테스트 작성 및 실행. /verify 이후 실제 사용자 플로우를 검증합니다. 브라우저 자동화가 필요하면 e2e-agent-browser 스킬 사용. Triggers on: e2e 검증, e2e-verify, E2E 테스트. NOT for: 유닛 테스트, 타입체크, 빌드 검증, 브라우저 자동화 E2E.

BOOST
From plugin
my-cc-harness
12543 skills12 agents4 commands10 hooks
Install
$ npx -y skills add jh941213/my-cc-harness --skill e2e-verify --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/e2e-verify

Context preview

The summary Claude sees to decide when to auto-load this skill.

개발 완료 후 브라우저 자동화가 필요 없는 API/CLI 레벨 E2E 테스트 작성 및 실행. /verify 이후 실제 사용자 플로우를 검증합니다. 브라우저 자동화가 필요하면 e2e-agent-browser 스킬 사용. Triggers on: e2e 검증, e2e-verify, E2E 테스트. NOT for: 유닛 테스트, 타입체크, 빌드 검증, 브라우저 자동화 E2E.

SKILL.md

e2e-verify.SKILL.md
name: e2e-verify
description: "개발 완료 후 브라우저 자동화가 필요 없는 API/CLI 레벨 E2E 테스트 작성 및 실행. /verify 이후 실제 사용자 플로우를 검증합니다. 브라우저 자동화가 필요하면 e2e-agent-browser 스킬 사용. Triggers on: e2e 검증, e2e-verify, E2E 테스트. NOT for: 유닛 테스트, 타입체크, 빌드 검증, 브라우저 자동화 E2E."
user-invocable: true
disable-model-invocation: false
allowed-tools: Read, Write, Edit, Bash, Grep, Glob

E2E 피처 검증

개발 + `/verify` 완료 후, 구현한 피처가 실제 브라우저에서 동작하는지 E2E 테스트로 검증합니다.

전제 조건

  • `/verify` 통과 완료 (typecheck, lint, test, build)
  • 앱이 로컬에서 실행 가능한 상태

워크플로우

1단계: 피처 분석

구현한 피처의 사용자 플로우를 파악합니다.

- 어떤 페이지에서 시작하는가?
- 어떤 인터랙션이 필요한가? (클릭, 입력, 네비게이션)
- 성공 조건은 무엇인가? (URL 변경, 텍스트 표시, 상태 변화)
- 엣지 케이스는? (빈 입력, 에러 응답)

2단계: 앱 실행

# package.json에서 dev/start 스크립트 확인
cat package.json | grep -A 5 '"scripts"'

# 앱 실행 (백그라운드)
npm run dev &

# 포트 폴링으로 앱 준비 대기 (최대 30초) — 고정 sleep 금지
for i in $(seq 1 30); do
  curl -sf http://localhost:3000 >/dev/null 2>&1 && break
  sleep 1
done
curl -sf http://localhost:3000 >/dev/null 2>&1 || echo "FAIL: 30초 내 앱이 준비되지 않음"

3단계: E2E 테스트 작성

`e2e/` 디렉토리에 테스트 파일 생성합니다.

# 프로젝트에 기존 E2E 설정 확인
ls e2e/ 2>/dev/null || ls tests/e2e/ 2>/dev/null || ls __tests__/e2e/ 2>/dev/null

# 기존 E2E 프레임워크 확인 (Playwright, Cypress, agent-browser)
cat package.json | grep -E "playwright|cypress|agent-browser"

프레임워크별 테스트 작성

**agent-browser 사용 시:**

#!/bin/bash
set -e
cleanup() { agent-browser close 2>/dev/null || true; }
trap cleanup EXIT

agent-browser open http://localhost:3000

# 스냅샷으로 요소 확인
agent-browser snapshot -i

# 피처 플로우 실행
agent-browser fill @email-input "test@example.com"
agent-browser click @submit-btn
agent-browser wait text "Success"

echo "PASS: Feature E2E test"

**Playwright 사용 시:**

import { test, expect } from '@playwright/test';

test('피처명: 사용자 플로우', async ({ page }) => {
  await page.goto('/');
  await page.fill('[data-testid="email"]', 'test@example.com');
  await page.click('[data-testid="submit"]');
  await expect(page.locator('.success')).toBeVisible();
});

**Cypress 사용 시:**

describe('피처명', () => {
  it('사용자 플로우를 완료한다', () => {
    cy.visit('/');
    cy.get('[data-testid="email"]').type('test@example.com');
    cy.get('[data-testid="submit"]').click();
    cy.contains('Success').should('be.visible');
  });
});

4단계: 테스트 실행

# agent-browser
bash e2e/test_feature.sh

# Playwright
npx playwright test e2e/feature.spec.ts

# Cypress
npx cypress run --spec "cypress/e2e/feature.cy.ts"

5단계: 실패 시 디버깅

# 스크린샷 캡처
agent-browser screenshot ./e2e/debug.png

# headed 모드로 재실행
agent-browser open http://localhost:3000 --headed

# 콘솔 에러 확인
agent-browser console --error

테스트 체크리스트

  • [ ] 해피 패스 (정상 플로우) 통과
  • [ ] 에러 케이스 (잘못된 입력, 네트워크 에러) 처리 확인
  • [ ] 페이지 이동/라우팅 정상 동작
  • [ ] UI 상태 변화 (로딩, 성공, 실패) 표시 확인
  • [ ] 모바일 뷰포트에서도 동작 (해당 시)

검증 루프

각 테스트에서 실패 시: 1. 스크린샷/로그로 원인 파악 2. 코드 수정 3. `/verify` 다시 실행 (회귀 방지) 4. E2E 테스트 재실행 5. 모두 통과할 때까지 반복

Read more
Ships withmy-cc-harness

my-claude-code-asset

Get the whole plugin

Other skills on my-cc-harness.

auto-memory
Skill

auto-memory

레포에서 실질적인 작업(구현·수정·배포·디버깅)을 시작할 때, 새 레포를 처음 파악할 때, 작업을 마치고 기억할 지식이 생겼을 때 사용. 작업 유형에 맞는 docs·메모리만 선택적으로 로드하는 라우팅 테이블을 운영한다

autodev-parallel
Skill

autodev-parallel

Ralph Loop 병렬 버전. 여러 에이전트가 worktree에서 동시에 PRD 항목을 처리한다. 트리거: "PRD 항목 병렬 구현", "병렬 구현", "autodev parallel", "워크트리 병렬 개발", "병렬 랄프"…

autodev
Skill

autodev

Ralph Loop 기반 자율 개발 루프. Stop Hook이 세션 종료를 가로채어 PRD 항목을 하나씩 완료하며 자동 커밋한다. 트리거: "autodev", "자율 개발", "밤새 돌려", "랄프 루프", "ralph loop",…

brainstorming
Skill

brainstorming

기능 추가·컴포넌트 생성·동작 변경 등 모든 창작 작업 전에 사용. 구현 전에 의도·요구사항·설계를 대화로 확정 (심층 인터뷰가 필요한 대규모 기능은 /spec 사용)