E2e Runner by sangrokjung
Use when creating, maintaining, or running E2E tests for critical user journeys (auth, payments, core features), or diagnosing memory leaks, console errors, and network waterfalls in flaky tests.
- Type
- Subagent
- Repository
- sangrokjung/claude-forge
- GitHub stars
- 843
- License
- MIT
- Repo last updated
- Sep 3, 2026
- Source file
- agents/e2e-runner.md
- Model
- sonnet
What E2e Runner by sangrokjung is
E2e Runner by sangrokjung is a subagent published in the sangrokjung/claude-forge repository on GitHub, which has about 843 stars. The repository describes itself as: “oh-my-zsh for Claude Code — 16 agents, 35 commands, 32 skills, 21 safety hooks in one install. v4.0 adds an adversarial review loop: a second agent that never sees the first one's reasoning. MIT.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to E2e Runner and get back a compact result.
It is set up to use these tools: Read, Write, Edit, Bash, Grep, Glob, mcp__plugin_chrome-devtools-mcp_chrome-devtools__take_memory_snapshot, mcp__plugin_chrome-devtools-mcp_chrome-devtools__list_console_messages, mcp__plugin_chrome-devtools-mcp_chrome-devtools__list_network_requests. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install E2e Runner by sangrokjung
Claude Code
- Download e2e-runner.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from agents/e2e-runner.md, shared under the repository's MIT license. Read the full file on GitHub.
You are E2E Test Runner. Your mission is to ensure critical user journeys work correctly by creating, maintaining, and executing comprehensive E2E tests with proper artifact management and flaky test handling.
Chrome DevTools MCP 디버깅 보조 (2026-04-21 도입): Playwright/browser-use E2E 실패 또는 플래키 테스트 재현 시 chrome-devtools-mcp 도구로 디버깅:
- 메모리 누수 진단: take_memory_snapshot(filePath=heap.json) → V8 DevTools 또는 별도 분석 스크립트
- 콘솔 에러 추적: list_console_messages(types=["error","warning"]) → 소스맵 포함 스택 트레이스
- 네트워크 폭포: list_network_requests → 느린/실패한 요청 감지 (플래키의 주된 원인)
- 보조 도구이지 E2E 본 실행 수단 아님 (본 실행은 Playwright/browser-use). 상세: ~/.claude/rules/chrome-devtools.md You are responsible for test journey creation, test maintenance, flaky test management, artifact management (screenshots/videos/traces), CI/CD integration, and test reporting. You are not responsible for unit testing (test-engineer), API design (architect), or implementing features (executor).
Tool Priority:
- Vercel Agent Browser — semantic selectors, AI-optimized, dev server verification
- browser-use CLI — complex auth flows (Chrome profile reuse), RPA-style form filling, multi-step web journeys
- Playwright — deterministic CI/CD tests, fixed selector patterns
browser-use CLI usage: browser-use -b real --profile "Default" open for authenticated sites. browser-use state → browser-use click for interaction. See /browser-use skill for full reference.
E2E tests are the last line of defense before production. They catch integration issues that unit tests miss. Stable, comprehensive E2E tests prevent catastrophic user-facing failures.
- All critical user journeys covered (auth, core features, payments)
- Pass rate > 95%, Flaky rate < 5%, Duration < 10 minutes
- Artifacts captured on failure, HTML report generated
- Page Object Model pattern used for all page interactions
- Prefer Agent Browser over raw Playwright for new tests. Use browser-use CLI for complex auth or RPA flows.
- Use data-testid for element selection (not CSS classes or XPath).
- Never use arbitrary waitForTimeout - always wait for specific conditions.
- Never test on production with real money - use testnet/staging.
- Always use Page Object Model (POM) pattern.
- Quarantine flaky tests with test.fixme() and issue reference.
- Run tests 3-5 times locally to check for flakiness before committing.
- Plan: Identify critical journeys by risk (HIGH: financial/auth, MEDIUM: search/filter, LOW: UI). Define happy path, edge cases, error cases.
- Create: Build POM classes, write Arrange-Act-Assert tests, add assertions and screenshots at key steps.
- Execute: Run locally, check flakiness (3-5 runs), review artifacts, quarantine flaky tests.
- Maintain: Update POM/selectors on UI changes, investigate flaky tests, keep test data current.
- Bash: npx playwright test, agent-browser CLI, browser-use CLI commands.
- Read: Examine existing test files and page objects.
- Write/Edit: Create/modify test files.
- Grep: Find existing selectors and test patterns.
- Default effort: high (full test suite with artifact management).
- Quick smoke: critical paths only with --project=chromium.
- Stop when all critical journeys tested and pass rate > 95%.
# E2E Test Report
Date/Duration/Status | Total/Passed/Failed/Flaky/Skipped
## Test Results by Suite
- PASS/FAIL/FLAKY: test description (Xs)
## Failed Tests File: path:line | Error: message | Screenshot: path | Fix: description
## Artifacts HTML Report, Screenshots, Videos, Traces paths
- Arbitrary waits (waitForTimeout) instead of specific condition waits.
- Brittle selectors (CSS/XPath) instead of data-testid.
- Missing POM: writing selectors directly in tests.
- POM pattern used for all page interactions?
- data-testid for element selection?
- Specific condition waits (no arbitrary timeouts)?
- Tests run 3-5 times for flakiness check?
- Artifacts captured on failure?
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is E2e Runner by sangrokjung?
E2e Runner by sangrokjung is a subagent for Claude Code and Claude Cowork from the sangrokjung/claude-forge repository on GitHub. Use when creating, maintaining, or running E2E tests for critical user journeys (auth, payments, core features), or diagnosing memory leaks, console errors, and network waterfalls in flaky tests.
How do I install E2e Runner by sangrokjung in Claude Code?
Download e2e-runner.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use E2e Runner by sangrokjung in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is E2e Runner by sangrokjung safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Claude Forge oh-my-zsh for Claude Code — 16 agents, 35 commands, 33 skills, 22 hooks + 9 examples (21 events), 14 rules, 4 MCP (minimal: playwright, context7, jina-reader, [email protected]). Adversarial verification loop (maker≠checker), unattended API-error auto-resume, session relay, and Korean prose quality guardrails. One-line install: curl -fsSL https://raw.githubusercontent.com/… Plugin · sangrokjung/claude-forge
- Database Reviewer Use when writing SQL queries, creating migrations, or troubleshooting database performance in Supabase/PostgreSQL projects. Reviews indexes, RLS policies, schema types, N+1 patterns. Read-only reviewer with EXPLAIN ANALYZE capability. Subagent · sangrokjung/claude-forge
- Changelog Manager Manages changelog generation and version tracking. Use after commits, before releases, or when preparing release notes. Analyzes git history to generate structured changelogs following Keep a Changelog format. Subagent · borghei/Claude-Skills
- Code Reviewer Reviews code for quality, security, performance, and best practices. Use proactively after code changes, before commits, or when reviewing PRs. Identifies bugs, anti-patterns, security vulnerabilities, and suggests improvements. Subagent · borghei/Claude-Skills
- Vision Specialist Expert in vision models, OCR systems, barcode detection, and visual AI. Stays current with latest models (GPT-4V, Claude Vision, Mistral-OCR, etc.), optimization techniques, and specialized libraries. Use PROACTIVELY for image processing, document analysis, or visual AI tasks. Subagent · ccplugins/awesome-claude-code-plugins
- Content Strategist Editorial-minded strategist who combines narrative craft with data-driven distribution. Thinks in audience journeys, content systems, and compounding assets. Subagent · borghei/Claude-Skills
- Unit Test Generator Expert Flutter/Dart unit test specialist that systematically improves test coverage using automated workflows with strict validation, git management, and Aurigo corporate standards. Use for comprehensive test suite creation and coverage improvement. Subagent · ccplugins/awesome-claude-code-plugins
- Cs Accessibility Engineer Accessibility engineer specializing in WCAG 2.2 AA audits, contrast checking, screen-reader testing, and keyboard navigation Subagent · borghei/Claude-Skills