·migrate-to-rstest
""

migrate-to-rstest

Migrate Jest or Vitest test suites and configs to Rstest. Use when asked to move from Jest/Vitest to Rstest, replace framework APIs with `@rstest/core`, translate test config to `rstest.config.ts`, or update test scripts and setup files for Rstest equivalents.

34Installs·2Trend·@rstackjs

Installation

$npx skills add https://github.com/rstackjs/agent-skills --skill migrate-to-rstest

How to Install migrate-to-rstest

Quickly install migrate-to-rstest AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/rstackjs/agent-skills --skill migrate-to-rstest
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: rstackjs/agent-skills.

SKILL.md

View raw

Migrate Jest- or Vitest-based tests and configuration to Rstest with minimal behavior changes.

Use references/detect-test-framework.md. If both Jest and Vitest are present, migrate one scope at a time (package/suite), keeping mixed mode until each scope is green on Rstest.

Before large-scale edits, verify dependencies can be installed and test runner binaries are available. Detailed checks, blocked-mode output format, and ni policy are in: references/dependency-install-gate.md

Migrate Jest or Vitest test suites and configs to Rstest. Use when asked to move from Jest/Vitest to Rstest, replace framework APIs with `@rstest/core`, translate test config to `rstest.config.ts`, or update test scripts and setup files for Rstest equivalents. Source: rstackjs/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/rstackjs/agent-skills --skill migrate-to-rstest
Category
""Writing
Verified
First Seen
2026-02-28
Updated
2026-03-10

Browse more skills from rstackjs/agent-skills

Quick answers

What is migrate-to-rstest?

Migrate Jest or Vitest test suites and configs to Rstest. Use when asked to move from Jest/Vitest to Rstest, replace framework APIs with `@rstest/core`, translate test config to `rstest.config.ts`, or update test scripts and setup files for Rstest equivalents. Source: rstackjs/agent-skills.

How do I install migrate-to-rstest?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/rstackjs/agent-skills --skill migrate-to-rstest Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/rstackjs/agent-skills