PL

playwright-validation

Ensures comprehensive E2E test coverage by reviewing UI changes and validating them with Playwright.

Install

mkdir -p .claude/skills/playwright-validation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1058" && unzip -o skill.zip -d .claude/skills/playwright-validation && rm skill.zip

Installs to .claude/skills/playwright-validation

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when validating UI changes in a branch require Playwright E2E testing. Reviews branch changes, validates UI with Playwright MCP, and adds missing test cases.
161 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Review branch changes against main
  • Identify missing Playwright test coverage
  • Validate UI behavior using Playwright MCP
  • Add test fixtures and cleanup logic
  • Verify visual and state-based UI elements
  • Run Playwright lint checks

How it works

The skill guides the user through a four-phase workflow: reviewing branch diffs, analyzing existing test coverage, validating UI state via Playwright MCP, and implementing missing test cases using standard fixtures.

Inputs & outputs

You give it
UI branch changes
You get back
Updated Playwright test suite with coverage for new features

When to use playwright-validation

  • Reviewing UI-related branch coverage
  • Adding missing Playwright E2E tests for new components
  • Validating UI changes before PR creation

About playwright-validation

Reviews branch changes against existing test suites to ensure UI modifications are adequately covered by Playwright E2E tests. It guides the addition of missing test scenarios.

Use when validating UI changes in a branch require Playwright E2E testing. Reviews branch changes, validates UI with Playwright MCP, and adds missing test cases.

When not to use it

  • When UI changes do not require E2E testing
  • When the environment cannot run Playwright

Prerequisites

Playwright MCPLocal environment running on port 8585

Limitations

  • Cannot use networkidle in tests
  • Cannot use page.pause() or test.only()
  • Requires manual setup of test fixtures

How it compares

Unlike manual testing, this workflow enforces specific test patterns and linting rules to ensure UI changes are covered by automated E2E tests before PR creation.

Compared to similar skills

playwright-validation side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
playwright-validation (this skill)34moReviewIntermediate
react-best-practices223moNo flagsIntermediate
feature-flags66moReviewIntermediate
senior-qa62moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry