rstackjs avatar

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-code

Installs 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

More from rstackjs/agent-skills

All 12
1brightdata avatardata-feedsbrightdata/skillsExtract structured data from 40+ supported platforms (Amazon, LinkedIn, Instagram, TikTok, Facebook, YouTube, Reddit, and more) via the Bright Data CLI (`bdata 425skills.sh installs
2thvroyal avatarkimi-pdfthvroyal/kimi-skillsProfessional PDF solution. Create PDFs using HTML+Paged.js (academic papers, reports, documents). Process existing PDFs using Python (read, extract, merge, spli423skills.sh installs
3wedsamuel1230 avatararduino-project-builderwedsamuel1230/arduino-skillsBuild complete, production-ready Arduino projects (environmental monitors, robot controllers, IoT devices, automation systems). Assembles multi-component system421skills.sh installs
4onewave-ai avatarlinkedin-post-optimizeronewave-ai/claude-skillsProfessional narrative style with line breaks, hashtag strategy, and hooks in first 2 lines to avoid truncation420skills.sh installs
5tencentcloudbase avatarcloudbase-agent-tstencentcloudbase/skillsBuild and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI protocol. Use when: (1) deploying agent servers with @clou420skills.sh installs
6realkimbarrett avatarheadline-matrixrealkimbarrett/advertising-skillsGenerate high-performing headline variations across different angles. Trigger on "headlines", "hooks", "ad copy", "email subject lines".416skills.sh installs