Skip to content
Back to skills

Ai E2e Gen

ASecurity

Generate Playwright/Cypress E2E tests from user flows

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
testingtypescriptgobashnodegitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill ai-e2e-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ai E2e Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ai E2e Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-ai-e2e-gen/badge)](https://www.skillsdirectory.com/skills/modbender-ai-e2e-gen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: e2e-gen
description: Generate Playwright/Cypress E2E tests from user flows
---

# E2E Test Generator

Describe user flows, get Playwright or Cypress tests. No more writing login tests by hand.

## Quick Start

```bash
npx ai-e2e-gen "User signs up, verifies email, completes onboarding"
```

## What It Does

- Converts flow descriptions to E2E tests
- Generates Playwright or Cypress code
- Includes proper waits and assertions
- Adds data-testid selectors

## Usage Examples

```bash
# Generate Playwright test
npx ai-e2e-gen "User adds item to cart and checks out"

# Generate Cypress test
npx ai-e2e-gen "Admin creates new user" --framework cypress

# From existing page
npx ai-e2e-gen --url http://localhost:3000/dashboard
```

## Output Example

```typescript
test('user completes checkout', async ({ page }) => {
  await page.goto('/products');
  await page.click('[data-testid="add-to-cart"]');
  await page.click('[data-testid="checkout"]');
  await expect(page.locator('.success')).toBeVisible();
});
```

## Requirements

Node.js 18+. OPENAI_API_KEY required.

## License

MIT. Free forever.

---

**Built by LXGIC Studios**

- GitHub: [github.com/lxgicstudios/ai-e2e-gen](https://github.com/lxgicstudios/ai-e2e-gen)
- Twitter: [@lxgicstudios](https://x.com/lxgicstudios)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…