e2e-setup
Skill0 starsChanged 23 days agoMITView on GitHub
Learn a web app once and write .e2e/e2e-env.md, the environment file every other E2E skill reads first. Also checks that playwright-cli, which the other E2E skills rely on, is installed. Use when a repo has no .e2e/e2e-env.md yet, when asked to set up or prepare Playwright E2E testing for an app, or when that file is stale after an auth, roles or seed change. Writes no spec, which is the job of e2e-plan.
- Reads credentials
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- AI-Builder-Club/skillstheir own version, first seen Jul 27, 2026
- cakehurstryan/QE-Skillstheir own version, first seen Jun 26, 2026
- Code-Shock/claude-skillstheir own version, first seen Apr 5, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- AI-Builder-Club/skills★ 1.3ksame name
- cakehurstryan/QE-Skills★ 15same name
- Code-Shock/claude-skills★ 5same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- e2e-assessSkill
- e2e-planSkill
- e2e-pruneSkill
- e2e-release-confidenceSkill
- e2e-reproSkill
- e2e-spec-rulesSkill
- e2e-triageSkill
- release-canarySkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Every E2E skill needs playwright-cli.
- Very specific: line 23
Test hooks: reset or reseed endpoints, latency or failure toggles, anything under _ or debug.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
e2e-setup
Input: the repo (if any), a base URL, one test account. Output: .e2e/e2e-env.md, committed, and .env.e2e with the passwords, never committed. Later sessions read it instead of re-learning the app, so it holds what a QA engineer needs on day one and nothing a reader can get from one cat.
Facts come from code first. A crawl sees only what is reachable and misses roles, flags and reset hooks; the code has all three. Steps 1 and 2 use file reading and search only. The browser is used once, in step 3, to prove the file, and playwright-cli is the one command needed.
Every E2E skill needs playwright-cli. If playwright-cli --version fails, ask the user to run npm install -g @playwright/cli@latest, then continue.
1. Read
In this order, stopping when the question is answered:
- README,
package.jsonscripts, Dockerfile or compose: how it runs, ports. - Routes or pages: the URL list and which ones need a session.
- Auth: login route, session cookie or token, redirect when signed out, roles or plan tiers, feature flags that gate UI.
- Seed, fixtures, migrations: test accounts, seeded records a test can rely on by name, prices.
- Test hooks: reset or reseed endpoints, latency or failure toggles, anything under
_ordebug. - Ready signals:
data-state,aria-busy, loading text, toasts. Locator conventions:data-testidpattern, labels on inputs. - Existing Playwright config and specs: base URL,
storageState, what is already covered.
Done when: every section of the file below has either a fact with its source file, or unknown.
2. Ask
Collect every unknown and every guess into one short list and ask the user once. Typical gaps: base URL per environment, which account is safe to use, how to reset state, what must never be touched (production data, real emails, real payments). No user available: keep the list as the file's Open questions section.
3. Prove
One smoke check. Each step is one playwright-cli command, in this order: open <base url><login path>, snapshot, fill <email ref> <email>, fill <password ref> <password>, click <submit ref>, snapshot, close.
Write down the exact labels and button name of the login form and the landing URL as seen, since specs will repeat these steps verbatim. The app is already running at the base URL given; a 404 or connection error on open goes under Open questions and the login section stays (unverified).
Done when: the login steps in the file ran once live.
4. Write
Passwords first. Each one goes into .env.e2e at the repo root as E2E_PASSWORD_<NAME>=<password>, and .env.e2e goes into .gitignore before anything is committed. No password, token or key is ever written to .e2e/e2e-env.md; that file names the variable.
Then .e2e/e2e-env.md, markdown, under 60 lines, these headings in this order:
# Test environment: <app name>
- Base URL: <url>
- Reset: <endpoint or command, or "none: tests must clean up">
- Never touch: <list, or "nothing known">
## Accounts
- <email>, password in `E2E_PASSWORD_<NAME>` (`.env.e2e`), <role>, <what they own in the seed>
## Login
<the exact steps as proven: goto, labels, button, landing URL>
## Pages
- <path>: <what it is>, <auth required?>, <ready signal>
## Seed facts tests can rely on
- <records by display name, prices, counts>
## Test hooks
- <toggle>: <effect>, <how to turn on and off>
## Conventions
- Locators: <testid pattern, label style>
- Ready signals: <attribute and values>
## Existing suite
- <config path, how to run, what is covered, or "none">
## Open questions
- <each unknown or guess>Mark every line that came from a guess with (unverified). Done when the file exists, the login section was proven in step 3, Open questions lists every guess, and git check-ignore .env.e2e prints the path.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

