e2e-test-writer

Generate Playwright end-to-end tests from JSON flow descriptions.

5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/JansenAnalytics/claudex --skill e2e-test-writer-jansenanalytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-test-writer
Source: https://github.com/JansenAnalytics/claudex/tree/main/skills/e2e-test-writer
Command: npx skills add https://github.com/JansenAnalytics/claudex --skill e2e-test-writer-jansenanalytics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automatically converts user flow descriptions and page insights into ready-to-run Playwright end-to-end tests, reducing manual test creation time and ensuring consistent test coverage.

Core Features & Use Cases

  • Generate Playwright tests from JSON flow descriptions and flow templates.
  • Scaffold Playwright test infrastructure and sample test files with dedicated scripts (generate-test.py, flow-recorder.sh, test-scaffold.sh).
  • Reference flows and templates help accelerate writing tests for common user scenarios and verification steps.
  • Reuse existing page analysis or snapshots to bootstrap test code and selectors.

Quick Start

Create a JSON flow describing the user journey and run the generation script to output a Playwright test file.

Frequently Asked Questions about e2e-test-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Playwright E2E tests from user flow descriptions?

To generate Playwright E2E tests, create a JSON flow file describing the user journey and run the generation script to output a ready-to-run test file. This converts user flow descriptions into Playwright tests automatically.

Can I scaffold Playwright test infrastructure and sample test files automatically?

Yes, you can scaffold Playwright test infrastructure using dedicated shell utilities like test-scaffold.sh and flow-recorder.sh. These scripts bootstrap project scaffolding and produce sample test files.

What actions are supported when generating E2E tests from JSON flow files?

Supported actions for generating E2E tests from JSON flow files include goto, fill, click, and assert_text. These actions define the automated steps within the generated Playwright test scripts.

Do I need existing page analysis or snapshots to bootstrap test code and selectors?

No, existing page analysis or snapshots are not required, but you can reuse them to bootstrap test code and selectors. This accelerates writing tests for common user scenarios and verification steps.

What is the best way to extend comprehensive E2E test suites for web apps?

The best way to extend comprehensive E2E test suites is applying JSON flow templates and automated scaffolding scripts. This ensures consistent test coverage while reducing manual test creation time for web apps.

Why use JSON flow files instead of writing Playwright tests manually?

Using JSON flow files instead of writing Playwright tests manually reduces manual test creation time and ensures consistent test coverage. Reference flows and templates accelerate writing tests for common user scenarios.