
Migrate to Rstest
from agent-skills47
Automates migration guidance from Jest/Vitest to Rstest: translate configs, update APIs, and provide minimal-change patches to make tests run under Rstest.
What it does
Provides a conservative, step-by-step migration workflow to move Jest or Vitest test suites to Rstest. The skill emphasizes minimal changes, prioritising config and tooling fixes before touching test code, and includes detection references, migration deltas, and a dependency-install gate.
When to use it
Use this skill when you need to migrate a codebase's test runner from Jest or Vitest to Rstest, particularly in library or monorepo contexts where preserving test intent and avoiding large-scale rewrites is important. Useful for CI changes, developer onboarding, and test modernization.
What's included
- Scripts: none detected (has_scripts=false)
- References: several migration reference docs (detect framework, jest/vitest deltas, pitfalls, dependency gate) under
references/(has_references=true) - Instructions: a strict patch-scope policy, run-and-fix workflow, escalation rules for broad edits, and explicit red-lines to prevent risky mass changes.
Compatible agents
Agents that can run code-mods and generate patches (Codex/GitHub Copilot-like agents), or technical assistants helping maintainers through migration steps.
Tags
Information
- Repository
- agent-skills
- Stars
- 47
- Installs
- 0