Run e2e and unit tests for Claude Inspector. An agent skill from kangraemin/claude-inspector.

MITAuto-check passedTesting & QA

Install E2E

skills CLI
$ npx skills add kangraemin/claude-inspector --skill e2e -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kangraemin/claude-inspector e2e --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kangraemin/claude-inspector.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/e2e .claude/skills/e2e && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
e2e
GitHub stars
131
Token cost
~682 tokens
SKILL.md length
124 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Run e2e and unit tests for Claude Inspector. An agent skill from kangraemin/claude-inspector.

  • Tasks that involve End-to-end testing
  • SKILL.md covers Claude Inspector 테스트 실행, 현재 상태, Playwright 핵심 패턴 and 테스트 실패 대처, plus 1 more section
  • Calls npm and git
  • Tasks that involve Unit testing

What it does

E2E is an agent skill from kangraemin/claude-inspector. Run e2e and unit tests for Claude Inspector. Use after code changes to verify regressions.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering End-to-end testing and Unit testing. It works with Anthropic API and Model Context Protocol. The repository describes itself as: Claude Code Prompt Mechanism Visualizer — Electron desktop app. The licence is MIT.

When your agent uses it

  • Tasks that involve End-to-end testing
  • Tasks that involve Unit testing

Example prompts

  • “/e2e”

What it can do on your machine

Read from SKILL.md and the folder at commit d23cb9e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

E2E loads about 682 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 124 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~682

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kangraemin/claude-inspector at commit d23cb9e, republished under its MIT licence (© kangraemin). 124 words, ~682 tokens.

Download SKILL.mdSave it as .claude/skills/e2e/SKILL.md (or your agent's skills folder).
name
e2e
description
Run e2e and unit tests for Claude Inspector. Use after code changes to verify regressions.
user-invocable
true

Claude Inspector 테스트 실행

Unit tests (파싱 로직)
bash
npm run test:unit
  • parseClaudeMdSections — CLAUDE.md system-reminder 섹션 파싱
  • parseUserText — 사용자 메시지 내 injected block 감지
  • detectMechanisms — 5가지 메커니즘 감지 로직
E2E tests (Electron UI)
bash
npm run test:e2e
# headed 모드 (브라우저 보이게)
npm run test:e2e -- --headed
# 특정 테스트만
npm run test:e2e -- --grep "탭 클릭"
# 디버그 모드 (step-by-step)
npm run test:e2e -- --debug
  • 앱이 실행 중이면 먼저 종료: pkill -x "Electron"
전체 실행
bash
npm test

현재 상태

  • 브랜치: !git branch --show-current
  • 변경 파일: !git diff --name-only HEAD 2>/dev/null | head -10

Playwright 핵심 패턴

셀렉터 우선순위
typescript
// ✅ 권장: role, label, data-testid 순
page.getByRole('button', { name: '프록시 시작' })
page.getByLabel('API Key')
page.locator('[data-testid="proxy-toggle"]')
page.locator('[data-m="claude-md"]')  // 이 프로젝트 convention

// ❌ 금지: CSS 클래스, nth-child
page.locator('.btn.active')
page.locator('div > span:nth-child(2)')
대기 전략
typescript
// ❌ 금지: 고정 타임아웃
await page.waitForTimeout(3000);

// ✅ 권장: 상태/요소 기반
await page.waitForLoadState('domcontentloaded');
await expect(page.locator('[data-m="claude-md"]')).toHaveClass(/active/);
await expect(page.getByText('Copied!')).toBeVisible();
Page Object Model (복잡한 테스트에서 활용)
typescript
// tests/e2e/pages/MechanismPage.ts
export class MechanismPage {
  constructor(private page: Page) {}

  tab(name: string) {
    return this.page.locator(`[data-m="${name}"]`);
  }

  async switchTo(name: string) {
    await this.tab(name).click();
    await expect(this.tab(name)).toHaveClass(/active/);
  }
}
네트워크/IPC 모킹 (프록시 테스트)
typescript
// Anthropic API 응답 모킹
await page.route('**/api.anthropic.com/**', route => {
  route.fulfill({
    status: 200,
    contentType: 'application/json',
    body: JSON.stringify({ id: 'msg_test', content: [{ type: 'text', text: 'ok' }] }),
  });
});
실패 시 트레이스 수집
typescript
// playwright.config.ts에 추가
use: {
  trace: 'on-first-retry',
  screenshot: 'only-on-failure',
  video: 'retain-on-failure',
}

테스트 실패 대처

원인해결
앱 실행 중 충돌pkill -x "Electron"
포트 충돌lsof -ti:9090 | xargs kill
셀렉터 못 찾음--headed 모드로 실행해 직접 확인
타임아웃waitForTimeout → waitForLoadState 변경
Unit test 불일치public/index.html 함수와 tests/unit/parse.test.mjs 기대값 동기화 확인

테스트 피라미드

      /E2E\         ← 앱 실행·탭 전환·프록시 제어
     /──────\
    /Unit    \      ← parseClaudeMdSections, detectMechanisms
   /──────────\

E2E는 핵심 워크플로우만. 파싱 로직 엣지케이스는 unit test로.

© kangraemin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/e2e of kangraemin/claude-inspector.

Open the folder on GitHubat commit d23cb9e

Compare with similar skills

E2E next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

E2E compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
E2E this skillkangraemin/claude-inspector131—~682Automated safety check: PassMIT
Playwright Testingchongdashu/vibejam-starter-pack149—~2.2kAutomated safety check: PassNone
Frontend Playwright E2Eansible/ansible-ui113—~2.5kAutomated safety check: NotesApache-2.0
Edt MCP Build TestDitriXNew/EDT-MCP295—~1.4kAutomated safety check: PassAGPL-3.0
Edt MCP TestingDitriXNew/EDT-MCP295—~2.1kAutomated safety check: PassAGPL-3.0
Typescript TestingComposioHQ/composio30k—~222Automated safety check: PassMIT

Similar skills

  • Playwright Testing

    chongdashu/vibejam-starter-pack

    Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.

    149 GitHub stars~2.2k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Frontend Playwright E2E

    ansible/ansible-ui

    Write, run, and debug Playwright E2E / integration / live tests.

    113 GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check: notes
  • Edt MCP Build Test

    DitriXNew/EDT-MCP

    How to build the EDT-MCP Eclipse plugin (Tycho/Maven) and run its unit and e2e tests, plus the test conventions for this repo.

    295 GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Edt MCP Testing

    DitriXNew/EDT-MCP

    How to manually e2e-test each EDT-MCP server tool against a live EDT workbench + TestConfiguration.

    295 GitHub stars~2.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Typescript Testing

    ComposioHQ/composio

    Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests.

    30k GitHub stars~222 tokensUpdated today
    Testing & QAAuto-check passed
  • Frontmcp Testing

    agentfront/frontmcp

    A skill your agent uses for anything about testing FrontMCP servers: writing or running unit, integration, and E2E tests and reaching the 95%+ coverage bar.

    146 GitHub stars~10k tokensUpdated yesterday
    Testing & QAAuto-check: notes

More from kangraemin/claude-inspector

  • Deploy

    kangraemin/claude-inspector

    Claude Inspector macOS 배포 스킬. An agent skill from kangraemin/claude-inspector.

    131 GitHub stars~739 tokensUpdated today
    Auto-check: notes
  • Dev Bounce

    kangraemin/claude-inspector

    코드를 고치거나 새로 짜는 작업을 단계별 워크플로우로 진행한다. An agent skill from kangraemin/claude-inspector.

    131 GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Categories

Questions about E2E

What does E2E do?

Run e2e and unit tests for Claude Inspector. An agent skill from kangraemin/claude-inspector. E2E is an agent skill from kangraemin/claude-inspector. Run e2e and unit tests for Claude Inspector.

When should I use E2E?

E2E fits situations like: tasks that involve End-to-end testing; tasks that involve Unit testing.

How do I install E2E in Claude Code?

Run `npx skills add kangraemin/claude-inspector --skill e2e -a claude-code`. Or copy the skill folder (.claude/skills/e2e in kangraemin/claude-inspector) into .claude/skills/e2e in your project. Claude Code loads it when a task matches its description.

How do I install E2E in Codex?

Run `npx skills add kangraemin/claude-inspector --skill e2e -a codex`. Or copy the skill folder (.claude/skills/e2e in kangraemin/claude-inspector) into .agents/skills/e2e in your project. Codex loads it when a task matches its description.

Can I use E2E in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kangraemin/claude-inspector --skill e2e -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/e2e, .gemini/skills/e2e, .github/skills/e2e and .opencode/skills/e2e in your project.

What does E2E need to run?

Going by SKILL.md and its folder, E2E needs the command-line tools its instructions call (npm and git).

Does E2E access the network?

SKILL.md contains no URLs. Its commands use npm and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is E2E safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does E2E use?

E2E is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does E2E use?

About 682 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to E2E?

Skills that share tags, products or a category with E2E: Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars), Frontend Playwright E2E (ansible/ansible-ui, 113 stars), Edt MCP Build Test (DitriXNew/EDT-MCP, 295 stars) and Edt MCP Testing (DitriXNew/EDT-MCP, 295 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains E2E?

kangraemin (a GitHub user) maintains it in kangraemin/claude-inspector, which has 131 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 8, 2026.

Source: kangraemin/claude-inspector on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.