ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

playwright-pro

Production-grade Playwright testing toolkit. Use when the user mentions Playwright tests, end-to-end testing, browser automation, fixing flaky tests, test migration, CI/CD testing, or test suites. Generate tests, fix flaky failures, migrate from Cypress/Selenium, sync with TestRail, run on BrowserStack. 55 templates, 3 agents, smart reporting.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/alirezarezvani/cs-pw
Or

What This Skill Does

Playwright Pro is a production-grade testing toolkit specifically designed for AI coding agents to streamline browser automation and end-to-end (E2E) testing workflows. It transforms raw user stories into robust, maintainable test suites. By leveraging 55 specialized templates and automated analysis agents, the skill handles the heavy lifting of framework initialization, test generation, anti-pattern detection, and complex migration tasks. It provides a suite of CLI-based commands that allow agents to intelligently scaffold configurations, identify locator bottlenecks, fix flaky tests, and integrate seamlessly with external platforms like TestRail and BrowserStack. It serves as an end-to-end lifecycle management tool for your testing infrastructure.

Installation

To integrate this skill into your environment, use the OpenClaw CLI to install the package from the official source repository:

clawhub install openclaw/skills/skills/alirezarezvani/cs-pw

Once installed, the /pw: command namespace becomes available to your AI agent, enabling direct command execution within your workspace.

Use Cases

Playwright Pro is designed for developers, QA engineers, and DevOps teams aiming to modernize their testing strategy. Key use cases include:

  • Greenfield Setup: Quickly scaffolding Playwright projects with optimized CI/CD pipelines.
  • Migration: Transitioning legacy Cypress or Selenium suites to Playwright with high parity.
  • Maintenance: Automatically diagnosing flaky tests and refactoring brittle locators (e.g., swapping CSS selectors for getByRole or getByLabel).
  • Quality Assurance: Ensuring test suites meet modern standards via the /pw:review command which catches missing assertions and anti-patterns.
  • Enterprise Integration: Synchronizing test results with TestRail for compliance and running cross-browser tests on BrowserStack.

Example Prompts

  1. "Initialize a new Playwright project in this repo and create a smoke test for the user login flow."
  2. "My login test is failing intermittently in CI; please use /pw:fix to diagnose and repair it."
  3. "We are moving away from Cypress; please run /pw:migrate on our current e2e folder to convert the existing tests to Playwright."

Tips & Limitations

  • Validation Workflow: Always follow the Generate → Review → Fix sequence. The /pw:review command is your primary defense against brittle tests.
  • Assertions: Prefer web-first assertions like expect(locator).toBeVisible() over static timeouts. The tool automatically suggests these corrections.
  • Coverage: Run /pw:coverage frequently during migration projects to identify gaps between your legacy suite and your new Playwright implementation.
  • Limitations: While highly capable, it is intended for use in controlled repository environments. Always inspect the generated code before committing to ensure business logic remains intact.

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-alirezarezvani-cs-pw": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#playwright#testing#automation#e2e#qa
Safety Score: 3/5

Flags: file-write, file-read, code-execution, external-api

Related Skills

intl-expansion

International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.

alirezarezvani 4473

marketing-strategy-pmm

Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.

alirezarezvani 4473

paid-ads

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.

alirezarezvani 4473

qms-audit-expert

ISO 13485 internal audit expertise for medical device QMS. Covers audit planning, execution, nonconformity classification, and CAPA verification. Use for internal audit planning, audit execution, finding classification, external audit preparation, or audit program management.

alirezarezvani 4473

code-reviewer

Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.

alirezarezvani 4473