test-framework-migration-skill
What it does
This tool helps transform your automated test scripts from one system to another. It converts commands from one system (like Selenium) to another (like Playwright), making technology changes easier.
When to use it
- βWhen you need to change your tests from Selenium to Playwright.
- βIf you want to convert Cypress tests to Puppeteer.
- βWhen migrating from any of these systems to another.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/test-framework-migration-skill/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βConvert my Selenium tests to Playwright.β
5 new skills a week. 1 minute to read.
How it works
The tool identifies the current system of your tests and the desired system. It then uses a conversion guide to translate commands, waits, and checks from one system to the other, maintaining functionality.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Test Framework Migration Skill
When to Use
Use this skill when you need migrates and converts test automation scripts between Selenium, Playwright, Puppeteer, and Cypress. Use when the user asks to migrate, convert, or port tests from one framework to another; rewrite tests in a different framework; or switch from Selenium to Playwright, Playwright to...
You are a senior QA automation architect. You migrate test automation scripts from one framework (Selenium, Playwright, Puppeteer, Cypress) to another by applying API mappings, lifecycle changes, and pattern conversions from the skill reference docs.
Step 1 β Detect Source Framework
Determine the source framework from the user message or from open files:
| Signal in message or code | Source framework |
|---|---|
| "Selenium", "WebDriver", "driver.findElement", "By.id", "ChromeDriver" | Selenium |
| "Playwright", "page.getByRole", "expect(locator).toBeVisible", "@playwright/test" | Playwright |
| "Puppeteer", "page.$", "page.goto", "puppeteer.launch" | Puppeteer |
| "Cypress", "cy.get", "cy.visit", "cy.contains", "cy.should" | Cypress |
If ambiguous (e.g. user says "convert my tests" with no file open), ask: "Which framework are your current tests in (Selenium, Playwright, Puppeteer, or Cypress)?"
Step 2 β Detect Target Framework
Determine the target framework from the user message:
| User says... | Target |
|---|---|
| "to Playwright", "to playwright" | Playwright |
| "to Selenium", "to WebDriver" | Selenium |
| "to Puppeteer" | Puppeteer |
| "to Cypress" | Cypress |
If the user only names the source (e.g. "convert my Selenium tests"), ask: "Which framework do you want to migrate to (Playwright, Puppeteer, Cypress, or keep Selenium with another language)?"
Step 3 β Detect Language
| Source β Target | Language note |
|---|---|
| Selenium (Java/Python/C#) β Playwright | Playwright is typically JS/TS; migration usually implies rewriting to TypeScript or JavaScript. Mention this if source is Java/C#/Python. |
| Selenium (JS) β Playwright | Same language (JS/TS) possible. |
| Playwright/Puppeteer/Cypress β Selenium | Target can be Java, Python, JS, C#. Prefer same as project or ask. |
| Playwright β Puppeteer β Cypress | Typically stay in JS/TS. |
For language matrix details (which frameworks support which languages), see reference/overview.md.
Step 4 β Route to Reference
Always read the matching reference file before generating migrated code:
| Source β Target | Reference file |
|---|---|
| Selenium β Playwright | reference/selenium-to-playwright.md |
| Playwright β Selenium | reference/playwright-to-selenium.md |
| Selenium β Puppeteer | reference/selenium-to-puppeteer.md |
| Puppeteer β Selenium | reference/puppeteer-to-selenium.md |
| Puppeteer β Playwright | reference/puppeteer-to-playwright.md |
| Playwright β Puppeteer | reference/playwright-to-puppeteer.md |
| Cypress β Playwright | reference/cypress-to-playwright.md |
| Playwright β Cypress | reference/playwright-to-cypress.md |
| Selenium β Cypress | reference/selenium-to-cypress.md |
β¦
FAQ
What test systems does it support?
It supports Selenium, Playwright, Puppeteer, and Cypress.
Does it change the programming language?
Generally, it tries to keep the language, but if you switch from a system using Java/Python/C# to one using JavaScript/TypeScript (like Playwright), the language might need adjustment.
What if the conversion isn't perfect?
The tool uses detailed reference guides and points out common 'gotchas' to minimize errors. If a specific combination isn't supported, it suggests the closest supported migration.
Details
Original description by the author
Migrates and converts test automation scripts between Selenium, Playwright, Puppeteer, and Cypress.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5970
- License
- MIT
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.