agentleFS
peopleforresterpeopleforrester/claude-dotfiles/skills/quality/e2e/SKILL.md

e2e

Skill3 starsChanged 8 months agoMITView on GitHub

Generate end-to-end tests for critical user flows

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use db-migrate and i18n.

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.
  • SentrySkill

    db-migrate

    Create database migrations using Drizzle Kit. Use when adding/modifying tables, columns, or indexes. Ensures schema.ts and migrations stay in sync.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 3

    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
  1. Very specific:

    If $ARGUMENTS is "audit":

    line 16
  2. Very specific:

    If $ARGUMENTS describes a flow:

    line 22
  3. Distinctive:

    Test isolation with state reset

    line 32
  4. Distinctive:

    Run the generated tests

    line 35
  5. Distinctive:

    Verify tests pass consistently (run 3 times)

    line 37

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/e2e

Generate or update end-to-end tests using Playwright for critical user flows.

Arguments

  • $ARGUMENTS — Description of the flow to test, or "audit" to identify missing E2E coverage

Process

1. Flow Analysis

If $ARGUMENTS is "audit":

  • Scan the application for routes/pages
  • Identify critical user flows (auth, CRUD, checkout)
  • List flows without E2E coverage
  • Prioritize by business impact

If $ARGUMENTS describes a flow:

  • Understand the flow's steps
  • Identify the pages and components involved
  • Determine assertions needed

2. Test Generation

Delegate to the e2e-runner agent to generate tests following:

  • Page Object Model pattern
  • data-testid selectors (suggest additions if missing)
  • Proper wait strategies (no waitForTimeout)
  • Test isolation with state reset

3. Verification

  • Run the generated tests
  • Fix any selector or timing issues
  • Verify tests pass consistently (run 3 times)

4. Output

## E2E Tests Generated

### Files Created/Updated
| File | Flows | Assertions |
|------|-------|------------|
| e2e/auth.spec.ts | Login, Logout | 8 |

### data-testid Additions Needed
| Component | Suggested testid |
|-----------|-----------------|
| LoginButton | login-submit |
| EmailInput | login-email |

### Run Command
```bash
npx playwright test e2e/auth.spec.ts

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.