
Migrate To Rstest
Handles the mechanical work of moving Jest or Vitest test suites over to Rstest without breaking your coverage or test intent. It follows a strict smallest-change-first policy: config and tooling fixes before rewriting tests, and it never touches your production code unless you ask. The skill enforces literal API substitution at every call site (no global shims), preserves legacy configs until each scope goes green, and blocks itself from making sweeping changes without showing you the options first. Useful when you want the migration done methodically rather than in one risky rewrite, especially in monorepos where you're moving packages over incrementally.
- skills.sh installs
- 427
- GitHub stars
- 98
- last updated
- Aug 21, 2026
Install
$ npx -y skills add rstackjs/agent-skills --skill migrate-to-rstest --agent claude-codeInstalls into .claude/skills of the current project.
Files
Migrate to Rstest
Goal
Migrate the smallest runnable Jest, Vitest, or Playwright Test scope with minimal behavior change. Use documentation and types that match the installed Rstest version; use latest online docs only after the capability gate confirms they apply.
Workflow
Sponsors
Details
- Repository
- github.com/rstackjs/agent-skills
- Categories
- Frontend Development, Testing & QA, DevOps & CI/CD, AI & Agent Building, Release Management, Debugging
- First seen
- Jun 3, 2026