
Migrate
Guided, file-by-file migration of Cypress or Selenium test suites to Playwright, with per-batch verification.
- CCM score
- 72 of 100
- skills.sh installs
- 1.6K
- GitHub stars
- 30.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers source detection, migration scope sizing, file conversion, locator upgrades, and cleanup of old dependencies and configs
- Includes Cypress and Selenium translation references (
cypress-mapping.md,selenium-mapping.md) mapping commands likecy.intercept()topage.route()anddriver.findElement()topage.locator() - Upgrades brittle selectors to
getByTestId()andgetByRole()and requiresnpx playwright testto pass after each converted file - Designed for teams with Cypress or Selenium suites of any size, with
/batchparallelism for suites over 30 files
Install
$ npx -y skills add alirezarezvani/claude-skills --skill migrate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Migrate to Playwright
Interactive migration from Cypress or Selenium to Playwright with file-by-file conversion.
Input
$ARGUMENTS can be:
"from cypress"— migrate Cypress test suite"from selenium"— migrate Selenium/WebDriver tests- A file path: convert a specific test file
- Empty: auto-detect source framework
Steps
1. Detect Source Framework
Use Explore subagent to scan:
cypress/directory orcypress.config.ts→ Cypressselenium,webdriverinpackage.jsondeps → Selenium.pytest files withseleniumimports → Selenium (Python)
2. Assess Migration Scope
Count files and categorize:
Migration Assessment:
- Total test files: X
- Cypress custom commands: Y
- Cypress fixtures: Z
- Estimated effort: [small|medium|large]
| Size | Files | Approach |
|---|---|---|
| Small (1-10) | Convert sequentially | Direct conversion |
| Medium (11-30) | Batch in groups of 5 | Use sub-agents |
| Large (31+) | Use /batch | Parallel conversion with /batch |
3. Set Up Playwright (If Not Present)
Run /pw:pw-init first if Playwright isn't configured.
4. Convert Files
For each file, apply the appropriate mapping:
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- Testing & QA, Browser Automation & Scraping
- First seen
- Apr 16, 2026
More from alirezarezvani/claude-skills
All 259- Social Media Analyzer1.6K
- Testrail1.6K
- Senior Architect1.6K
- Status1.6K
- Loop1.6K
- Resume1.5K
- Setup1.5K
- Postmortem1.5K
- Senior Fullstack1.5K
- Board Prep1.5K
- Run1.5K
- Stress Test1.5K
- Challenge1.5K
- Spawn1.4K
- Board1.4K
- Hard Call1.4K
- Eval1.4K
- Merge1.4K
- Senior Security1.3K
- Social Media Manager1.3K
- Senior Qa1.2K
- Research Summarizer1.2K
- Senior Computer Vision1.2K
- Code Reviewer1.2K
Similar to Migrate
More Testing & QA
pwPluginalirezarezvani/claude-skills30.3K starsProduction-grade Playwright testing toolkit. 9 skills, 3 agents, 55 templates, plus optional (manually enabled) TestRail/BrowserStack integrations. Generate tes
playwrightSkillmindrally/skills1.1K installsBest-practice guide for Playwright end-to-end tests, covering test structure, locators, assertions, and configuration.
playwright-skillSkilltestdino-hq/playwright-skill6.2K installsCurrent Playwright 1.64 guidance for writing, debugging, and scaling E2E, API, visual, and accessibility test suites.
playwright-cursor-rulesSkillmindrally/skills733 installsExpert Playwright end-to-end testing guidance for TypeScript and JavaScript with role-based locators and web-first assertions.
playwright-best-practicesSkillcurrents-dev/playwright-best-practices-skill107.6K installsComprehensive guidance for writing, debugging, and maintaining Playwright tests across E2E, component, API, visual, accessibility, security, Electron, and exten