Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

migrate-to-e2e

БесплатноБез исполняемых скриптовНе проверен

Moves an existing Playwright, Cypress, Selenium, Appium, Detox, Maestro, or TesterArmy suite to e2e one slice at a time, with the old suite running beside the…

e2e-incот e2e-inc★ 14 545 звёзд на GitHub407 установок в других каталогах

Об этом скилле

Migrate a suite to e2e

A migration is never one change. Each session ports one slice, proves it, and leaves both suites green: the old runner keeps every test it had, and the new e2e tests pass beside it. A progress file, MIGRATION.md, records what moved, what is left, and why, so the next session, yours or another agent's, starts from it instead of from scratch. The user decides when an old test goes.

Two references do most of the work. Read them; do not restate them.

  • The e2e skill for everything the runner does: .agents/skills/e2e/SKILL.md once npx e2e init or npx skills add e2e-inc/e2e ran, or npx e2e guide <topic> from the installed package. Topics named below (setup, writing-tests, agent, mcp, running, debugging) are its reference files.
  • The migration guide for the source runner, and the engine page it ports to. The guide maps the runner's config, commands, and API to e2e, and lists what e2e does not have yet under "What e2e doesn't have yet" (Planned, Not yet, or Not planned), with today's workaround where there is one. Both ship in the installed package under node_modules/e2e/docs/ with the same paths as .mdx files.

Detect the source runner, then read both docs in its row in full, before the inventory and before writing any code. Each later step leans on them.

Source Detect it by Migration guide Engine
Playwright playwright.config.*, @playwright/test migrate/playwright web
Cypress cypress.config.*, a cypress/ folder migrate/cypress web
Selenium selenium-webdriver, Selenium in a pom.xml, build.gradle, or requirements.txt migrate/selenium web
Appium appium: capabilities in a wdio.conf.* or test setup, appium in package.json, io.appium in a pom.xml or build.gradle, Appium-Python-Client in requirements.txt migrate/appium mobile
Detox .detoxrc*, detox in package.json migrate/detox mobile
Maestro YAML flows opening with appId: and ---, .maestro/, maestro test in a script or workflow migrate/maestro mobile
TesterArmy testerarmy MCP tools, a testerarmy entry in an MCP config, testerarmy or tester.army in a script or workflow, or the user says so migrate/testerarmy web or mobile, by the project's type

WebdriverIO for the web has no guide. Map its WebDriver calls with the Selenium guide, and tell the user the mapping is partial. WebdriverIO with Appium capabilities is an Appium project. A project with two source runners migrates one at a time, one section of the progress file each.

TesterArmy

TesterArmy tests live in TesterArmy, not in the repo. Read them through the TesterArmy MCP server. When your client has no testerarmy tools, add the server as the guide's "Connect the TesterArmy MCP server" section says, ask the user to sign in and restart the session, and wait.

  • Ask which project to migrate (list_projects). Its settings, environments, credentials, memories, and files are the harness inputs (step 3); its groups are the slices (step 4).
  • A source file is a saved test. Its row's Source is the test's title and id, and its assertions are its assert steps. A disabled test counts as skipped. A disabled step is left out and not counted.
  • Use the read tools only. run_test and run_group start cloud runs against the deployed app: in step 6, call them only when the user agrees, else record Run old: not run. Never create, update, or delete anything in TesterArmy; retiring a test means the user disables or deletes it.
  • TesterArmy never returns passwords or TOTP secrets. Name each credential in the config and ask the user to set its environment variable.
  • The literal port of a step is an agent call (agent.act, agent.assert), so the config needs a model (step 3.2). A step that needs no judgment ports to a locator call instead, as the guide's "Map each step" section says. Learn the exact name first (step 5), and note each swap in the row's Notes.

1. Resume or start

Look for MIGRATION.md beside the e2e config, then at the repo root. When one exists, this is a later session:

  1. Read it, then the migration guide and engine page its Source line names. Its Next section names the slice this session takes, unless the user names another.
  2. Check it against the repo before trusting it: ever
Полный SKILL.md на GitHub

Установить migrate-to-e2e в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл migrate-to-e2e?

Moves an existing Playwright, Cypress, Selenium, Appium, Detox, Maestro, or TesterArmy suite to e2e one slice at a time, with the old suite running beside the new one until each ported test is proven. Keeps a MIGRATION.md progress file so any later session resumes where the last stopped. Optionally plants a defect to show both suites catch it. Use for /migrate-to-e2e, "migrate our tests to e2e", "port these Maestro flows", "move our TesterArmy tests", or when a project has an e2e config and an older suite still running.

Как установить скилл migrate-to-e2e?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл migrate-to-e2e запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить migrate-to-e2e с