·vitest

Vitest unit testing patterns with React Testing Library. Trigger: When writing unit tests for React components, hooks, or utilities.

29Installs·1Trend·@prowler-cloud

Installation

$npx skills add https://github.com/prowler-cloud/prowler --skill vitest

How to Install vitest

Quickly install vitest 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/prowler-cloud/prowler --skill vitest
  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: prowler-cloud/prowler.

SKILL.md

View raw

For E2E tests: Use prowler-test-ui skill (Playwright). This skill covers unit/integration tests with Vitest + React Testing Library.

| 1 | getByRole | Buttons, inputs, headings | | 2 | getByLabelText | Form fields | | 3 | getByPlaceholderText | Inputs without label | | 4 | getByText | Static text | | 5 | getByTestId | Last resort only |

| vi.spyOn | Observe without replacing (PREFERRED) | | vi.mock | Replace entire module (use sparingly) |

Vitest unit testing patterns with React Testing Library. Trigger: When writing unit tests for React components, hooks, or utilities. Source: prowler-cloud/prowler.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/prowler-cloud/prowler --skill vitest
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from prowler-cloud/prowler

Quick answers

What is vitest?

Vitest unit testing patterns with React Testing Library. Trigger: When writing unit tests for React components, hooks, or utilities. Source: prowler-cloud/prowler.

How do I install vitest?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/prowler-cloud/prowler --skill vitest 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/prowler-cloud/prowler

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-22