playwright-generate-test

Generate Playwright tests from user-provided scenarios via the Playwright MCP.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/kierunb/ReliableAppDemo --skill playwright-generate-test-kierunb
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: playwright-generate-test
Source: https://github.com/kierunb/ReliableAppDemo/tree/main/.github/skills/playwright-generate-test
Command: npx skills add https://github.com/kierunb/ReliableAppDemo --skill playwright-generate-test-kierunb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of Playwright tests from user-provided scenarios, accelerating test authoring and ensuring consistent patterns across projects.

Core Features & Use Cases

  • Scenario-driven test generation using the Playwright MCP to produce reusable, maintainable tests.
  • Guided, deterministic execution flow that records steps, validates results, and saves outputs to a tests directory.
  • Use Case: rapidly generate tests from acceptance criteria and iterate until tests pass, enabling faster feedback loops.

Quick Start

Provide a scenario and follow the prescribed Playwright MCP steps to generate, run, and save the resulting test in the tests directory.

Frequently Asked Questions about playwright-generate-test

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

FAQPage Schema
How do I generate Playwright tests from scenario descriptions?▼

To generate Playwright tests from scenarios, you provide the scenario details and the system uses the Playwright MCP to drive deterministic test creation, recording steps and saving the output directly to a tests directory for execution.

What is scenario-based test generation in Playwright?▼

Scenario-based test generation in Playwright is an automated approach that converts user-provided acceptance criteria or application scenarios into reusable, maintainable test scripts using a guided and deterministic execution flow.

Can I use TypeScript with scenario-based Playwright test generation?▼

Yes, TypeScript is supported for scenario-based Playwright test generation, ensuring that the automated test creation process applies consistent patterns and produces maintainable test scripts across web application projects.

How do I automate iterating on a Playwright test until it passes?▼

You automate iterating on a Playwright test until it passes by following the prescribed Playwright MCP steps, which record actions, validate deterministic results, save the output to a tests directory, and enable rapid feedback loops.

What is the best way to automate Playwright test authoring from acceptance criteria?▼

The best way to automate Playwright test authoring from acceptance criteria is using a scenario-driven generation process that records deterministic execution steps, validates results, and saves maintainable tests directly to your project directory.