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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alirezarezvani/cs-playwright-proWhat This Skill Does
Playwright Pro is a production-grade testing toolkit engineered for AI coding agents. It automates the entire testing lifecycle, from scaffolding configurations and CI/CD pipelines to generating comprehensive end-to-end test suites based on user requirements or component structures. Beyond simple automation, it integrates advanced diagnostics to identify and remediate flaky tests, performs intelligent migrations from legacy frameworks like Cypress or Selenium, and ensures quality through automated code reviews that flag common anti-patterns such as weak locators or missing assertions. By integrating directly into your workflow via Claude Code, it acts as a persistent QA engineer, maintaining your test infrastructure and providing actionable insights for cross-browser stability.
Installation
To integrate this skill into your environment, use the following installation command within your OpenClaw agent console:
clawhub install openclaw/skills/skills/alirezarezvani/cs-playwright-pro
Use Cases
This toolkit is essential for teams transitioning from legacy testing frameworks to the modern, performant Playwright ecosystem. It is ideal for:
- Rapid Feature Scaffolding: Quickly generating tests for new features without writing boilerplate code.
- Flaky Test Remediation: Automatically analyzing and patching unreliable tests that fail intermittently in CI environments.
- Legacy Migration: Safely transitioning from Cypress or Selenium to Playwright while maintaining or improving test coverage.
- Continuous Integration: syncing test results with management platforms like TestRail and verifying cross-browser performance on BrowserStack.
Example Prompts
- "/pw:init this project to set up a robust Playwright configuration and a CI pipeline with a base smoke test."
- "/pw:generate a test suite for the user profile edit flow based on the current requirements in the project documentation."
- "/pw:fix the intermittent failures occurring in the authentication tests; identify why the tests are flaky and apply the necessary fixes."
Tips & Limitations
To maximize the utility of Playwright Pro, always follow the 'Generate, Review, Fix' lifecycle. Never skip the /pw:review command after generation; it is critical for ensuring your locators follow accessibility best practices, such as using getByRole or getByLabel instead of fragile CSS selectors. Note that while this tool can handle automated migrations, complex custom Cypress commands or deeply nested Selenium setups may still require manual oversight. Always run your test suite locally after applying fixes to ensure parity. When using BrowserStack integration, ensure your environment variables are configured correctly for external authentication.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alirezarezvani-cs-playwright-pro": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
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.
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.
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.
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.
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.