migrate

Converts Cypress or Selenium test suites to Playwright with file-by-file verification.

Updated Aug 14, 2026
One-click install
npx skills add https://github.com/Rohithdgrr/REEK-uninstaller --skill migrate-rohithdgrr
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/Rohithdgrr/REEK-uninstaller/tree/main/.opencode/skills/migrate
Command: npx skills add https://github.com/Rohithdgrr/REEK-uninstaller --skill migrate-rohithdgrr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Rewriting an existing Cypress or Selenium test suite for Playwright by hand is slow and error-prone, requiring knowledge of two different automation APIs. This Skill automates the migration by detecting the source framework, mapping API calls, and verifying each converted file. ## Core Features & Use Cases - Framework Detection: Automatically identifies Cypress or Selenium (JavaScript or Python) projects by scanning config files, dependencies, and imports. - API Mapping: Translates commands like cy.visit, cy.get, driver.findElement, and WebDriverWait into Playwright equivalents, and upgrades selectors to role-based locators. - Verified Conversion: Runs npx playwright test on each converted file and fixes errors before proceeding, then cleans up old dependencies and CI config. - Use Case: A team with 40 Cypress specs wants to adopt Playwright. The Skill batches the conversion, converts custom commands into fixtures, and produces a summary of migrated tests. ## Quick Start Ask the assistant to migrate your Cypress test suite to Playwright and verify each converted spec file.

Frequently Asked Questions about migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Cypress tests to Playwright?▼

Detect the Cypress project via its config file, then convert each spec by mapping commands like cy.visit to page.goto and cy.get to page.locator or getByRole. Convert custom commands to Playwright fixtures and verify each file with npx playwright test.

How to convert Selenium WebDriver tests to Playwright?▼

Replace driver.get with page.goto, findElement calls with page.locator or getByTestId, and WebDriverWait with expect(locator).toBeVisible(). Page objects keep their structure but use the Playwright API, and frame switching becomes page.frameLocator.

Does Playwright migration work for large test suites?▼

Yes, the migration scales by batching. Suites of 11-30 files are converted in groups of five using sub-agents, while suites over 31 files use parallel batch conversion, with each file verified individually before moving on.

Can Cypress custom commands be converted to Playwright?▼

Cypress custom commands are converted into Playwright custom fixtures using test.extend(), and shared helpers become TypeScript utility functions. Plugins are replaced by Playwright configuration or fixtures where equivalents exist.

What happens to old Cypress dependencies after migration?▼

After all files pass verification, the migration removes Cypress or Selenium dependencies from package.json, deletes old config files like cypress.config.ts, and updates the CI workflow to run Playwright. Deletion only happens after user confirmation.