Registry / pageai-pro

pageai-pro/ralph-loop/vitest-best-practices

Comprehensive vitest testing patterns covering test structure, AAA pattern, parameterized tests, assertions, mocking, test doubles, error handling, async testing, and performance optimization. Use when writing, reviewing, or refactoring vitest tests, or when user mentions vitest, testing, TDD, test coverage, mocking, assertions, or test files (*.test.ts, *.spec.ts).

Agent skill · version 0.0.0-main.1794523301.geba65eb · from PageAI-Pro/ralph-loop

Install

npx yarkr-cli add skill:pageai-pro/ralph-loop/vitest-best-practices

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:pageai-pro/ralph-loop/vitest-best-practices
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:pageai-pro/ralph-loop/vitest-best-practices

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:pageai-pro/ralph-loop/vitest-best-practices

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.