Agent Skills: 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.

UncategorizedID: mpazaryna/claude-toolkit/dev-playwright

Install this agent skill to your local

pnpm dlx add-skill https://github.com/mpazaryna/agentic-factory/tree/HEAD/skills/dev/dev-playwright

Skill Files

Browse the full folder contents for dev-playwright.

Download Skill

Loading file tree…

skills/dev/dev-playwright/SKILL.md

Skill Metadata

Name
dev-playwright
Description
"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