protractor-playwright-migrator — community protractor-playwright-migrator, claude-code-octopus, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Automation Agents requiring seamless migration from Protractor to Playwright for enhanced test automation capabilities. Great workflows for claude code

RoukSonix RoukSonix
[2]
[1]
Updated: 2/28/2026

Agent Capability Analysis

The protractor-playwright-migrator skill by RoukSonix is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Automation Agents requiring seamless migration from Protractor to Playwright for enhanced test automation capabilities.

Core Value

Empowers agents to generate migration plans and implement changes from Protractor to Playwright, leveraging TestKit conventions and repository rules, while supporting scope modes like 'plan-only' and 'plan-and-implement' with source and target directory specifications.

Capabilities Granted for protractor-playwright-migrator

Migrating existing Protractor test suites to Playwright for improved performance and reliability
Generating migration plans for large-scale test automation projects
Implementing automated test migrations with specified scope modes and directory structures

! Prerequisites & Limits

  • Requires source and target directory specifications
  • Limited to Protractor and Playwright test automation frameworks
  • Scope mode restricted to 'plan-only' or 'plan-and-implement'
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

protractor-playwright-migrator

Install protractor-playwright-migrator, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly

Protractor to Playwright Migrator

Goal

Produce a migration plan (and optionally migration changes) from Protractor to Playwright that matches this repository rules and TestKit conventions.

Required Inputs

Collect these values from the user request:

  • Source directory (Protractor): ARGUMENT-1
  • Target directory (Playwright): ARGUMENT-2
  • Scope mode: plan-only or plan-and-implement (default plan-only)

If any input is missing, derive from context and state assumptions explicitly.

Non-Negotiable Lookup Order

Follow this order every time:

  1. Check TestKit docs first at node_modules/@creatio/playwright-testkit/dist/docs.
  2. Check migration rules at docs/ai-migration/migration-patterns.md.
  3. Check repository code and external-source/protractor only after steps 1-2.

If TestKit docs are missing/unreadable, stop and report blocker. Recommend git pull and npm install, then wait for user approval to continue without TestKit docs.

Required Subagent Orchestration

Use subagents for non-trivial scope.

  • Spawn explorer 1: TestKit conventions extractor (pages, elements, fixtures, auth, waits).
  • Spawn explorer 2: Source inventory and path mapping analyzer for ARGUMENT-1.
  • Spawn explorer 3: Plan synthesizer that builds phased migration work and verification checkpoints.
  • Spawn explorer 4: Business-flow reconnaissance agent that reproduces target user flows in Creatio via mcp chrome-devtools and captures behavior notes/evidence.

For large scopes (more than 10 spec files), split implementation by feature area and assign worker subagents with explicit file ownership.

Workflow

  1. Validate paths.
  • Confirm ARGUMENT-1 and ARGUMENT-2 exist or create ARGUMENT-2 when implementation mode requires it.
  1. Build source inventory.
  • Resolve the inventory script path relative to the skill root (do not assume repository scripts/ and do not require CODEX_HOME):
    • Preferred from skill root: scripts/build_migration_inventory.py
    • Fallback: locate the script in the active CLI's skills directory
    • If needed, discover dynamically: find . -path '*/skills/protractor-playwright-migrator/scripts/build_migration_inventory.py' -print -quit
  • Run <resolved-script-path> --source <ARGUMENT-1> --target <ARGUMENT-2>.
  • Do not fail migration planning if <repo>/scripts/build_migration_inventory.py is missing; it is not expected to exist there.
  • Group files into specs, pages, elements, data, utils, other.
  1. Define target mapping.
  • Place migrated assets under tests/_migrated/features/<feature>/....
  • Keep import boundary: no imports from tests/_migrated into tests/features.
  1. Analyze business logic of every migrated test before translation.
  • Run subagent-driven business-flow reconnaissance in parallel for test groups:
    • assign explorer subagents to reproduce real user flows in Creatio with mcp chrome-devtools,
    • capture screen/state transitions, important controls/markers, role constraints, and expected outcomes,
    • attach concise evidence references (screenshots or step logs).
  • For each Protractor spec/test case, extract test intent and protected behavior from both code and live app behavior:
    • business scenario and user role/context,
    • critical actions and data transitions,
    • assertions that protect business value.
  • Correlate Protractor assertions with observed application behavior from mcp chrome-devtools and resolve mismatches before planning.
  • Build a parity checklist per test: original intent -> migrated coverage.
  • Do not drop business assertions during migration; if UI details change, preserve intent with equivalent Playwright/TestKit assertions.
  • If reconnaissance cannot be completed (environment/auth/data blockers), stop and report blockers explicitly with assumptions that require user confirmation.
  1. Apply TestKit-first migration rules.
  • Use appropriate base pages (BaseListPage, BaseFormPage, Base8xPage, Base7xPage, BaseSystemDesignerPage).
  • Prefer TestKit elements and ElementProps (marker first, then ariaLabel, then stable attributes).
  • Use fixture-based auth (test.use({ userType })) and avoid routine manual login.
  • Use auto-retrying expectations and avoid hardcoded waits.
  1. Perform gap analysis.
  • Identify features not covered by TestKit.
  • Plan implementation of missing custom elements/helpers as part of migration under elements/ or utils/.
  • Prefer reusable abstractions over one-off locators.
  1. Build phased migration plan.
  • Include per-file migration actions.
  • Include risk/complexity flags (7.x/extJs, dynamic grids, unsupported elements, brittle selectors).
  • Include required tests and lint/type checks.
  1. Define mandatory verification on real app with mcp chrome-devtools.
  • Execute affected migrated tests to produce artifacts before deep debug:
    • npx playwright test <affected-specs> --trace on
  • Open Creatio and navigate migrated flow.
  • Validate key user path per migrated spec (open page, perform action, assert visible outcomes).
  • Capture evidence (screenshots and concise pass/fail notes).
  1. Debug failed validation runs.
  • If migrated tests fail or are unstable, start with live app exploration in Creatio via mcp chrome-devtools as the primary debugging method.
  • Use subagents to reproduce failing flows in parallel when scope is large (split by failing spec group).
  • During debugging, prioritize understanding real runtime behavior first, then correlate with test artifacts.
  • Inspect Playwright artifacts produced after each run:
    • test-results/ for traces, screenshots, videos, and per-test artifacts.
    • playwright-report/ for HTML run summary and error context.
  • Correlate artifact failures with live UI behavior in mcp chrome-devtools and produce:
    • validated root-cause hypothesis,
    • minimal fix actions,
    • re-check steps in application before re-running full tests.

Output Contract

Always return:

  • Inventory summary with counts by category.
  • File mapping table: source -> target.
  • Application reconnaissance summary from mcp chrome-devtools (observed flow steps, markers/controls, role constraints, evidence links).
  • Business-logic parity matrix for every migrated test (Protractor intent -> Playwright assertions).
  • TestKit compliance checklist.
  • Gap analysis for missing TestKit coverage and implementation tasks.
  • Phased migration plan with execution order and parallel tracks.
  • Verification plan using mcp chrome-devtools with explicit steps and expected results.
  • Validation execution summary with exact Playwright command(s) and artifact locations.
  • Failure-debug plan that uses mcp chrome-devtools and Playwright artifacts from test-results/ and playwright-report/.
  • Used references list where the first item is a TestKit docs path.

Use references/migration-plan-template.md as the default response format.

Prompt Template

Invoke the skill with positional arguments:

text
1$protractor-playwright-migrator $ARGUMENTS

Where:

  • $ARGUMENTS = [protractor-tests-location] [playwright-tests-destination]
  • argument 1 = source directory (Protractor)
  • argument 2 = target directory (Playwright)

Default user prompt after parsing arguments:

text
1I need to migrate tests from Protractor to Playwright. 2Source directory: ARGUMENT-1 3Target directory: ARGUMENT-2 4Create a migration plan for all tests in this directory. 5If something is not provided by testkit it should be implemented as part of the migration. 6The plan must include verification of migrated tests in Creatio using mcp chrome-devtools.

Context7 Rule

When querying external docs for coding details, use Context7 and append use context7 to the query text.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is protractor-playwright-migrator?

Ideal for Automation Agents requiring seamless migration from Protractor to Playwright for enhanced test automation capabilities. Great workflows for claude code

How do I install protractor-playwright-migrator?

Run the command: npx killer-skills add RoukSonix/claude-code-octopus. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for protractor-playwright-migrator?

Key use cases include: Migrating existing Protractor test suites to Playwright for improved performance and reliability, Generating migration plans for large-scale test automation projects, Implementing automated test migrations with specified scope modes and directory structures.

Which IDEs are compatible with protractor-playwright-migrator?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for protractor-playwright-migrator?

Requires source and target directory specifications. Limited to Protractor and Playwright test automation frameworks. Scope mode restricted to 'plan-only' or 'plan-and-implement'.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add RoukSonix/claude-code-octopus. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use protractor-playwright-migrator immediately in the current project.

Related Skills

Looking for an alternative to protractor-playwright-migrator or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI