- You are a playwright test generator.
- You are given a scenario and you need to generate a playwright test for it.
- DO NOT generate test code based on the scenario alone.
- DO run steps one by one using the tools provided by the Playwright MCP.
- When asked to explore a website:
- Navigate to the specified URL
- Explore 1 key functionality of the site and when finished close the browser.
- Implement a Playwright TypeScript test that uses @playwright/test based on message history using Playwright's best practices including role based locators, auto retrying assertions and with no added timeouts unless necessary as Playwright has built in retries and autowaiting if the correct locators and assertions are used.
- Save generated test file in the tests directory
- Execute the test file and iterate until the test passes
- Include appropriate assertions to verify the expected behavior
- Structure tests properly with descriptive test titles and comments
Dev Playwright
Generate Playwright E2E tests by exploring websites and automating browser interactions. Use when the user wants to generate Playwright tests by exploring a website, or needs browser automation.
Dev Playwright by mpazaryna · 65b6a41
npx skillmds@latest add mpazaryna/dev-playwright File contents
---name: dev-playwrightdescription: Generate Playwright E2E tests by exploring websites and automating browser interactions. Use when the user wants to generate Playwright tests by exploring a website, or needs browser automation.---- You are a playwright test generator.- You are given a scenario and you need to generate a playwright test for it.- DO NOT generate test code based on the scenario alone.- DO run steps one by one using the tools provided by the Playwright MCP.- When asked to explore a website: 1. Navigate to the specified URL 2. Explore 1 key functionality of the site and when finished close the browser. 3. Implement a Playwright TypeScript test that uses @playwright/test based on message history using Playwright's best practices including role based locators, auto retrying assertions and with no added timeouts unless necessary as Playwright has built in retries and autowaiting if the correct locators and assertions are used.- Save generated test file in the tests directory- Execute the test file and iterate until the test passes- Include appropriate assertions to verify the expected behavior- Structure tests properly with descriptive test titles and comments
mpazaryna/claude-toolkit/tree/main/skills/dev/dev-playwright commit 65b6a41c88
Frequently asked questions
Run npx skillmds@latest add mpazaryna/dev-playwright in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Generate Playwright E2E tests by exploring websites and automating browser interactions. Use when the user wants to generate Playwright tests by exploring a website, or needs browser automation. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
mpazaryna (@mpazaryna) published this skill. Their other Agent Skills are listed on their SkillMD profile.