e2e-test-generator

e2e-test-generator is a skill for Claude Code from PMDevSolutions/Aurelius. It costs 77 tokens per session (3,466 once invoked), scanned A, original, MIT.

A generator for Playwright end-to-end tests from a build specification. End-to-end tests check a complete user flow in a running app, and Playwright automates browsers for those checks.

In plain words
What is it for?
It helps produce runnable tests for web apps, Chrome extensions and progressive web apps, including browser-based user journeys.
Why use it?
It creates tests from the app's pages, components and user flows instead of requiring every test file to be written manually.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/pmdevsolutions/aurelius/e2e-test-generator
Any agent
npx skills add PMDevSolutions/Aurelius --skill e2e-test-generator
Clone the repo
git clone --depth 1 https://github.com/PMDevSolutions/Aurelius

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for e2e-test-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/e2e-test-generator.svg)](https://agentmods.dev/skills/pmdevsolutions/aurelius/e2e-test-generator)
Your own site
<a href="https://agentmods.dev/skills/pmdevsolutions/aurelius/e2e-test-generator"><img src="https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/e2e-test-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.03466
Opus 5 $0.00039 $0.01733
Sonnet 5 $0.00015 $0.00693
Haiku 4.5 $0.00008 $0.00347

Measured yesterday against content hash 8db4d0ad0557, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

e2e-test-generator scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(link.getAttribute("href")!);
.claude/skills/e2e-test-generator/SKILL.md · 399 lines

How it starts

The opening of the file, as written. The whole thing — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.

E2E Test Generator — App-Type-Aware Playwright Tests

Purpose

Generate comprehensive Playwright E2E tests based on the build specification. Reads build-spec.json to understand the app type, pages, components, and user flows, then produces E2E test files tailored to the specific application type (web app, Chrome extension, or PWA).

When to Use

  • Phase 6 of the /build-from-figma pipeline (after Visual QA, before Quality Gate)
  • When adding E2E coverage to an existing Figma-derived app
  • When the user asks for E2E tests for any React application
  • After component build is complete and unit tests pass

Inputs

  • Required: .claude/plans/build-spec.json (from figma-intake skill)
  • Required: Working built application (components implemented, unit tests passing)
  • Optional: .claude/pipeline.config.json (for E2E settings and app type config)
  • Optional: src/styles/design-tokens.lock.json (for visual assertion values)

Process

Step 1: Read Configuration

1. Load build-spec.json → extract appType, pages, components, e2e.flows
2. Load pipeline.config.json → extract e2e settings, appType config
3. Determine test strategy:
   - web-app → standard Playwright with dev server
   - chrome-extension → persistent context with --load-extension
   - pwa → standard Playwright + offline/install tests

Step 2: Generate Test Infrastructure

For Web Apps (appType: "web-app")

Copy the shared Playwright config template and customize:

  1. Copy templates/shared/playwright.config.ts → project root playwright.config.ts
  2. Adjust baseURL and webServer.command based on framework:
    • Next.js: baseURL: "http://localhost:3000", command: "pnpm dev"
    • Vite: baseURL: "http://localhost:5173", command: "pnpm dev"
  3. The template includes 5 browser projects by default:
    • Desktop: chromium, firefox, webkit
    • Mobile: mobile-chrome (Pixel 5), mobile-safari (iPhone 13)
For Chrome Extensions (appType: "chrome-extension")

Read the full file on GitHub · 399 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 399 lines · 0 tokens per session scan A 8db4d0ad0557

Subscribe to this mod's changes

e2e-test-generator is a skill published in the GitHub repository PMDevSolutions/Aurelius (8 stars, last pushed 21d ago), licensed MIT. It adds 77 tokens to every session and 3,466 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

mcp-sdk-audit

Upgrade @modelcontextprotocol/server (the MCP TypeScript SDK v2) and prove the wire contract survived. The SDK is a runtime dependency whose breakage lands on the wire, not in the type checker — so this sorts each release by which SDK source files it touched (Figwright uses only the server + stdio slice of a…

awdr74100/figwright · 159 tokens

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

figma-build

Build a Figma design from code or a description — the reverse of figma-codegen. Reuses the connected file's existing design system (components, variables, styles) instead of drawing primitives with hardcoded values. Triggers whenever the user wants something created or updated IN Figma from code or a spec — e.g.…

awdr74100/figwright · 180 tokens

figma-design-handoff

Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…

yonatangross/orchestkit · 76 tokens

mk:figma

Read-first Figma gateway via Figma MCP: analyze designs, implement Figma-to-code for 1–3 screens, extract design tokens, produce a Figma Evidence Packet for planning handoff, screenshot fallback. Advanced operations (Code Connect, canvas writes, design-system/library patterns) are gated references loaded only on…

ngocsangyem/MeowKit · 99 tokens

design-qa

빌드된 앱 화면을 실기기/시뮬레이터에서 캡처해 Figma 원본과 오버레이(50% 블렌드 + diff 히트맵 + figma|real 나란히 크롭 + 픽셀색 비교)로 대조하고, 코드 오차로 확정된 항목을 Figma 선언값으로 되짚어 스스로 보정하는 검증 루프. 비교·측정 엔진은 플랫폼 중립이고 캡처 계층만 플랫폼별이다(Android·iOS·Web 지원). 두 진입: ① codegen Step 7c 위임 호출, ② 직접 호출(/design-qa) — 프롬프트로 검증/보정 모드를 판별하고 Figma 링크 해소·현재 브랜치 빌드·캡처까지 스스로 오케스트레이션. "오버레이…

naver/design-to-ui · 243 tokens