e2e
Skill2 starsChanged 5 months agoMITView on GitHub
Write or scaffold end-to-end / integration tests that drive the app like a user — browser flows (Playwright/Cypress) or API flows — matching the project's setup. Use when the user says "write an e2e test", "add end-to-end tests", "set up Playwright/Cypress", "test this user flow", "add integration tests", or "test the happy path through the app".
25 other projects use a version of this.
Adopted by
Most recently taken up by
- kortix-ai/sunatheir own version, first seen Oct 5, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- getsentry/sentry-javascripttheir own version, first seen Sep 27, 2026
- flightctl/ai-workflowstheir own version, first seen Sep 21, 2026
- Pawel-Kica/claude-code-100their own version, first seen Sep 12, 2026
- kdlbs/kandevtheir own version, first seen Sep 10, 2026
Used with
Projects with it also use instinct-export, instinct-import and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
TheKREATORSSkillinstinct-export
Export instincts from project/global scope to a file
Also in 3 projects that use this
TheKREATORSSkillinstinct-import
Import instincts from file or URL into project/global scope
Also in 3 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 4 projects that use this
MontimageSkilltest-coverage
Improve test coverage by finding untested branches, error paths, and edge cases. Use when measuring or strengthening a project's tests. Don't use for production debugging, code review, or feature implementation.
Also in 3 projects that use this
qtzx06Skilleval
Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.
Also in 3 projects that use this
Hugging FaceSkillupdate-docs
Update documentation across the repo after API changes. Finds stale references in docs, examples, docstrings, and fixes them.
Also in 4 projects that use this
- +1 more from TheKREATORS
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- kortix-ai/suna★ 20ksame name
- getsentry/sentry-javascript★ 8.8ksame name
- entireio/cli★ 5.2ksame name
- kdlbs/kandev★ 899same name
- platformplatform/PlatformPlatform★ 440same name
- kangraemin/claude-inspector★ 131same name
- heliohq/ship★ 93same name
- AsiaOstrich/universal-dev-standards★ 76same name
- DGouron/review-flow★ 44same name
- sgaabdu4/building-flutter-apps★ 23same name
15 more not listed
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 repository68 other files it gives its agents.
- a11ySkill
- api-docsSkill
- audit-logSkill
- benchmarkSkill
- bisectSkill
- cacheSkill
- changelogSkill
- cherry-pickSkill
- ci-setupSkill
- codeownersSkill
- commit-messageSkill
- connection-poolSkill
- contributingSkill
- coverageSkill
- db-migrateSkill
- dead-codeSkill
- debugSkill
- depsSkill
- diagramSkill
- dockerizeSkill
- docstringSkill
- env-exampleSkill
- error-handlingSkill
- explainSkill
- feature-flagSkill
- flaky-testSkill
- gitignoreSkill
- graceful-shutdownSkill
- graphqlSkill
- healthcheckSkill
- i18nSkill
- idempotencySkill
- licenseSkill
- lint-fixSkill
- loggingSkill
- migrateSkill
- mockSkill
- onboardSkill
- optimizeSkill
- paginationSkill
- pr-descriptionSkill
- pre-commitSkill
- profileSkill
- prune-branchesSkill
- rate-limitSkill
- readmeSkill
- rebaseSkill
- refactorSkill
- regexSkill
- releaseSkill
- resolve-conflictsSkill
- retrySkill
- review-diffSkill
- scaffoldSkill
- secrets-scanSkill
- security-headersSkill
- seedSkill
- soft-deleteSkill
- sqlSkill
- squashSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Write an end-to-end / integration test for the flow in $ARGUMENTS.
- Very specific: line 23
Use resilient selectors: Prefer role/label/test-id (getByRole, data-testid) over brittle CSS/XPath tied to styling.
- Very specific: line 30
No fixed sleep/arbitrary timeouts — use proper waiting.
- Very specific: line 33
After writing, give the exact command to run it and note any prerequisites (app/server running, env vars, a seeded test db, browser install …
“Common” is measured: kept by at least 6 in 10 of the 20 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 signals
!ls -d e2e tests/e2e cypress playwright.config.* cypress.config.* tests/integration 2>/dev/null
!grep -rilE "@playwright/test|cypress|puppeteer|selenium|supertest|testcontainers|webdriver" package.json pyproject.toml 2>/dev/null | head
Instructions
Write an end-to-end / integration test for the flow in $ARGUMENTS. If the flow isn't clear, ask which user journey to cover before writing. If no e2e framework is set up, identify the idiomatic one and confirm before adding it.
Method
- Detect the framework and convention. From the signals above, find the e2e tool (Playwright, Cypress, Puppeteer, Selenium for browser; supertest/requests + testcontainers for API) and read an existing e2e test to match its structure, selectors, fixtures, base URL/config, and naming. Mirror it. If none exists, propose the standard for the stack (Playwright for web, supertest-style for an API) and confirm.
- Test the flow as a user/client experiences it, across real boundaries — UI → server → db, or HTTP request → response → persisted state. Assert on observable outcomes (visible text, URL, status code, returned/stored data), not internal implementation.
- Use resilient selectors. Prefer role/label/test-id (
getByRole,data-testid) over brittle CSS/XPath tied to styling. For APIs, assert status + body shape, not incidental fields. - Handle async and state properly. Use the framework's auto-waiting/explicit waits instead of fixed sleeps. Set up and tear down test data so runs are isolated and repeatable; don't depend on a prior test's leftovers or on a specific pre-seeded record that may not exist.
- Keep it focused and stable. One coherent journey per test, named for the behavior. Cover the happy path plus a key failure (e.g. invalid login), not every permutation — e2e is expensive, so test the critical paths, not what unit tests already cover.
Rules
- Match the project's existing e2e framework, selectors, and fixtures exactly; don't introduce a second framework or a new selector style unprompted.
- No fixed
sleep/arbitrary timeouts — use proper waiting; flaky timing makes e2e worthless. Call out any inherent nondeterminism. - Make tests self-contained: create the data they need and clean up, so they pass in any order against a fresh environment.
- Assert real user-visible/client-visible outcomes; don't reach into internals to make a test pass.
- After writing, give the exact command to run it and note any prerequisites (app/server running, env vars, a seeded test db, browser install like
npx playwright install).
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.

