mcpbeat Sign in

E2e Setup Agent Skill

> Set up an end-to-end test suite in any repo, following practices that make e2e a auth/session helper, video+trace evidence, and a compounding suite. Use when a repo has no e2e (or weak e2e) and you want system-level tests — "set up e2e", "add end-to-end tests", "scaffold a test gate".

961 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
1141
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/AI-Builder-Club/skills --skill e2e-setup

The instruction itself

6 sections, as written by the author

Set up an e2e test suite

E2e tests verify the whole running system *through the app* (browser/API), not one

module. They are the per-PR gate. Pairs with dev-local-setup (a reproducible

local stack) and verifier-setup (which scaffolds the repo's /verify skill —

the verify→ship loop this gate feeds into).

Where it lives

  • Unit/integration tests stay inside each app/package — they own one module.
  • System e2e is a dedicated top-level package (e.g. e2e/) — it spans all

apps, so it belongs to none. Add it to the workspace if a monorepo.

The recipe

  • Stand the app up reproducibly — see dev-local-setup. The e2e suite **never

boots the app itself**; it runs against the already-running stack. That stack can

be local (dev-local-setup) or an isolated cloud box (crabbox-setup) —

same specs, run against either. For parallel agents use the cloud box (one

laptop can't host concurrent stacks).

  • Pick the framework that fits (Playwright for browser; your HTTP client for API).

Turn on video + trace — the recording is the proof, and it's gitignored output.

  • Explore the flow live first (don't guess selectors), then crystallize it into

a committed spec.

  • Keep the gate small: a handful of critical journeys, deterministic. Each new

feature PR adds its spec — the suite compounds.

Practices that make e2e trustworthy

  • Real flow, not bypass. Drive the genuine path. For email codes / OTP, read the

real code from a local mail server (Mailpit / Inbucket / MailHog) — never hardcode

a fixed test code. That's what makes it a test, not a rehearsal.

  • Verify auth ITSELF once; bypass it everywhere else. A dedicated signup/login

spec proves auth works. Every *other* spec shouldn't re-pay the login tax — build

a session helper that mints an authed state once (real flow → saved storage

state, or a service-role/token mint) and load it.

  • Layered assertions: client → server → product. Don't stop at "the UI changed."

Confirm the server agrees (token validates / row/state is right) AND the

user-visible outcome (e.g. plan upgraded *and* credits granted).

  • Stable selectors. Prefer role/label/text; add a small data-testid in the

component when there's no good handle — never a brittle CSS path.

  • Fresh data per run. Unique emails/ids so reruns don't collide; mind rate

limits (auth email, etc.).

  • Commit specs + helpers, never test-results/ (generated output).

When a test fails: triage before "fixing"

A red e2e is information. Classify first:

  • Real bug — the product broke. Fix the code; the test did its job.
  • Stale test — the flow intentionally changed (renamed route, new step). Update

the test to match the new contract.

  • Flaky / env — stack down, timing, rate limit, stale data. Fix robustness/env.

Never weaken or delete an assertion just to go green. Loosening is only correct

when the *intended contract* changed — confirmed from the diff, not assumed.

External services (payments, email, 3rd-party)

Use the vendor's test/sandbox mode, never live keys — and guard hard: the

test should refuse to run if it detects a live key/credential. If a webhook

completes the flow, forward it locally (e.g. the vendor's CLI listener) so the e2e

exercises the real fulfilment path, not a faked event.

Other skills for the same job

different authors, same section of the catalogue
Webapp Testing
by anthropics
vendor ×12

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

6k tokens scripts
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
Test Driven Development
by w95
×7

Use when implementing any feature or bugfix, before writing implementation code

2k tokens
Systematic Debugging
by ratacat
×7

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

10k tokens scripts
Verification Before Completion
by ZhanlinCui
×6

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

1k tokens
Backtest Expert
by BaggaT236
×3

Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.

15k tokens scripts
Adaptyv
by christophacham
×3

Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein sequence optimization. Also use for submitting experiments via API, tracking experiment status, downloading results, optimizing protein sequences for better expression using computational tools (NetSolP, SoluProt, SolubleMPNN, ESM), or managing protein design workflows with wet-lab validation.

16k tokens
Aeon
by christophacham
×3

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.

19k tokens

How to use it

Copy the folder

Take ai-builder-club/e2e-setup from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.