author-e2e

Generate Playwright E2E tests and Page Object Model files from scenario files.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/ambroselittle/agent-skills --skill author-e2e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: author-e2e
Source: https://github.com/ambroselittle/agent-skills/tree/main/skills/author-e2e
Command: npx skills add https://github.com/ambroselittle/agent-skills --skill author-e2e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool automates the creation of Playwright-based end-to-end tests from scenario files or plain feature descriptions, reducing boilerplate and ensuring consistent structure.

Core Features & Use Cases

  • Generate .scenario.md templates from plain-language feature descriptions or existing scenarios.
  • Scaffold Playwright test files and Page Object Model page objects that map 1:1 to scenarios.
  • Apply flakiness-practices-guided scaffolding and project conventions to improve test reliability and maintainability.

Quick Start

Provide a scenario file path or feature description to generate the corresponding Playwright E2E tests.

Frequently Asked Questions about author-e2e

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

FAQPage Schema
How do I generate Playwright E2E tests from plain text feature descriptions?

You can generate Playwright E2E tests from plain-language feature descriptions by providing the scenario text to the author-e2e tool. It automatically scaffolds the corresponding test files and Page Object Model page objects in your project's e2e directory.

Can I scaffold Playwright page objects that map directly to my test scenarios?

Yes, you can scaffold Playwright page objects that map 1:1 to your test scenarios. The tool enforces a strict Page Object Model structure, generating both the page objects and the test files simultaneously to ensure consistent test architecture.

What is the best way to reduce boilerplate when creating scenario-driven Playwright tests?

The best way to reduce boilerplate in scenario-driven Playwright tests is to generate them from .scenario.md templates. The tool automates file creation and applies project conventions, eliminating repetitive setup code while maintaining a consistent structure across tests.

Does this E2E test generation tool apply any practices to prevent flaky tests?

Yes, the E2E test generation tool applies flakiness-practices-guided scaffolding to improve test reliability. It adheres to your repository's specific flakiness-practices guidelines during the generation of both test files and page objects.

Can I use existing scenario files to create Playwright test stubs?

Yes, you can use existing scenario files to create Playwright test stubs. Simply provide the scenario file path, and the tool will generate the corresponding .scenario.md stubs, page objects, and test files based on your provided scenarios.