generate

Generate Playwright test scripts from user stories or descriptions.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/4lerman/text_evaluator --skill generate-4lerman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate
Source: https://github.com/4lerman/text_evaluator/tree/main/.agents/skills/engineering-skills/playwright-pro/skills/generate
Command: npx skills add https://github.com/4lerman/text_evaluator --skill generate-4lerman

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of Playwright tests from user stories, URLs, component names, or feature descriptions, reducing the time and effort required to write tests manually.

Core Features & Use Cases

  • Test Generation: Automatically generate production-ready Playwright tests from user input.
  • Customization: Templates for various test patterns like authentication, CRUD operations, and form submissions.
  • Integration: Integrates with existing codebases, including page objects and fixtures.

Quick Start

Use the generate skill to create a test for the "login feature" by providing the user story "As a user, I want to be able to log in with email and password".

Frequently Asked Questions about generate

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

FAQPage Schema
How do I automate Playwright test generation from user stories?

You can automate Playwright test generation by providing user stories, URLs, or feature descriptions to automatically create production-ready test scripts, reducing manual effort. This skill outputs JavaScript test files ready for execution.

Can I generate Playwright tests for specific patterns like authentication and CRUD operations?

Yes, Playwright test generation supports customization through templates for various test patterns including authentication, CRUD operations, and form submissions. These templates help automate specific UI testing workflows.

Do I need JavaScript and Playwright installed to generate UI tests?

Yes, you need Playwright and JavaScript installed in your environment to create test files and execute tests. These dependencies are required to support the test-driven development workflows and UI testing automation.

What's the best way to integrate generated Playwright tests into an existing codebase?

Generated Playwright tests integrate with existing codebases by supporting page objects and fixtures. This allows the automatically generated test scripts to seamlessly fit into your current web application testing structure.

What inputs do I need to provide to generate a Playwright test script?

To generate a Playwright test script, you need to provide user stories, URLs, component names, or feature descriptions. The skill processes these inputs to automate the creation of corresponding UI tests.