skills$openclaw/e2e-writer
lxgicstudios3.5k

by lxgicstudios

e2e-writer – OpenClaw Skill

e2e-writer is an OpenClaw Skills integration for coding workflows. Generate Playwright end-to-end tests from a URL or component file. Use when you need e2e test coverage fast.

3.5k stars306 forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namee2e-writer
descriptionGenerate Playwright end-to-end tests from a URL or component file. Use when you need e2e test coverage fast. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/e2e-writer
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/e2e-writer
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains e2e-writer in the OpenClaw Skills directory.

View GitHub profile
File Explorer
3 files
.
_meta.json
283 B
README.md
487 B
SKILL.md
2.5 KB
SKILL.md

name: e2e-writer description: Generate Playwright end-to-end tests from a URL or component file. Use when you need e2e test coverage fast.

E2E Test Writer

Writing end-to-end tests is the thing everyone knows they should do but nobody wants to. This tool generates Playwright e2e tests by looking at your URL or component files. Point it at a page and it figures out the user flows, selectors, and assertions for you.

One command. Zero config. Just works.

Quick Start

npx ai-e2e-gen src/pages/Login.tsx

What It Does

  • Analyzes your component or page to identify testable user flows
  • Generates complete Playwright test files with proper selectors
  • Handles form submissions, navigation, and async operations
  • Creates both happy path and error case tests
  • Outputs ready to run .spec.ts files

Usage Examples

# Generate tests for a login page component
npx ai-e2e-gen src/pages/Login.tsx

# Generate tests from a URL
npx ai-e2e-gen https://myapp.com/signup

# Generate tests for multiple components
npx ai-e2e-gen src/pages/*.tsx

Best Practices

  • Start with your most critical flows - Login, signup, checkout. The stuff that actually breaks in production.
  • Review the selectors - The generated selectors are good starting points but you might want to add data-testid attributes for stability
  • Run them immediately - Don't let generated tests sit. Run them right away to catch any issues with the output
  • Add to CI early - Get these into your pipeline before you forget

When to Use This

  • You're adding e2e tests to a project that has zero coverage
  • A new feature shipped and you need tests before the next sprint
  • You want a baseline test suite to catch regressions
  • QA is overwhelmed and you need automated coverage now

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-e2e-gen --help

How It Works

The tool reads your component source code or fetches a URL, then analyzes the DOM structure and user interactions. It sends this context to an AI model that generates Playwright test cases covering the main user flows, edge cases, and error states.

License

MIT. Free forever. Use it however you want.

README.md

E2E Test Writer

Generate Playwright end-to-end tests from components or URLs.

Quick Start

npx ai-e2e-gen src/pages/Login.tsx

What It Does

  • Generates Playwright test files from components or URLs
  • Covers happy path and error cases
  • Ready to run .spec.ts output

Part of the LXGIC Dev Toolkit

110+ free developer tools. No paywalls.

MIT License.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-e2e-gen --help ```

FAQ

How do I install e2e-writer?

Run openclaw add @lxgicstudios/e2e-writer in your terminal. This installs e2e-writer into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/e2e-writer. Review commits and README documentation before installing.