[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D9W6RSY053YEN0ZSC594MS":3,"skill-same:01M7D9W6RSY053YEN0ZSC594MS":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":14,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M7D9W6RSY053YEN0ZSC594MS","Test Migration Framework",null,"Test framework migration skill covering strategies for migrating between testing frameworks including Selenium to Playwright, Jest to Vitest, Enzyme to React Testing Library, and Protractor to Cypress with automated codemods and incremental migration patterns.","GrupoANDevelopment-m\u002Falberto-ai","GrupoANDevelopment-m","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257455179?v=4","01M7D69X2N2KEVN0SJF6WGM6SH","Antônio  Ndombe","01M7D69X3P5JTT8H8S904N3888",0,"MIT","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Fqa\u002Ftest-migration-framework\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: Test Migration Framework\ndescription: Test framework migration skill covering strategies for migrating between testing frameworks including Selenium to Playwright, Jest to Vitest, Enzyme to React Testing Library, and Protractor to Cypress with automated codemods and incremental migration patterns.\nversion: 1.0.0\nauthor: thetestingacademy\nlicense: MIT\ntags: [migration, framework-migration, codemod, selenium-to-playwright, jest-to-vitest, enzyme-to-rtl, test-migration]\ntestingTypes: [unit, integration, e2e]\nframeworks: [playwright, jest, vitest, cypress]\nlanguages: [typescript, javascript]\ndomains: [web, api]\nagents: [claude-code, cursor, github-copilot, windsurf, codex, aider, continue, cline, zed, bolt, gemini-cli, amp]\n---\n\n# Test Migration Framework Skill\n\nYou are an expert software engineer specializing in test framework migrations. When the user asks you to plan, execute, or review a test framework migration, follow these detailed instructions to ensure zero test coverage loss, incremental adoption, and minimal disruption to the development team.\n\n## Core Principles\n\n1. **Incremental migration over big-bang rewrites** -- Migrate tests file by file or module by module, never all at once.\n2. **Preserve coverage at every step** -- Run both old and new test suites in CI until migration is complete.\n3. **Automate repetitive transforms** -- Use codemods and scripts for mechanical changes, save manual effort for logic updates.\n4. **Validate equivalence** -- Every migrated test must verify the same behavior as the original.\n5. **Maintain a migration checklist** -- Track progress per module with status (pending, in-progress, migrated, verified).\n6. **Document breaking differences** -- Each framework pair has semantic differences that require manual attention.\n7. **Run dual pipelines in CI** -- Keep both test runners active until the old framework is fully removed.\n\n## Project Structure\n\n```\nproject\u002F\n  src\u002F\n    components\u002F\n      Button.tsx\n      Button.test.tsx          # Migrated (Vitest)\n      Button.enzyme.test.tsx   # Legacy (Enzyme) -- to be removed\n    services\u002F\n      api.service.ts\n      api.service.test.ts      # Migrated (Vitest)\n      api.service.jest.test.ts # Legacy (Jest) -- to be removed\n  e2e\u002F\n    login.spec.ts              # Migrated (Playwright)\n    login.selenium.spec.ts     # Legacy (Selenium) -- to be removed\n  codemods\u002F\n    jest-to-vitest.ts\n    enzyme-to-rtl.ts\n    selenium-to-playwright.ts\n  migration\u002F\n    checklist.md\n    dual-runner.config.ts\n  vitest.config.ts\n  jest.config.ts               # Legacy -- remove after migration\n  playwright.config.ts\n```\n\n## Migration Assessment Checklist\n\nBefore starting any migration, assess the current state of the test suite.\n\n```typescript\n\u002F\u002F migration\u002Fassess.ts\ninterface MigrationAssessment {\n  totalTests: number;\n  totalFiles: number;\n  frameworkUsage: Record\u003Cstring, number>;\n  customMatchers: string[];\n  customPlugins: string[];\n  mockPatterns: string[];\n  ciIntegrations: string[];\n  estimatedEffort: 'low' | 'medium' | 'high';\n}\n\nasync function assessTestSuite(rootDir: string): Promise\u003CMigrationAssessment> {\n  const testFiles = await glob('**\u002F*.{test,spec}.{ts,tsx,js,jsx}', { cwd: rootDir });\n\n  const assessment: MigrationAssessment = {\n    totalTests: 0,\n    totalFiles: testFiles.length,\n    frameworkUsage: {},\n    customMatchers: [],\n    customPlugins: [],\n    mockPatterns: [],\n    ciIntegrations: [],\n    estimatedEffort: 'low',\n  };\n\n  for (const file of testFiles) {\n    const content = await fs.readFile(path.join(rootDir, file), 'utf-8');\n\n    \u002F\u002F Detect framework usage\n    if (content.includes('from \\'jest\\'') || content.includes('jest.mock')) {\n      assessment.frameworkUsage['jest'] = (assessment.frameworkUsage['jest'] || 0) + 1;\n    }\n    if (content.includes('from \\'enzyme\\'') || content.includes('shallow(')) {\n      assessment.frameworkUsage['enzyme'] = (assessment.frameworkUsage['enzyme'] || 0) + 1;\n    }\n    if (content.includes('webdriver') || content.includes('selenium-webdriver')) {\n      assessment.frameworkUsage['selenium'] = (assessment.frameworkUsage['selenium'] || 0) + 1;\n    }\n\n    \u002F\u002F Detect custom matchers\n    const matcherMatches = content.match(\u002Fexpect\\.extend\\(\\{([^}]+)\\}\\)\u002Fg);\n    if (matcherMatches) {\n      assessment.customMatchers.push(...matcherMatches);\n    }\n\n    \u002F\u002F Detect mock patterns\n    if (content.includes('jest.mock(')) assessment.mockPatterns.push('jest.mock');\n    if (content.includes('jest.spyOn(')) assessment.mockPatterns.push('jest.spyOn');\n    if (content.includes('__mocks__')) assessment.mockPatterns.push('manual-mocks');\n\n    \u002F\u002F Count test cases\n    const testCount = (content.match(\u002F\\b(it|test)\\s*\\(\u002Fg) || []).length;\n    assessment.totalTests += testCount;\n  }\n\n  \u002F\u002F Estimate effort\n  if (assessment.totalFiles > 200 || assessment.customMatchers.length > 10) {\n    assessment.estimatedEffort = 'high';\n  } else if (assessment.totalFiles > 50) {\n    assessment.estimatedEffort = 'medium';\n  }\n\n  return assessment;\n}\n```\n\n## Selenium to Playwright Migration\n\n### Locator Mapping\n\n```typescript\n\u002F\u002F codemods\u002Fselenium-to-playwright.ts\n\u002F\u002F Mapping of Selenium locator strategies to Playwright equivalents\n\nconst LOCATOR_MAPPING: Record\u003Cstring, string> = {\n  \u002F\u002F Selenium -> Playwright\n  'By.id(\"x\")':          'page.locator(\"#x\")',\n  'By.className(\"x\")':   'page.locator(\".x\")',\n  'By.css(\"x\")':         'page.locator(\"x\")',\n  'By.xpath(\"x\")':       'page.locator(\"xpath=x\")',\n  'By.name(\"x\")':        'page.locator(\"[name=x]\")',\n  'By.linkText(\"x\")':    'page.getByRole(\"link\", { name: \"x\" })',\n  'By.tagName(\"x\")':     'page.locator(\"x\")',\n};\n\n\u002F\u002F Before: Selenium WebDriver\nasync function seleniumTest(driver: WebDriver) {\n  await driver.get('https:\u002F\u002Fexample.com\u002Flogin');\n  const emailInput = await driver.findElement(By.id('email'));\n  await emailInput.sendKeys('user@example.com');\n  const passwordInput = await driver.findElement(By.name('password'));\n  await passwordInput.sendKeys('secret123');\n  const submitButton = await driver.findElement(By.css('button[type=\"submit\"]'));\n  await submitButton.click();\n  await driver.wait(until.elementLocated(By.css('.dashboard')), 10000);\n  const welcomeText = await driver.findElement(By.className('welcome')).getText();\n  expect(welcomeText).toContain('Welcome');\n}\n\n\u002F\u002F After: Playwright\nasync function playwrightTest(page: Page) {\n  await page.goto('https:\u002F\u002Fexample.com\u002Flogin');\n  await page.locator('#email').fill('user@example.com');\n  await page.locator('[name=\"password\"]').fill('secret123');\n  await page.locator('button[type=\"submit\"]').click();\n  await expect(page.locator('.dashboard')).toBeVisible();\n  await expect(page.locator('.welcome')).toContainText('Welcome');\n}\n```\n\n### Wait Strategy Migration\n\n```typescript\n\u002F\u002F Selenium explicit waits -> Playwright auto-waiting\n\n\u002F\u002F Before: Selenium -- manual waits everywhere\nasync function seleniumWaits(driver: WebDriver) {\n  const wait = new WebDriverWait(driver, 10000);\n\n  \u002F\u002F Wait for element to be visible\n  await wait.until(EC.visibilityOfElementLocated(By.css('.modal')));\n\n  \u002F\u002F Wait for element to be clickable\n  await wait.until(EC.elementToBeClickable(By.id('submit')));\n  await driver.findElement(By.id('submit')).click();\n\n  \u002F\u002F Wait for URL change\n  await wait.until(EC.urlContains('\u002Fdashboard'));\n\n  \u002F\u002F Wait for text to be present\n  await wait.until(EC.textToBePresentInElement(\n    driver.findElement(By.css('.status')),\n    'Complete'\n  ));\n\n  \u002F\u002F Sleep (anti-pattern but common in Selenium)\n  await driver.sleep(2000);\n}\n\n\u002F\u002F After: Playwright -- auto-waiting built in\nasync function playwrightWaits(page: Page) {\n  \u002F\u002F Playwright auto-waits for visibility\n  await expect(page.locator('.modal')).toBeVisible();\n\n  \u002F\u002F Playwright auto-waits for actionability before clicking\n  await page.locator('#submit').click();\n\n  \u002F\u002F Wait for URL\n  await page.waitForURL('**\u002Fdashboard');\n\n  \u002F\u002F Assert text content (auto-retries)\n  await expect(page.locator('.status')).toHaveText('Complete');\n\n  \u002F\u002F No sleeps needed -- use web-first assertions instead\n}\n```\n\n### Page Object Migration\n\n```typescript\n\u002F\u002F Before: Selenium Page Object\nclass SeleniumLoginPage {\n  private driver: WebDriver;\n\n  constructor(driver: WebDriver) {\n    this.driver = driver;\n  }\n\n  async navigate(): Promise\u003Cvoid> {\n    await this.driver.get('https:\u002F\u002Fexample.com\u002Flogin');\n  }\n\n  async setEmail(email: string): Promise\u003Cvoid> {\n    const el = await this.driver.findElement(By.id('email'));\n    await el.clear();\n    await el.sendKeys(email);\n  }\n\n  async setPassword(password: string): Promise\u003Cvoid> {\n    const el = await this.driver.findElement(By.id('password'));\n    await el.clear();\n    await el.sendKeys(password);\n  }\n\n  async clickSubmit(): Promise\u003Cvoid> {\n    const btn = await this.driver.findElement(By.css('[type=\"submit\"]'));\n    await btn.click();\n  }\n\n  async getErrorMessage(): Promise\u003Cstring> {\n    const el = await this.driver.findElement(By.css('.error-message'));\n    return el.getText();\n  }\n}\n\n\u002F\u002F After: Playwright Page Object\nclass PlaywrightLoginPage {\n  constructor(private page: Page) {}\n\n  async navigate(): Promise\u003Cvoid> {\n    await this.page.goto('https:\u002F\u002Fexample.com\u002Flogin');\n  }\n\n  async login(email: string, password: string): Promise\u003Cvoid> {\n    await this.page.locator('#email').fill(email);\n    await this.page.locator('#password').fill(password);\n    await this.page.locator('[type=\"submit\"]').click();\n  }\n\n  async expectError(message: string): Promise\u003Cvoid> {\n    await expect(this.page.locator('.error-message')).toHaveText(message);\n  }\n\n  async expectSuccess(): Promise\u003Cvoid> {\n    await expect(this.page).toHaveURL(\u002F\\\u002Fdashboard\u002F);\n  }\n}\n```\n\n## Jest to Vitest Migration\n\n### Configuration Migration\n\n```typescript\n\u002F\u002F Before: jest.config.ts\nimport type { Config } from 'jest';\n\nconst config: Config = {\n  preset: 'ts-jest',\n  testEnvironment: 'node',\n  roots: ['\u003CrootDir>\u002Fsrc'],\n  testMatch: ['**\u002F*.test.ts'],\n  moduleNameMapper: {\n    '^@\u002F(.*)$': '\u003CrootDir>\u002Fsrc\u002F$1',\n  },\n  collectCoverageFrom: ['src\u002F**\u002F*.ts', '!src\u002F**\u002F*.d.ts'],\n  coverageThresholds: {\n    global: { branches: 80, functions: 80, lines: 80, statements: 80 },\n  },\n  setupFilesAfterSetup: ['\u003CrootDir>\u002Fjest.setup.ts'],\n  clearMocks: true,\n};\n\nexport default config;\n\n\u002F\u002F After: vitest.config.ts\nimport { defineConfig } from 'vitest\u002Fconfig';\nimport path from 'path';\n\nexport default defineConfig({\n  test: {\n    environment: 'node',\n    include: ['src\u002F**\u002F*.test.ts'],\n    alias: {\n      '@': path.resolve(__dirname, '.\u002Fsrc'),\n    },\n    coverage: {\n      provider: 'v8',\n      include: ['src\u002F**\u002F*.ts'],\n      exclude: ['src\u002F**\u002F*.d.ts'],\n      thresholds: {\n        branches: 80,\n        functions: 80,\n        lines: 80,\n        statements: 80,\n      },\n    },\n    setupFiles: ['.\u002Fvitest.setup.ts'],\n    clearMocks: true,\n    restoreMocks: true,\n  },\n});\n```\n\n### Mocking Differences\n\n```typescript\n\u002F\u002F Jest mocking\njest.mock('.\u002Fdatabase');\njest.mock('axios');\nconst mockFn = jest.fn();\njest.spyOn(console, 'error').mockImplementation();\njest.useFakeTimers();\njest.advanceTimersByTime(1000);\n\n\u002F\u002F Vitest mocking -- vi replaces jest global\nimport { vi, describe, it, expect, beforeEach } from 'vitest';\n\nvi.mock('.\u002Fdatabase');\nvi.mock('axios');\nconst mockFn = vi.fn();\nvi.spyOn(console, 'error').mockImplementation(() => {});\nvi.useFakeTimers();\nvi.advanceTimersByTime(1000);\n```\n\n### Automated Codemod: Jest to Vitest\n\n```typescript\n\u002F\u002F codemods\u002Fjest-to-vitest.ts\nimport type { API, FileInfo } from 'jscodeshift';\n\nexport default function transform(file: FileInfo, api: API) {\n  const j = api.jscodeshift;\n  const root = j(file.source);\n\n  \u002F\u002F Add vitest import\n  const vitestImports: string[] = [];\n\n  \u002F\u002F Replace jest.fn() with vi.fn()\n  root.find(j.CallExpression, {\n    callee: { object: { name: 'jest' }, property: { name: 'fn' } },\n  }).forEach((path) => {\n    path.node.callee = j.memberExpression(\n      j.identifier('vi'),\n      j.identifier('fn')\n    );\n    if (!vitestImports.includes('vi')) vitestImports.push('vi');\n  });\n\n  \u002F\u002F Replace jest.mock() with vi.mock()\n  root.find(j.CallExpression, {\n    callee: { object: { name: 'jest' }, property: { name: 'mock' } },\n  }).forEach((path) => {\n    path.node.callee = j.memberExpression(\n      j.identifier('vi'),\n      j.identifier('mock')\n    );\n    if (!vitestImports.includes('vi')) vitestImports.push('vi');\n  });\n\n  \u002F\u002F Replace jest.spyOn() with vi.spyOn()\n  root.find(j.CallExpression, {\n    callee: { object: { name: 'jest' }, property: { name: 'spyOn' } },\n  }).forEach((path) => {\n    path.node.callee = j.memberExpression(\n      j.identifier('vi'),\n      j.identifier('spyOn')\n    );\n    if (!vitestImports.includes('vi')) vitestImports.push('vi');\n  });\n\n  \u002F\u002F Replace jest.useFakeTimers\u002FuseRealTimers\n  ['useFakeTimers', 'useRealTimers', 'advanceTimersByTime', 'runAllTimers'].forEach((method) => {\n    root.find(j.CallExpression, {\n      callee: { object: { name: 'jest' }, property: { name: method } },\n    }).forEach((path) => {\n      path.node.callee = j.memberExpression(\n        j.identifier('vi'),\n        j.identifier(method)\n      );\n      if (!vitestImports.includes('vi')) vitestImports.push('vi');\n    });\n  });\n\n  \u002F\u002F Detect usage of describe, it, expect, beforeEach, afterEach\n  const globals = ['describe', 'it', 'test', 'expect', 'beforeEach', 'afterEach', 'beforeAll', 'afterAll'];\n  globals.forEach((name) => {\n    const usages = root.find(j.Identifier, { name });\n    if (usages.length > 0 && !vitestImports.includes(name)) {\n      vitestImports.push(name);\n    }\n  });\n\n  \u002F\u002F Add import statement at the top\n  if (vitestImports.length > 0) {\n    const importStatement = j.importDeclaration(\n      vitestImports.map((name) => j.importSpecifier(j.identifier(name))),\n      j.literal('vitest')\n    );\n    const body = root.find(j.Program).get('body');\n    body.unshift(importStatement);\n  }\n\n  return root.toSource({ quote: 'single' });\n}\n```\n\n## Enzyme to React Testing Library Migration\n\n### Philosophy Shift\n\n```typescript\n\u002F\u002F Enzyme: Tests implementation details (component internals)\n\u002F\u002F RTL: Tests user behavior (what the user sees and does)\n\n\u002F\u002F Before: Enzyme -- testing implementation\nimport { shallow } from 'enzyme';\nimport { Counter } from '.\u002FCounter';\n\ndescribe('Counter (Enzyme)', () => {\n  it('should render initial count', () => {\n    const wrapper = shallow(\u003CCounter initialCount={5} \u002F>);\n    expect(wrapper.find('.count-display').text()).toBe('5');\n  });\n\n  it('should increment count on button click', () => {\n    const wrapper = shallow(\u003CCounter initialCount={0} \u002F>);\n    wrapper.find('.increment-btn').simulate('click');\n    expect(wrapper.state('count')).toBe(1); \u002F\u002F Testing internal state!\n  });\n\n  it('should call onChange prop', () => {\n    const onChange = jest.fn();\n    const wrapper = shallow(\u003CCounter initialCount={0} onChange={onChange} \u002F>);\n    wrapper.find('.increment-btn').simulate('click');\n    expect(onChange).toHaveBeenCalledWith(1);\n  });\n\n  it('should have correct CSS class when count is negative', () => {\n    const wrapper = shallow(\u003CCounter initialCount={-1} \u002F>);\n    expect(wrapper.find('.count-display').hasClass('negative')).toBe(true);\n  });\n});\n\n\u002F\u002F After: React Testing Library -- testing behavior\nimport { render, screen } from '@testing-library\u002Freact';\nimport userEvent from '@testing-library\u002Fuser-event';\nimport { Counter } from '.\u002FCounter';\n\ndescribe('Counter (RTL)', () => {\n  it('should render initial count', () => {\n    render(\u003CCounter initialCount={5} \u002F>);\n    expect(screen.getByText('5')).toBeInTheDocument();\n  });\n\n  it('should increment count when user clicks increment button', async () => {\n    const user = userEvent.setup();\n    render(\u003CCounter initialCount={0} \u002F>);\n\n    await user.click(screen.getByRole('button', { name: \u002Fincrement\u002Fi }));\n\n    expect(screen.getByText('1')).toBeInTheDocument();\n  });\n\n  it('should call onChange when count changes', async () => {\n    const onChange = vi.fn();\n    const user = userEvent.setup();\n    render(\u003CCounter initialCount={0} onChange={onChange} \u002F>);\n\n    await user.click(screen.getByRole('button', { name: \u002Fincrement\u002Fi }));\n\n    expect(onChange).toHaveBeenCalledWith(1);\n  });\n\n  it('should display negative count with visual indicator', () => {\n    render(\u003CCounter initialCount={-1} \u002F>);\n    const countDisplay = screen.getByText('-1');\n    expect(countDisplay).toHaveAttribute('aria-label', expect.stringContaining('negative'));\n  });\n});\n```\n\n### Common Enzyme to RTL Mappings\n\n```typescript\n\u002F\u002F Enzyme shallow() \u002F mount() -> RTL render()\n\u002F\u002F wrapper.find('.class') -> screen.getByRole() \u002F screen.getByText()\n\u002F\u002F wrapper.find('ComponentName') -> NO equivalent (test behavior, not components)\n\u002F\u002F wrapper.state() -> NO equivalent (test visible output instead)\n\u002F\u002F wrapper.props() -> NO equivalent (test rendered result instead)\n\u002F\u002F wrapper.simulate('click') -> userEvent.click()\n\u002F\u002F wrapper.simulate('change', { target: { value: 'x' } }) -> userEvent.type()\n\u002F\u002F wrapper.instance() -> NO equivalent (test public behavior)\n\u002F\u002F wrapper.update() -> NOT needed (RTL auto-updates)\n\u002F\u002F wrapper.setProps() -> rerender() from render() return value\n\nimport { render, screen, within } from '@testing-library\u002Freact';\nimport userEvent from '@testing-library\u002Fuser-event';\n\n\u002F\u002F Enzyme setProps -> RTL rerender\nconst { rerender } = render(\u003CMyComponent name=\"Alice\" \u002F>);\nexpect(screen.getByText('Hello, Alice')).toBeInTheDocument();\nrerender(\u003CMyComponent name=\"Bob\" \u002F>);\nexpect(screen.getByText('Hello, Bob')).toBeInTheDocument();\n\n\u002F\u002F Enzyme wrapper.find within scope -> RTL within()\nconst list = screen.getByRole('list');\nconst items = within(list).getAllByRole('listitem');\nexpect(items).toHaveLength(3);\n```\n\n## Incremental Migration: Dual-Runner Setup\n\n```typescript\n\u002F\u002F migration\u002Fdual-runner.config.ts\n\u002F\u002F Run both Jest and Vitest during migration period\n\nimport { execSync } from 'child_process';\n\ninterface DualRunnerConfig {\n  legacyRunner: 'jest' | 'mocha';\n  newRunner: 'vitest';\n  legacyPattern: string;\n  newPattern: string;\n  failOnLegacyFailure: boolean;\n}\n\nconst config: DualRunnerConfig = {\n  legacyRunner: 'jest',\n  newRunner: 'vitest',\n  legacyPattern: '**\u002F*.jest.test.ts',\n  newPattern: '**\u002F*.test.ts',\n  failOnLegacyFailure: true,\n};\n\nfunction runDualTests(): void {\n  console.log('Running migrated tests (Vitest)...');\n  try {\n    execSync('npx vitest run --reporter=verbose', { stdio: 'inherit' });\n    console.log('Vitest tests passed.');\n  } catch {\n    console.error('Vitest tests FAILED.');\n    process.exit(1);\n  }\n\n  console.log('Running legacy tests (Jest)...');\n  try {\n    execSync(`npx jest --testMatch='${config.legacyPattern}' --verbose`, {\n      stdio: 'inherit',\n    });\n    console.log('Jest legacy tests passed.');\n  } catch {\n    console.error('Jest legacy tests FAILED.');\n    if (config.failOnLegacyFailure) {\n      process.exit(1);\n    }\n  }\n\n  console.log('All test suites completed.');\n}\n\nrunDualTests();\n```\n\n### CI\u002FCD Dual Pipeline\n\n```yaml\n# .github\u002Fworkflows\u002Fdual-test.yml\nname: Dual Test Pipeline\non: [push, pull_request]\n\njobs:\n  migrated-tests:\n    name: Vitest (Migrated)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: 20\n      - run: npm ci\n      - run: npx vitest run --coverage\n      - uses: actions\u002Fupload-artifact@v4\n        with:\n          name: vitest-coverage\n          path: coverage\u002F\n\n  legacy-tests:\n    name: Jest (Legacy)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: 20\n      - run: npm ci\n      - run: npx jest --testMatch='**\u002F*.jest.test.ts' --coverage\n      - uses: actions\u002Fupload-artifact@v4\n        with:\n          name: jest-coverage\n          path: coverage\u002F\n\n  coverage-comparison:\n    name: Compare Coverage\n    needs: [migrated-tests, legacy-tests]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fdownload-artifact@v4\n      - run: |\n          echo \"Compare coverage reports to ensure no regression\"\n          node scripts\u002Fcompare-coverage.js\n```\n\n## Coverage Preservation\n\n```typescript\n\u002F\u002F scripts\u002Fcompare-coverage.ts\nimport fs from 'fs';\n\ninterface CoverageSummary {\n  lines: { pct: number };\n  statements: { pct: number };\n  functions: { pct: number };\n  branches: { pct: number };\n}\n\nfunction compareCoverage(\n  legacyPath: string,\n  migratedPath: string,\n  tolerancePct: number = 2\n): boolean {\n  const legacy: CoverageSummary = JSON.parse(\n    fs.readFileSync(legacyPath, 'utf-8')\n  ).total;\n  const migrated: CoverageSummary = JSON.parse(\n    fs.readFileSync(migratedPath, 'utf-8')\n  ).total;\n\n  const metrics = ['lines', 'statements', 'functions', 'branches'] as const;\n  let passed = true;\n\n  for (const metric of metrics) {\n    const diff = legacy[metric].pct - migrated[metric].pct;\n    if (diff > tolerancePct) {\n      console.error(\n        `Coverage regression in ${metric}: ` +\n        `legacy=${legacy[metric].pct}%, migrated=${migrated[metric].pct}% ` +\n        `(diff=${diff.toFixed(1)}%, tolerance=${tolerancePct}%)`\n      );\n      passed = false;\n    } else {\n      console.log(\n        `${metric}: legacy=${legacy[metric].pct}%, migrated=${migrated[metric].pct}% -- OK`\n      );\n    }\n  }\n\n  return passed;\n}\n\nconst success = compareCoverage(\n  'jest-coverage\u002Fcoverage-summary.json',\n  'vitest-coverage\u002Fcoverage-summary.json'\n);\n\nif (!success) {\n  process.exit(1);\n}\n```\n\n## Protractor to Cypress\u002FPlaywright Migration\n\n```typescript\n\u002F\u002F Before: Protractor\ndescribe('Login Page (Protractor)', () => {\n  beforeEach(() => {\n    browser.get('\u002Flogin');\n  });\n\n  it('should log in successfully', () => {\n    element(by.model('user.email')).sendKeys('admin@example.com');\n    element(by.model('user.password')).sendKeys('password');\n    element(by.buttonText('Sign In')).click();\n    expect(browser.getCurrentUrl()).toContain('\u002Fdashboard');\n    expect(element(by.css('.user-name')).getText()).toEqual('Admin');\n  });\n\n  it('should show error for invalid credentials', () => {\n    element(by.model('user.email')).sendKeys('wrong@example.com');\n    element(by.model('user.password')).sendKeys('wrong');\n    element(by.buttonText('Sign In')).click();\n    expect(element(by.css('.error-alert')).isDisplayed()).toBe(true);\n    expect(element(by.css('.error-alert')).getText()).toContain('Invalid credentials');\n  });\n});\n\n\u002F\u002F After: Playwright\nimport { test, expect } from '@playwright\u002Ftest';\n\ntest.describe('Login Page (Playwright)', () => {\n  test.beforeEach(async ({ page }) => {\n    await page.goto('\u002Flogin');\n  });\n\n  test('should log in successfully', async ({ page }) => {\n    await page.getByLabel('Email').fill('admin@example.com');\n    await page.getByLabel('Password').fill('password');\n    await page.getByRole('button', { name: 'Sign In' }).click();\n    await expect(page).toHaveURL(\u002F\\\u002Fdashboard\u002F);\n    await expect(page.locator('.user-name')).toHaveText('Admin');\n  });\n\n  test('should show error for invalid credentials', async ({ page }) => {\n    await page.getByLabel('Email').fill('wrong@example.com');\n    await page.getByLabel('Password').fill('wrong');\n    await page.getByRole('button', { name: 'Sign In' }).click();\n    await expect(page.locator('.error-alert')).toBeVisible();\n    await expect(page.locator('.error-alert')).toContainText('Invalid credentials');\n  });\n});\n\n\u002F\u002F After: Cypress\ndescribe('Login Page (Cypress)', () => {\n  beforeEach(() => {\n    cy.visit('\u002Flogin');\n  });\n\n  it('should log in successfully', () => {\n    cy.findByLabelText('Email').type('admin@example.com');\n    cy.findByLabelText('Password').type('password');\n    cy.findByRole('button', { name: 'Sign In' }).click();\n    cy.url().should('include', '\u002Fdashboard');\n    cy.get('.user-name').should('have.text', 'Admin');\n  });\n\n  it('should show error for invalid credentials', () => {\n    cy.findByLabelText('Email').type('wrong@example.com');\n    cy.findByLabelText('Password').type('wrong');\n    cy.findByRole('button', { name: 'Sign In' }).click();\n    cy.get('.error-alert').should('be.visible');\n    cy.get('.error-alert').should('contain.text', 'Invalid credentials');\n  });\n});\n```\n\n## Best Practices\n\n1. **Start with the assessment** -- Inventory all tests, custom matchers, plugins, and CI integrations before writing any code.\n2. **Migrate tests alongside feature work** -- When touching a file for a feature, migrate its tests at the same time.\n3. **Use codemods for mechanical changes** -- Automate `jest.fn()` to `vi.fn()`, `shallow()` to `render()`, etc.\n4. **Keep both test runners in CI** -- Never remove the old runner until all tests are migrated and verified.\n5. **Migrate custom matchers first** -- They block other test migrations, so port them to the new framework early.\n6. **Track migration progress visibly** -- Use a checklist or dashboard showing migration status per module.\n7. **Pair program on the first few files** -- Establish patterns before the team migrates independently.\n8. **Write a migration guide for your team** -- Document the specific patterns, gotchas, and conventions for your codebase.\n9. **Preserve test descriptions** -- Keep the same `describe` and `it` labels so test reports remain recognizable.\n10. **Delete legacy files promptly** -- Once a migrated file is verified, remove the old version to avoid confusion.\n\n## Anti-Patterns to Avoid\n\n1. **Big-bang migration** -- Rewriting all tests at once leads to regressions, merge conflicts, and team confusion.\n2. **Losing coverage silently** -- Failing to compare coverage before and after migration hides regressions.\n3. **Manual find-and-replace** -- Using editor search-replace instead of codemods leads to inconsistent results.\n4. **Migrating without understanding differences** -- Each framework pair has semantic differences that require manual review.\n5. **Keeping both frameworks permanently** -- Dual runners are a transition tool, not a permanent solution.\n6. **Ignoring CI pipeline updates** -- Forgetting to update CI config for the new runner means tests never actually run.\n7. **Migrating test helpers last** -- Shared utilities and custom matchers should be migrated first since other tests depend on them.\n8. **Not updating documentation** -- README files and onboarding guides must reflect the new framework.\n9. **Copying anti-patterns forward** -- Migration is an opportunity to fix bad tests, not just translate them.\n10. **Skipping flaky test investigation** -- If a test was flaky in the old framework, understand why before migrating it.\n\n## Running Migration Tools\n\n```bash\n# Run the assessment tool\nnpx tsx migration\u002Fassess.ts\n\n# Run Jest-to-Vitest codemod on a specific directory\nnpx jscodeshift -t codemods\u002Fjest-to-vitest.ts src\u002Fservices\u002F --extensions=ts,tsx --parser=tsx\n\n# Run dual test suites\nnpx tsx migration\u002Fdual-runner.config.ts\n\n# Run only migrated Vitest tests\nnpx vitest run\n\n# Run only legacy Jest tests\nnpx jest --testMatch='**\u002F*.jest.test.ts'\n\n# Compare coverage between runners\nnpx tsx scripts\u002Fcompare-coverage.ts\n\n# Dry run codemod (no file changes)\nnpx jscodeshift -t codemods\u002Fjest-to-vitest.ts src\u002F --dry --print\n\n# Verify no Selenium imports remain\ngrep -r \"selenium-webdriver\" src\u002F --include=\"*.ts\" | grep -v \".selenium.\"\n```\n","# Test Migration Framework Skill\n\nYou are an expert software engineer specializing in test framework migrations. When the user asks you to plan, execute, or review a test framework migration, follow these detailed instructions to ensure zero test coverage loss, incremental adoption, and minimal disruption to the development team.\n\n## Core Principles\n\n1. **Incremental migration over big-bang rewrites** -- Migrate tests file by file or module by module, never all at once.\n2. **Preserve coverage at every step** -- Run both old and new test suites in CI until migration is complete.\n3. **Automate repetitive transforms** -- Use codemods and scripts for mechanical changes, save manual effort for logic updates.\n4. **Validate equivalence** -- Every migrated test must verify the same behavior as the original.\n5. **Maintain a migration checklist** -- Track progress per module with status (pending, in-progress, migrated, verified).\n6. **Document breaking differences** -- Each framework pair has semantic differences that require manual attention.\n7. **Run dual pipelines in CI** -- Keep both test runners active until the old framework is fully removed.\n\n## Project Structure\n\n```\nproject\u002F\n  src\u002F\n    components\u002F\n      Button.tsx\n      Button.test.tsx          # Migrated (Vitest)\n      Button.enzyme.test.tsx   # Legacy (Enzyme) -- to be removed\n    services\u002F\n      api.service.ts\n      api.service.test.ts      # Migrated (Vitest)\n      api.service.jest.test.ts # Legacy (Jest) -- to be removed\n  e2e\u002F\n    login.spec.ts              # Migrated (Playwright)\n    login.selenium.spec.ts     # Legacy (Selenium) -- to be removed\n  codemods\u002F\n    jest-to-vitest.ts\n    enzyme-to-rtl.ts\n    selenium-to-playwright.ts\n  migration\u002F\n    checklist.md\n    dual-runner.config.ts\n  vitest.config.ts\n  jest.config.ts               # Legacy -- remove after migration\n  playwright.config.ts\n```\n\n## Migration Assessment Checklist\n\nBefore starting any migration, assess the current state of the test suite.\n\n```typescript\n\u002F\u002F migration\u002Fassess.ts\ninterface MigrationAssessment {\n  totalTests: number;\n  totalFiles: number;\n  frameworkUsage: Record\u003Cstring, number>;\n  customMatchers: string[];\n  customPlugins: string[];\n  mockPatterns: string[];\n  ciIntegrations: string[];\n  estimatedEffort: 'low' | 'medium' | 'high';\n}\n\nasync function assessTestSuite(rootDir: string): Promise\u003CMigrationAssessment> {\n  const testFiles = await glob('**\u002F*.{test,spec}.{ts,tsx,js,jsx}', { cwd: rootDir });\n\n  const assessment: MigrationAssessment = {\n    totalTests: 0,\n    totalFiles: testFiles.length,\n    frameworkUsage: {},\n    customMatchers: [],\n    customPlugins: [],\n    mockPatterns: [],\n    ciIntegrations: [],\n    estimatedEffort: 'low',\n  };\n\n  for (const file of testFiles) {\n    const content = await fs.readFile(path.join(rootDir, file), 'utf-8');\n\n    \u002F\u002F Detect framework usage\n    if (content.includes('from \\'jest\\'') || content.includes('jest.mock')) {\n      assessment.frameworkUsage['jest'] = (assessment.frameworkUsage['jest'] || 0) + 1;\n    }\n    if (content.includes('from \\'enzyme\\'') || content.includes('shallow(')) {\n      assessment.frameworkUsage['enzyme'] = (assessment.frameworkUsage['enzyme'] || 0) + 1;\n    }\n    if (content.includes('webdriver') || content.includes('selenium-webdriver')) {\n      assessment.frameworkUsage['selenium'] = (assessment.frameworkUsage['selenium'] || 0) + 1;\n    }\n\n    \u002F\u002F Detect custom matchers\n    const matcherMatches = content.match(\u002Fexpect\\.extend\\(\\{([^}]+)\\}\\)\u002Fg);\n    if (matcherMatches) {\n      assessment.customMatchers.push(...matcherMatches);\n    }\n\n    \u002F\u002F Detect mock patterns\n    if (content.includes('jest.mock(')) assessment.mockPatterns.push('jest.mock');\n    if (content.includes('jest.spyOn(')) assessment.mockPatterns.push('jest.spyOn');\n    if (content.includes('__mocks__')) assessment.mockPatterns.push('manual-mocks');\n\n    \u002F\u002F Count test cases\n    const testCount = (content.match(\u002F\\b(it|test)\\s*\\(\u002Fg) || []).length;\n    assessment.totalTests += testCount;\n  }\n\n  \u002F\u002F Estimate effort\n  if (assessment.totalFiles > 200 || assessment.customMatchers.length > 10) {\n    assessment.estimatedEffort = 'high';\n  } else if (assessment.totalFiles > 50) {\n    assessment.estimatedEffort = 'medium';\n  }\n\n  return assessment;\n}\n```\n\n## Selenium to Playwright Migration\n\n### Locator Mapping\n\n```typescript\n\u002F\u002F codemods\u002Fselenium-to-playwright.ts\n\u002F\u002F Mapping of Selenium locator strategies to Playwright equivalents\n\nconst LOCATOR_MAPPING: Record\u003Cstring, string> = {\n  \u002F\u002F Selenium -> Playwright\n  'By.id(\"x\")':          'page.locator(\"#x\")',\n  'By.className(\"x\")':   'page.locator(\".x\")',\n  'By.css(\"x\")':         'page.locator(\"x\")',\n  'By.xpath(\"x\")':       'page.locator(\"xpath=x\")',\n  'By.name(\"x\")':        'page.locator(\"[name=x]\")',\n  'By.linkText(\"x\")':    'page.getByRole(\"link\", { name: \"x\" })',\n  'By.tagName(\"x\")':     'page.locator(\"x\")',\n};\n\n\u002F\u002F Before: Selenium WebDriver\nasync function seleniumTest(driver: WebDriver) {\n  await driver.get('https:\u002F\u002Fexample.com\u002Flogin');\n  const emailInput = await driver.findElement(By.id('email'));\n  await emailInput.sendKeys('user@example.com');\n  const passwordInput = await driver.findElement(By.name('password'));\n  await passwordInput.sendKeys('secret123');\n  const submitButton = await driver.findElement(By.css('button[type=\"submit\"]'));\n  await submitButton.click();\n  await driver.wait(until.elementLocated(By.css('.dashboard')), 10000);\n  const welcomeText = await driver.findElement(By.className('welcome')).getText();\n  expect(welcomeText).toContain('Welcome');\n}\n\n\u002F\u002F After: Playwright\nasync function playwrightTest(page: Page) {\n  await page.goto('https:\u002F\u002Fexample.com\u002Flogin');\n  await page.locator('#email').fill('user@example.com');\n  await page.locator('[name=\"password\"]').fill('secret123');\n  await page.locator('button[type=\"submit\"]').click();\n  await expect(page.locator('.dashboard')).toBeVisible();\n  await expect(page.locator('.welcome')).toContainText('Welcome');\n}\n```\n\n### Wait Strategy Migration\n\n```typescript\n\u002F\u002F Selenium explicit waits -> Playwright auto-waiting\n\n\u002F\u002F Before: Selenium -- manual waits everywhere\nasync function seleniumWaits(driver: WebDriver) {\n  const wait = new WebDriverWait(driver, 10000);\n\n  \u002F\u002F Wait for element to be visible\n  await wait.until(EC.visibilityOfElementLocated(By.css('.modal')));\n\n  \u002F\u002F Wait for element to be clickable\n  await wait.until(EC.elementToBeClickable(By.id('submit')));\n  await driver.findElement(By.id('submit')).click();\n\n  \u002F\u002F Wait for URL change\n  await wait.until(EC.urlContains('\u002Fdashboard'));\n\n  \u002F\u002F Wait for text to be present\n  await wait.until(EC.textToBePresentInElement(\n    driver.findElement(By.css('.status')),\n    'Complete'\n  ));\n\n  \u002F\u002F Sleep (anti-pattern but common in Selenium)\n  await driver.sleep(2000);\n}\n\n\u002F\u002F After: Playwright -- auto-waiting built in\nasync function playwrightWaits(page: Page) {\n  \u002F\u002F Playwright auto-waits for visibility\n  await expect(page.locator('.modal')).toBeVisible();\n\n  \u002F\u002F Playwright auto-waits for actionability before clicking\n  await page.locator('#submit').click();\n\n  \u002F\u002F Wait for URL\n  await page.waitForURL('**\u002Fdashboard');\n\n  \u002F\u002F Assert text content (auto-retries)\n  await expect(page.locator('.status')).toHaveText('Complete');\n\n  \u002F\u002F No sleeps needed -- use web-first assertions instead\n}\n```\n\n### Page Object Migration\n\n```typescript\n\u002F\u002F Before: Selenium Page Object\nclass SeleniumLoginPage {\n  private driver: WebDriver;\n\n  constructor(driver: WebDriver) {\n    this.driver = driver;\n  }\n\n  async navigate(): Promise\u003Cvoid> {\n    await this.driver.get('https:\u002F\u002Fexample.com\u002Flogin');\n  }\n\n  async setEmail(email: string): Promise\u003Cvoid> {\n    const el = await this.driver.findElement(By.id('email'));\n    await el.clear();\n    await el.sendKeys(email);\n  }\n\n  async setPassword(password: string): Promise\u003Cvoid> {\n    const el = await this.driver.findElement(By.id('password'));\n    await el.clear();\n    await el.sendKeys(password);\n  }\n\n  async clickSubmit(): Promise\u003Cvoid> {\n    const btn = await this.driver.findElement(By.css('[type=\"submit\"]'));\n    await btn.click();\n  }\n\n  async getErrorMessage(): Promise\u003Cstring> {\n    const el = await this.driver.findElement(By.css('.error-message'));\n    return el.getText();\n  }\n}\n\n\u002F\u002F After: Playwright Page Object\nclass PlaywrightLoginPage {\n  constructor(private page: Page) {}\n\n  async navigate(): Promise\u003Cvoid> {\n    await this.page.goto('https:\u002F\u002Fexample.com\u002Flogin');\n  }\n\n  async login(email: string, password: string): Promise\u003Cvoid> {\n    await this.page.locator('#email').fill(email);\n    await this.page.locator('#password').fill(password);\n    await this.page.locator('[type=\"submit\"]').click();\n  }\n\n  async expectError(message: string): Promise\u003Cvoid> {\n    await expect(this.page.locator('.error-message')).toHaveText(message);\n  }\n\n  async expectSuccess(): Promise\u003Cvoid> {\n    await expect(this.page).toHaveURL(\u002F\\\u002Fdashboard\u002F);\n  }\n}\n```\n\n## Jest to Vitest Migration\n\n### Configuration Migration\n\n```typescript\n\u002F\u002F Before: jest.config.ts\nimport type { Config } from 'jest';\n\nconst config: Config = {\n  preset: 'ts-jest',\n  testEnvironment: 'node',\n  roots: ['\u003CrootDir>\u002Fsrc'],\n  testMatch: ['**\u002F*.test.ts'],\n  moduleNameMapper: {\n    '^@\u002F(.*)$': '\u003CrootDir>\u002Fsrc\u002F$1',\n  },\n  collectCoverageFrom: ['src\u002F**\u002F*.ts', '!src\u002F**\u002F*.d.ts'],\n  coverageThresholds: {\n    global: { branches: 80, functions: 80, lines: 80, statements: 80 },\n  },\n  setupFilesAfterSetup: ['\u003CrootDir>\u002Fjest.setup.ts'],\n  clearMocks: true,\n};\n\nexport default config;\n\n\u002F\u002F After: vitest.config.ts\nimport { defineConfig } from 'vitest\u002Fconfig';\nimport path from 'path';\n\nexport default defineConfig({\n  test: {\n    environment: 'node',\n    include: ['src\u002F**\u002F*.test.ts'],\n    alias: {\n      '@': path.resolve(__dirname, '.\u002Fsrc'),\n    },\n    coverage: {\n      provider: 'v8',\n      include: ['src\u002F**\u002F*.ts'],\n      exclude: ['src\u002F**\u002F*.d.ts'],\n      thresholds: {\n        branches: 80,\n        functions: 80,\n        lines: 80,\n        statements: 80,\n      },\n    },\n    setupFiles: ['.\u002Fvitest.setup.ts'],\n    clearMocks: true,\n    restoreMocks: true,\n  },\n});\n```\n\n### Mocking Differences\n\n```typescript\n\u002F\u002F Jest mocking\njest.mock('.\u002Fdatabase');\njest.mock('axios');\nconst mockFn = jest.fn();\njest.spyOn(console, 'error').mockImplementation();\njest.useFakeTimers();\njest.advanceTimersByTime(1000);\n\n\u002F\u002F Vitest mocking -- vi replaces jest global\nimport { vi, describe, it, expect, beforeEach } from 'vitest';\n\nvi.mock('.\u002Fdatabase');\nvi.mock('axios');\nconst mockFn = vi.fn();\nvi.spyOn(console, 'error').mockImplementation(() => {});\nvi.useFakeTimers();\nvi.advanceTimersByTime(1000);\n```\n\n### Automated Codemod: Jest to Vitest\n\n```typescript\n\u002F\u002F codemods\u002Fjest-to-vitest.ts\nimport type { API, FileInfo } from 'jscodeshift';\n\nexport default function transform(file: FileInfo, api: API) {\n  const j = api.jscodeshift;\n  const root = j(file.source);\n\n  \u002F\u002F Add vitest import\n  const vitestImports: string[] = [];\n\n  \u002F\u002F Replace jest.fn() with vi.fn()\n  root.find(j.CallExpression, {\n    callee: { object: { name: 'jest' }, property: { name: 'fn' } },\n  }).forEach((path) => {\n    path.node.callee = j.memberExpression(\n      j.identifier('vi'),\n      j.identifier('fn')\n    );\n    if (!vitestImports.includes('vi')) vitestImports.push('vi');\n  });\n\n  \u002F\u002F Replace jest.mock() with vi.mock()\n  root.find(j.CallExpression, {\n    callee: { object: { name: 'jest' }, property: { name: 'mock' } },\n  }).forEach((path) => {\n    path.node.callee = j.memberExpression(\n      j.identifier('vi'),\n      j.identifier('mock')\n    );\n    if (!vitestImports.includes('vi')) vitestImports.push('vi');\n  });\n\n  \u002F\u002F Replace jest.spyOn() with vi.spyOn()\n  root.find(j.CallExpression, {\n    callee: { object: { name: 'jest' }, property: { name: 'spyOn' } },\n  }).forEach((path) => {\n    path.node.callee = j.memberExpression(\n      j.identifier('vi'),\n      j.identifier('spyOn')\n    );\n    if (!vitestImports.includes('vi')) vitestImports.push('vi');\n  });\n\n  \u002F\u002F Replace jest.useFakeTimers\u002FuseRealTimers\n  ['useFakeTimers', 'useRealTimers', 'advanceTimersByTime', 'runAllTimers'].forEach((method) => {\n    root.find(j.CallExpression, {\n      callee: { object: { name: 'jest' }, property: { name: method } },\n    }).forEach((path) => {\n      path.node.callee = j.memberExpression(\n        j.identifier('vi'),\n        j.identifier(method)\n      );\n      if (!vitestImports.includes('vi')) vitestImports.push('vi');\n    });\n  });\n\n  \u002F\u002F Detect usage of describe, it, expect, beforeEach, afterEach\n  const globals = ['describe', 'it', 'test', 'expect', 'beforeEach', 'afterEach', 'beforeAll', 'afterAll'];\n  globals.forEach((name) => {\n    const usages = root.find(j.Identifier, { name });\n    if (usages.length > 0 && !vitestImports.includes(name)) {\n      vitestImports.push(name);\n    }\n  });\n\n  \u002F\u002F Add import statement at the top\n  if (vitestImports.length > 0) {\n    const importStatement = j.importDeclaration(\n      vitestImports.map((name) => j.importSpecifier(j.identifier(name))),\n      j.literal('vitest')\n    );\n    const body = root.find(j.Program).get('body');\n    body.unshift(importStatement);\n  }\n\n  return root.toSource({ quote: 'single' });\n}\n```\n\n## Enzyme to React Testing Library Migration\n\n### Philosophy Shift\n\n```typescript\n\u002F\u002F Enzyme: Tests implementation details (component internals)\n\u002F\u002F RTL: Tests user behavior (what the user sees and does)\n\n\u002F\u002F Before: Enzyme -- testing implementation\nimport { shallow } from 'enzyme';\nimport { Counter } from '.\u002FCounter';\n\ndescribe('Counter (Enzyme)', () => {\n  it('should render initial count', () => {\n    const wrapper = shallow(\u003CCounter initialCount={5} \u002F>);\n    expect(wrapper.find('.count-display').text()).toBe('5');\n  });\n\n  it('should increment count on button click', () => {\n    const wrapper = shallow(\u003CCounter initialCount={0} \u002F>);\n    wrapper.find('.increment-btn').simulate('click');\n    expect(wrapper.state('count')).toBe(1); \u002F\u002F Testing internal state!\n  });\n\n  it('should call onChange prop', () => {\n    const onChange = jest.fn();\n    const wrapper = shallow(\u003CCounter initialCount={0} onChange={onChange} \u002F>);\n    wrapper.find('.increment-btn').simulate('click');\n    expect(onChange).toHaveBeenCalledWith(1);\n  });\n\n  it('should have correct CSS class when count is negative', () => {\n    const wrapper = shallow(\u003CCounter initialCount={-1} \u002F>);\n    expect(wrapper.find('.count-display').hasClass('negative')).toBe(true);\n  });\n});\n\n\u002F\u002F After: React Testing Library -- testing behavior\nimport { render, screen } from '@testing-library\u002Freact';\nimport userEvent from '@testing-library\u002Fuser-event';\nimport { Counter } from '.\u002FCounter';\n\ndescribe('Counter (RTL)', () => {\n  it('should render initial count', () => {\n    render(\u003CCounter initialCount={5} \u002F>);\n    expect(screen.getByText('5')).toBeInTheDocument();\n  });\n\n  it('should increment count when user clicks increment button', async () => {\n    const user = userEvent.setup();\n    render(\u003CCounter initialCount={0} \u002F>);\n\n    await user.click(screen.getByRole('button', { name: \u002Fincrement\u002Fi }));\n\n    expect(screen.getByText('1')).toBeInTheDocument();\n  });\n\n  it('should call onChange when count changes', async () => {\n    const onChange = vi.fn();\n    const user = userEvent.setup();\n    render(\u003CCounter initialCount={0} onChange={onChange} \u002F>);\n\n    await user.click(screen.getByRole('button', { name: \u002Fincrement\u002Fi }));\n\n    expect(onChange).toHaveBeenCalledWith(1);\n  });\n\n  it('should display negative count with visual indicator', () => {\n    render(\u003CCounter initialCount={-1} \u002F>);\n    const countDisplay = screen.getByText('-1');\n    expect(countDisplay).toHaveAttribute('aria-label', expect.stringContaining('negative'));\n  });\n});\n```\n\n### Common Enzyme to RTL Mappings\n\n```typescript\n\u002F\u002F Enzyme shallow() \u002F mount() -> RTL render()\n\u002F\u002F wrapper.find('.class') -> screen.getByRole() \u002F screen.getByText()\n\u002F\u002F wrapper.find('ComponentName') -> NO equivalent (test behavior, not components)\n\u002F\u002F wrapper.state() -> NO equivalent (test visible output instead)\n\u002F\u002F wrapper.props() -> NO equivalent (test rendered result instead)\n\u002F\u002F wrapper.simulate('click') -> userEvent.click()\n\u002F\u002F wrapper.simulate('change', { target: { value: 'x' } }) -> userEvent.type()\n\u002F\u002F wrapper.instance() -> NO equivalent (test public behavior)\n\u002F\u002F wrapper.update() -> NOT needed (RTL auto-updates)\n\u002F\u002F wrapper.setProps() -> rerender() from render() return value\n\nimport { render, screen, within } from '@testing-library\u002Freact';\nimport userEvent from '@testing-library\u002Fuser-event';\n\n\u002F\u002F Enzyme setProps -> RTL rerender\nconst { rerender } = render(\u003CMyComponent name=\"Alice\" \u002F>);\nexpect(screen.getByText('Hello, Alice')).toBeInTheDocument();\nrerender(\u003CMyComponent name=\"Bob\" \u002F>);\nexpect(screen.getByText('Hello, Bob')).toBeInTheDocument();\n\n\u002F\u002F Enzyme wrapper.find within scope -> RTL within()\nconst list = screen.getByRole('list');\nconst items = within(list).getAllByRole('listitem');\nexpect(items).toHaveLength(3);\n```\n\n## Incremental Migration: Dual-Runner Setup\n\n```typescript\n\u002F\u002F migration\u002Fdual-runner.config.ts\n\u002F\u002F Run both Jest and Vitest during migration period\n\nimport { execSync } from 'child_process';\n\ninterface DualRunnerConfig {\n  legacyRunner: 'jest' | 'mocha';\n  newRunner: 'vitest';\n  legacyPattern: string;\n  newPattern: string;\n  failOnLegacyFailure: boolean;\n}\n\nconst config: DualRunnerConfig = {\n  legacyRunner: 'jest',\n  newRunner: 'vitest',\n  legacyPattern: '**\u002F*.jest.test.ts',\n  newPattern: '**\u002F*.test.ts',\n  failOnLegacyFailure: true,\n};\n\nfunction runDualTests(): void {\n  console.log('Running migrated tests (Vitest)...');\n  try {\n    execSync('npx vitest run --reporter=verbose', { stdio: 'inherit' });\n    console.log('Vitest tests passed.');\n  } catch {\n    console.error('Vitest tests FAILED.');\n    process.exit(1);\n  }\n\n  console.log('Running legacy tests (Jest)...');\n  try {\n    execSync(`npx jest --testMatch='${config.legacyPattern}' --verbose`, {\n      stdio: 'inherit',\n    });\n    console.log('Jest legacy tests passed.');\n  } catch {\n    console.error('Jest legacy tests FAILED.');\n    if (config.failOnLegacyFailure) {\n      process.exit(1);\n    }\n  }\n\n  console.log('All test suites completed.');\n}\n\nrunDualTests();\n```\n\n### CI\u002FCD Dual Pipeline\n\n```yaml\n# .github\u002Fworkflows\u002Fdual-test.yml\nname: Dual Test Pipeline\non: [push, pull_request]\n\njobs:\n  migrated-tests:\n    name: Vitest (Migrated)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: 20\n      - run: npm ci\n      - run: npx vitest run --coverage\n      - uses: actions\u002Fupload-artifact@v4\n        with:\n          name: vitest-coverage\n          path: coverage\u002F\n\n  legacy-tests:\n    name: Jest (Legacy)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-node@v4\n        with:\n          node-version: 20\n      - run: npm ci\n      - run: npx jest --testMatch='**\u002F*.jest.test.ts' --coverage\n      - uses: actions\u002Fupload-artifact@v4\n        with:\n          name: jest-coverage\n          path: coverage\u002F\n\n  coverage-comparison:\n    name: Compare Coverage\n    needs: [migrated-tests, legacy-tests]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fdownload-artifact@v4\n      - run: |\n          echo \"Compare coverage reports to ensure no regression\"\n          node scripts\u002Fcompare-coverage.js\n```\n\n## Coverage Preservation\n\n```typescript\n\u002F\u002F scripts\u002Fcompare-coverage.ts\nimport fs from 'fs';\n\ninterface CoverageSummary {\n  lines: { pct: number };\n  statements: { pct: number };\n  functions: { pct: number };\n  branches: { pct: number };\n}\n\nfunction compareCoverage(\n  legacyPath: string,\n  migratedPath: string,\n  tolerancePct: number = 2\n): boolean {\n  const legacy: CoverageSummary = JSON.parse(\n    fs.readFileSync(legacyPath, 'utf-8')\n  ).total;\n  const migrated: CoverageSummary = JSON.parse(\n    fs.readFileSync(migratedPath, 'utf-8')\n  ).total;\n\n  const metrics = ['lines', 'statements', 'functions', 'branches'] as const;\n  let passed = true;\n\n  for (const metric of metrics) {\n    const diff = legacy[metric].pct - migrated[metric].pct;\n    if (diff > tolerancePct) {\n      console.error(\n        `Coverage regression in ${metric}: ` +\n        `legacy=${legacy[metric].pct}%, migrated=${migrated[metric].pct}% ` +\n        `(diff=${diff.toFixed(1)}%, tolerance=${tolerancePct}%)`\n      );\n      passed = false;\n    } else {\n      console.log(\n        `${metric}: legacy=${legacy[metric].pct}%, migrated=${migrated[metric].pct}% -- OK`\n      );\n    }\n  }\n\n  return passed;\n}\n\nconst success = compareCoverage(\n  'jest-coverage\u002Fcoverage-summary.json',\n  'vitest-coverage\u002Fcoverage-summary.json'\n);\n\nif (!success) {\n  process.exit(1);\n}\n```\n\n## Protractor to Cypress\u002FPlaywright Migration\n\n```typescript\n\u002F\u002F Before: Protractor\ndescribe('Login Page (Protractor)', () => {\n  beforeEach(() => {\n    browser.get('\u002Flogin');\n  });\n\n  it('should log in successfully', () => {\n    element(by.model('user.email')).sendKeys('admin@example.com');\n    element(by.model('user.password')).sendKeys('password');\n    element(by.buttonText('Sign In')).click();\n    expect(browser.getCurrentUrl()).toContain('\u002Fdashboard');\n    expect(element(by.css('.user-name')).getText()).toEqual('Admin');\n  });\n\n  it('should show error for invalid credentials', () => {\n    element(by.model('user.email')).sendKeys('wrong@example.com');\n    element(by.model('user.password')).sendKeys('wrong');\n    element(by.buttonText('Sign In')).click();\n    expect(element(by.css('.error-alert')).isDisplayed()).toBe(true);\n    expect(element(by.css('.error-alert')).getText()).toContain('Invalid credentials');\n  });\n});\n\n\u002F\u002F After: Playwright\nimport { test, expect } from '@playwright\u002Ftest';\n\ntest.describe('Login Page (Playwright)', () => {\n  test.beforeEach(async ({ page }) => {\n    await page.goto('\u002Flogin');\n  });\n\n  test('should log in successfully', async ({ page }) => {\n    await page.getByLabel('Email').fill('admin@example.com');\n    await page.getByLabel('Password').fill('password');\n    await page.getByRole('button', { name: 'Sign In' }).click();\n    await expect(page).toHaveURL(\u002F\\\u002Fdashboard\u002F);\n    await expect(page.locator('.user-name')).toHaveText('Admin');\n  });\n\n  test('should show error for invalid credentials', async ({ page }) => {\n    await page.getByLabel('Email').fill('wrong@example.com');\n    await page.getByLabel('Password').fill('wrong');\n    await page.getByRole('button', { name: 'Sign In' }).click();\n    await expect(page.locator('.error-alert')).toBeVisible();\n    await expect(page.locator('.error-alert')).toContainText('Invalid credentials');\n  });\n});\n\n\u002F\u002F After: Cypress\ndescribe('Login Page (Cypress)', () => {\n  beforeEach(() => {\n    cy.visit('\u002Flogin');\n  });\n\n  it('should log in successfully', () => {\n    cy.findByLabelText('Email').type('admin@example.com');\n    cy.findByLabelText('Password').type('password');\n    cy.findByRole('button', { name: 'Sign In' }).click();\n    cy.url().should('include', '\u002Fdashboard');\n    cy.get('.user-name').should('have.text', 'Admin');\n  });\n\n  it('should show error for invalid credentials', () => {\n    cy.findByLabelText('Email').type('wrong@example.com');\n    cy.findByLabelText('Password').type('wrong');\n    cy.findByRole('button', { name: 'Sign In' }).click();\n    cy.get('.error-alert').should('be.visible');\n    cy.get('.error-alert').should('contain.text', 'Invalid credentials');\n  });\n});\n```\n\n## Best Practices\n\n1. **Start with the assessment** -- Inventory all tests, custom matchers, plugins, and CI integrations before writing any code.\n2. **Migrate tests alongside feature work** -- When touching a file for a feature, migrate its tests at the same time.\n3. **Use codemods for mechanical changes** -- Automate `jest.fn()` to `vi.fn()`, `shallow()` to `render()`, etc.\n4. **Keep both test runners in CI** -- Never remove the old runner until all tests are migrated and verified.\n5. **Migrate custom matchers first** -- They block other test migrations, so port them to the new framework early.\n6. **Track migration progress visibly** -- Use a checklist or dashboard showing migration status per module.\n7. **Pair program on the first few files** -- Establish patterns before the team migrates independently.\n8. **Write a migration guide for your team** -- Document the specific patterns, gotchas, and conventions for your codebase.\n9. **Preserve test descriptions** -- Keep the same `describe` and `it` labels so test reports remain recognizable.\n10. **Delete legacy files promptly** -- Once a migrated file is verified, remove the old version to avoid confusion.\n\n## Anti-Patterns to Avoid\n\n1. **Big-bang migration** -- Rewriting all tests at once leads to regressions, merge conflicts, and team confusion.\n2. **Losing coverage silently** -- Failing to compare coverage before and after migration hides regressions.\n3. **Manual find-and-replace** -- Using editor search-replace instead of codemods leads to inconsistent results.\n4. **Migrating without understanding differences** -- Each framework pair has semantic differences that require manual review.\n5. **Keeping both frameworks permanently** -- Dual runners are a transition tool, not a permanent solution.\n6. **Ignoring CI pipeline updates** -- Forgetting to update CI config for the new runner means tests never actually run.\n7. **Migrating test helpers last** -- Shared utilities and custom matchers should be migrated first since other tests depend on them.\n8. **Not updating documentation** -- README files and onboarding guides must reflect the new framework.\n9. **Copying anti-patterns forward** -- Migration is an opportunity to fix bad tests, not just translate them.\n10. **Skipping flaky test investigation** -- If a test was flaky in the old framework, understand why before migrating it.\n\n## Running Migration Tools\n\n```bash\n# Run the assessment tool\nnpx tsx migration\u002Fassess.ts\n\n# Run Jest-to-Vitest codemod on a specific directory\nnpx jscodeshift -t codemods\u002Fjest-to-vitest.ts src\u002Fservices\u002F --extensions=ts,tsx --parser=tsx\n\n# Run dual test suites\nnpx tsx migration\u002Fdual-runner.config.ts\n\n# Run only migrated Vitest tests\nnpx vitest run\n\n# Run only legacy Jest tests\nnpx jest --testMatch='**\u002F*.jest.test.ts'\n\n# Compare coverage between runners\nnpx tsx scripts\u002Fcompare-coverage.ts\n\n# Dry run codemod (no file changes)\nnpx jscodeshift -t codemods\u002Fjest-to-vitest.ts src\u002F --dry --print\n\n# Verify no Selenium imports remain\ngrep -r \"selenium-webdriver\" src\u002F --include=\"*.ts\" | grep -v \".selenium.\"\n```\n",{"name":5,"tags":24,"agents":32,"author":45,"domains":46,"license":15,"version":49,"languages":50,"frameworks":53,"description":7,"testingTypes":58},[25,26,27,28,29,30,31],"migration","framework-migration","codemod","selenium-to-playwright","jest-to-vitest","enzyme-to-rtl","test-migration",[33,34,35,36,37,38,39,40,41,42,43,44],"claude-code","cursor","github-copilot","windsurf","codex","aider","continue","cline","zed","bolt","gemini-cli","amp","thetestingacademy",[47,48],"web","api","1.0.0",[51,52],"typescript","javascript",[54,55,56,57],"playwright","jest","vitest","cypress",[59,60,61],"unit","integration","e2e","main","eac438ea9216a7cb8a570cab803eb01eeafc6793","skills\u002Fqa\u002Ftest-migration-framework","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m","https:\u002F\u002Fid-preview--d5bef06d-6c9e-4563-a3d4-a855b9d61610.lovable.app\u002F","Eu sou Antonio B. B. Ndombe \r\nEu sou um Pesquisador e desenvolvedor de sistema autonomia cognitivos, fundador de sistemas ODCs ( organismos digital conscientes)","2026-11-04 06:53:39",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add GrupoANDevelopment-m\u002Falberto-ai --skill \"Test Migration Framework\"",{"tool":76,"command":77},"bunx","bunx skills add GrupoANDevelopment-m\u002Falberto-ai --skill \"Test Migration Framework\"",{"tool":79,"command":80},"pnpm","pnpm dlx skills add GrupoANDevelopment-m\u002Falberto-ai --skill \"Test Migration Framework\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Fqa\u002Ftest-migration-framework\u002FSKILL.md",true,[],[85,93,100,107,114,121],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7DASC6FSCJP49JZBSK0NY1Z","nemoclaw-user-reference","Describes the NemoClaw integration layer and blueprint architecture and how they orchestrate compatible agent sandboxes. Use when looking up architecture, agent integration, plugin structure, or blueprint design. Trigger keywords - nemoclaw architecture, nemoclaw agent architecture, nemoclaw plugin blueprint structure, nemoclaw vs openshell, which cli, nemoclaw cli, openshell cli, sandbox commands, nemoclaw cli commands, nemoclaw command reference, nemoclaw network policy, sandbox egress control operator approval, nemoclaw troubleshooting, nemoclaw debug sandbox issues.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-reference\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7DAS5S79VK33XFGVAM2TFWF","nemoclaw-user-overview","Explains how OpenClaw, OpenShell, and NemoClaw form the ecosystem, NemoClaw's position in the stack, what NemoClaw adds beyond the community sandbox, and when to prefer NemoClaw versus integrating OpenShell and OpenClaw directly. Use when users ask about the relationship between OpenClaw, OpenShell, and NemoClaw, or when to use NemoClaw versus OpenShell. Trigger keywords - nemoclaw ecosystem, openclaw openshell, nemoclaw vs openshell, sandboxed openclaw, how nemoclaw works, nemoclaw sandbox lifecycle blueprint, nemoclaw overview, openclaw always-on assistants, nvidia openshell, nvidia nemotron, nemoclaw release notes, nemoclaw changelog.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-overview\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7DAS0PQEMET5MNGZ1ABSZVS","nemoclaw-user-monitor-sandbox","Inspects sandbox health, traces agent behavior, and diagnoses problems. Use when monitoring a running sandbox, debugging agent issues, or checking sandbox logs. Trigger keywords - monitor nemoclaw sandbox, debug nemoclaw agent issues.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-monitor-sandbox\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7DARQYGF7E9A69VH6S3CGN9","nemoclaw-user-manage-sandboxes","Explains operational tasks after the quickstart: listing sandboxes, status and health checks, logs, diagnostics, port forwards, multiple sandboxes, credential reset, rebuilds, network presets, upgrades, and uninstall. Trigger keywords - manage nemoclaw sandboxes, nemoclaw status, nemoclaw list, nemoclaw dashboard port, nemoclaw rebuild, nemoclaw upgrade sandboxes, nemoclaw uninstall, sandbox mutability, sandbox runtime configuration, sandbox rebuild, nemoclaw backup, nemoclaw restore, workspace backup, openshell sandbox download upload, nemoclaw messaging channels, nemoclaw telegram, nemoclaw discord, nemoclaw slack, nemoclaw wechat, nemoclaw whatsapp, openshell channel messaging, nemoclaw workspace files, soul.md, user.md, identity.md, agents.md, sandbox persistence.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-manage-sandboxes\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7DARH8BRTG51TRCAB7YWDJ4","nemoclaw-user-manage-policy","Adds, removes, or modifies allowed endpoints in the sandbox policy. Use when customizing network policy, changing egress rules, or configuring sandbox endpoint access. Trigger keywords - customize nemoclaw network policy, sandbox egress policy configuration, nemoclaw integration policy examples, post-install policy setup, openshell approval workflow, policy preset, nemoclaw approve network requests, sandbox egress approval tui.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-manage-policy\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7DARAT62M2VR37590VCZ5NS","nemoclaw-user-get-started","Installs NemoClaw, launches a sandbox, and runs the first agent prompt. Use when onboarding, installing, or launching a NemoClaw sandbox for the first time. Trigger keywords - nemoclaw quickstart, install nemoclaw openclaw sandbox, nemohermes quickstart, hermes agent nemoclaw, run hermes openshell sandbox, nemoclaw prerequisites, nemoclaw supported platforms, nemoclaw hardware software, nemoclaw windows wsl2 setup, nemoclaw install windows docker desktop.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-get-started\u002FSKILL.md",[],[]]