Agent skill

openwebf-app-testing-vitest

Set up and improve WebF app tests with Vitest and React Testing Library. Use when the user mentions Vitest, React Testing Library, unit tests, component tests, “testing trophy”, or asks to add/fix tests in a Vite/React/TS WebF app.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/openwebf-app-testing-vitest

SKILL.md

OpenWebF App: Testing (Vitest + React Testing Library)

Instructions

  1. Identify the stack (React/Vue/etc.) and current test tooling (if any).
  2. Use MCP docs for the recommended testing approach and best practices.
  3. Prefer “testing trophy” prioritization:
    • unit tests for business logic
    • component tests for UI behavior
    • minimal integration/E2E only where needed
  4. Offer templates when appropriate:
    • app/vitest-config
    • app/react-testing-library-example

More:

Didn't find tool you were looking for?

Be as detailed as possible for better results