playwright-migration — Claude Code skill: what it does, how to install
playwright-migration is a Claude Code skill with step-by-step guides for moving test suites from Cypress and Selenium to Playwright, including command mappings and architecture adjustments.
MIT 454 installs ★ 422 updated 2026-10-12
npx skills add testdino-hq/playwright-skill --skill playwright-migration -a claude-codeWhat playwright-migration does
The skill provides reference documentation for migrating end-to-end tests from Cypress or Selenium WebDriver to Playwright. It supplies side-by-side command translation tables, explains differences in execution architecture, and covers phased rollout strategies so teams do not need to rewrite suites overnight.
Everything is organized into two migration files: from-cypress.md and from-selenium.md. Your coding agent references them to rewrite selectors, assertions, and lifecycle hooks directly into Playwright APIs.
What it helps with
- convert Cypress test files to Playwright
- map Selenium WebDriver commands to Playwright equivalents
- translate custom selectors and assertions into Playwright syntax
- plan an incremental migration path for legacy test suites
Example prompts for the agent
- Convert this Cypress test file to Playwright.
- What is the Playwright equivalent of this Selenium WebDriver flow?
- Help me migrate these assertions from Cypress to Playwright.
How to install playwright-migration
1Skills CLI (Vercel)
npx skills add testdino-hq/playwright-skill --skill playwright-migration -a claude-code2Manually: put the files in place
~/.claude/skills/migration/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/migration/
1Skills CLI (Vercel)
npx skills add testdino-hq/playwright-skill --skill playwright-migration -a codex2Manually: put the files in place
.agents/skills/migration/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add testdino-hq/playwright-skill --skill playwright-migration -a cursor2Manually: put the files in place
.cursor/skills/migration/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install testdino-hq/playwright-skill migration2Manually: put the files in place
.github/skills/migration/SKILL.md1Skills CLI (Vercel)
npx skills add testdino-hq/playwright-skill --skill playwright-migration -a gemini-cli2Platform CLI
gemini skills install https://github.com/testdino-hq/playwright-skill --path migrationManually: put the files in place
.devin/skills/migration/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add testdino-hq/playwright-skill --skill playwright-migration -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about playwright-migration
How do I install playwright-migration in Claude Code?
Run npx skills add testdino-hq/playwright-skill --skill playwright-migration -a claude-code in your terminal.
What does playwright-migration do?
It supplies your agent with migration documentation covering command mappings, architectural shifts, and incremental adoption paths when moving from Cypress or Selenium to Playwright.
Which testing frameworks are covered?
The repository includes two guides: one for migrating from Cypress (from-cypress.md) and one for Selenium WebDriver (from-selenium.md).
Source text
SKILL.md · MIT
--- name: playwright-migration description: Step-by-step migration guides for moving to Playwright from Cypress or Selenium/WebDriver — command mappings, architecture changes, and incremental adoption strategies. --- # Playwright Migration Guides > Move to Playwright with confidence — side-by-side command mappings, architecture translations, and incremental migration strategies. **2 guides** covering complete migration paths from the most popular testing frameworks. ## Guide Index | Migrating from | Guide | |---|---| | Cypress | [from-cypress.md](from-cypress.md) | | Selenium / WebDriver | [from-selenium.md](from-selenium.md) |
© testdino-hq · MIT · testdino-hq/playwright-skill