e2e-rules
Skill3 starsChanged 23 days agoMITView on GitHub
House rules for end-to-end UI tests with e2e (TesterArmy). Use alongside the e2e skill on any UI change in a web or mobile app, when setting up e2e in a project, and when an e2e run fails. Covers the subscription-only model setup, the config template, file naming, and when a task counts as done.
- Installs packages
In this repository51 other files it gives its agents.
- guidelines/CLAUDE.mdCLAUDE.md
- animate-expoSkill
- animateSkill
- animation-vocabularySkill
- apple-designSkill
- ask-sonnerSkill
- batch-grill-meSkill
- bi-dashboardsSkill
- bouw-loopSkill
- brandkitSkill
- code-auditSkill
- commit-disciplineSkill
- councilSkill
- createlooppromptSkill
- data-visualizationSkill
- design-taste-frontendSkill
- diagram-designSkill
- dicht-loopSkill
- e2eSkill
- emil-design-engSkill
- find-animation-opportunitiesSkill
- find-bugsSkill
- fixing-accessibilitySkill
- fix-loopSkill
- frontend-gotchasSkill
- goalSkill
- improve-animationsSkill
- keten-loopSkill
- make-interfaces-feel-betterSkill
- mobile-nativeSkill
- office-docsSkill
- pick-ui-librarySkill
- polijst-loopSkill
- polpohire-designSkill
- pre-pr-gatesSkill
- projectstructuurSkill
- prototypeSkill
- readmeSkill
- reaSkill
- redesign-existing-projectsSkill
- render-proofSkill
- repo-hygieneSkill
- review-animationsSkill
- skill-finderSkill
- speur-loopSkill
- supergoalSkill
- systematic-debuggingSkill
- theme-selectorSkill
- transitions-devSkill
- ux-heuristicsSkill
- waak-loopSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Test files are named *.e2e.ts and live in tests/.
- Very specific: line 14
After changing a test, run it once with --no-cache.
- Very specific: line 15
Never put secrets in tests.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
e2e house rules
- On a UI change in a web or mobile app: add or update an e2e test. Use the
e2eskill and thee2eMCP server. - Project without e2e: copy
assets/e2e.config.template.tsfrom this skill toe2e.config.ts, adjusttargets(start command, URL), thennpm i -D e2e@0.21.2 @e2e-dev/web@0.15.2 ai@7.0.143. The template runs models on your own Claude seat throughclaudeSeat()from poort, which ships with this harness:node <harness>/tools/poort/poort.mjs init(v0.4.0); fix the relative import of.poort/integrations/e2e-claude-seat.mjsif the config sits in a subfolder. Without poort, set the model in the config as thee2eskill describes. Do not runnpx e2e initover an existing config. - Test files are named
*.e2e.tsand live intests/. - Models run on the user's own Claude seat:
claudeSeat()from.poort/integrations/e2e-claude-seat.mjsrunsclaude -p. No API keys, no proxy, no other providers. Switch models withE2E_MODEL/E2E_JUDGE(Claude ids, e.g.claude-sonnet-5-5,claude-opus-5-5). Not signed in: ask the user to runclaudeand log in, or to setCLAUDE_CODE_OAUTH_TOKENfromclaude setup-token. Recording sees demo data only; replay calls no model. - One
agent.actper goal, followed by an exactexpect. - Done =
npx --no-install e2e run --reporter list,markdownpasses. On failure, read.e2e/summary.mdand the failure page before changing code. - After changing a test, run it once with
--no-cache. Commit.e2e/cache/. - Never put secrets in tests; use
credentials.user().
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.

