Skip to content
Back to skills

Playwright Generate Test

ASecurity

Generates a Playwright test from a described scenario by first performing the steps with the Playwright MCP server, then writing and running the test. Use when turning a user journey into a working Playwright test.

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentstypescriptgogit

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add mouadja02/skills --skill playwright-generate-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playwright Generate Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Playwright Generate Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mouadja02-playwright-generate-test/badge)](https://www.skillsdirectory.com/skills/mouadja02-playwright-generate-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: playwright-generate-test
description: >-
  Generates a Playwright test from a described scenario by first performing the steps with the
  Playwright MCP server, then writing and running the test. Use when turning a user journey into a
  working Playwright test.
license: MIT
source: "https://github.com/github/awesome-copilot"
attribution: "github/awesome-copilot by GitHub Community"
---

> **Attribution:** Sourced from [github/awesome-copilot](https://github.com/github/awesome-copilot) by [GitHub Community](https://github.com/github), licensed MIT. Modified for this collection.

# Test Generation with Playwright MCP

Your goal is to generate a Playwright test based on the provided scenario after completing all prescribed steps.

## Specific Instructions

- You are given a scenario, and you need to generate a playwright test for it. If the user does not provide a scenario, you will ask them to provide one.
- DO NOT generate test code prematurely or based solely on the scenario without completing all prescribed steps.
- DO run steps one by one using the tools provided by the Playwright MCP.
- Only after all steps are completed, emit a Playwright TypeScript test that uses `@playwright/test` based on message history
- Save generated test file in the tests directory
- Execute the test file and iterate until the test passes

Files in this skill

  • LICENSE1 KB
  • SKILL.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.