generate

Generate Playwright tests from user stories, URLs, or component names.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/Patasse97/claude-skills --skill generate-patasse97
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate
Source: https://github.com/Patasse97/claude-skills/tree/main/engineering-team/playwright-pro/skills/generate
Command: npx skills add https://github.com/Patasse97/claude-skills --skill generate-patasse97

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of production-ready Playwright tests from user stories, URLs, component names, or feature descriptions, accelerating test coverage and consistency.

Core Features & Use Cases

  • Generate tests from a narrative or code reference (user story, URL, component name, or feature description).
  • Analyze the project to align with existing Playwright configuration, test directories, and patterns.
  • Produce structured tests that follow project conventions, including TypeScript/JavaScript output and integration with templates, fixtures, and page objects.
  • Use cases include adding tests for authentication flows, CRUD operations, forms, and navigation.

Quick Start

Provide a user story, URL, or component description and the tool will generate the corresponding Playwright tests.

Frequently Asked Questions about generate

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

FAQPage Schema
How do I generate Playwright tests from user stories automatically?

To generate Playwright tests from user stories, provide the narrative or feature description to the tool. It analyzes your project configuration and produces production-ready, runnable spec files that follow your existing test directory conventions.

Can I create Playwright test files from a URL or component name?

Yes, you can create Playwright test files by providing a URL or component name. The tool infers test targets from these inputs and generates structured spec files that integrate with your existing page objects and fixtures.

How does automated test generation handle existing TypeScript and JavaScript project conventions?

Automated test generation analyzes your project to align with existing Playwright configuration and test directories. It enforces your project conventions and supports both TypeScript and JavaScript outputs to ensure the generated spec files match your codebase.

Do I need existing Playwright configuration and test directories to auto-generate spec files?

You need an existing Playwright configuration and test directories for the tool to work effectively. It analyzes your project structure to infer targets, match templates, and produce runnable spec files that integrate seamlessly with your current setup.

What types of Playwright tests can be generated from feature descriptions?

You can generate Playwright tests for various use cases from feature descriptions, including authentication flows, CRUD operations, forms, and navigation. The generated tests integrate with templates, fixtures, and optional page objects for scalable test suites.